{ "opencollection": "1.0.0", "info": { "name": "API Reference subpackage_actions subpackage_files API", "version": "1.0.0" }, "items": [ { "info": { "name": "subpackage_files", "type": "folder" }, "items": [ { "info": { "name": "Get file upload", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8000/api/import/file-upload/:id", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Retrieve details about a specific uploaded file." }, { "info": { "name": "Update file upload", "type": "http" }, "http": { "method": "PATCH", "url": "http://localhost:8000/api/import/file-upload/:id", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a specific uploaded file." }, { "info": { "name": "Delete file upload", "type": "http" }, "http": { "method": "DELETE", "url": "http://localhost:8000/api/import/file-upload/:id", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Delete a specific uploaded file." }, { "info": { "name": "Get files list", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8000/api/projects/:id/file-uploads", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "all", "value": "", "type": "query", "description": "Set to \"true\" if you want to retrieve all file uploads" }, { "name": "ids", "value": "", "type": "query", "description": "Specify the list of file upload IDs to retrieve, e.g. ids=[1,2,3]" }, { "name": "ordering", "value": "", "type": "query", "description": "Which field to use when ordering the results." } ] }, "docs": "\n Retrieve the list of uploaded files used to create labeling tasks for a specific project.\n " }, { "info": { "name": "Delete files", "type": "http" }, "http": { "method": "DELETE", "url": "http://localhost:8000/api/projects/:id/file-uploads", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "\n Delete uploaded files for a specific project.\n " }, { "info": { "name": "Download file", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8000/data/upload/:filename", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "filename", "value": "", "type": "path" } ] }, "docs": "Download a specific uploaded file." } ] } ], "bundled": true }