Path parameters
-
mapid
integer Required
Query parameters
-
mappass
string Required Pass for the map
Body
Required
-
resourcetype
string Required Type of resource
-
quality
integer Resource quality
-
x
number Required Resource Coordinate X
-
y
number Required Resource Coordinate Y
-
description
string Resource description
-
harvested
string Resource harvested date
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