Body parameters:
-
{uid}stringThe map's UID *
Service provided by Openplanet
Add favorite map
POST
https://api.trackmania.com/api/user/maps/favorite/add
Body parameters:
{uid}
string
The map's UID
*
The request body is a JSON object containing the map's UID:
{
"uid": uid
}
Adds a map to the player's favorite maps.
Remarks:
write_favorite scope.Authorization header in the format Bearer <token>.Example request:
POST https://api.trackmania.com/api/user/maps/favorite/add
{
"uid": "JlxlB7KbrCfhjAf5ld89ByXR987"
}
Example response:
A successful response has no content and a 204 response code.