Skip to content

List Public Resources

//trimblecloud-fileservice/trimblecloud.fileservice/SpacesAPI/listPublicResources

listPublicResources

[JVM]
abstract fun listPublicResources(@NonNullspaceId: @NonNullUUID): CompletableFuture<Response<MinimalSpaceList>>

Lists all resources with anonymous access within a space. This method returns a paginated list of files and folders that have been explicitly granted anonymous access through ACL permissions. Only resources in spaces with allowAnonymousShares enabled will be returned.

Return

A future that resolves to the list of public resources response.

Parameters

JVM

spaceId- The space identifier.

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 listPublicResources(@NonNullspaceId: @NonNullUUID, @NonNullparams: @NonNullListPublicResourcesParams): CompletableFuture<Response<MinimalSpaceList>>

Lists all resources with anonymous access within a space. This method returns a paginated list of files and folders that have been explicitly granted anonymous access through ACL permissions. Only resources in spaces with allowAnonymousShares enabled will be returned.

Return

A future that resolves to the list of public resources response.

Parameters

JVM

spaceId- The space identifier.
params- The parameters to filter and paginate the results.

Throws

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