Log in
  • science GET v2 Search Mappacks
    TM2.MX TMX SMX
    /api/mappacks?{params} content_copy arrow_forward

    Description

    Search paged mappacks using query parameters.

    To search for maps inside the mappack, please refer to Search Maps using mappackid.

    Note: It is necessary to provide the fields= parameter in the query string, comma-seperated and then url-encoded.

    Example: to query for MappackId,Name, Owner.Name and Managers, use fields=UserId%2CName%2COwner.Name%2CManagers%5B%5D.

    The complete list of available fields is stated in the example output.

    Input parameters

    Loading...

    Endpoint URL

    https://tm.mania.exchange/api/mappacks?{params}	// TM2.MX
    https://trackmania.exchange/api/mappacks?{params}	// TMX
    https://sm.mania.exchange/api/mappacks?{params}	// SMX

    Output Object

    {
        "More":false,
        "Results":[
            {
                "MappackId":4997,
                "Name":"TMA Theme Night #3 - Hot Takes Edition",
                "Description":null,
                "Type":0,
                "IsRequest":false,
                "SubmitLimit":0,
                "MappackValue":0,
                "MapCount":16,
                "IsPublic":true,
                "MaplistReleased":true,
                "VideoUrl":"",
                "Owner":{
                    "UserId":42752,
                    "Name":"TMA_community"
                },
                "Image":{
                    "Width":400,
                    "Height":400
                },
                "Tags":[
                    {
                        "TagId":42,
                        "Name":"Educational",
                        "Color":""
                    }
                ],
                "Managers":[
                    {
                        "User":{
                            "UserId":42752,
                            "Name":"TMA_community"
                        }
                    },
                    {
                        "User":{
                            "UserId":42086,
                            "Name":"agrabou.wp"
                        }
                    }
                ],
                "CreatedAt":"2024-08-03T17:04:02.12",
                "UpdatedAt":"2024-08-18T21:37:20.97",
                "RequestEndAt":null,
                "MaplistAt":"2024-08-08T00:38:21.98",
                "ActivityAt":null,
                "LBEndAt":null
            },
            ...
        ]
    }

    Output parameters

    Loading...

    Issues

    Loading...