Emit an event

post/v0/city/{cityName}/events

Request

  • The document declares no server URL.
  • Auth: none declared. Required headers: X-GC-Request

Path parameters

cityNamestring required

City name.

Headers

X-GC-Requeststring required

Anti-CSRF header required on mutation requests. Any non-empty value is accepted; the header's presence is what the server checks.

Idempotency-Keystring

Idempotency key for safe retries.

Request body

actorstring required

Actor that produced the event.

messagestring

Event message.

subjectstring

Event subject.

typestring required

Event type.

Response

Created

statusstring required

Operation result.

Example response

{
  "status": "recorded"
}

Changes

No recorded changes to this operation across all 50 revisions of this API.