Interface ShareServiceAsync
-
- All Implemented Interfaces:
public interface ShareServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceShareServiceAsync.WithRawResponseA view of ShareServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract ShareServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract ShareServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<ShareListPageAsync>list(String pluginId)List the shares the owner of a member-owned Plugin has given — to every member of the organization, to an RBAC Group, or to one member — most recently granted first. CompletableFuture<ShareListPageAsync>list(String pluginId, ShareListParams params, RequestOptions requestOptions)CompletableFuture<ShareListPageAsync>list(String pluginId, ShareListParams params)abstract CompletableFuture<ShareListPageAsync>list(ShareListParams params, RequestOptions requestOptions)CompletableFuture<ShareListPageAsync>list(ShareListParams params)CompletableFuture<ShareListPageAsync>list(String pluginId, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract ShareServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract ShareServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
list
CompletableFuture<ShareListPageAsync> list(String pluginId)
List the shares the owner of a member-owned Plugin has given — to every member of the organization, to an RBAC Group, or to one member — most recently granted first.
Shares are read-only in this API: members give and withdraw them in claude.ai, and who gave a share is recorded on the Compliance API activity feed rather than on the share. An organization-owned Plugin has installation settings instead, so this path returns 404 for one.
Accepted credentials: an Admin API key with the
read:pluginsorread:org_auditscope, or a Compliance Access Key with theread:compliance_org_datascope.Every request must include the beta header
anthropic-beta: ce-plugins-2026-09-01. A request without it returns404, exactly as if the endpoint did not exist. The Plugins API is in beta and is available to Claude Enterprise organizations only. It is not available to Claude Platform (Claude Console) organizations, or to organizations with HIPAA readiness enabled.
-
list
CompletableFuture<ShareListPageAsync> list(String pluginId, ShareListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<ShareListPageAsync> list(String pluginId, ShareListParams params)
-
list
abstract CompletableFuture<ShareListPageAsync> list(ShareListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<ShareListPageAsync> list(ShareListParams params)
-
list
CompletableFuture<ShareListPageAsync> list(String pluginId, RequestOptions requestOptions)
-
-
-
-