Force rotate the city event log

post/v0/city/{cityName}/events/rotate

Request

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

Path parameters

cityNamestring required

City name.

Query parameters

waitboolean

Wait for archive compression to complete before returning.

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.

Response

OK

reasonstring

No-op reason when rotated is false.

rotatedboolean required

Whether an archive was produced.

Example response

{
  "anchor_event": {
    "type": "events.rotated"
  }
}

Changes

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