Only registered user can perform this action Authentication - string - required Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
[ { "id": 1, "name": "Stock folder" }, ... ]
Param name | Description |
---|---|
sort_by
optional |
Validations:
|
sort_to
optional |
Validations:
|
Only registered user can perform this action Authentication - string - required Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
{ "id": 1, "name": "Stock folder", "ancestors": [], "folders": [ { "id": 2, "name": "Folder in folder" }, ... ] }
Param name | Description |
---|---|
id
required |
ID of media folder Validations:
|
sort_by
optional |
Validations:
|
sort_to
optional |
Validations:
|
Only registered user can perform this action Authentication - string - required Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
{ "preset_folder": { "name": "Postman Folder", "ancestry": "23" } }
{ "id": 3, "name": "Postman folder" }
Param name | Description |
---|---|
preset_folder
required |
Validations:
|
preset_folder[name]
required |
Name of preset folder Validations:
|
preset_folder[ancestry]
optional |
ID of parrent folder Validations:
|
Only registered user can perform this action Authentication - string - required Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
{ "preset_folder": { "name": "Postman Folder" } }
{ "id": 3, "name": "Updated Postman folder" }
Param name | Description |
---|---|
id
required |
ID of preset folder Validations:
|
preset_folder
required |
Validations:
|
preset_folder[name]
required |
Name of preset folder Validations:
|
preset_folder[ancestry]
required , nil allowed |
ID of parrent folder Validations:
|
Only registered user can perform this action Authentication - string - required Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
{ "success": true }
Param name | Description |
---|---|
id
required |
ID of preset folder Validations:
|
Only registered user can perform this action Authentication - string - required Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
{ "preset_folder_ids": [2, 3, ...], "preset_folder": { "ancestry": "34" } }
{ "success": true }
Param name | Description |
---|---|
preset_folder_ids
required |
Array of IDs of folders should be moved Validations:
|
preset_folder
required |
Validations:
|
preset_folder[ancestry]
required , nil allowed |
Id of parant folder Validations:
|
Only registered user can perform this action Authentication - string - required Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
{ "preset_folder_ids": [4, 5, ...], "preset_ids": [3, 4, ...] }
{ "success": true }
Param name | Description |
---|---|
preset_folder_ids
required |
Array of IDs of preset folders should be deleted Validations:
|
preset_ids
required |
Array of IDs of presets should be deleted Validations:
|