Skip to main content
GET
Areas drawn on the map for a site or one of its locations, as GeoJSON.

Headers

Range
string

Limiting and Pagination

Range-Unit
string
default:items

Limiting and Pagination

Prefer
enum<string>

Preference

Available options:
count=none

Query Parameters

id
string
name
string
site_id
string
site_name
string
location_id
string
location_name
string
notify_on_leave
string
is_active
string
boundary
string
area_square_metres
string
trackers_inside
string
created_at
string
updated_at
string
row_version
string
select
string

Filtering Columns

order
string

Ordering

offset
string

Limiting and Pagination

limit
string

Limiting and Pagination

Response

OK

area_square_metres
number<numeric>
boundary
string<jsonb>
created_at
string<timestamp with time zone>
id
string<uuid>

Note: This is a Primary Key.

is_active
boolean<boolean>
location_id
string<uuid>

Note: This is a Foreign Key to location_settings.id.

location_name
string<character varying>
Maximum string length: 200
name
string<character varying>
Maximum string length: 120
notify_on_leave
boolean<boolean>
row_version
integer<bigint>
site_id
string<uuid>

Note: This is a Foreign Key to entry_currencies.for_site_id.

site_name
string<character varying>
Maximum string length: 200
trackers_inside
integer<bigint>
updated_at
string<timestamp with time zone>