Generate the offer file of an approved set through its fund's Reporter template
Starts an attempt when the set has none or its last one failed, and otherwise returns the current state. The set must be approved and its fund must name a Reporter template; a fund on a built-in layout is refused (LENDER-0537). The template is read first: Reporter unreachable (LENDER-0539) or refusing it (LENDER-0540) records nothing. An attempt a line left the lot after it started reads failed with composition_changed, and POST starts the next attempt over the lines still in it. Generating never records offer_sent.
Autorizaciones
JWT bearer token issued by the identity provider.
Parámetros de ruta
Assignment set identifier.
Respuesta
OK
The set the offer file is generated for.
pending: Reporter is rendering the file. failed: the attempt ended without a file; failureCode says why and POST starts the next attempt. ready: the file is authorized and served by GET .../offer-file.
pending, failed, ready The attempt number, from 1. Absent when the set's file was authorized with no Reporter generation.
When the attempt started (RFC3339, UTC). An attempt pending for 30 minutes fails as reporter_timeout.
Why the attempt ended without a file. composition_changed: a line left the lot after this attempt started; POST starts the next attempt over the lines still in it.
template_changed, template_missing, reporter_access_denied, reporter_refused, report_failed, report_partial, report_incomplete, report_too_large, reporter_timeout, set_not_approved, composition_changed What Reporter or the verification reported, for the failure code.
The authorized file. Present only when ready.
The Reporter report rendering the attempt, once Reporter accepted the request.
Validated identity that started the attempt.
The Reporter template the attempt froze.
A transient Reporter failure seen on this read. The attempt stays pending.
reporter_unavailable 
