Request headers

Only registered user can perform this action
  Authentication - string - required
    Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"

Success response body

{
  "id": 1,
  "name": "Stock folder",
  "ancestors": [],
  "folders": [
    {
      "id": 2,
      "name": "Folder in folder"
    },
    ...
  ]
}

Params

Param name Description
id
required

ID of media folder

Validations:

  • Must be a Integer

sort_by
optional

Validations:

  • Must be one of: created_at, name.

sort_to
optional

Validations:

  • Must be one of: asc, desc.