digitalocean / digitalocean/api-v2
Actions API does not return `completed_at` param
- Dominant language
- No language data
- Stars
- 138
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
Steps to reproduce:
1. Start snapshot on a Droplet
2. Wait for snapshot to finish
3. Fetch snapshot action detail via API
When making request directly to the action:
GET `https://api.digitalocean.com/v2/actions/`
the API returns data as expected:
```json
{
"action": {
"id": "",
"status": "completed",
"type": "snapshot",
"started_at": "2022-04-27T00:07:13Z",
"completed_at": "2022-04-27T00:15:40Z",
"resource_id": "",
```
However, when action is fetched via droplet:
GET `https://api.digitalocean.com/v2/droplets//actions/`
`completed_at` field is wrong:
```json
{
"action": {
"id": "",
"status": "completed",
"type": "snapshot",
"started_at": "2022-04-27T00:07:13Z",
"completed_at": null, <== should not be null
"resource_id": "",
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.