wrapper.ready

Wrapper finished building

This event is in the contract, but Vojo does not send it yet. You cannot subscribe to it until it ships.

Will be sent when a wrapper that POST /v1/wrappers accepted with 202 finishes building. data is the v1 Wrapper resource with status ready, the same as GET /v1/wrappers/{wrapper_id}. It won't be sent for wrappers returned ready with 201. Wrapping is synchronous today, so you always get 201.

Payload

Envelope for wrapper.ready and wrapper.failed. data follows the Wrapper resource.

  • event_typestringRequired

    One of wrapper.ready, wrapper.failed

  • event_idstringRequired

    Stable per-event id, constant across retries. Dedupe on this.

  • organisation_idstringRequired
  • api_versionstringRequired

    The Vojo-Version the payload is rendered in (the org's pin).

  • created_atstringRequired

    date-time

  • dataobjectRequired

    The v1 Wrapper resource.

  • attempt_idstring

    Per-attempt id; changes on each retry. Do not dedupe on this.

Handling this event

Verify the signature, reply with a 2xx within 20 seconds, then process the event in the background. Retries reuse the same event id, so deduplicate on it.