Files
Appmixer allows you to upload files to use them in your flows.
Last updated
Appmixer allows you to upload files to use them in your flows.
Last updated
GET
https://api.YOUR_TENANT.appmixer.cloud/files/metadata/:fileId
Get the information for the specified file. Note that the file content is not included.
Name | Type | Description |
---|---|---|
POST
https://api.YOUR_TENANT.appmixer.cloud/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
.
GET
https://api.YOUR_TENANT.appmixer.cloud/files
Example: https://api.appmixer.com/files?limit=10&filter=filename:~invoice&sort=filename:1
The example will return 10 files with 'invoice' in the filename.
GET
https://api.YOUR_TENANT.appmixer.cloud/files/count
Used for paging.
DELETE
https://api.YOUR_TENANT.appmixer.cloud/files/:fileId
DELETE
https://api.YOUR_TENANT.appmixer.cloud/files
Example: DELETE https://api.appmixer.com/files?filter=filename:~invoice will delete all user's files with 'invoice' in the name.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
fileId
string
The UUID of the required file.
Content-type
string
Must be set to multipart/form-data
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-file-id header
is present.
uploader-chunk-size
string
The size in bytes of the file/chunk being uploaded.
uploader-chunk-number
string
This header is uploader-chunk-number
. The ordinal number of this chunk - e.g. the first chunk is 1, the second is 2 and so on.
uploader-chunks-total
string
This header is uploader-chunks-total
. The total number of chunks that compose the file. If set to 1, it means that this is the complete file
file
string
The file/chunk to be uploaded
limit
number
offset
number
sort
String
projection
String
includeComponentSourceFiles
Boolean
By default, the endpoint returns only files (that are used in flows). Custom component source codes are stored as files as well, if the user owns some, they can be returned as well.
filter
String
includeComponentSourceFiles
Boolean
By default, the endpoint returns only files (that are used in flows). Custom component source codes are stored as files as well, if the user owns some, they can be returned as well.
filter
String
filter
String
Can be used to filter files.