rlink:game:item:openitempack

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
rlink:game:item:openitempack [2022-10-22 17:37] – created nimdarlink:game:item:openitempack [2024-11-01 14:08] (current) – Replace 'reliclink' with 'worldsedgelink' nimda
Line 1: Line 1:
-====== /game/item/openItemPack ======+====== [POST] /game/item/openItemPack ======
 <WRAP center round important 60%> <WRAP center round important 60%>
 **AUTHENTICATION** **AUTHENTICATION**
-</WRAP> 
- 
-<WRAP center round todo 60%> 
-Response 
 </WRAP> </WRAP>
  
  
-===== Request =====+===== AoE2:DE ===== 
 +==== Request ====
 <WRAP round 100%> <WRAP round 100%>
 <code> <code>
 POST /game/item/openItemPack HTTP/1.1 POST /game/item/openItemPack HTTP/1.1
-Cookie: ApplicationGatewayAffinity=0;ApplicationGatewayAffinityCORS=1;reliclink=2; +Cookie: ApplicationGatewayAffinity=0;ApplicationGatewayAffinityCORS=1;worldsedgelink=2; 
-Host: aoe-api.reliclink.com+Host: aoe-api.worldsedgelink.com
 Accept-Encoding: identity Accept-Encoding: identity
 Accept: */* Accept: */*
Line 35: Line 32:
 |sessionID|str||| |sessionID|str|||
  
-===== Response ===== +==== Response ====
- +
-==== AoE2:DE ====+
 <WRAP round 100%> <WRAP round 100%>
 <code> <code>
 RESPONSE_TEMPLATE RESPONSE_TEMPLATE
 +</code>
 +</WRAP>
 +
 +===== AoE4 =====
 +==== Request ====
 +<WRAP round 100%>
 +<code>
 +POST /game/item/openItemPack HTTP/1.1
 +Host: aoe-api.worldsedgelink.com
 +Accept: */*
 +Accept-Encoding: identity
 +Cookie: ApplicationGatewayAffinity=a2bd9c803374aa3cdd1337b02986746f;ApplicationGatewayAffinityCORS=a2bd9c803374aa3cdd1337b02986746f;worldsedgelink=-1321719400;
 +Cache-Control: no-store
 +Content-Length: 173
 +Content-Type: application/x-www-form-urlencoded; charset=UTF-8
 +Pragma: no-cache
 +
 +callNum=128&choices=[]&connect_id=bgoo2n1murnn43kzdnnfc9fhp2no19&itemInstance_id=449956852&itemLocation_id=0&lastCallTime=658002&sessionID=bgoo2n1murnn43kzdnnfc9fhp2no19
 +</code>
 +</WRAP>
 +
 +^parameter ^type ^value ^comments ^
 +|callNum| int | 123 ||
 +|choices| array[?]| []||
 +|connect_id||||
 +|itemInstance_id|int|5678||
 +|itemLocation_id|int|0||
 +|lastCallTime| timestamp|||
 +|sessionID|str|||
 +
 +==== Response ====
 +<WRAP round 100%>
 +<code>
 +[
 +    0, // result status code
 +    [
 +        [
 +            449957613,
 +            1,
 +            452595,
 +            233334, // self profile_id
 +            45939,
 +            0,
 +            "",
 +            1666824381,
 +            0,
 +            -1,
 +            3,
 +            -1
 +        ]
 +    ]
 +]
 </code> </code>
 </WRAP> </WRAP>
  • rlink/game/item/openitempack.1666453025.txt.gz
  • Last modified: 4 years ago
  • by nimda