{ "opencollection": "1.0.0", "info": { "name": "Helpcenter Photo API", "version": "1.0.0" }, "items": [ { "info": { "name": "Photo", "type": "folder" }, "items": [ { "info": { "name": "Get a photo", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/:module/:record/photo", "params": [ { "name": "module", "value": "", "type": "path", "description": "The API name of the module" }, { "name": "record", "value": "", "type": "path", "description": "The record ID" } ] }, "docs": "Retrieve a photo for a record" }, { "info": { "name": "Upload a photo", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/:module/:record/photo", "params": [ { "name": "module", "value": "", "type": "path", "description": "The API name of the module" }, { "name": "record", "value": "", "type": "path", "description": "The record ID" } ], "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" } ] } }, "docs": "Upload a photo for a record" }, { "info": { "name": "Delete a photo", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/:module/:record/photo", "params": [ { "name": "module", "value": "", "type": "path", "description": "The API name of the module" }, { "name": "record", "value": "", "type": "path", "description": "The record ID" } ] }, "docs": "Delete a photo for a record" } ] } ], "bundled": true }