Reporters
Domains
Create or update a reporter
Idempotent create-or-update. Uses the key field in the body to identify the reporter within the domain. On first apply the reporter is created; subsequent applies update it. The system flag is immutable; changing it requires deleting and recreating the reporter.
put/organizations/{orgId}/environments/{envId}/domains/{domainKey}/reporters
Path parameters
orgIdstring required
Identifier of the organization that owns the environment.
envIdstring required
Identifier of the environment the domain belongs to.
domainKeystring required
Key of the domain: its stable, immutable Automation identifier within the environment.
Request body
Example request
{
"configuration": "{\"bootstrapServers\":\"kafka:9092\",\"topic\":\"audit\"}",
"key": "audit-kafka",
"name": "Audit events to Kafka",
"type": "reporter-am-kafka"
}Response
The created or updated reporter
Example response
{
"configuration": "{\"bootstrapServers\":\"kafka:9092\",\"topic\":\"audit\"}",
"key": "audit-kafka",
"name": "Audit events to Kafka",
"type": "reporter-am-kafka"
}