{ "opencollection": "1.0.0", "info": { "name": "ProcessMaker Platform RESTful Environment Variables Files API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Files", "type": "folder" }, "items": [ { "info": { "name": "Returns all files associated with the authenticated user", "type": "http" }, "http": { "method": "GET", "url": "https://{organization}.processmaker.net/api/1.0/files", "params": [ { "name": "request_id", "value": "", "type": "query" }, { "name": "filter", "value": "", "type": "query", "description": "Filter results by string. Searches Name, Description, and Status. Status must match exactly. Others can be a substring.\n" }, { "name": "order_by", "value": "", "type": "query", "description": "Field to order results by" }, { "name": "order_direction", "value": "", "type": "query" }, { "name": "per_page", "value": "", "type": "query" } ] }, "docs": "Returns all files associated with the authenticated user" }, { "info": { "name": "Save a new file", "type": "http" }, "http": { "method": "POST", "url": "https://{organization}.processmaker.net/api/1.0/files", "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" }, { "name": "model_id", "type": "text", "value": "" }, { "name": "model_type", "type": "text", "value": "" }, { "name": "collection_name", "type": "text", "value": "" } ] } }, "docs": "Save a new file" }, { "info": { "name": "Get a single file", "type": "http" }, "http": { "method": "GET", "url": "https://{organization}.processmaker.net/api/1.0/files/:file_id", "params": [ { "name": "file_id", "value": "", "type": "path" } ] }, "docs": "Get a single file" }, { "info": { "name": "Update a file", "type": "http" }, "http": { "method": "PUT", "url": "https://{organization}.processmaker.net/api/1.0/files/:file_id", "params": [ { "name": "file_id", "value": "", "type": "path" } ], "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" } ] } }, "docs": "Update a file" }, { "info": { "name": "Delete a file", "type": "http" }, "http": { "method": "DELETE", "url": "https://{organization}.processmaker.net/api/1.0/files/:file_id", "params": [ { "name": "file_id", "value": "", "type": "path" } ] }, "docs": "Delete a file" } ] } ], "bundled": true }