cURL
curl --request PUT \ --url https://api.cloudglue.dev/v1/files/{file_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "metadata": {}, "filename": "<string>" }'
{ "id": "<string>", "status": "pending", "bytes": 123, "created_at": 123, "filename": "<string>", "uri": "<string>", "metadata": {}, "video_info": { "duration_seconds": 123, "height": 123, "width": 123, "format": "<string>", "has_audio": true } }
Update a file
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the file to update
File update parameters
The body is of type object.
object
Successful file update
The response is of type object.