AddResourceMap

POST /maps/{mapid}/resources/

To create a new resource in the map

Path parameters

Query parameters

application/json

Body Required

Responses

  • 201 application/json

    Default Response

    Hide response attribute Show response attribute object
  • 400 application/json

    Bad Request

    Bad Request

  • 401 application/json

    Unauthorized

    Unauthorized

  • 405 application/json

    Method Not Allowed

    Method Not Allowed

  • 503 application/json

    Service Unavailable

    Service Unavailable

POST /maps/{mapid}/resources/
curl \
 --request POST 'http://api.example.com/maps/{mapid}/resources/?mappass=string' \
 --header "Content-Type: application/json" \
 --data '{"resourcetype":"string","quality":42,"x":42.0,"y":42.0,"description":"string","harvested":"string"}'
Request examples
{
  "resourcetype": "string",
  "quality": 42,
  "x": 42.0,
  "y": 42.0,
  "description": "string",
  "harvested": "string"
}
Response examples (201)
{
  "message": "string"
}
Response examples (400)
string
Response examples (401)
string
Response examples (405)
string
Response examples (503)
string