{ "opencollection": "1.0.0", "info": { "name": "Anything Assets API", "version": "0.1.0" }, "items": [ { "info": { "name": "Assets", "type": "folder" }, "items": [ { "info": { "name": "List assets", "type": "http" }, "http": { "method": "GET", "url": "/v0/api/projects/:projectGroupId/assets", "params": [ { "name": "projectGroupId", "value": "", "type": "path" }, { "name": "query", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query" }, { "name": "offset", "value": "", "type": "query" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Returns the image assets uploaded to a project group, optionally filtered by a search query and paginated." }, { "info": { "name": "Upload an asset", "type": "http" }, "http": { "method": "POST", "url": "/v0/api/projects/:projectGroupId/assets", "params": [ { "name": "projectGroupId", "value": "", "type": "path" } ], "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" }, { "name": "name", "type": "text", "value": "" } ] }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Uploads an image asset to a project group. Send the file as multipart/form-data under the `file` field, with an optional display `name`." }, { "info": { "name": "Delete an asset", "type": "http" }, "http": { "method": "DELETE", "url": "/v0/api/projects/:projectGroupId/assets/:assetId", "params": [ { "name": "projectGroupId", "value": "", "type": "path" }, { "name": "assetId", "value": "", "type": "path" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Removes an asset from a project group." } ] } ], "bundled": true }