{ "opencollection": "1.0.0", "info": { "name": "Anything Assets Organizations API", "version": "0.1.0" }, "items": [ { "info": { "name": "Organizations", "type": "folder" }, "items": [ { "info": { "name": "List organization members", "type": "http" }, "http": { "method": "GET", "url": "/v0/api/organizations/:organizationId/members", "params": [ { "name": "organizationId", "value": "", "type": "path" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Returns collaborators and pending invites for an organization the authenticated user can access." }, { "info": { "name": "Invite a member", "type": "http" }, "http": { "method": "POST", "url": "/v0/api/organizations/:organizationId/invites", "params": [ { "name": "organizationId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Sends an invitation to join the organization. Requires OWNER or ADMIN role." }, { "info": { "name": "Remove a member", "type": "http" }, "http": { "method": "POST", "url": "/v0/api/organizations/:organizationId/members/remove", "params": [ { "name": "organizationId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Removes a member from the organization. Requires OWNER or ADMIN role." }, { "info": { "name": "Update member role", "type": "http" }, "http": { "method": "POST", "url": "/v0/api/organizations/:organizationId/members/role", "params": [ { "name": "organizationId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Changes the role of an organization member. Requires OWNER or ADMIN role." } ] } ], "bundled": true }