PATCH /public/communities/{subdomain}/quests/{questId} HTTP/1.1
Host: api-v2.zealy.io
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 908
{
"categoryId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"published": true,
"recurrence": "daily",
"conditionOperator": "AND",
"retryAfter": 0,
"description": {
"type": "text",
"text": "text",
"attrs": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"marks": [
{
"type": "text",
"attrs": {
"href": "text",
"target": "_blank",
"class": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"content": null,
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"conditions": [
{
"type": "quest",
"operator": "isCompleted",
"value": "123e4567-e89b-12d3-a456-426614174000"
}
],
"position": 1,
"claimLimit": 1,
"sprintId": "123e4567-e89b-12d3-a456-426614174000",
"rewards": [
{
"type": "xp",
"value": 1
},
{
"method": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"type": "fcfs",
"max": 1,
"count": 1
}
}
],
"tasks": [
{
"type": "partnership",
"settings": {
"subdomain": "text"
}
},
{
"id": "123e4567-e89b-12d3-a456-426614174000"
}
],
"archived": true,
"isAutomaticWhenEmpty": true
}