Upload a binary file
POST https://manage.kontent.ai/v2/projects/:environment_id/files/:file_name
Add a new file. The file won't be visible in the UI until you add an asset referencing the uploaded file.
Adding assets is a 2-step process
- Upload a binary file to get a file reference to the file.
- Use the file reference to create a new asset referencing the uploaded file.
Maximum size limit for binary files is 100 MB.
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-length | string | (Required) Specifies the size of the binary file in bytes. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"806ec84e-7c71-4856-9519-ee3dd3558583","type":"internal"}