Skip to content

Commit

Permalink
Adapt ActionStatus timestamp doc (#2130)
Browse files Browse the repository at this point in the history
Co-authored-by: vasilchev <[email protected]>
  • Loading branch information
vasilchev and vasilchev authored Dec 9, 2024
1 parent e0d5d4e commit 527d8e5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
@JsonIgnoreProperties(ignoreUnknown = true)
public class DdiActionFeedback {

@Schema(description = "Timestamp of the action in milliseconds since epoch", example = "1627997501890")
@Schema(description = "Timestamp (in milliseconds) when this status change occurred on Device.", example = "1627997501890")
private final Long timestamp;

@NotNull
Expand Down
12 changes: 8 additions & 4 deletions site/content/apis/dmf_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ is [ActionUpdateStatus](https://github.com/eclipse-hawkbit/hawkbit/tree/master/h
"actionId": long,
"softwareModuleId": long,
"actionStatus":"String",
"message":["String"]
"message":["String"],
"timestamp": long
}
```

Expand Down Expand Up @@ -210,7 +211,8 @@ Example header and payload:
"actionId":137,
"softwareModuleId":17,
"actionStatus":"DOWNLOAD",
"message":["The download has started"]
"message":["The download has started"],
"timestamp": 1704070800000
}
```

Expand Down Expand Up @@ -279,7 +281,8 @@ Example header and payload when cancellation is successful:
"actionId":137,
"softwareModuleId":17,
"actionStatus":"CANCELED",
"message":["The update was canceled."]
"message":["The update was canceled."],
"timestamp": 1704070800000
}
```

Expand All @@ -294,7 +297,8 @@ Example header and payload when cancellation is rejected:
"actionId":137,
"softwareModuleId":17,
"actionStatus":"CANCEL_REJECTED",
"message":["The cancellation was not possible since the target sent an unexpected response."]
"message":["The cancellation was not possible since the target sent an unexpected response."],
"timestamp": 1704070800000
}
```

Expand Down

0 comments on commit 527d8e5

Please sign in to comment.