Skip to main content
GET
/
api
/
positive-events
/
v1
/
list-positive-geo-events
ListPositiveGeoEvents
curl --request GET \
  --url https://api.example.com/api/positive-events/v1/list-positive-geo-events
{
  "events": [
    {
      "latitude": 123,
      "longitude": 123,
      "name": "<string>",
      "category": "<string>",
      "count": 123,
      "timestamp": 123
    }
  ],
  "fetchedAt": 123,
  "stale": true
}

Response

Successful response

events
object[]
fetchedAt
integer<int64>

Unix epoch ms at which the underlying source data was last successfully fetched. Always set when serving from cache or in-process fallback; 0 if no data is available. Clients can use this to display a freshness indicator or "data is X minutes old" warning. See issue #3706.. Warning: Values > 2^53 may lose precision in JavaScript

stale
boolean

True when the response is being served from the in-process fallback cache because the upstream source is unavailable or returned stale data. Clients can surface a "data may be out of date" indicator. See issue #3706.