Skip to content

Get Version

//trimblecloud-fileservice/trimblecloud.fileservice/FoldersAPI/getVersion

getVersion

[JVM]
abstract fun getVersion(@NonNullspaceId: @NonNullUUID, @NonNullfolderId: @NonNullUUID, @NonNullversion: @NonNullString): CompletableFuture<Response<Folder>>

Get a specific version of a folder by ID. Default filter is applied. It retrieves folders with status = active.

Return

  • A future that resolves to the folder response.

Parameters

JVM

spaceId- The space id.
folderId- The folder id.
version- The version 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 getVersion(@NonNullspaceId: @NonNullUUID, @NonNullfolderId: @NonNullUUID, @NonNullversion: @NonNullString, @NonNullstatus: @NonNullStatus): CompletableFuture<Response<Folder>>

Get a specific version of a folder by ID.

Return

  • A future that resolves to the folder response.

Parameters

JVM

spaceId- The space id.
folderId- The folder id.
version- The version of the folder.
status- The status query parameter is used to filter the resources

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 getVersion(@NonNullspaceId: @NonNullUUID, @NonNullpath: @NonNullString, @NonNullversion: @NonNullString): CompletableFuture<Response<Folder>>

Get a specific version of a folder by path. Default filter is applied. It retrieves folders with status = active.

Return

  • A future that resolves to the folder response.

Parameters

JVM

spaceId- The space id.
path- The path of the folder.
version- The version 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 getVersion(@NonNullspaceId: @NonNullUUID, @NonNullpath: @NonNullString, @NonNullversion: @NonNullString, @NonNullstatus: @NonNullStatus): CompletableFuture<Response<Folder>>

Get a specific version of a folder by path.

Return

  • A future that resolves to the folder response.

Parameters

JVM

spaceId- The space id.
path- The path of the folder.
version- The version of the folder.
status- The status query parameter is used to filter the resources

Throws

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