deleted the existing JSON examples - many were out of date

added a new request and response example for map data - more to come for other requests
This commit is contained in:
Jon Atkins 2013-11-30 01:29:13 +00:00
parent 20dba803eb
commit 5bd796dd53
10 changed files with 5881 additions and 6748 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,49 +0,0 @@
[
"431a30b634394956a16e62954222a37d.d",
1360634878999,
{
"plext": {
"text": "Control Field @In the fishing village ( Lomse (Oktyabr'skaya ulitsa, 1, Kaliningrad, Kaliningrad Oblast, Russia) has decayed -108 MUs",
"markup": [
[
"TEXT",
{
"plain": "Control Field @"
}
],
[
"PORTAL",
{
"name": "In the fishing village ( Lomse",
"plain": "In the fishing village ( Lomse (Oktyabr'skaya ulitsa, 1, Kaliningrad, Kaliningrad Oblast, Russia)",
"team": "ALIENS",
"latE6": 54705182,
"address": "Oktyabr'skaya ulitsa, 1, Kaliningrad, Kaliningrad Oblast, Russia",
"lngE6": 20514959,
"guid": "6af16d09fb574c989b7fa09e718585a7.12"
}
],
[
"TEXT",
{
"plain": " has decayed -"
}
],
[
"TEXT",
{
"plain": "108"
}
],
[
"TEXT",
{
"plain": " MUs"
}
]
],
"plextType": "SYSTEM_BROADCAST",
"team": "NEUTRAL"
}
}
]

View File

@ -1,13 +0,0 @@
// http://www.ingress.com/rpc/dashboard.sendPlext
// posting:
{"message":"x","latE6":73689520,"lngE6":95322756,"factionOnly":true,"method":"dashboard.sendPlext"}
{"message":"x","latE6":73689520,"lngE6":95322756,"method":"dashboard.sendPlext"}
// faction response:
{"gameBasket": {"deletedEntityGuids": [], "gameEntities": [], "inventory": []}, "result": "c709d0aa51664510a43c635d5df919cf.d"}
// public response:
{"gameBasket": {"deletedEntityGuids": [], "gameEntities": [], "inventory": []}, "result": "1b113466f403499191eae568915b7cc9.d"}

View File

@ -1,39 +0,0 @@
[
"98def9ad4f3a4c30908ad1dff5638c6c.b",
1360156123960,
{
"controllingTeam": {
"team": "RESISTANCE"
},
"capturedRegion": {
"vertexA": {
"guid": "c2afe403edca4114b8c724a46d23959c.11",
"location": {
"lngE6": 8687448,
"latE6": 49406850
}
},
"vertexC": {
"guid": "e1d616018f0647afb985a20fc9d7baa5.11",
"location": {
"lngE6": 8684374,
"latE6": 49408196
}
},
"vertexB": {
"guid": "cd4a44d7684e4d40a5754540fd7686b4.11",
"location": {
"lngE6": 8688377,
"latE6": 49406900
}
}
},
"entityScore": {
"entityScore": "4"
},
"creator": {
"creatorGuid": "8d684d38d2654c8b971ff56b9f3c8895.c",
"creationTime": "1360156123445"
}
}
]

View File

@ -0,0 +1,20 @@
// a request for map data - note the munged random strings for parameter names, and also
// a set of additional junk parameters that have nothing to do with this request. Only the first
// three entries are relevant - the first is the set of quadkeys for the map tiles,
// the next is the method name, and finally a randomised protocol version parameter
{
"1mpmxz2yun22rwnn":[
"1_32739_21790",
"1_32740_21790",
"1_32741_21790",
"1_32742_21790"
],
"yyngyttbmmbuvdpa":"4467ff9bgxxe4csa",
"avz401t36lzrapis":"c5d0a5d608f729a1232bebdc12fb86ba5fb6c43f",
"nzd23jqm9k1cnnij":12,
"0dod6onpa1s4fezp":-90000000,
"soass3t7mm7anneo":-180000000,
"cvarmr3o00ngylo1":90000000,
"udzwnlx07hzd3bfo":180000000
}

File diff suppressed because it is too large Load Diff

View File

@ -1,25 +0,0 @@
[
"28cbec08d88643828755bd56b67fca75.9",
1359639986825,
{
"controllingTeam": {
"team": "RESISTANCE"
},
"creator": {
"creatorGuid": "2b8fb33c8d1b433d9a46da76b35185f8.c",
"creationTime": "1359639986543"
},
"edge": {
"destinationPortalGuid": "9b08215c6da44ba18c948f5b7243dc00.12",
"originPortalLocation": {
"lngE6": 8561013,
"latE6": 49384861
},
"destinationPortalLocation": {
"lngE6": 8562566,
"latE6": 49383951
},
"originPortalGuid": "9e4a0dfacd5347e9ac71910761541699.12"
}
}
],

View File

