Skip to content

Instantly share code, notes, and snippets.

@llirikkcoder
Last active October 19, 2023 08:34
Show Gist options
  • Save llirikkcoder/7c0f57635cde6cce61befdebae90b22c to your computer and use it in GitHub Desktop.
Save llirikkcoder/7c0f57635cde6cce61befdebae90b22c to your computer and use it in GitHub Desktop.
no file3D back
{
"query": "mutation QuestChange($input: QuestChangeReq!) {\n questChange(in: $input) {\n ...QuestRespAll\n __typename\n }\n}\nfragment QuestRespAll on QuestModel {\n id\n numberOfPasses\n bindingType\n bindingTime\n priceCurrency\n priceAmount\n locationId\n revisions {\n ...QuestRevisionRespAll\n __typename\n }\n location {\n ...LocationModelRes\n __typename\n }\n createdAt\n updatedAt\n type\n createdBy\n autoStart\n autoComplete\n star\n reward {\n ...RewardRespAll\n __typename\n }\n entryCondition\n pointers {\n ...PointerRespAll\n __typename\n }\n questType\n codeWords\n}\nfragment QuestRevisionRespAll on QuestRevisionModel {\n id\n status\n title\n shortDescription\n description\n geolocation {\n country\n region\n __typename\n }\n image\n questId\n attachments\n contactIds\n createdAt\n updatedAt\n completing\n}\nfragment LocationModelRes on LocationModel {\n id\n createdAt\n logo\n image\n cardImage\n name\n description\n createdAt\n type\n geolocation {\n country\n region\n __typename\n }\n youtube\n facebook\n instagram\n telegram\n twitter\n diskord\n costCurrency\n costValue\n status\n createdBy\n accessByStatus\n enableAward\n entryCondition\n legend\n attachments\n site\n shortDescription\n isAR\n}\nfragment RewardRespAll on RewardModel {\n type\n rewardCurrency\n price\n awardId\n}\nfragment PointerRespAll on PointerModel {\n id\n questId\n lat\n lng\n award {\n ...AwardRespAll\n __typename\n }\n attachments\n radius\n awardId\n createdAt\n}\nfragment AwardRespAll on AwardModel {\n id\n title\n description\n image\n locationId\n lifeTime\n price\n token\n}",
"operationName": "QuestChange",
"variables": {
"input": {
"quest": {
"bindingTime": 0,
"bindingType": 0,
"createdAt": 1697664731,
"createdBy": 1,
"id": 501,
"locationId": 57,
"numberOfPasses": 1,
"priceAmount": 0,
"priceCurrency": "FD",
"type": 0,
"updatedAt": 1697664731,
"star": false,
"entryCondition": [
56
],
"reward": [
{
"awardId": null,
"price": 100000,
"rewardCurrency": "FD",
"type": "Token"
},
{
"awardId": 10,
"price": null,
"rewardCurrency": null,
"type": "Award"
},
{
"awardId": null,
"price": null,
"rewardCurrency": null,
"type": "Asset"
}
],
"autoStart": false,
"autoComplete": false,
"questType": "3d-assets",
"codeWords": null,
"file3D": "753973e1dfa6a310483b5e8474d58bfdd3dac5f5e49a326d62921884c1a3ed66",
"pointers": []
},
"revision": {
"attachments": [],
"completing": "revision.completing.0fd926bc-5a7e-4127-9aaa-46576c871fd5",
"contactIds": null,
"createdAt": 1697664731,
"description": "revision.description.da8ce103-25ba-4996-a165-ff0afc582c07",
"geolocation": {
"country": "Bangladesh",
"region": "Sylhet",
"__typename": "Geolocation"
},
"id": 501,
"image": "eed3b0155124b980562c0a05a7aacf1b0088520ca15e69b942a55b204a655651",
"questId": 501,
"shortDescription": "revision.shortDescription.30d0e543-3f1c-4f66-9aa1-665aa410d4a8",
"status": 1,
"title": "revision.title.9b66fd9a-c5a5-4b9e-8c25-bd3e055bee8d",
"updatedAt": 1697664731
}
}
}
}
response:
{
"data": {
"questChange": {
"id": 501,
"numberOfPasses": 1,
"bindingType": 0,
"bindingTime": 0,
"priceCurrency": "FD",
"priceAmount": 0,
"locationId": 57,
"revisions": [
{
"id": 501,
"status": 0,
"title": "AwardsTests",
"shortDescription": "revision.shortDescription.30d0e543-3f1c-4f66-9aa1-665aa410d4a8",
"description": "revision.description.da8ce103-25ba-4996-a165-ff0afc582c07",
"geolocation": {
"country": "Bangladesh",
"region": "Sylhet",
"__typename": "Geolocation"
},
"image": "eed3b0155124b980562c0a05a7aacf1b0088520ca15e69b942a55b204a655651",
"questId": 501,
"attachments": null,
"contactIds": null,
"createdAt": 1697664731,
"updatedAt": 1697664731,
"completing": "revision.completing.0fd926bc-5a7e-4127-9aaa-46576c871fd5",
"__typename": "QuestRevisionModel"
}
],
"location": {
"id": 57,
"createdAt": 1689366576,
"logo": "4c5657492d5813859659c1d025714431cbab531ff7db470e18134bb0a5604c38",
"image": "4c5657492d5813859659c1d025714431cbab531ff7db470e18134bb0a5604c38",
"cardImage": "4c5657492d5813859659c1d025714431cbab531ff7db470e18134bb0a5604c38",
"name": "location.name.da5be5b6-d50a-4436-8fb6-8114c5a51fad",
"description": "location.description.01826ea4-aba0-4d66-bd29-b1eda809ef20",
"type": 0,
"geolocation": {
"country": "Georgia",
"region": "Tbilisi",
"__typename": "Geolocation"
},
"youtube": "https://www.youtube.com/watch?v=gAHlwhAtub8",
"facebook": "https://www.youtube.com/watch?v=gAHlwhAtub8",
"instagram": "https://www.youtube.com/watch?v=gAHlwhAtub8",
"telegram": "https://www.youtube.com/watch?v=gAHlwhAtub8",
"twitter": "https://www.youtube.com/watch?v=gAHlwhAtub8",
"diskord": "https://www.youtube.com/watch?v=gAHlwhAtub8",
"costCurrency": "FD",
"costValue": 0,
"status": 2,
"createdBy": 1,
"accessByStatus": 1,
"enableAward": true,
"entryCondition": null,
"legend": "location.legend.2b85ed6e-cf80-442b-ad03-01fa39f1f7bf",
"attachments": null,
"site": null,
"shortDescription": "location.short-description.67130ef8-310e-48c1-ac15-a05d8c952b7b",
"isAR": true,
"__typename": "LocationModel"
},
"createdAt": 1697664731,
"updatedAt": 1697664731,
"type": 0,
"createdBy": 1,
"autoStart": null,
"autoComplete": null,
"star": false,
"reward": [
{
"type": "Token",
"rewardCurrency": "FD",
"price": 100000,
"awardId": null,
"__typename": "RewardModel"
},
{
"type": "Award",
"rewardCurrency": null,
"price": null,
"awardId": 10,
"__typename": "RewardModel"
},
{
"type": "Asset",
"rewardCurrency": null,
"price": null,
"awardId": null,
"__typename": "RewardModel"
}
],
"entryCondition": [
56
],
"pointers": null,
"questType": "3d-assets",
"codeWords": null,
"__typename": "QuestModel"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment