| Requires the role: | TenantReader |
| GET | /api/patching/updates/{Id} | Returns a single update by its id | |
|---|---|---|---|
| GET | /patching/updates/{Id} | Returns a single update by its id |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | path | string | Yes | The primary key of every config item |
| TenantName | header | string | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | Guid | No | |
| Name | form | string | Yes | |
| Severity | form | string | No | The severity of the vulnerability this update fixes (e.g. Critical, Important, Moderate, etc.) |
| Published | form | DateTime | No | The time the update was first published |
| Classifications | form | List<string> | No | Update classification/type (e.g. Critical Update, Definition Update, Security Update, etc.) |
| IsRebootRequired | form | bool | No | Whether the update needs a reboot or not |
| ExtId | form | string | No | In case of windows this is the KB id |
| Version | form | string | No | In case of linux this is the update package version |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/patching/updates/{Id} HTTP/1.1
Host: core.starburst.svc
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"id":"00000000-0000-0000-0000-000000000000","name":"String","severity":"String","published":"0001-01-01T00:00:00.0000000Z","classifications":["String"],"isRebootRequired":false,"extId":"String","version":"String"}