Read a notification
const url = 'https://api.katara.com/katara/v1/notifications/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.katara.com/katara/v1/notifications/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”Optional for reads after sign-in. Use the UUID of the account that loaded the application. A different current cookie account returns account_changed before the handler runs. Session bearer and API key clients do not require this header.
Responses
Section titled “Responses”Current notification state.
object
object
What an expiry notice is about: the name given to the agent grant, budget or API key, or the repository whose approval ends, when it ends, and the portal page where it is renewed. It is read from the source each time the notice is read. Once the object is renewed, revoked or over, the notice is no longer returned.
object
Portal path with the organization and environment in its query.
Example
{ "event": { "producer": "account", "type": "account.security_changed", "schema_version": 1, "template_version": 1, "mode": "account", "resource_type": "account" }, "product": "account", "category": "security", "state": "unread"}Invalid request.
A current human session or permission is required.
Item or source access is unavailable.
The state version changed; reload before editing.