GetResources

GET /maps/{mapid}/resources/

Return all resources for that map

Path parameters

  • mapid integer Required

Query parameters

  • mappass string Required

    Pass for the map

Responses

  • 200 application/json

    Default Response

    Hide response attributes Show response attributes object
    • resourceid number Required
    • mapid number Required
    • resourcetype string Required
    • quality number Required
    • x number Required
    • y number Required
    • token string Required
    • typemap string Required
    • description string
    • lastharvested 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}/resources/
curl \
 --request GET 'http://api.example.com/maps/{mapid}/resources/?mappass=string'
Response examples (200)
[
  {
    "resourceid": 42.0,
    "mapid": 42.0,
    "resourcetype": "string",
    "quality": 42.0,
    "x": 42.0,
    "y": 42.0,
    "token": "string",
    "typemap": "string",
    "description": "string",
    "lastharvested": "string"
  }
]
Response examples (400)
string
Response examples (401)
string
Response examples (404)
string
Response examples (503)
string