Skip to content

Commit 0424230

Browse files
hzoppettileslitagordita
authored andcommitted
[Update] GET /account/events and GET /account/events/{eventId} (#116)
* Updated Event schema object added secondary_entity object * added filterable tag to properties id and created per map * updated type to enum and description. also updated cli display order. * removed enum from type, made id a string, made label non-changing, allow for possibility of more event actions
1 parent 5d7f54b commit 0424230

File tree

1 file changed

+38
-5
lines changed

1 file changed

+38
-5
lines changed

openapi.yaml

Lines changed: 38 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12830,6 +12830,7 @@ components:
1283012830
description: The unique ID of this Event.
1283112831
example: 123
1283212832
x-linode-cli-display: 1
12833+
x-linode-filterable: true
1283312834
action:
1283412835
type: string
1283512836
enum:
@@ -12945,7 +12946,8 @@ components:
1294512946
format: date-time
1294612947
description: When this Event was created.
1294712948
example: '2018-01-01T00:01:01'
12948-
x-linode-cli-display: 5
12949+
x-linode-cli-display: 6
12950+
x-linode-filterable: true
1294912951
entity:
1295012952
type: object
1295112953
readOnly: true
@@ -13007,7 +13009,7 @@ components:
1300713009
- volume
1300813010
readOnly: true
1300913011
description: >
13010-
The type of entity this Event is related to.
13012+
The type of entity that is being referenced by the Event.
1301113013
example: ticket
1301213014
x-linode-filterable: true
1301313015
url:
@@ -13017,6 +13019,37 @@ components:
1301713019
a relative URL, it is relative to the domain you retrieved the
1301813020
Event from.
1301913021
example: /v4/support/tickets/11111
13022+
secondary_entity:
13023+
type: object
13024+
readOnly: true
13025+
description: |
13026+
Detailed information about the Event's secondary entity, which provides additional information
13027+
for events such as, but not limited to, `linode_boot`, `linode_create`, and `linode_clone` Event actions.
13028+
x-linode-cli-display: 5
13029+
properties:
13030+
id:
13031+
type: string
13032+
description: >
13033+
The ID of the object that is the secondary entity.
13034+
example: linode/debian9
13035+
label:
13036+
type: string
13037+
description: >
13038+
The label of this object.
13039+
example: linode1234
13040+
type:
13041+
type: string
13042+
readOnly: true
13043+
description: >
13044+
The type of entity that is being referenced by the Event.
13045+
example: linode
13046+
url:
13047+
type: string
13048+
description: >
13049+
The URL where you can access the object this Event is for. If
13050+
a relative URL, it is relative to the domain you retrieved the
13051+
Event from.
13052+
example: /v4/linode/instances/1234
1302013053
percent_complete:
1302113054
type: integer
1302213055
readOnly: true
@@ -13037,13 +13070,13 @@ components:
1303713070
readOnly: true
1303813071
description: If this Event has been read.
1303913072
example: true
13040-
x-linode-cli-display: 8
13073+
x-linode-cli-display: 9
1304113074
seen:
1304213075
type: boolean
1304313076
readOnly: true
1304413077
description: If this Event has been seen.
1304513078
example: true
13046-
x-linode-cli-display: 7
13079+
x-linode-cli-display: 8
1304713080
status:
1304813081
type: string
1304913082
readOnly: true
@@ -13054,7 +13087,7 @@ components:
1305413087
- notification
1305513088
- scheduled
1305613089
- started
13057-
x-linode-cli-display: 6
13090+
x-linode-cli-display: 7
1305813091
x-linode-cli-color:
1305913092
failed: red
1306013093
finished: green

0 commit comments

Comments
 (0)