Locations

Locations_create

POST
/api/v1/locations
typeTypeA9eEnum
  • OSM - OSM
  • ONLINE - ONLINE
Value in"OSM" | "ONLINE"
osm_id?integer | null
Formatint64
Range0 <= value <= 9223372036854776000
osm_type?LocationOsmTypeEnum | BlankEnum | NullEnum
website_url?string | null
Formaturi

Response Body

curl -X POST "https://loading/api/v1/locations" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "OSM"
  }'
{
  "type": "OSM",
  "osm_id": 9223372036854776000,
  "osm_type": "NODE",
  "website_url": "http://example.com"
}