Update a quest
PATCH
/fellowships/{fellowship_id}/questChanges the status or destination of the fellowship's current quest.
Request
Example request
cURL
curl -X PATCH 'https://api.middle-earth.example/v3/fellowships/<fellowship_id>/quest' \
-H 'Content-Type: application/json' \
-d '{
"status": "travelling",
"destination": "string",
"reason": "string"
}'Response
The updated fellowship.
Body
membersarray of objects <Member> Requiredmembers.statusstring RequiredChanges automatically as the fellowship travels. Use Update a quest to change a quest instead.
activewoundedfallenabandoned
Example response
application/json
Json
{
"id": "string",
"name": "string",
"members": [
{
"id": "string",
"name": "string",
"race": "hobbit",
"status": "active",
"skills": [
"string"
],
"home": {
"name": "string",
"settlement": "string",
"parent": null
},
"traits": {
"kind": "hobbit",
"second_breakfasts": 0,
"pipe_weed_brand": "string"
},
"created_at": "2024-01-01T00:00:00Z"
}
],
"quest": {
"title": "string",
"destination": "string",
"deadline_days": 365
},
"status": "forming"
}