{ "opencollection": "1.0.0", "info": { "name": "Affinda Annotations Add x-hidden to endpoints Organization API - Invitation API", "version": "3.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Organization API - Invitation", "type": "folder" }, "items": [ { "info": { "name": "Get list of all invitations", "type": "http" }, "http": { "method": "GET", "url": "https://{region}.affinda.com/v3/invitations", "params": [ { "name": "offset", "value": "", "type": "query", "description": "The number of documents to skip before starting to collect the result set." }, { "name": "limit", "value": "", "type": "query", "description": "The numbers of results to return." }, { "name": "organization", "value": "", "type": "query", "description": "Filter by organization." }, { "name": "status", "value": "", "type": "query", "description": "Filter by status." }, { "name": "role", "value": "", "type": "query", "description": "Filter by role." } ] }, "docs": "Get list of all invitations you created or sent to you." }, { "info": { "name": "Create a new invitation", "type": "http" }, "http": { "method": "POST", "url": "https://{region}.affinda.com/v3/invitations", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new invitation." }, { "info": { "name": "Get detail of an invitation", "type": "http" }, "http": { "method": "GET", "url": "https://{region}.affinda.com/v3/invitations/:identifier", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Invitation identifier." } ] }, "docs": "Get detail of an invitation." }, { "info": { "name": "Update an invitation", "type": "http" }, "http": { "method": "PATCH", "url": "https://{region}.affinda.com/v3/invitations/:identifier", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Invitation identifier." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the detail of an invitation." }, { "info": { "name": "Delete an invitation", "type": "http" }, "http": { "method": "DELETE", "url": "https://{region}.affinda.com/v3/invitations/:identifier", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Invitation identifier." } ] }, "docs": "Delete the specified invitation from the database." }, { "info": { "name": "Get detail of an invitation by token", "type": "http" }, "http": { "method": "GET", "url": "https://{region}.affinda.com/v3/invitations/token/:token", "params": [ { "name": "token", "value": "", "type": "path", "description": "Invitation token." } ] }, "docs": "Get detail of an invitation using a secret token. This allows users who have not registered/logged in to view the invitation." }, { "info": { "name": "Respond to an invitation", "type": "http" }, "http": { "method": "PATCH", "url": "https://{region}.affinda.com/v3/invitations/token/:token", "params": [ { "name": "token", "value": "", "type": "path", "description": "Invitation token." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Choose to accept or decline an invitation." } ] } ], "bundled": true }