Skip to content

Get With Minimal Response

//trimblecloud-fileservice/trimblecloud.fileservice/ResourcesAPI/getWithMinimalResponse

getWithMinimalResponse

[JVM]
abstract fun getWithMinimalResponse(@NonNullspaceId: @NonNullUUID, @NonNullresourceId: @NonNullUUID): CompletableFuture<Response<MinimalResource>>

Get minimal resource by id.

Return

A future that resolves to minimal file, folder or support file based on the resourceId.

Parameters

JVM

spaceId- Space identifier
resourceId- Resource identifier to operate on

Throws

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

[JVM]
abstract fun getWithMinimalResponse(@NonNullspaceId: @NonNullUUID, @NonNullresourceId: @NonNullUUID, @NonNullparams: @NonNullGetResourceParams): CompletableFuture<Response<MinimalResource>>

Get minimal resource by id.

Return

A future that resolves to minimal file, folder or support file based on the resourceId.

Parameters

JVM

spaceId- Space identifier
resourceId- Resource identifier to operate on
params- The parameters to filter the response.

Throws

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

[JVM]
abstract fun getWithMinimalResponse(@NonNullspaceId: @NonNullUUID, @NonNullpath: @NonNullString): CompletableFuture<Response<MinimalResource>>

Get minimal resource by path.

Return

A future that resolves to a minimal file, folder or support file at the specified path.

Parameters

JVM

spaceId- Space identifier
path- Path to the resource

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 getWithMinimalResponse(@NonNullspaceId: @NonNullUUID, @NonNullpath: @NonNullString, @NonNullparams: @NonNullGetResourceParams): CompletableFuture<Response<MinimalResource>>

Get minimal resource by path.

Return

A future that resolves to a minimal file, folder or support file at the specified path.

Parameters

JVM

spaceId- Space identifier
path- Path to the resource
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.