Skip to main content

Get Active map and data

GET 

/maps/data

The Get Active map and data request allows unauthenticated/authenticated users to retrieve detailed information(waypoints, zones) about a specific map.

Request

Responses

Currently Active Map and data(Waypoints and Zones related to that map) object.

Schema
    map object
    _id uuid
    name string

    Possible values: >= 3 characters and <= 50 characters

    isActive boolean
    properties object
    origin object
    position objectrequired
    x doublerequired
    y doublerequired
    z doublerequired
    orientation objectrequired
    x doublerequired
    y doublerequired
    z doublerequired
    w doublerequired
    width double
    height double
    resolution double
    previewUrl uri
    createdBy object

    The user who created this map

    _id string
    name string
    email email
    updatedBy object

    The user who last updated this map

    _id string
    name string
    email email
    createdAt date-time

    The date and time this user was created

    updatedAt date-time

    The date and time this user was last updated

    waypoints object[]
  • Array [
  • _id uuid
    name string

    Possible values: >= 3 characters and <= 50 characters

    category waypointTypes

    Possible values: [normal, special, charging, home]

    dockMarker number
    coordinate object
    position objectrequired
    x doublerequired
    y doublerequired
    z doublerequired
    orientation objectrequired
    x doublerequired
    y doublerequired
    z doublerequired
    w doublerequired
    map object
    _id uuid
    name string

    Possible values: >= 3 characters and <= 50 characters

    properties object
    createdBy object

    The user who created this waypoint

    _id string
    name string
    email email
    updatedBy object

    The user who last updated this waypoint

    _id string
    name string
    email email
    createdAt date-time

    The date and time this waypoint was created

    updatedAt date-time

    The date and time this waypoint was last updated

  • ]
  • zones object[]
  • Array [
  • _id uuid
    name string

    Possible values: >= 3 characters and <= 50 characters

    category zoneTypes

    Possible values: [restricted, warning, blink, buzzer, speed, no-plan]

    isActive boolean

    Default value: true

    type string

    Possible values: [Feature]

    GeoJSON type of the zone, always Feature

    geometry object
    oneOf
    type stringrequired

    Possible values: [Point]

    coordinates double[]required
    map object
    _id uuid
    name string

    Possible values: >= 3 characters and <= 50 characters

    properties object
    createdBy object

    The user who created this zone

    _id string
    name string
    email email
    updatedBy object

    The user who last updated this zone

    _id string
    name string
    email email
    createdAt date-time

    The date and time this zone was created

    updatedAt date-time

    The date and time this zone was last updated

  • ]
Loading...