{ "opencollection": "1.0.0", "info": { "name": "COR Attachments Teams API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Teams", "type": "folder" }, "items": [ { "info": { "name": "Get Teams", "type": "http" }, "http": { "method": "GET", "url": "https://api.projectcor.com/v1/teams", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number (default: 1). Set to `false` to disable pagination." }, { "name": "perPage", "value": "", "type": "query", "description": "Number of items per page (default: 20)." } ] }, "docs": "Retrieves a paginated list of teams. By default, responses are paginated with 20 items per page." }, { "info": { "name": "Create a team", "type": "http" }, "http": { "method": "POST", "url": "https://api.projectcor.com/v1/teams", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new team entity." }, { "info": { "name": "Get team by ID", "type": "http" }, "http": { "method": "GET", "url": "https://api.projectcor.com/v1/teams/:team_id", "params": [ { "name": "team_id", "value": "", "type": "path" } ] }, "docs": "Get team by ID" }, { "info": { "name": "Update a team", "type": "http" }, "http": { "method": "PUT", "url": "https://api.projectcor.com/v1/teams/:team_id", "params": [ { "name": "team_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a team entity." }, { "info": { "name": "Delete a team", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.projectcor.com/v1/teams/:team_id", "params": [ { "name": "team_id", "value": "", "type": "path" } ] }, "docs": "Deletes a team from the system." }, { "info": { "name": "Add users to a team", "type": "http" }, "http": { "method": "POST", "url": "https://api.projectcor.com/v1/teams/:team_id/users", "params": [ { "name": "team_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Adds users to a team by providing an array of user IDs." }, { "info": { "name": "Remove users from a team", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.projectcor.com/v1/teams/:team_id/users", "params": [ { "name": "team_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Removes users from a team by providing an array of user IDs." } ] } ], "bundled": true }