GetMapInfo

GET /maps/{mapid}/mapinfo

Returns information of a specific map by ID. Only the owner or clan members can access this information.

Path parameters

  • mapid integer Required

Responses

  • 200 application/json

    Default Response

    Hide response attributes Show response attributes object
    • mapid number Required
    • typemap string Required
    • discordid string Required
    • name string Required
    • dateofburning string
    • pass string
    • allowedit boolean Required
    • discordTag string
  • 400 application/json

    Bad Request

    Bad Request

  • 401 application/json

    Unauthorized

    Unauthorized

  • 404 application/json

    Not Found

    Not Found

  • 503 application/json

    Service Unavailable

    Service Unavailable

GET /maps/{mapid}/mapinfo
curl \
 --request GET 'http://api.example.com/maps/{mapid}/mapinfo' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "mapid": 42.0,
  "typemap": "string",
  "discordid": "string",
  "name": "string",
  "dateofburning": "string",
  "pass": "string",
  "allowedit": true,
  "discordTag": "string"
}
Response examples (400)
string
Response examples (401)
string
Response examples (404)
string
Response examples (503)
string