This is an old revision of the document!
[POST] /game/advertisement/host
AUTHENTICATION
Request
POST /game/advertisement/host HTTP/1.1 Cookie: ApplicationGatewayAffinity=0;ApplicationGatewayAffinityCORS=1;reliclink=2; Host: aoe-api.reliclink.com Accept-Encoding: identity Accept: */* Content-Length: 941 Pragma: no-cache Content-Type: application/x-www-form-urlencoded; charset=UTF-8 Cache-Control: no-store advertisementid=-1&appbinarychecksum=4141&automatchPoll_id=-1&callNum=123&connect_id=ccc&datachecksum=-777&description=SESSION_MATCH_KEY&hostid=1&isObservable=1&lastCallTime=111&mapname=no_map&matchtype=19&maxplayers=8&moddllchecksum=0&moddllfile=INVALID&modname=INVALID&modversion=INVALID&observerDelay=180&observerPassword=&options=opts&party=-1&password=&passworded=0&race=123&relayRegion=eastus&serviceType=0&sessionID=zzz&slotinfo=slot&state=-1&statgroup=-1&team=-1&versionFlags=0&visible=0
| parameter | type | value | comments | |
|---|---|---|---|---|
| advertisementid | int | -1 | ||
| appBinaryChecksum | int | 4141 | ||
| automatchPoll_id | int | -1 | ||
| callNum | int | 123 | ||
| connect_id | ||||
| dataChecksum | int | 0 | ||
| description | str | <Lobby_Title> | ||
| hostid | int | 1 | ||
| isObservable | int | 1 | ||
| lastCallTime | timestamp | 111 | ||
| mapname | str | no_map | ||
| matchtype | int | 19 | ||
| maxplayers | int | 8 | ||
| moddllchecksum | str | 0 | ||
| moddllfile | INVALID | |||
| modname | INVALID | |||
| modversion | INVALID | |||
| observerDelay | int | 180 | ||
| observerPassword | str | “unknown password” | ||
| options | ? | opts | ||
| party | int | -1 | ||
| password | ? | None | ||
| passworded | int/bool | 0 | ||
| race | int | -1 | ||
| relayRegion | str | eastus | ||
| serviceType | int | 0 | ||
| sessionID | str | |||
| slotinfo | ? | slot | ||
| state | int | -1 | ||
| statgroup | int | -1 | ||
| team | int | -1 | ||
| versionFlags | int | 0 | ||
| visible | int | 0 | ||
Response
AoE2:DE
[
0,
186443884,
"authtoken",
"51.138.79.234",
27017,
27117,
27217,
"westeurope", // server location
[
[
186443884,
233334, // self profile_id
-1,
33833,
0,
-1,
"/10.0.11.6"
]
],
0,
"0",
"SESSION_MATCH_KEY"
]