Quests
Get apiv1realms quests
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
Quests
Get apiv1realms quests
List all quests, paginated using a cursor
GET
/
api
/
v1
/
realms
/
{realmId}
/
quests
curl --request GET \
--url https://api.drip.re/api/v1/realms/{realmId}/quests \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"name": "<string>",
"description": null,
"type": "<string>",
"tasks": [
{
"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"
}
],
"participants": [
{
"id": "<string>",
"userId": "<string>",
"questId": "<string>",
"progress": 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"
}
],
"meta": {
"hasNextPage": false,
"hasPreviousPage": false,
"startCursor": "<string>",
"endCursor": "<string>",
"totalCount": 123
}
}
Authorizations
API Key
curl --request GET \
--url https://api.drip.re/api/v1/realms/{realmId}/quests \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"name": "<string>",
"description": null,
"type": "<string>",
"tasks": [
{
"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"
}
],
"participants": [
{
"id": "<string>",
"userId": "<string>",
"questId": "<string>",
"progress": 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"
}
],
"meta": {
"hasNextPage": false,
"hasPreviousPage": false,
"startCursor": "<string>",
"endCursor": "<string>",
"totalCount": 123
}
}