You can setup multiple webhooks for your organization that subscribe to events.
FEDERATED_GRAPH_SCHEMA_UPDATED
federated_graph
: An object representing the federated graph details.
id
: The unique identifier for the federated graph.
name
: The name of the federated graph.
namespace
: The namespace of the federated graph
errors
: A boolean value indicating whether there were errors during the update.
actor_id
(optional): The identifier of the actor updating the schema.
X-Cosmo-Signature-256
.
X-Cosmo-Signature-256
header.
Here’s an example in Node.js:
Navigate to the notifications page on Cosmo
In the Webhooks tab, click on the Create button.
Provide the endpoint of the webhook, and the webhook secret for verification and then select the events you want to be notified of.
Lastly, click on the Create button.