Skip to content

Get

//trimblecloud-fileservice/trimblecloud.fileservice/SpacesAPI/get

get

[JVM]
abstract fun get(@NonNullspaceId: @NonNullUUID): CompletableFuture<Response<Space>>

Get space by Id. The response includes the file space descriptor and its metadata information. Default filter is applied. It retrieves space with status = active.

Return

  • A future that resolves to the space response.

Parameters

JVM

spaceId- Space identifier.

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 get(@NonNullspaceId: @NonNullUUID, status: Status): CompletableFuture<Response<Space>>

Get space descriptor by Id. The response includes the file space descriptor and its metadata information.

Return

  • A future that resolves to the space response.

Parameters

JVM

spaceId- Space identifier.
status- The status query parameter is used to filter the resources based on their status.

Throws

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