Only registered user can perform this action Authentication - string - required Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
{ "my_folders": 54, "shared_folders": null, "stock_folders": 49, "content_request": 1 }
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", "elements_count": 0, "ancestors": [], "folders": [ { "id": 2, "name": "Folder in folder", "children_exist": false, "user": { "id": 11, "email": "kruchina.vadim+2@gmail.com", "first_name": null, "last_name": "Stone", "avatar_image": null } }, ... ], "user": { "id": 11, "email": "kruchina.vadim+2@gmail.com", "first_name": null, "last_name": "Stone", "avatar_image": null } }
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"
{ "folder": { "name": "Postman folder" "ancestry": "64" } }
{ "id": 65, "name": "Postman folder" }
Param name | Description |
---|---|
folder
required |
Validations:
|
folder[name]
required |
Name of media folder Validations:
|
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"
{ "folder": { "name": "Updated Postman folder" } }
{ "id": 65, "name": "Updated Postman folder" }
Param name | Description |
---|---|
id
required |
ID of media folder Validations:
|
folder
required |
Validations:
|
folder[name]
required |
Name of media folder Validations:
|
folder[ancestry]
required |
ID of parrent folder Validations:
|