Skip to content

Instantly share code, notes, and snippets.

@llirikkcoder
Created October 3, 2023 10:46
Show Gist options
  • Save llirikkcoder/db13526b632227622d41239023885ecc to your computer and use it in GitHub Desktop.
Save llirikkcoder/db13526b632227622d41239023885ecc to your computer and use it in GitHub Desktop.
codeWords and questType
//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": 0,
"bindingType": 0,
"reward": [
{
"type": "Token",
"rewardCurrency": "FD",
"price": 100000
},
{
"type": "Code"
}
],
"questType": "1",
"codeWords": [
"фываыфва"
],
"pointers": [],
"priceAmount": 0,
"priceCurrency": "FD",
"locationId": 57
},
"revision": {
"title": "revision.title.de03ee6b-b501-468c-9b82-249fcab2d13a",
"shortDescription": "revision.shortDescription.7a284193-9679-41ff-bc0d-8ae36a70d079",
"description": "revision.description.ce9c84be-7b9f-4ffc-8e30-9b6c564bf833",
"geolocation": {
"country": "Bangladesh",
"region": "Barisal"
},
"image": "007e2fa9980b6347e2553897e3b4c06668ef1af4d86169d3ef7cb6af97331da2",
"attachments": [
"6c606c233a8dbd88973f6e3ee967ca17fa1da9f610fdb4b68b12bc2f203aea3f"
],
"completing": "revision.completing.22484793-f11c-459a-8599-e2681bea8db8",
"status": 1
}
}
}
}
//responce
{
"data": {
"questChange": {
"id": 373,
"numberOfPasses": 1,
"bindingType": 0,
"bindingTime": 0,
"priceCurrency": "FD",
"priceAmount": 0,
"locationId": 57,
"revisions": [
{
"id": 373,
"status": 1,
"title": "фыва",
"shortDescription": "revision.shortDescription.7a284193-9679-41ff-bc0d-8ae36a70d079",
"description": "revision.description.ce9c84be-7b9f-4ffc-8e30-9b6c564bf833",
"geolocation": {
"country": "Bangladesh",
"region": "Barisal",
"__typename": "Geolocation"
},
"image": "007e2fa9980b6347e2553897e3b4c06668ef1af4d86169d3ef7cb6af97331da2",
"questId": 373,
"attachments": [
"6c606c233a8dbd88973f6e3ee967ca17fa1da9f610fdb4b68b12bc2f203aea3f"
],
"contactIds": null,
"createdAt": 1696329182,
"updatedAt": 1696329182,
"completing": "revision.completing.22484793-f11c-459a-8599-e2681bea8db8",
"__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": 1696329182,
"updatedAt": 1696329182,
"type": 0,
"createdBy": 86,
"autoStart": null,
"autoComplete": null,
"star": false,
"reward": [
{
"type": "Token",
"rewardCurrency": "FD",
"price": 100000,
"awardId": null,
"__typename": "RewardModel"
},
{
"type": "Code",
"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