rlink:community:leaderboard:getrecentmatchhistory

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:getrecentmatchhistory [2022-10-22 21:35] – [AoE2:DE] nimdarlink:community:leaderboard:getrecentmatchhistory [2024-11-01 14:07] (current) – Replace 'reliclink' with 'worldsedgelink' nimda
Line 1: Line 1:
-====== /community/leaderboard/getRecentMatchHistory ====== +====== [GET] /community/leaderboard/getRecentMatchHistory ======
- +
-<WRAP center round todo 60%> +
-Request, Response +
-</WRAP> +
  
 <WRAP center round download 60%> <WRAP center round download 60%>
-[[https://aoe-api.reliclink.com/community/leaderboard/getRecentMatchHistory?title=age2&profile_names=[%22/steam/76561197984749679%22] | Example request]]+[[https://aoe-api.worldsedgelink.com/community/leaderboard/getRecentMatchHistory?title=age2&profile_names=[%22/steam/76561197984749679%22] | 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
-|profile_names| array[str] | e.g. ["/steam/<steam_id>"]|| +|profile_names| array[str] | e.g. ["/steam/<steam_id>"]| | 
-|profile_ids| array[int] | e.g. ["<relic_link_id>"]|| +|profile_ids| array[int] | e.g. ["<relic_link_id>"]| | 
 +|aliases|array[str]| e.g. [BlackRock]| |
 ===== Response ===== ===== Response =====
  
 ==== AoE2:DE ==== ==== AoE2:DE ====
-<WRAP round 100%>+<WRAP group> 
 +<WRAP half column> 
 <code> <code>
 { {
Line 5775: Line 5767:
 } }
 </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"
 +            ]
 +        },
 +        "matchHistoryStats": {
 +            "type": "array",
 +            "items": {
 +                "type": "object",
 +                "properties": {
 +                    "id": {
 +                        "type": "integer"
 +                    },
 +                    "creator_profile_id": {
 +                        "type": "integer"
 +                    },
 +                    "mapname": {
 +                        "type": "string"
 +                    },
 +                    "maxplayers": {
 +                        "type": "integer"
 +                    },
 +                    "matchtype_id": {
 +                        "type": "integer"
 +                    },
 +                    "options": {
 +                        "type": "string"
 +                    },
 +                    "slotinfo": {
 +                        "type": "string"
 +                    },
 +                    "description": {
 +                        "type": "string"
 +                    },
 +                    "startgametime": {
 +                        "type": "integer"
 +                    },
 +                    "completiontime": {
 +                        "type": "integer"
 +                    },
 +                    "observertotal": {
 +                        "type": "integer"
 +                    },
 +                    "matchhistoryreportresults": {
 +                        "type": "array",
 +                        "items": {
 +                            "type": "object",
 +                            "properties": {
 +                                "matchhistory_id": {
 +                                    "type": "integer"
 +                                },
 +                                "profile_id": {
 +                                    "type": "integer"
 +                                },
 +                                "resulttype": {
 +                                    "type": "integer"
 +                                },
 +                                "teamid": {
 +                                    "type": "integer"
 +                                },
 +                                "race_id": {
 +                                    "type": "integer"
 +                                },
 +                                "xpgained": {
 +                                    "type": "integer"
 +                                },
 +                                "counters": {
 +                                    "type": "string"
 +                                },
 +                                "matchstartdate": {
 +                                    "type": "integer"
 +                                }
 +                            },
 +                            "required": [
 +                                "counters",
 +                                "matchhistory_id",
 +                                "matchstartdate",
 +                                "profile_id",
 +                                "race_id",
 +                                "resulttype",
 +                                "teamid",
 +                                "xpgained"
 +                            ]
 +                        }
 +                    },
 +                    "matchhistoryitems": {
 +                        "type": "array"
 +                    },
 +                    "matchurls": {
 +                        "type": "array",
 +                        "items": {
 +                            "type": "object",
 +                            "properties": {
 +                                "profile_id": {
 +                                    "type": "integer"
 +                                },
 +                                "url": {
 +                                    "type": "string"
 +                                },
 +                                "size": {
 +                                    "type": "integer"
 +                                },
 +                                "datatype": {
 +                                    "type": "integer"
 +                                }
 +                            },
 +                            "required": [
 +                                "datatype",
 +                                "profile_id",
 +                                "size",
 +                                "url"
 +                            ]
 +                        }
 +                    },
 +                    ####NEW ADDITION 11042023####
 +                    "matchhistorymember": {
 +                        "matchhistory_id": {
 +                            "type: "integer"
 +                        },
 +                        "profile_id": {
 +                             "type: "integer"
 +                        },
 +                        "race_id": {
 +                             "type: "integer"
 +                        },
 +                        "statgroup_id": {
 +                             "type: "integer"
 +                        },
 +                        "teamid": {
 +                              "type: "integer"
 +                        },
 +                        "wins": {
 +                            "type: "integer"
 +                        },
 +                        "losses": {
 +                             "type: "integer"
 +                        },
 +                        "streak": {
 +                            "type: "integer"
 +                        },
 +                        "arbitration": {
 +                             "type: "integer"
 +                        },
 +                        "outcome": {
 +                            "type: "integer"
 +                        },
 +                        "oldrating": {
 +                            "type: "integer"
 +                        },
 +                        "newrating": {
 +                             "type: "integer"
 +                        },
 +                        "reporttype": {
 +                             "type: "integer"
 +                        }
 +                    }
 +                },
 +                "required": [
 +                    "completiontime",
 +                    "creator_profile_id",
 +                    "description",
 +                    "id",
 +                    "mapname",
 +                    "matchhistoryitems",
 +                    "matchhistoryreportresults",
 +                    "matchtype_id",
 +                    "matchurls",
 +                    "maxplayers",
 +                    "observertotal",
 +                    "options",
 +                    "slotinfo",
 +                    "startgametime"
 +                ]
 +            }
 +        },
 +        "profiles": {
 +            "type": "array",
 +            "items": {
 +                "type": "object",
 +                "properties": {
 +                    "profile_id": {
 +                        "type": "integer"
 +                    },
 +                    "name": {
 +                        "type": "string"
 +                    },
 +                    "alias": {
 +                        "type": "string"
 +                    },
 +                    "personal_statgroup_id": {
 +                        "type": "integer"
 +                    },
 +                    "xp": {
 +                        "type": "integer"
 +                    },
 +                    "level": {
 +                        "type": "integer"
 +                    },
 +                    "leaderboardregion_id": {
 +                        "type": "integer"
 +                    },
 +                    "country": {
 +                        "type": "string"
 +                    }
 +                },
 +                "required": [
 +                    "alias",
 +                    "country",
 +                    "leaderboardregion_id",
 +                    "level",
 +                    "name",
 +                    "personal_statgroup_id",
 +                    "profile_id",
 +                    "xp"
 +                ]
 +            }
 +        }
 +    },
 +    "required": [
 +        "matchHistoryStats",
 +        "profiles",
 +        "result"
 +    ]
 +}
 +
 +</code>
 +</WRAP>
 +</WRAP>
 +
  • rlink/community/leaderboard/getrecentmatchhistory.1666467359.txt.gz
  • Last modified: 4 years ago
  • by nimda