Skip to content

Commit ba64943

Browse files
committed
Updated API from documentation release
1 parent 4e87d65 commit ba64943

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

api-specs/api/types/subscription/Subscription.raml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ properties:
3333
(beta): true
3434
description: |
3535
IDs and references that created the Subscription.
36-
changes:
37-
type: ChangeSubscription[]
38-
description: |
39-
Changes subscribed to.
4036
destination:
4137
type: Destination
4238
description: |
@@ -52,6 +48,10 @@ properties:
5248
type: MessageSubscription[]
5349
description: |
5450
Messages subscribed to.
51+
changes:
52+
type: ChangeSubscription[]
53+
description: |
54+
Changes subscribed to.
5555
events:
5656
type: EventSubscription[]
5757
(beta): true

api-specs/api/types/subscription/SubscriptionDraft.raml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,8 @@ type: object
44
displayName: SubscriptionDraft
55
example: !include ../../examples/subscription-create.example.json
66
description: |
7-
Either `messages` or `changes` must be set.
7+
Either `messages`, `changes`, or `events` must be set.
88
properties:
9-
changes?:
10-
type: ChangeSubscription[]
11-
description: |
12-
Changes to be subscribed to.
139
destination:
1410
type: Destination
1511
description: |
@@ -25,6 +21,10 @@ properties:
2521
type: MessageSubscription[]
2622
description: |
2723
Messages to be subscribed to.
24+
changes?:
25+
type: ChangeSubscription[]
26+
description: |
27+
Changes to be subscribed to.
2828
events?:
2929
type: EventSubscription[]
3030
(beta): true

0 commit comments

Comments
 (0)