{ "opencollection": "1.0.0", "info": { "name": "Addresses Introduction Account Addresses Files API", "version": "25.1126.6886238" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Files", "type": "folder" }, "items": [ { "info": { "name": "Get all Files", "type": "http" }, "http": { "method": "GET", "url": "https://useast.api.elasticpath.com/v2/files", "params": [ { "name": "filter", "value": "", "type": "query", "description": "\nFiltering is available for this endpoint. See [Filtering](/docs/api/pxm/files/get-all-files#filtering).\n" }, { "name": "page[limit]", "value": "", "type": "query", "description": "The maximum number of records per page for this response. You can set this value up to 100. If no page size is set, the the [**page length**](/docs/commerce-cloud/global-project-settings/settings-overview#page-length) store setting is used." }, { "name": "page[offset]", "value": "", "type": "query", "description": "The current offset by number of records, not pages. Offset is zero-based. The maximum records you can offset is 10,000. If no page size is set, the [**page length**](/docs/commerce-cloud/global-project-settings/settings-overview#page-length) store setting is used." } ] }, "docs": "Retrieves all files.\n\n### Filtering\n\nFor general filtering syntax, see [Filtering](/guides/Getting-Started/filtering).\n\nThe following operators and attributes are available when filtering on this endpoint.\n\n| Attribute | Type | Operators | Example |\n|:----------------------|:----------|:--------------------------|:-------------|\n| `id` | `string` | `in` | `in(id,file-id-1,file-id-2,file-id-3)` |\n| `file_name` | `string` " }, { "info": { "name": "Create a File", "type": "http" }, "http": { "method": "POST", "url": "https://useast.api.elasticpath.com/v2/files", "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" }, { "name": "file_location", "type": "text", "value": "" } ] } }, "docs": "Create a File" }, { "info": { "name": "Get a File", "type": "http" }, "http": { "method": "GET", "url": "https://useast.api.elasticpath.com/v2/files/:fileID", "params": [ { "name": "fileID", "value": "", "type": "path", "description": "The unique identifier for a file." } ] }, "docs": "Get a File" }, { "info": { "name": "Delete a File", "type": "http" }, "http": { "method": "DELETE", "url": "https://useast.api.elasticpath.com/v2/files/:fileID", "params": [ { "name": "fileID", "value": "", "type": "path", "description": "The unique identifier of the file you want to delete." } ] }, "docs": "Delete a File" } ] } ], "bundled": true }