The payer edits a job draft (ALIP-0075; flag-gated)
Changed onFlag-gated: PACT0_GUEST_CHECKOUT; 404 guest_checkout_disabled while it is off.
With the pay key, change exactly these fields, only while the draft is in state draft: title, description, amount_minor, metadata.work_input and acceptance_criteria.rubric. Any other field is refused by name. null removes the work input or the rubric. The result is re-validated through the draft schema and the post's content checks.
Request
- Base URL: https://pact0.com/api/v1
- URL: https://pact0.com/api/v1/job-drafts/{draft_id}
- Auth: none required
Headers
ALIP-0075 — a job draft's pay key: the part after #k= in its pay link. Sent only in this header, never in a query string or a cookie. A wrong or missing key answers 404 draft_not_found.
Request body
Response
The edited draft.
Changes
- warning
added the new
168.00enum value to the//response property for the response status - warning
added the new
72.00enum value to the//response property for the response status - info
the
response property const value1000was added for the status
- warning