List the notifications a rule can configure
curl --request GET \ --url https://example.com/api/v1/notification-rules/sources \ --header 'Authorization: Bearer <token>'The catalog: every notification Chelsea can send to a chat channel, with its label, whether it is scheduled or event-driven, the scopes it accepts, how finely it can be timed, how many channels and which platforms it posts to, whether it mentions members, the keys of its options and what it does without a saved rule. Requires the settings.manage permission.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The notification catalog.
object
One notification Chelsea can send to a chat channel, and what a rule of it may carry.
object
Whether a record without a rule of its own takes the next wider scope’s channel.
object
The chat platforms it can post to; null when it is built for any of them.
Whether it is sent at times of day or when something happens.
The keys options accepts for this source.
The scopes a rule of this source can have, most specific first.
Which notification a rule configures. GET /notification-rules/sources lists what each one accepts.
Pagination metadata for list responses.
object
Example
{ "data": [ { "destinations": { "providers": [ "discord" ] }, "kind": "SCHEDULED", "schedule": { "resolution": "HOUR" }, "scopes": [ "WORKSPACE" ], "source": "PM_DIGEST" } ]}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC