files
Upload a file
Uploads a file that can later be attached to a post.
This request can either be a multipart/form-data request with a channel_id, files and optional client_ids defined in the FormData, or it can be a request with the channel_id and filename defined as query parameters with the contents of a single file in the body of the request.
post/api/v4/files
Request
- Base URLhttps://api.infomaniak.com
- URLhttps://api.infomaniak.com/api/v4/files
- Authnone declared
Query parameters
channel_idstring
The ID of the channel that this file will be uploaded to
filenamestring
The name of the file to be uploaded
Request body multipart/form-data
Response
Corresponding lists of the provided client_ids and the metadata that has been stored in the database for each one
Changes
No recorded changes to this operation across all 40 revisions of this API.