Tasks
Patch apiv1realms quests tasks
Accounts
Realm-Members
Realms
Store
Currency
Raffle
Quests
Tasks
Triggers
Transitions
Conditions
- GETGet apiv1realms quests tasks conditions
- POSTPost apiv1realms quests tasks conditions
- GETGet apiv1realms quests tasks conditions 1
- DELDelete apiv1realms quests tasks conditions
- PATCHPatch apiv1realms quests tasks conditions
- POSTPost apiv1realms quests tasks conditions pre data
- POSTPost apiv1realms quests tasks conditions pre datasearch
Actions
Tasks
Patch apiv1realms quests tasks
Update an existing task
PATCH
/
api
/
v1
/
realms
/
{realmId}
/
quests
/
{questId}
/
tasks
/
{taskId}
curl --request PATCH \
--url https://api.drip.re/api/v1/realms/{realmId}/quests/{questId}/tasks/{taskId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"type": "<string>",
"description": "<string>",
"config": {}
}'
{
"data": {
"id": "<string>",
"questId": "<string>",
"name": "<string>",
"type": "<string>",
"description": null,
"config": null,
"triggers": [
{
"id": "<string>",
"taskId": "<string>",
"type": "<string>",
"config": null,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"conditions": [
{
"id": "<string>",
"taskId": "<string>",
"type": "<string>",
"config": null,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"actions": [
{
"id": "<string>",
"taskId": "<string>",
"type": "<string>",
"config": null,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"fromTransitions": [
{
"id": "<string>",
"fromTaskId": "<string>",
"toTaskId": null,
"condition": null,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"toTransitions": [
{
"id": "<string>",
"fromTaskId": "<string>",
"toTaskId": null,
"condition": null,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
Authorizations
API Key
Path Parameters
Response
200
application/json
Default Response
curl --request PATCH \
--url https://api.drip.re/api/v1/realms/{realmId}/quests/{questId}/tasks/{taskId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"type": "<string>",
"description": "<string>",
"config": {}
}'
{
"data": {
"id": "<string>",
"questId": "<string>",
"name": "<string>",
"type": "<string>",
"description": null,
"config": null,
"triggers": [
{
"id": "<string>",
"taskId": "<string>",
"type": "<string>",
"config": null,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"conditions": [
{
"id": "<string>",
"taskId": "<string>",
"type": "<string>",
"config": null,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"actions": [
{
"id": "<string>",
"taskId": "<string>",
"type": "<string>",
"config": null,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"fromTransitions": [
{
"id": "<string>",
"fromTaskId": "<string>",
"toTaskId": null,
"condition": null,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"toTransitions": [
{
"id": "<string>",
"fromTaskId": "<string>",
"toTaskId": null,
"condition": null,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}