Files
Appmixer allows you to upload files to use them in your flows.
Get file info
GET
https://api.appmixer.com/files/metadata/:fileId
Get the information for the specified file. Note that the file content is not included.
Path Parameters
Name | Type | Description |
---|---|---|
fileId | string | The UUID of the required file. |
Upload a file
POST
https://api.appmixer.com/files
Upload file to Appmixer. Uploads by chunks are supported, and whether if sent file is treated as a chunk or a new file depends on the headers sent. Also, Content-type
must be set to multipart/form-data
.
Headers
Name | Type | Description |
---|---|---|
Content-type | string | Must be set to |
uploader-file-id | string | If set, the current file will be appended as a chunk to the file specified by this. If not present, a new file will be created. The response includes the resulting file's ID, so it can be used in subsequent requests to add chunks to the generated file. |
uploader-file-name | string | The name of the file. This will be ignored in case that |
uploader-chunk-size | string | The size in bytes of the file/chunk being uploaded. |
uploader-chunk-number | string | This header is |
uploader-chunks-total | string | This header is |
Request Body
Name | Type | Description |
---|---|---|
file | string | The file/chunk to be uploaded |
Last updated