Skip to content

Commit 2cad536

Browse files
author
cibot
committed
Definitions Update herald
1 parent 83298b5 commit 2cad536

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

alsdkdefs/apis/herald/herald.v1.yaml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ paths:
643643
content:
644644
application/json:
645645
schema:
646-
$ref: '#/components/schemas/Subscription-Extra'
646+
$ref: '#/components/schemas/Subscription'
647647
'400':
648648
description: Bad Request
649649
content:
@@ -652,8 +652,20 @@ paths:
652652
anyOf:
653653
- $ref: '#/components/schemas/Basic-Error-Response'
654654
- $ref: '#/components/schemas/Validation-Error-Response'
655+
'400':
656+
description: Bad Subscribers in Request
657+
content:
658+
application/json:
659+
schema:
660+
$ref: '#components/schemas/Failed-Subscribers'
655661
'403':
656662
description: Forbidden
663+
'403':
664+
description: No Permission to Create Subscribers
665+
content:
666+
application/json:
667+
schema:
668+
$ref: '#components/schemas/Failed-Subscribers'
657669
'413':
658670
description: Request Entity Too Large
659671
operationId: create_subscription
@@ -1219,16 +1231,6 @@ components:
12191231
subscriber_count:
12201232
type: number
12211233
description: Available in List subscriptions for an account by subscription id
1222-
Subscription-Extra:
1223-
allOf:
1224-
- $ref: '#/components/schemas/Subscription'
1225-
- $ref: '#/components/schemas/Failed-Subscribers'
1226-
x-examples:
1227-
Subscriber Request Extra:
1228-
subscriber: 82FB03F2-3FEC-411B-82A2-904F68BFCC74
1229-
subscriber_type: connection
1230-
account_id: 134047511
1231-
subscription_id: 2306AD6F-EC8F-40B4-AC86-7C5D4FFC1597
12321234
Failed-Subscribers:
12331235
type: object
12341236
properties:

0 commit comments

Comments
 (0)