Skip to content

Get

//trimblecloud-fileservice/trimblecloud.fileservice/FilesAPI/get

get

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

Get file by id. Default filters are applied. It retrieves files with status = active, urlDuration = 60m.

Return

  • A future that resolves to the file response.

Parameters

JVM

spaceId- The space id.
fileId- The file 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 get(@NonNullspaceId: @NonNullUUID, @NonNullfileId: @NonNullUUID, @NonNullparams: @NonNullGetFileParams): CompletableFuture<Response<File>>

Get file by id.

Return

  • A future that resolves to the file response.

Parameters

JVM

spaceId- The space id.
fileId- The file id.
params- The parameters to filter the response.

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, @NonNullpath: @NonNullString): CompletableFuture<Response<File>>

Get file by path. Default filters are applied. It retrieves files with status = active, urlDuration = 60m.

Return

  • A future that resolves to the file response.

Parameters

JVM

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

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, @NonNullpath: @NonNullString, @NonNullparams: @NonNullGetFileParams): CompletableFuture<Response<File>>

Get file by path.

Return

  • A future that resolves to the file response.

Parameters

JVM

spaceId- The space id.
path- The path of the file.
params- The parameters to filter the response.

Throws

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