Quatrix APIs v1.0
Space shortcuts
Quatrix APIs v1.0 QA1
Skip to end of metadata
Go to start of metadata

This API call is used to change a file name.

Resource URL

/api/1.0/file/rename/<ID>

Resource Information

 

Response formatsJSON
Requires authentication?Yes
Rate limited?Yes
Requests / 15-min window (user auth)15
HTTP MethodPOST
Response code200

Parameters

 

Name TypeDefault ValueValidationDescription

id

required

uuid-uuid4

ID of file that should be renamed

name

required

string-file name

new file name

resolve

optional

booltrue-enables file name resolving

 


Example Request URL

Example Result

{
    "id": <uuid>,
    "parent_id": <uuid>,
    "name": <string>,
    "modified": <timestamp>,
    "size": <int>,
    "type": <string>,
    "uid": <int>,
    "gid": <int>,
    "operations": <int>
}

 

 

 

 

 

 

 

  • No labels
Write a comment…
Quatrix APIs v1.0 QA1