Record, change and delete offers through the API #1232
No reviewers
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo!1232
Loading…
Reference in a new issue
No description provided.
Delete branch "f-1101"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #1101: offers can be recorded, changed and deleted through the API, not only read.
POST /api/v1/offers,PATCH /api/v1/offers/{id},DELETE /api/v1/offers/{id}, under thewritescope like interviews and reminders.OfferForm, thenrecord_offer,revise_offerorwithdraw_offer, so the checks, the timeline entry (signed by the token's name) and the answer-by reminder are the page's. A form refusal is the usualvalidation-failedproblem document, with the form's messages in the token owner's language.PATCHchanges only the fields sent;nullclears one.Not done: the page pre-fills a new offer from the advertised salary, the API does not (the client sends the terms); no
Idempotency-Key(only captures have one).Tested: the six new tests fail without the change; offers, API, API problems, isolation sweep and the usual guards pass. No migration, no new string.
The wiki's The capture API gains the three rows once this is merged.
🤖 Generated with Claude Code
c0baf6afa7bb8e386489Superseded by #1237, which stacks this branch with two other features so they share one CI run (each merge here is fast-forward-only, so landing them one by one would mean a CI run each after every rebase). The commits are the same.
🤖 Generated with Claude Code
Pull request closed