rlink:community:leaderboard:getavailableleaderboards

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:getavailableleaderboards [2022-10-22 21:42] – [/community/leaderboard/GetAvailableLeaderboards] nimdarlink:community:leaderboard:getavailableleaderboards [2024-11-01 14:07] (current) – Replace 'reliclink' with 'worldsedgelink' nimda
Line 1: Line 1:
-====== /community/leaderboard/GetAvailableLeaderboards ======+====== [GET] /community/leaderboard/GetAvailableLeaderboards (Definitions, Translations) ======
  
 <WRAP center round download 60%> <WRAP center round download 60%>
-[[https://aoe-api.reliclink.com/community/leaderboard/GetAvailableLeaderboards?title=age2 | Example request]]+[[https://aoe-api.worldsedgelink.com/community/leaderboard/GetAvailableLeaderboards?title=age2 | Example request]]
 </WRAP> </WRAP>
  
 ===== Request ===== ===== Request =====
-<WRAP round 100%> 
-<code> 
-REQUEST_TEMPLATE 
-</code> 
-</WRAP> 
  
 ^parameter ^type ^value ^comments ^ ^parameter ^type ^value ^comments ^
-|title|str/enum|age1, age2|:!: age3 and age4 not supported :!:|+|title|str/enum|age1, age2age3age4|
  
 ===== Response ===== ===== Response =====
  
 ==== AoE2:DE ==== ==== AoE2:DE ====
-<WRAP round 100%>+ 
 +<WRAP group> 
 +<WRAP half column>
 <code> <code>
 { {
Line 528: Line 525:
 </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"
 +            ]
 +        },
 +        "leaderboards": {
 +            "type": "array",
 +            "items": {
 +                "type": "object",
 +                "properties": {
 +                    "id": {
 +                        "type": "integer"
 +                    },
 +                    "name": {
 +                        "type": "string"
 +                    },
 +                    "isranked": {
 +                        "type": "integer"
 +                    },
 +                    "leaderboardmap": {
 +                        "type": "array",
 +                        "items": {
 +                            "type": "object",
 +                            "properties": {
 +                                "matchtype_id": {
 +                                    "type": "integer"
 +                                },
 +                                "statgroup_type": {
 +                                    "type": "integer"
 +                                },
 +                                "race_id": {
 +                                    "type": "integer"
 +                                }
 +                            },
 +                            "required": [
 +                                "matchtype_id",
 +                                "race_id",
 +                                "statgroup_type"
 +                            ]
 +                        }
 +                    }
 +                },
 +                "required": [
 +                    "id",
 +                    "isranked",
 +                    "leaderboardmap",
 +                    "name"
 +                ]
 +            }
 +        },
 +        "matchTypes": {
 +            "type": "array",
 +            "items": {
 +                "type": "object",
 +                "properties": {
 +                    "id": {
 +                        "type": "integer"
 +                    },
 +                    "name": {
 +                        "type": "string"
 +                    },
 +                    "locstringid": {
 +                        "type": "integer"
 +                    }
 +                },
 +                "required": [
 +                    "id",
 +                    "locstringid",
 +                    "name"
 +                ]
 +            }
 +        },
 +        "races": {
 +            "type": "array",
 +            "items": {
 +                "type": "object",
 +                "properties": {
 +                    "id": {
 +                        "type": "integer"
 +                    },
 +                    "name": {
 +                        "type": "string"
 +                    },
 +                    "faction_id": {
 +                        "type": "integer"
 +                    },
 +                    "locstringid": {
 +                        "type": "integer"
 +                    }
 +                },
 +                "required": [
 +                    "faction_id",
 +                    "id",
 +                    "locstringid",
 +                    "name"
 +                ]
 +            }
 +        },
 +        "factions": {
 +            "type": "array"
 +        },
 +        "leaderboardRegions": {
 +            "type": "array",
 +            "items": {
 +                "type": "object",
 +                "properties": {
 +                    "id": {
 +                        "type": "integer"
 +                    },
 +                    "name": {
 +                        "type": "string"
 +                    },
 +                    "locstringid": {
 +                        "type": "integer"
 +                    }
 +                },
 +                "required": [
 +                    "id",
 +                    "locstringid",
 +                    "name"
 +                ]
 +            }
 +        }
 +    },
 +    "required": [
 +        "factions",
 +        "leaderboardRegions",
 +        "leaderboards",
 +        "matchTypes",
 +        "races",
 +        "result"
 +    ]
 +}
 +
 +</code>
 +</WRAP>
 +</WRAP>
 +
 +
  • rlink/community/leaderboard/getavailableleaderboards.1666467733.txt.gz
  • Last modified: 4 years ago
  • by nimda