Created
October 4, 2023 15:43
-
-
Save llirikkcoder/a199aa39f8f405ccce0e50b683c2b9c0 to your computer and use it in GitHub Desktop.
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
//request | |
{ | |
"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}\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 accessByStatusLevel\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": { | |
"type": "1", | |
"bindingType": "1", | |
"autoStart": true, | |
"star": true, | |
"numberOfPasses": "10", | |
"bindingTime": 86400, | |
"reward": [ | |
{ | |
"type": "Token", | |
"rewardCurrency": "FD", | |
"price": 100000 | |
}, | |
{ | |
"type": "Object" | |
} | |
], | |
"questType": "3d-object", | |
"pointers": [ | |
{ | |
"lat": 10.95858535517928, | |
"lng": 77.04386538132812, | |
"type": 0, | |
"attachments": [ | |
"4af6a6030908e2ee4841c1c6a707f771884fbd2ee1a456c223dc22cd8912466e" | |
], | |
"description": "pointer.description.f0182efe-1237-486b-9dfe-8e72aa884336", | |
"awardId": 10 | |
} | |
], | |
"priceAmount": 0, | |
"priceCurrency": "FD", | |
"locationId": 57 | |
}, | |
"revision": { | |
"title": "revision.title.a9e60ed5-2efd-4a55-b11e-67e0b4ecab9d", | |
"shortDescription": "revision.shortDescription.d079c821-c68e-4cdc-9ef4-edf82459d5f1", | |
"description": "revision.description.7df1d6b4-2cd2-4bab-8166-8cc197d19599", | |
"geolocation": { | |
"country": "Australia", | |
"region": "Northern Territory" | |
}, | |
"image": "852df3ed32f489f0932629faf72414adb1ede2516f38db8ebd00f98a56c73fdf", | |
"attachments": [ | |
"4af6a6030908e2ee4841c1c6a707f771884fbd2ee1a456c223dc22cd8912466e" | |
], | |
"completing": "revision.completing.7db55bcc-5eff-4668-933f-16dc9a0e513b", | |
"status": 1 | |
} | |
} | |
} | |
} | |
//response | |
{ | |
"data": { | |
"questChange": { | |
"id": 386, | |
"numberOfPasses": 10, | |
"bindingType": 1, | |
"bindingTime": 86400, | |
"priceCurrency": "FD", | |
"priceAmount": 0, | |
"locationId": 57, | |
"revisions": [ | |
{ | |
"id": 386, | |
"status": 1, | |
"title": "test v3", | |
"shortDescription": "revision.shortDescription.d079c821-c68e-4cdc-9ef4-edf82459d5f1", | |
"description": "revision.description.7df1d6b4-2cd2-4bab-8166-8cc197d19599", | |
"geolocation": { | |
"country": "Australia", | |
"region": "Northern Territory", | |
"__typename": "Geolocation" | |
}, | |
"image": "852df3ed32f489f0932629faf72414adb1ede2516f38db8ebd00f98a56c73fdf", | |
"questId": 386, | |
"attachments": [ | |
"4af6a6030908e2ee4841c1c6a707f771884fbd2ee1a456c223dc22cd8912466e" | |
], | |
"contactIds": null, | |
"createdAt": 1696434063, | |
"updatedAt": 1696434063, | |
"completing": "revision.completing.7db55bcc-5eff-4668-933f-16dc9a0e513b", | |
"__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, | |
"accessByStatusLevel": null, | |
"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": 1696434063, | |
"updatedAt": 1696434063, | |
"type": 1, | |
"createdBy": 86, | |
"autoStart": true, | |
"autoComplete": null, | |
"star": true, | |
"reward": [ | |
{ | |
"type": "Token", | |
"rewardCurrency": "FD", | |
"price": 100000, | |
"awardId": null, | |
"__typename": "RewardModel" | |
}, | |
{ | |
"type": "Object", | |
"rewardCurrency": null, | |
"price": null, | |
"awardId": null, | |
"__typename": "RewardModel" | |
} | |
], | |
"entryCondition": null, | |
"pointers": null, | |
"__typename": "QuestModel" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment