Order Events
GET/orders/:id/events
Get status events for an order. Status events are only stored for one week after the order is placed.
Request
Path Parameters
REQUIRED. The ID assigned to the Order.
Query Parameters
Default value: 10
Number of items to return in the response list.
Filter results that match values in the given key separated by a colon. These are not exact matches, so filtering on a value of pet:cat
will return cat
along with caterpillar
pets. Filter parameters may be repeated if multiple filters are desired, but a given field can only be queried once because all filters will be logically ANDed.
Possible values: [asc
, desc
]
Default value: desc
Sort order, desc
for descending chronological order of creation date (latest first), asc
for ascending order.
The token (base64 string) next_page_token
returned in the previous page of results. This is used to fetch the next page of results when the sort order is asc
.
The token (base64 string) next_page_token
returned in the previous page of results. This is used to fetch the next page of results when the sort order is desc
.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Single-page
- Paginated
Schema
- Array [
- ]
data objectrequired
events object[]
links objectrequired
{
"data": {
"events": [
{
"date_created": "2022-12-02T19:48:09Z",
"order_id": "99926034175760632",
"pipeline_id": "imagery/analysis-ready",
"message": "Order Status Updated from IN_PROGRESS to SUCCESS",
"event_code": "status_updated"
}
]
},
"links": {
"request": true,
"next_page": "https://api.maxar.com/ordering/v1/pipelines/imagery/analysis-ready/orderorders?starting_after=eyJQSyI6ICJVc2VyLTAyMWMyYjJkLTQwZWUtNGZhNy1iZDEwLTEzYjRhMDQ4OTk2OCIsICJTSyD"
},
"request_timestamp": "2022-12-01T23:19:02Z",
"response_timestamp": "2022-12-01T23:19:06Z",
"request_duration": 4,
"next_page_token": "eyJQSyI6ICJVc2VyLTAyMWMyYjJkLTQwZWUtNGZhNy1iZDEwLTEzYjRhMDQ4OTk2OCIsICJTSyD"
}
{
"data": {
"events": [
{
"date_created": "2022-12-02T19:48:09Z",
"order_id": "99926034175760632",
"pipeline_id": "imagery/analysis-ready",
"message": "Order Status Updated from IN_PROGRESS to SUCCESS",
"event_code": "status_updated"
},
{
"date_created": "2022-12-02T19:48:03Z",
"order_id": "99926034175760632",
"pipeline_id": "imagery/analysis-ready",
"message": "Order Status Updated from RECEIVED to IN_PROGRESS",
"event_code": "status_updated"
},
{
"date_created": "2022-12-02T19:48:01Z",
"order_id": "99926034175760632",
"pipeline_id": "imagery/analysis-ready",
"message": "S3 writing process started",
"event_code": "process_started"
}
]
},
"links": {
"request": "https://api.maxar.com/ordering/v1/orders/6067544283727045548/events"
},
"request_timestamp": "2022-12-02T19:48:55Z",
"response_timestamp": "2022-12-02T19:48:55Z",
"request_duration": 0
}
{
"data": {
"events": [
{
"date_created": "2022-12-02T19:48:09Z",
"order_id": "99926034175760632",
"pipeline_id": "imagery/analysis-ready",
"message": "Order Status Updated from IN_PROGRESS to SUCCESS",
"event_code": "status_updated"
},
{
"date_created": "2022-12-02T19:48:03Z",
"order_id": "99926034175760632",
"pipeline_id": "imagery/analysis-ready",
"message": "Order Status Updated from RECEIVED to IN_PROGRESS",
"event_code": "status_updated"
},
{
"date_created": "2022-12-02T19:48:01Z",
"order_id": "99926034175760632",
"pipeline_id": "imagery/analysis-ready",
"message": "S3 writing process started",
"event_code": "process_started"
}
]
},
"links": {
"request": "https://api.maxar.com/ordering/v1/orders/6067544283727045548/events",
"next_page": "https://api.maxar.com/ordering/v1/pipelines/imagery/analysis-ready/orderorders?starting_after=eyJQSyI6ICJVc2VyLTAyMWMyYjJkLTQwZWUtNGZhNy1iZDEwLTEzYjRhMDQ4OTk2OCIsICJTSyD"
},
"request_timestamp": "2022-12-02T19:48:55Z",
"response_timestamp": "2022-12-02T19:48:55Z",
"request_duration": 0,
"next_page_token": "eyJQSyI6ICJVc2VyLTAyMWMyYjJkLTQwZWUtNGZhNy1iZDEwLTEzYjRhMDQ4OTk2OCIsICJTSyD"
}