Request headers

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

Request body example

{
  "folder": {
    "name": "Postman folder"
    "ancestry": "64"
  }
}

Success response body

{
  "id": 65,
  "name": "Postman folder"
}

Params

Param name Description
folder
required

Validations:

  • Must be a Hash

folder[name]
required

Name of media folder

Validations:

  • Must be a String

folder[ancestry]
optional

ID of parrent folder

Validations:

  • Must be a String