Skip to content

List Folder Versions

Retrieves a list of all versions for the provided folder identifier. The response contains a list of the versions for the folder. Each version includes the folder version metadata. The response is paginated and the number of items returned can be controlled using the limit query parameter. The supported query params are as follows

  • complete - Returns detailed response when complete parameter is set true. By default it is false and minimal response will be returned.

  • status - To retrieve soft deleted folder’s versions, set status attribute as deleted. To retrieve active folder’s versions, set status attribute as active. Hard deleted folder’s versions cannot be retrieved.

  • pageSize - Param to control the number of items returned in the response, set pageSize attribute. By default, it is set to 100.

  • nextPageToken - To get the next set of items, set nextPageToken attribute with the value from the previous response.

  • A folder should be created. To know more about creating a folder refer here
GET {baseUrl}/spaces/{spaceId}/folders/{folderId}/versions
  • Headers:

    • Authorization: Bearer {tid token}

To know more about the List folder versions API refer here. For List folder versions by path refer here.