Skip to content

List Children

//trimblecloud-fileservice/trimblecloud.fileservice/FoldersAPI/listChildren

listChildren

[JVM]
abstract fun listChildren(@NonNullspaceId: @NonNullUUID, @NonNullfolderId: @NonNullUUID): CompletableFuture<Response<FileAndFolderList>>

Lists all children of a folder in a space by folder identifier. The operation is paginated and the response contains a token that can be used to get the next page of results. Default filter is applied. It retrieves folders with status = active, pageSize = 100, urlDuration = 60m.

Return

  • A future that resolves to the list response.

Parameters

JVM

spaceId- The space id.
folderId- The folder 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 listChildren(@NonNullspaceId: @NonNullUUID, @NonNullfolderId: @NonNullUUID, @NonNullparams: @NonNullListFolderChildrenParams): CompletableFuture<Response<FileAndFolderList>>

Lists all children of a folder in a space by folder 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 list response.

Parameters

JVM

spaceId- The space id.
folderId- The folder id.
params- The parameters to the filter operation.

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

Lists all children of a folder in a space by path. The operation is paginated and the response contains a token that can be used to get the next page of results. Default filter is applied. It retrieves folders with status = active, pageSize = 100, urlDuration = 60m.

Return

  • A future that resolves to the list response.

Parameters

JVM

spaceId- The space id.
path- The path of the folder.

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 listChildren(@NonNullspaceId: @NonNullUUID, @NonNullpath: @NonNullString, @NonNullparams: @NonNullListFolderChildrenParams): CompletableFuture<Response<FileAndFolderList>>

Lists all children of a folder in a space 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 list response.

Parameters

JVM

spaceId- The space id.
path- The path of the folder.
params- The parameters to the filter operation.

Throws

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