Update a file.
Scopes: files:write
files:write
cURL
curl --request PATCH \ --url https://api.rapidly.tech/api/files/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "version": "<string>" } '
{ "id": "<string>", "workspace_id": "<string>", "name": "<string>", "path": "<string>", "mime_type": "<string>", "size": 123, "storage_version": "<string>", "checksum_etag": "<string>", "checksum_sha256_base64": "<string>", "checksum_sha256_hex": "<string>", "last_modified_at": "2023-11-07T05:31:56Z", "version": "<string>", "service": "<string>", "is_uploaded": true, "created_at": "2023-11-07T05:31:56Z", "size_readable": "<string>" }
Create an Workspace Access Token in your workspace's settings page.
The file ID.
File updated.
A downloadable file.
The ID of the object.
"downloadable"