Created
October 23, 2023 10:25
-
-
Save llirikkcoder/929550d943c9582a507a8c4aa7b47d9c to your computer and use it in GitHub Desktop.
quest star don't changed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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 file3D\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": 1697735143, | |
"createdBy": 1, | |
"id": 504, | |
"locationId": 57, | |
"numberOfPasses": 1, | |
"priceAmount": 0, | |
"priceCurrency": "FD", | |
"type": 0, | |
"updatedAt": 1697735143, | |
"star": true, | |
"entryCondition": [], | |
"reward": [ | |
{ | |
"awardId": 10, | |
"price": null, | |
"rewardCurrency": null, | |
"type": "Award" | |
}, | |
{ | |
"awardId": 56, | |
"price": null, | |
"rewardCurrency": null, | |
"type": "Award" | |
}, | |
{ | |
"awardId": null, | |
"price": null, | |
"rewardCurrency": null, | |
"type": "Text" | |
} | |
], | |
"autoStart": false, | |
"autoComplete": false, | |
"questType": "text", | |
"codeWords": null, | |
"file3D": null, | |
"pointers": [] | |
}, | |
"revision": { | |
"attachments": [ | |
"cc0b7af59d679d9770d8b3626ac2e4e8cda74cf9994c6ed4cdeb7bb033e8dc4c" | |
], | |
"completing": "revision.completing.4d0828de-032e-4869-bee4-2aff4bb87733", | |
"contactIds": null, | |
"createdAt": 1697735143, | |
"description": "revision.description.d458050b-9629-4317-9a28-b5608566c7d9", | |
"geolocation": { | |
"country": "Austria", | |
"region": "Tirol", | |
"__typename": "Geolocation" | |
}, | |
"id": 504, | |
"image": "6e095125f36616011d8b1a08e5ee743a9654c11dfa329143441ae35534545d41", | |
"questId": 504, | |
"shortDescription": "revision.shortDescription.cf30df39-1e3d-424f-89ad-f7c301fb4138", | |
"status": 1, | |
"title": "revision.title.68cd5f8b-dbcf-4055-96f6-f957e5792c49", | |
"updatedAt": 1697735143 | |
} | |
} | |
} | |
} | |
response: | |
{ | |
"data": { | |
"questChange": { | |
"id": 504, | |
"numberOfPasses": 1, | |
"bindingType": 0, | |
"bindingTime": 0, | |
"priceCurrency": "FD", | |
"priceAmount": 0, | |
"locationId": 57, | |
"revisions": [ | |
{ | |
"id": 504, | |
"status": 0, | |
"title": "Two awards", | |
"shortDescription": "revision.shortDescription.cf30df39-1e3d-424f-89ad-f7c301fb4138", | |
"description": "revision.description.d458050b-9629-4317-9a28-b5608566c7d9", | |
"geolocation": { | |
"country": "Austria", | |
"region": "Tirol", | |
"__typename": "Geolocation" | |
}, | |
"image": "6e095125f36616011d8b1a08e5ee743a9654c11dfa329143441ae35534545d41", | |
"questId": 504, | |
"attachments": [ | |
"cc0b7af59d679d9770d8b3626ac2e4e8cda74cf9994c6ed4cdeb7bb033e8dc4c" | |
], | |
"contactIds": null, | |
"createdAt": 1697735143, | |
"updatedAt": 1697735143, | |
"completing": "revision.completing.4d0828de-032e-4869-bee4-2aff4bb87733", | |
"__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": 1697735143, | |
"updatedAt": 1697735143, | |
"type": 0, | |
"createdBy": 1, | |
"autoStart": null, | |
"autoComplete": null, | |
"star": false, | |
"reward": [ | |
{ | |
"type": "Award", | |
"rewardCurrency": null, | |
"price": null, | |
"awardId": 10, | |
"__typename": "RewardModel" | |
}, | |
{ | |
"type": "Award", | |
"rewardCurrency": null, | |
"price": null, | |
"awardId": 56, | |
"__typename": "RewardModel" | |
}, | |
{ | |
"type": "Text", | |
"rewardCurrency": null, | |
"price": null, | |
"awardId": null, | |
"__typename": "RewardModel" | |
} | |
], | |
"entryCondition": null, | |
"pointers": null, | |
"questType": "text", | |
"codeWords": null, | |
"file3D": null, | |
"__typename": "QuestModel" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment