Skip to content

List Versions With Minimal Response

//trimblecloud-fileservice/trimblecloud.fileservice/FilesAPI/listVersionsWithMinimalResponse

listVersionsWithMinimalResponse

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

Get all versions of a file by id with minimal response. Default filters are applied. It retrieves files with status = active, urlDuration = 60m, pageSize = 100.

Return

  • A future that resolves to the files response with minimal details.

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 listVersionsWithMinimalResponse(@NonNullspaceId: @NonNullUUID, @NonNullfileId: @NonNullUUID, @NonNullparams: @NonNullListFileParams): CompletableFuture<Response<MinimalFileList>>

Get all versions of a file by id with minimal response.

Return

  • A future that resolves to the files response with minimal details.

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 listVersionsWithMinimalResponse(@NonNullspaceId: @NonNullUUID, @NonNullpath: @NonNullString): CompletableFuture<Response<MinimalFileList>>

Get all versions of a file by path with minimal response. Default filters are applied. It retrieves files with status = active, urlDuration = 60m, pageSize = 100.

Return

  • A future that resolves to the files response with minimal details.

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 listVersionsWithMinimalResponse(@NonNullspaceId: @NonNullUUID, @NonNullpath: @NonNullString, @NonNullparams: @NonNullListFileParams): CompletableFuture<Response<MinimalFileList>>

Get all versions of a file by path with minimal response.

Return

A future that resolves to the files response with minimal details.

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.