{{baseUrl}}/updates/:timestamp
GET {{baseUrl}}/updates/:timestamp?lat=<double>&lng=<double>&radius=<integer>&skip=<integer>&limit=<integer>&dry_run=<integer>
This endpoint returns the list of all companies that have had updates after the time threshold passed via timestamp (just the id).
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
lat | string | latitude | |
lng | string | longitude | |
radius | string | radius in meters | |
skip | string | you can set a number of records you want to skip or the id of a company you want to start from | |
limit | string | is used to set the maximum number of results required | |
dry_run | string | simulates a request by returning only the number of records found |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"data":[{"id":"61f2c4d69fb8571d19235463"},{"id":"61f4r5y69fb8571d19237859"}],"success":true,"message":"","error":null}