Get replicas by required and optional filters
Authorizations:
ApiKeyAuth
query Parameters
| exclusive_from | string <date-time> (replicaDate) The lower limit of filtering by date. the filter is exclusive. |
| to | string <date-time> (replicaDate) The upper limit of filtering by date. the filter is exclusive. |
| sort | string Default: "desc" Enum: "asc" "desc" The order in which the results are sorted based on their timestamp |
| geometry_type required | string (geometryType) Enum: "point" "linestring" "polygon" return results with the following geometry type - point, linetrings or polygon |
| replica_type required | string (replicaType) Enum: "snapshot" "delta" return replicas of the following type - snapshot, delta |
| layer_id required | number (layerId) return results from the following layer |
Responses
Response samples
- 200
- 400
- 5XX
Content type
application/json
[- {
- "timestamp": "2019-08-24T14:15:22Z",
- "layerId": 0,
- "geometryType": "point",
- "replicaType": "snapshot",
}
]Get the latest replica for a layer and geometry type
Authorizations:
ApiKeyAuth
query Parameters
| geometry_type required | string (geometryType) Enum: "point" "linestring" "polygon" return results with the following geometry type - point, linestring or polygon |
| replica_type required | string (replicaType) Enum: "snapshot" "delta" return replicas of the following type - snapshot, delta |
| layer_id required | number (layerId) return results from the following layer |
Responses
Response samples
- 200
- 400
- 404
- 5XX
Content type
application/json
{- "timestamp": "2019-08-24T14:15:22Z",
- "layerId": 0,
- "geometryType": "point",
- "replicaType": "snapshot",
}