Skip to content

Accept Offer

PATCH
/api/projects/offers/{assignment_uuid}/accept
curl --request PATCH \
--url https://example.com/api/projects/offers/example/accept

Accept an offer by UUID. Sets state to ‘accepted’. Auth: Must be the offeree.

assignment_uuid
required
Assignment Uuid
string

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}