sort
the results by using the sort URI parameter, and filter them with the status
parameter.curl --location --request GET 'https://api.hetzner.cloud/v1/actions'
{
"actions": [
{
"command": "start_server",
"error": {
"code": "action_failed",
"message": "Action failed"
},
"finished": "2016-01-30T23:55:00.000Z",
"id": 42,
"progress": 100,
"resources": [
{
"id": 42,
"type": "server"
}
],
"started": "2016-01-30T23:55:00.000Z",
"status": "success"
}
],
"meta": {
"pagination": {
"last_page": 4,
"next_page": 4,
"page": 3,
"per_page": 25,
"previous_page": 2,
"total_entries": 100
}
}
}