Places

Retrieve the details of an existing Place.

get/places/{id}

Request

Path parameters

idstring required

The id of the relevant record

Response

OK

idinteger
created_atstring date-time

The date and time at which this record was created.

updated_atstring date-time

The date and time at which this record was most recently updated.

namestring required

A name for this Place.

addressstring nullable required

This Place's address.

descriptionstring nullable required

A description of this Place.

place_visits_countinteger nullable required

The number of times this Place has been visited.

radius_in_metersinteger required

The radius around this Place's coordinates within which we consider this Place to have been visited.

latitudenumber float required

This Place's latitude.

longitudenumber float required

This Place's longitude.

Example response

{
  "created_at": "2023-03-14T13:46:27-06:00",
  "updated_at": "2023-03-14T13:46:27-06:00",
  "latitude": 33.515,
  "longitude": -86.80761,
  "polygon_coordinates": [
    {
      "lat": 33.515,
      "lng": -86.80761
    }
  ]
}

Changes