@ -1,162 +0,0 @@
[
"2c124b4e99074660a72668c888093834.11",
1359563604824,
{
"turret": {
},
"resonatorArray": {
"resonators": [
{
"slot": 0,
"level": 5,
"energyTotal": 2825,
"distanceToPortal": 35,
"id": "26da7ed9-9025-4974-b62f-495750b2d888",
"ownerGuid": "a1dc117457954b99b104be8c85e16276.c"
},
{
"slot": 1,
"level": 6,
"energyTotal": 3725,
"distanceToPortal": 25,
"id": "f7f3312c-7440-4edf-95b9-9e416af1f399",
"ownerGuid": "a1dc117457954b99b104be8c85e16276.c"
},
{
"slot": 2,
"level": 5,
"energyTotal": 2825,
"distanceToPortal": 31,
"id": "50627504-1efb-445d-84b0-f014948aedfb",
"ownerGuid": "c4981119edfb488a9fd19d99eb540449.c"
},
{
"slot": 3,
"level": 6,
"energyTotal": 3725,
"distanceToPortal": 31,
"id": "06ee68fe-80e4-491b-a99d-aa126c9740d6",
"ownerGuid": "ef9657c5cc2743afa5e1953dd06df307.c"
},
{
"slot": 4,
"level": 6,
"energyTotal": 3725,
"distanceToPortal": 30,
"id": "df80cd1f-d347-4dc5-a31b-deb8fb9f978d",
"ownerGuid": "ef9657c5cc2743afa5e1953dd06df307.c"
},
{
"slot": 5,
"level": 5,
"energyTotal": 2825,
"distanceToPortal": 24,
"id": "c8c474ec-8deb-4218-8b7b-ea2a7ea3e4ac",
"ownerGuid": "a0c2e839783f4e889ca570e2cd5c7819.c"
},
{
"slot": 6,
"level": 5,
"energyTotal": 2825,
"distanceToPortal": 29,
"id": "e57ea7b1-f3f7-4a62-a060-c794f85246e1",
"ownerGuid": "a0c2e839783f4e889ca570e2cd5c7819.c"
},
{
"slot": 7,
"level": 5,
"energyTotal": 2825,
"distanceToPortal": 31,
"id": "d08b9027-88f3-4808-bd3f-41acce7e195a",
"ownerGuid": "c4981119edfb488a9fd19d99eb540449.c"
}
]
},
"imageByUrl": {
"imageUrl": "http:\/\/lh3.ggpht.com\/oh3OKN-Vc-GbS3hfp4ZaCB_ND6hmkfnp-gAQmCtfmmrj9R94eeiVAAh9HLd5gO-JV8rBGchle8CXLbr_bmK8sR-PdRYS1yCNHS48wf98RelEVjOe"
},
"controllingTeam": {
"team": "RESISTANCE"
},
"defaultActionRange": {
},
"portalV2": {
"linkedEdges": [
{
"otherPortalGuid": "a38615195c7547639dfb77bfe3a700a8.11",
"edgeGuid": "29c13e7a9ba149008aa6355e201158f1.9",
"isOrigin": false
},
{
"otherPortalGuid": "4dd1ede906a44420aa2b052a1363f170.11",
"edgeGuid": "cecc7c69103d4678aeb7172a1688e2b5.9",
"isOrigin": false
},
{
"otherPortalGuid": "9d1fa3603e8c4363b3cd2448277a906b.11",
"edgeGuid": "ed61e4455e574a1c906778f29307a7b4.9",
"isOrigin": true
},
{
"otherPortalGuid": "20c14bddc1384ee99dfe77c10737e842.11",
"edgeGuid": "0d63bde0620a4a89ad4a23ce8ef29c63.9",
"isOrigin": false
}
],
"linkedModArray": [
{
"installingUser": "a1dc117457954b99b104be8c85e16276.c",
"type": "RES_SHIELD",
"stats": {
"MITIGATION": "8"
},
"displayName": "Portal Shield",
"rarity": "RARE"
},
{
"installingUser": "a1dc117457954b99b104be8c85e16276.c",
"type": "RES_SHIELD",
"stats": {
"MITIGATION": "8"
},
"displayName": "Portal Shield",
"rarity": "RARE"
},
{
"installingUser": "a0c2e839783f4e889ca570e2cd5c7819.c",
"type": "RES_SHIELD",
"stats": {
"MITIGATION": "8"
},
"displayName": "Portal Shield",
"rarity": "RARE"
},
{
"installingUser": "ef9657c5cc2743afa5e1953dd06df307.c",
"type": "RES_SHIELD",
"stats": {
"MITIGATION": "6"
},
"displayName": "Portal Shield",
"rarity": "COMMON"
}
],
"descriptiveText": {
"TITLE": "M\u00f6biusband",
"ADDRESS": "Im Neuenheimer Feld 306, 69120 Heidelberg, Germany"
}
},
"locationE6": {
"lngE6": 8672899,
"latE6": 49417115
},
"captured": {
"capturedTime": "1359390335006",
"capturingPlayerId": "a1dc117457954b99b104be8c85e16276.c"
}
}
]

File diff suppressed because it is too large Load Diff