rlink:community:leaderboard:getavatarstatforprofile

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rlink:community:leaderboard:getavatarstatforprofile [2022-10-23 16:47] – [/community/leaderboard/GetAvatarStatForProfile] simonsanrlink:community:leaderboard:getavatarstatforprofile [2024-11-01 14:07] (current) – Replace 'reliclink' with 'worldsedgelink' nimda
Line 2: Line 2:
  
 <WRAP center round download 60%> <WRAP center round download 60%>
-[[https://aoe-api.reliclink.com/community/leaderboard/GetAvatarStatForProfile?title=age2&profile_names=[%22/steam/76561197984749679%22] | Example request]]+[[https://aoe-api.worldsedgelink.com/community/leaderboard/GetAvatarStatForProfile?title=age2&profile_names=[%22/steam/76561197984749679%22] | Example request]]
 </WRAP> </WRAP>
  
Line 8: Line 8:
  
 ^parameter ^type ^value ^comments ^ ^parameter ^type ^value ^comments ^
-|title|str/enum|age1, age2|:!: age3 and age4 not supported :!:+|title|str/enum|age1, age2age3age4
-|profile_names| array[str] | e.g. ["/steam/<steam_id>"]||+|profile_names| array[str] | e.g. ["/steam/<steam_id>"]| |
  
 ===== Response ===== ===== Response =====
  
 ==== AoE2:DE ==== ==== AoE2:DE ====
-<WRAP round 100%>+<WRAP group> 
 +<WRAP half column> 
 <code> <code>
 { {
Line 1105: Line 1107:
 } }
 </code> </code>
 +
 </WRAP> </WRAP>
 +
 +<WRAP half column>
 +<code>
 +{
 +    "$schema": "http://json-schema.org/schema#",
 +    "type": "object",
 +    "properties": {
 +        "result": {
 +            "type": "object",
 +            "properties": {
 +                "code": {
 +                    "type": "integer"
 +                },
 +                "message": {
 +                    "type": "string"
 +                }
 +            },
 +            "required": [
 +                "code",
 +                "message"
 +            ]
 +        },
 +        "avatarStatsForProfile": {
 +            "type": "array",
 +            "items": {
 +                "type": "object",
 +                "properties": {
 +                    "profile_id": {
 +                        "type": "integer"
 +                    },
 +                    "avatarstat_id": {
 +                        "type": "integer"
 +                    },
 +                    "value": {
 +                        "type": "integer"
 +                    },
 +                    "lastupdated": {
 +                        "type": "integer"
 +                    }
 +                },
 +                "required": [
 +                    "avatarstat_id",
 +                    "lastupdated",
 +                    "profile_id",
 +                    "value"
 +                ]
 +            }
 +        }
 +    },
 +    "required": [
 +        "avatarStatsForProfile",
 +        "result"
 +    ]
 +}
 +
 +</code>
 +</WRAP>
 +</WRAP>
 +
  • rlink/community/leaderboard/getavatarstatforprofile.1666536475.txt.gz
  • Last modified: 4 years ago
  • by simonsan