{ "opencollection": "1.0.0", "info": { "name": "Weblate's REST addons screenshots API", "version": "1.0" }, "items": [ { "info": { "name": "screenshots", "type": "folder" }, "items": [ { "info": { "name": "api_screenshots_list", "type": "http" }, "http": { "method": "GET", "url": "http:/api/screenshots/", "params": [ { "name": "page", "value": "", "type": "query", "description": "A page number within the paginated result set." }, { "name": "page_size", "value": "", "type": "query", "description": "Number of results to return per page." } ], "auth": { "type": "apikey", "key": "Token", "value": "{{Token}}", "placement": "header" } }, "docs": "Return a list of screenshot string information." }, { "info": { "name": "api_screenshots_create", "type": "http" }, "http": { "method": "POST", "url": "http:/api/screenshots/", "body": { "type": "multipart-form", "data": [] }, "auth": { "type": "apikey", "key": "Token", "value": "{{Token}}", "placement": "header" } }, "docs": "Create a new screenshot." }, { "info": { "name": "api_screenshots_retrieve", "type": "http" }, "http": { "method": "GET", "url": "http:/api/screenshots/:id/", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Token", "value": "{{Token}}", "placement": "header" } }, "docs": "Return information about screenshot information." }, { "info": { "name": "api_screenshots_update", "type": "http" }, "http": { "method": "PUT", "url": "http:/api/screenshots/:id/", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Token", "value": "{{Token}}", "placement": "header" } }, "docs": "Edit full information about screenshot." }, { "info": { "name": "api_screenshots_partial_update", "type": "http" }, "http": { "method": "PATCH", "url": "http:/api/screenshots/:id/", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Token", "value": "{{Token}}", "placement": "header" } }, "docs": "Edit partial information about screenshot." }, { "info": { "name": "api_screenshots_destroy", "type": "http" }, "http": { "method": "DELETE", "url": "http:/api/screenshots/:id/", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Token", "value": "{{Token}}", "placement": "header" } }, "docs": "Delete screenshot." }, { "info": { "name": "api_screenshots_file_retrieve", "type": "http" }, "http": { "method": "GET", "url": "http:/api/screenshots/:id/file/", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Token", "value": "{{Token}}", "placement": "header" } }, "docs": "Download the screenshot image." }, { "info": { "name": "api_screenshots_file_create", "type": "http" }, "http": { "method": "POST", "url": "http:/api/screenshots/:id/file/", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "multipart-form", "data": [] }, "auth": { "type": "apikey", "key": "Token", "value": "{{Token}}", "placement": "header" } }, "docs": "Replace screenshot image." }, { "info": { "name": "api_screenshots_file_update", "type": "http" }, "http": { "method": "PUT", "url": "http:/api/screenshots/:id/file/", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "multipart-form", "data": [] }, "auth": { "type": "apikey", "key": "Token", "value": "{{Token}}", "placement": "header" } }, "docs": "Replace screenshot image." }, { "info": { "name": "api_screenshots_units_create", "type": "http" }, "http": { "method": "POST", "url": "http:/api/screenshots/:id/units/", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Token", "value": "{{Token}}", "placement": "header" } }, "docs": "Associate source string with screenshot." }, { "info": { "name": "api_screenshots_units_destroy", "type": "http" }, "http": { "method": "DELETE", "url": "http:/api/screenshots/:id/units/:unit_id/", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "unit_id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Token", "value": "{{Token}}", "placement": "header" } }, "docs": "Remove source string association with screenshot." } ] } ], "bundled": true }