{ "opencollection": "1.0.0", "info": { "name": "Coscine Web Admin ProjectMember API", "version": "2.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "ProjectMember", "type": "folder" }, "items": [ { "info": { "name": "Retrieves a project membership for a specified project.", "type": "http" }, "http": { "method": "GET", "url": "https://coscine.rwth-aachen.de/coscine/api/v2/projects/:projectId/members/:membershipId", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The Id or slug of the project." }, { "name": "membershipId", "value": "", "type": "path", "description": "The ID of the project membership to retrieve." } ] }, "docs": "Retrieves a project membership for a specified project." }, { "info": { "name": "Updates a project membership for a specified project.", "type": "http" }, "http": { "method": "PUT", "url": "https://coscine.rwth-aachen.de/coscine/api/v2/projects/:projectId/members/:membershipId", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The Id or slug of the project." }, { "name": "membershipId", "value": "", "type": "path", "description": "The ID of the project membership to update." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a project membership for a specified project." }, { "info": { "name": "Deletes a project membership for a specified project.", "type": "http" }, "http": { "method": "DELETE", "url": "https://coscine.rwth-aachen.de/coscine/api/v2/projects/:projectId/members/:membershipId", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The Id or slug of the project." }, { "name": "membershipId", "value": "", "type": "path", "description": "The ID of the project membership to delete." } ] }, "docs": "Deletes a project membership for a specified project." }, { "info": { "name": "Retrieves all project memberships for a specified project.", "type": "http" }, "http": { "method": "GET", "url": "https://coscine.rwth-aachen.de/coscine/api/v2/projects/:projectId/members", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The Id or slug of the project." }, { "name": "PageNumber", "value": "", "type": "query", "description": "Gets or sets the desired page number. Should be greater than or equal to 1. Default is 1." }, { "name": "PageSize", "value": "", "type": "query", "description": "Gets or sets the desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10." }, { "name": "OrderBy", "value": "", "type": "query", "description": "Gets or sets the field name used for ordering the results.\r\nThe order is constructed by an order string.\r\nUse the property followed by \"asc\" or \"desc\" and separate properties by commas. Default is asc.\r\nCan be used like this: \"propertyA asc, propertyB desc\"." } ] }, "docs": "Retrieves all project memberships for a specified project." }, { "info": { "name": "Creates a project membership for a specified project.", "type": "http" }, "http": { "method": "POST", "url": "https://coscine.rwth-aachen.de/coscine/api/v2/projects/:projectId/members", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The Id or slug of the project." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a project membership for a specified project." }, { "info": { "name": "Responds with the HTTP methods allowed for the endpoint.", "type": "http" }, "http": { "method": "OPTIONS", "url": "https://coscine.rwth-aachen.de/coscine/api/v2/projects/:projectId/members", "params": [ { "name": "projectId", "value": "", "type": "path" } ] }, "docs": "Responds with the HTTP methods allowed for the endpoint." }, { "info": { "name": "Retrieves the project role of the authenticated user for a specified project.", "type": "http" }, "http": { "method": "GET", "url": "https://coscine.rwth-aachen.de/coscine/api/v2/projects/:projectId/members/me", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The Id or slug of the project." } ] }, "docs": "Retrieves the project role of the authenticated user for a specified project." } ] } ], "bundled": true }