Skip to main content
GET
/
api
/
v1
/
worksites
Error
A valid request URL is required to generate request examples
[
  {
    "id": 123,
    "name": "<string>",
    "color": "<string>",
    "siteType": "<string>",
    "geometry": {
      "type": "Polygon",
      "coordinates": [
        [
          [
            19.914835,
            50.027088
          ],
          [
            19.805101,
            50.053082
          ],
          [
            20.047026,
            49.968597
          ],
          [
            19.914835,
            50.027088
          ]
        ]
      ]
    },
    "projects": [
      {
        "id": 123,
        "name": "<string>"
      }
    ]
  }
]

Response

200 - application/json

list of worksites

id
integer
name
string
color
string<hex>
siteType
string
geometry
object

Rgeo spherical polygon geo json representation

projects
object[]