{ "opencollection": "1.0.0", "info": { "name": "Capmo REST Organisation Companies Project Memberships API", "version": "1.0" }, "items": [ { "info": { "name": "Project Memberships", "type": "folder" }, "items": [ { "info": { "name": "getProjectMemberships", "type": "http" }, "http": { "method": "GET", "url": "https://api.capmo.de/api/v1/projects/:projectId/memberships", "headers": [ { "name": "Request-Id", "value": "" } ], "params": [ { "name": "projectId", "value": "", "type": "path" }, { "name": "order_by", "value": "", "type": "query", "description": "Field to order by. It can be any field of the entity." }, { "name": "order_direction", "value": "", "type": "query", "description": "Order direction of the `order_by` field. It can be `asc` or `desc`." }, { "name": "after", "value": "", "type": "query", "description": "The last element from the previous page. This is a cursor. It will be returned in the output to be used in the next request. When it is not present, the first page is returned. When it is `null`, there are no more pages." }, { "name": "limit", "value": "", "type": "query", "description": "How many items should be in the output." } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "This can be used to list all project memberships in a paginated response." }, { "info": { "name": "inviteProjectPerson", "type": "http" }, "http": { "method": "POST", "url": "https://api.capmo.de/api/v1/projects/:projectId/memberships", "headers": [ { "name": "Request-Id", "value": "" } ], "params": [ { "name": "projectId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "This can be used to invite a project contact book person to a project identified by projectId. As a result, a project membership for them will be created." }, { "info": { "name": "getProjectMembership", "type": "http" }, "http": { "method": "GET", "url": "https://api.capmo.de/api/v1/projects/:projectId/memberships/:membershipId", "headers": [ { "name": "Request-Id", "value": "" } ], "params": [ { "name": "projectId", "value": "", "type": "path" }, { "name": "membershipId", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "This can be used to retrieve a specific project membership by membershipId from a project identified by projectId." }, { "info": { "name": "revokeProjectMembership", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.capmo.de/api/v1/projects/:projectId/memberships/:membershipId", "headers": [ { "name": "Request-Id", "value": "" } ], "params": [ { "name": "projectId", "value": "", "type": "path" }, { "name": "membershipId", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "This can be used to revoke a project membership." } ] } ], "bundled": true }