Upload a file to a resource. This endpoint supports two modes:
Replace the main resource file (no language parameter):
Uploads a new file to replace the existing resource file. The resource's url is updated to point to the new file. You can optionally update other resource fields (name, metadata, etc.) in the same request.
Upload a translated file (?language={lang}):
Uploads a file as a translation of this resource. The main resource file is unchanged. The translated file is stored on the translation record for the specified language. You can pass name in the form data to set the translated title. The uploaded file must have the same extension as the main resource file.
Only document (type=1), image (type=2), and video (type=3) resources support file uploads. URL and dynamic resources will return 403.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
