Skip to main content

consumer_shares

Creates, updates, deletes, gets or lists a consumer_shares resource.

Overview

Nameconsumer_shares
TypeResource
Idconfluent.stream_sharing.consumer_shares

Fields

The following fields are returned by SELECT queries:

Consumer Share.

NameDatatypeDescription
idstringID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object kinds or objects of the same kind within a different scope/namespace ("space"). (example: dlz-f3a90de)
consumer_organization_namestringConsumer organization name. Deprecated (example: Nasdaq)
consumer_user_namestringName of the consumer. Deprecated (example: John Doe)
provider_organization_namestringProvider organization name (example: Nasdaq)
provider_user_namestringName or email of the provider user (example: Jane Doe)
api_versionstringAPIVersion defines the schema version of this representation of a resource. (cdx/v1)
consumer_userobjectThe consumer user/invitee
invite_expires_atstring (date-time)The date and time at which the invitation will expire. Only for invited shares (example: 2006-01-02T15:04:05-07:00)
kindstringKind defines the object this REST resource represents. (ConsumerShare)
metadataobjectObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
statusobjectThe status of the Consumer Share

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_cdx_v1_consumer_shareselectidMake a request to read a consumer share.
list_cdx_v1_consumer_sharesselectshared_resource, include_deleted, page_size, page_tokenRetrieve a sorted, filtered, paginated list of all consumer shares.
delete_cdx_v1_consumer_sharedeleteidMake a request to delete a consumer share.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringThe unique identifier for the consumer share.
include_deletedbooleanInclude deactivated shares
page_sizeintegerA pagination size for collection requests.
page_tokenstringAn opaque pagination token for collection requests.
shared_resourcestringFilter the results by exact match for shared_resource. (example: sr-1234)

SELECT examples

Make a request to read a consumer share.

SELECT
id,
consumer_organization_name,
consumer_user_name,
provider_organization_name,
provider_user_name,
api_version,
consumer_user,
invite_expires_at,
kind,
metadata,
status
FROM confluent.stream_sharing.consumer_shares
WHERE id = '{{ id }}' -- required
;

DELETE examples

Make a request to delete a consumer share.

DELETE FROM confluent.stream_sharing.consumer_shares
WHERE id = '{{ id }}' --required
;