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
completeparameter is settrue. By default it is false and minimal response will be returned. -
status - To retrieve soft deleted folder’s versions, set
statusattribute asdeleted. To retrieve active folder’s versions, setstatusattribute asactive. Hard deleted folder’s versions cannot be retrieved. -
pageSize - Param to control the number of items returned in the response, set
pageSizeattribute. By default, it is set to 100. -
nextPageToken - To get the next set of items, set
nextPageTokenattribute with the value from the previous response.
Prerequisites
Section titled “Prerequisites”- A folder should be created. To know more about creating a folder refer here
Request
Section titled “Request”GET {baseUrl}/spaces/{spaceId}/folders/{folderId}/versions-
Headers:
- Authorization:
Bearer {tid token}
- Authorization:
Response
Section titled “Response”To know more about the List folder versions API refer here. For List folder versions by path refer here.