Get Version
//trimblecloud-fileservice/trimblecloud.fileservice/FilesAPI/getVersion
getVersion
[JVM]
abstract fun getVersion(@NonNullspaceId: @NonNullUUID, @NonNullfileId: @NonNullUUID, @NonNullversion: @NonNullString): CompletableFuture<Response<File>>
Get a specific version of a 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. |
| version | - The version 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 getVersion(@NonNullspaceId: @NonNullUUID, @NonNullfileId: @NonNullUUID, @NonNullversion: @NonNullString, @NonNullparams: @NonNullGetFileParams): CompletableFuture<Response<File>>
Get a specific version of a file by ID.
Return
- A future that resolves to the file response.
Parameters
JVM
| spaceId | - The space id. |
| fileId | - The file id. |
| version | - The version 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. |
[JVM]
abstract fun getVersion(@NonNullspaceId: @NonNullUUID, @NonNullpath: @NonNullString, @NonNullversion: @NonNullString): CompletableFuture<Response<File>>
Get a specific version of a 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. |
| version | - The version 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 getVersion(@NonNullspaceId: @NonNullUUID, @NonNullpath: @NonNullString, @NonNullversion: @NonNullString, @NonNullparams: @NonNullGetFileParams): CompletableFuture<Response<File>>
Get a specific version of a file by path.
Return
- A future that resolves to the file response.
Parameters
JVM
| spaceId | - The space id. |
| path | - The path of the file. |
| version | - The version 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. |