{ "opencollection": "1.0.0", "info": { "name": "Elementum Access Token Records API", "version": "0.0.1" }, "items": [ { "info": { "name": "Records", "type": "folder" }, "items": [ { "info": { "name": "Get the list of records", "type": "http" }, "http": { "method": "GET", "url": "/v1/:recordType/:alias", "params": [ { "name": "recordType", "value": "", "type": "path", "description": "'apps', 'elements', 'tasks', or 'transactions'" }, { "name": "alias", "value": "", "type": "path", "description": "The app's namespace or its UUID" }, { "name": "first", "value": "", "type": "query", "description": "The number of elements to retrieve after the 'after' cursor location" }, { "name": "after", "value": "", "type": "query", "description": "The starting cursor to begin searching, defaults to the beginning of the list" }, { "name": "last", "value": "", "type": "query", "description": "The number of elements to retrieve before the 'before' cursor location" }, { "name": "before", "value": "", "type": "query", "description": "The starting cursor to begin searching, defaults to the end of the list" }, { "name": "filter", "value": "", "type": "query", "description": "An RSQL filter string." } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get the list of records" }, { "info": { "name": "Create a record", "type": "http" }, "http": { "method": "POST", "url": "/v1/:recordType/:alias", "params": [ { "name": "recordType", "value": "", "type": "path", "description": "'apps', 'elements', 'tasks', or 'transactions'" }, { "name": "alias", "value": "", "type": "path", "description": "The app's namespace or its UUID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create a record" }, { "info": { "name": "Find a record by ID", "type": "http" }, "http": { "method": "GET", "url": "/v1/:recordType/:alias/:id", "params": [ { "name": "recordType", "value": "", "type": "path", "description": "'apps', 'elements', 'tasks', or 'transactions'" }, { "name": "alias", "value": "", "type": "path", "description": "The app's namespace or its UUID" }, { "name": "id", "value": "", "type": "path", "description": "The record ID" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Find a record by ID" }, { "info": { "name": "Update a record", "type": "http" }, "http": { "method": "PUT", "url": "/v1/:recordType/:alias/:id", "params": [ { "name": "recordType", "value": "", "type": "path", "description": "'apps', 'elements', 'tasks', or 'transactions'" }, { "name": "alias", "value": "", "type": "path", "description": "The app's namespace or its UUID" }, { "name": "id", "value": "", "type": "path", "description": "The record ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update a record" } ] } ], "bundled": true }