Subscriptions (notifications/v1)

Read a Subscription

General Availability

Make a request to read a subscription.

get/notifications/v1/subscriptions/{id}

Path parameters

idstring required

The unique identifier for the subscription.

Response

Subscription.

api_version'notifications/v1' required

APIVersion defines the schema version of this representation of a resource.

kind'Subscription' required

Kind defines the object this REST resource represents.

idstring required

ID 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").

current_statestring

Denotes the state of the subscription. When the subscription is ENABLED, the user will receive notification on the configured Integrations. If the subscription is DISABLED, the user will not recieve any notification for the configured notification type. Note that, you cannot disable a subscription for REQUIRED notification type.

Example response

{
  "id": "dlz-f3a90de",
  "metadata": {
    "self": "https://api.confluent.cloud/notifications/v1/subscriptions/s-12345",
    "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/subscription=s-12345",
    "created_at": "2006-01-02T15:04:05-07:00",
    "updated_at": "2006-01-02T15:04:05-07:00",
    "deleted_at": "2006-01-02T15:04:05-07:00"
  },
  "current_state": "ENABLED"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.