{ "opencollection": "1.0.0", "info": { "name": "Light Authorization v1 - User Comments API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "v1 - User Comments", "type": "folder" }, "items": [ { "info": { "name": "List user comments", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/user-comments", "params": [ { "name": "resourceId", "value": "", "type": "query", "description": "ID of the resource this comment is attached to (e.g. vendor, customer, etc.)." }, { "name": "sort", "value": "", "type": "query" }, { "name": "filter", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of items to return. Default is 50, maximum is 200." }, { "name": "offset", "value": "", "type": "query", "description": "Number of items to skip before starting to collect the result set. Deprecated, use 'cursor' instead." }, { "name": "cursor", "value": "", "type": "query", "description": "The cursor position to start returning results from.\nTo opt-in into cursor-based pagination, provide `0` for the initial request.\nFor subsequent requests, use `nextCursor` and `prevCursor` from the previous response to navigate.\nCursor values are opaque and should not be constructed manually." } ] }, "docs": "List user comments for a given resource" }, { "info": { "name": "Create user comment", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/user-comments", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new user comment" }, { "info": { "name": "Update user comment", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/v1/user-comments/:userCommentId", "params": [ { "name": "userCommentId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the given user comment" }, { "info": { "name": "Delete user comment", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/user-comments/:userCommentId", "params": [ { "name": "userCommentId", "value": "", "type": "path" } ] }, "docs": "Deletes the given user comment" } ] } ], "bundled": true }