Skip to content

Get Upload Details

//trimblecloud-fileservice/trimblecloud.fileservice/FilesAPI/getUploadDetails

getUploadDetails

[JVM]
abstract fun getUploadDetails(@NonNullspaceId: @NonNullUUID, @NonNulluploadId: @NonNullUUID): CompletableFuture<Response<UploadDetails>>

Retrieve the upload details by Id Default filters are applied. It retrieves upload details with urlDuration = 60m.

Return

  • A future that resolves to the upload response.

Parameters

JVM

spaceId- The space id.
uploadId- The upload 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 getUploadDetails(@NonNullspaceId: @NonNullUUID, @NonNulluploadId: @NonNullUUID, @NonNullurlDuration: @NonNullString): CompletableFuture<Response<UploadDetails>>

Retrieve the upload details by Id

Return

  • A future that resolves to the upload response.

Parameters

JVM

spaceId- The space id.
uploadId- The upload id.
urlDuration- The file upload URL’s validity duration can be set in days (d), hours (h), or minutes (m). Minimum value is 5 minutes (5m), maximum value is 7 days (7d).

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 getUploadDetails(@NonNullspaceId: @NonNullUUID, @NonNulluploadId: @NonNullUUID, @NonNullparams: @NonNullGetUploadDetailsParams): CompletableFuture<Response<UploadDetails>>

Retrieve the upload details by Id with parameters.

Return

  • A future that resolves to the upload response.

Parameters

JVM

spaceId- The space id.
uploadId- The upload id.
params- The parameters for the upload details.

Throws

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