Skip to main content

Get a list of zones

GET 

/zones

The Get All Zones request allows users to retrieve a list of all the zones that are associated with the current active map in ANSCER ROBOT.

Request

Responses

A list of zones

Schema
  • 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...