Get CDMs
GET/v2/cdm
A paginated API, where the next page will chronologically retrieve the changes since the last API call.
The pagination is ordered by the CDM last creation time. Since CDMs are immutable, each cdm will only show up once while paginating.
This API may be used in an streaming fashion. Even when the API returns 0 results, the same token may be used in the future to retrieve any additional changes since the last call.
The behavior of adding or removing filter parameters with the same pagination token is undefined.
If a client receives a 400 response with "pagination_too_old" error type, they must clear their pagination token.
Request
Query Parameters
Continuation token to retrieve next page.
Filter the cdms by operator. This will filter by both operator fields.
Filter the cdms by an additional operator. Operator1 must also be specified. Order does not matter.
Filter cdms by a given object.
Filter the cdms by an additional object. object1 must also be specified. Order does not matter.
Filter cdms by a given trajectory.
Minimum time of when the last CDM was created, if sorting by CDM creation time. Recommended use of ISO8601. Include 'Z' to enforce UTC.
Minimum probability of collision to list out a cdm.
Minimum GPS nanoseconds timestamp for the time of closest approach.
Maximum GPS nanoseconds timestamp for the time of closest approach.
Include the CDM file inside of the json. Empty if there is no file
Only include the most recently created CDMs for each conjunction by state source pair. More than one CDM may be returned with the same event if the event has an operator_ephemeris vs. operator_ephemeris CDM as well as an operator_ephemeris vs. spacex_optical CDM. Both CDMs may be active at the same time.
Possible values: [json, kvn]
Format of the CDM file. (Default: json)
Possible values: [operator_ephemeris, spacex_optical]
Filter CDMs by a trajectory state source.
Possible values: [operator_ephemeris, spacex_optical]
Filter CDMs by an additional trajectory state source. trajectory1_source must also be specified.
Return all cdms involving the requesting operator, excluding that operator on itself. 'operator1_id' is required.
Responses
- 200
- 400
- 404
- 500
OK
- text/plain
- Schema
- Example (from schema)
Schema
- Array [
- ]
result object[]
YYYY-MM-DDTHH:mm:ss[.sssss]Z
YYYY-MM-DDTHH:mm:ss[.sssss]Z
YYYY-MM-DDTHH:mm:ss[.sssss]Z
{
"result": [
{
"creation_time": "string",
"event_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"file": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_active": true,
"object1_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"object1_maneuverable": true,
"object1_name": "string",
"object2_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"object2_maneuverable": true,
"object2_name": "string",
"operator1_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"operator1_name": "string",
"operator2_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"operator2_name": "string",
"probability_of_collision": 0,
"tca_gps_nanos": 0,
"trajectory1_created_at": "string",
"trajectory1_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"trajectory1_source": "string",
"trajectory2_created_at": "string",
"trajectory2_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"trajectory2_source": "string"
}
],
"token": "string"
}
Bad Request
- text/plain
- Schema
- Example (from schema)
Schema
{
"correlation_id": "string",
"error": "string",
"error_type": "string",
"metadata": {}
}
Not Found
- text/plain
- Schema
- Example (from schema)
Schema
{
"correlation_id": "string",
"error": "string",
"error_type": "string",
"metadata": {}
}
Internal Server Error
- text/plain
- Schema
- Example (from schema)
Schema
{
"correlation_id": "string",
"error": "string",
"error_type": "string",
"metadata": {}
}