Skip to content

List Resources

//trimblecloud-fileservice/trimblecloud.fileservice/FilesAPI/listResources

listResources

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

Lists all resources (support files) of a file in a space by file identifier. The operation is paginated and the response contains a token that can be used to get the next page of results.

Return

  • A future that resolves to the files 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 listResources(@NonNullspaceId: @NonNullUUID, @NonNullfileId: @NonNullUUID, @NonNullparams: @NonNullListFileParams): CompletableFuture<Response<FileList>>

Lists all resources (support files) of a file in a space by file identifier. The operation is paginated and the response contains a token that can be used to get the next page of results.

Return

  • A future that resolves to the files 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 listResources(@NonNullspaceId: @NonNullUUID, @NonNullpath: @NonNullString): CompletableFuture<Response<FileList>>

Lists all resources (support files) of a file by path. The operation is paginated and the response contains a token that can be used to get the next page of results.

Return

  • A future that resolves to the files 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 listResources(@NonNullspaceId: @NonNullUUID, @NonNullpath: @NonNullString, @NonNullparams: @NonNullListFileParams): CompletableFuture<Response<FileList>>

Lists all resources (support files) of a file by path. The operation is paginated and the response contains a token that can be used to get the next page of results.

Return

A future that resolves to the files 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.