Skip to content

List Versions

//trimblecloud-fileservice/trimblecloud.fileservice/FoldersAPI/listVersions

listVersions

[JVM]
abstract fun listVersions(@NonNullspaceId: @NonNullUUID, @NonNullfolderId: @NonNullUUID): CompletableFuture<Response<FolderList>>

List all versions for a folder in a space by folder identifier. The operation is paginated and the response contains a token that can be used to get the next page of results. Default filter is applied. It retrieves folders with status = active, pageSize = 100

Return

  • A future that resolves to the folder response.

Parameters

JVM

spaceId- The space id.
folderId- The folder id.

Throws

TCPServiceException- If an error occurs due to API or network-related issues.
SDKClientException- If a client-side error occurs within the SDK.

[JVM]
abstract fun listVersions(@NonNullspaceId: @NonNullUUID, @NonNullfolderId: @NonNullUUID, @NonNullparams: @NonNullListFolderParams): CompletableFuture<Response<FolderList>>

List all versions for a folder in a space by folder identifier. The operation is paginated and the response contains a token that can be used to get the next page of results.

Return

  • A future that resolves to the folder list response.

Parameters

JVM

spaceId- The space id.
folderId- The folder id.
params- The parameters to the filter operation.

Throws

TCPServiceException- If an error occurs due to API or network-related issues.
SDKClientException- If a client-side error occurs within the SDK.

[JVM]
abstract fun listVersions(@NonNullspaceId: @NonNullUUID, @NonNullpath: @NonNullString): CompletableFuture<Response<FolderList>>

List all versions for a folder in a space by path. The operation is paginated and the response contains a token that can be used to get the next page of results. Default filter is applied. It retrieves folders with status = active, pageSize = 100

Return

  • A future that resolves to the folder list response.

Parameters

JVM

spaceId- The space id.
path- The path of the folder.

Throws

TCPServiceException- If an error occurs due to API or network-related issues.
SDKClientException- If a client-side error occurs within the SDK.

[JVM]
abstract fun listVersions(@NonNullspaceId: @NonNullUUID, @NonNullpath: @NonNullString, @NonNullparams: @NonNullListFolderParams): CompletableFuture<Response<FolderList>>

List all versions for a folder in a space by path. The operation is paginated and the response contains a token that can be used to get the next page of results.

Return

  • A future that resolves to the folder list response.

Parameters

JVM

spaceId- The space id.
path- The path of the folder.
params- The parameters to the filter operation.

Throws

TCPServiceException- If an error occurs due to API or network-related issues.
SDKClientException- If a client-side error occurs within the SDK.