latestOpenAPI 3.0.32026-08-201592,4923.4 MB

53223abaceb7

Folders

List Folders in Space root

List folders located at the root level of a Space. Filtering or search capabilities are not supported. This only returns the folders at the root level of a Space, without a recursive expansion to child folders.

get/spaces/{spaceId}/content/folders

Path parameters

spaceIdstring uuid required

The space ID

Query parameters

limitinteger

The number of items to return.

pageinteger

The page number. Use in combination with limit.

sortstring

A field to sort by. The available fields are: 'name', 'createdAt' and 'lastModifiedAt'. To indicate sorting direction, the field must be prefixed with '+' (ascending) or '-' (descending), e.g. ?sort=+name

Response

OK

Example response

{
  "_links": {
    "first": {
      "href": "/projects?page={firstPage}&limit={limit}"
    },
    "prev": {
      "href": "/projects?page={previousPage}&limit={limit}"
    },
    "self": {
      "href": "/projects?page={currentPage}&limit={limit}"
    },
    "next": {
      "href": "/projects?page={nextPage}&limit={limit}"
    },
    "last": {
      "href": "/projects?page={lastPage}&limit={limit}"
    }
  },
  "_embedded": [
    {
      "name": "My folder"
    }
  ]
}