File tree Expand file tree Collapse file tree 1 file changed +39
-1
lines changed Expand file tree Collapse file tree 1 file changed +39
-1
lines changed Original file line number Diff line number Diff line change @@ -412,6 +412,8 @@ paths:
412412 anyOf :
413413 - $ref : ' #/components/schemas/Basic-Error-Response'
414414 - $ref : ' #/components/schemas/Validation-Error-Response'
415+ ' 403 ' :
416+ description : Forbidden
415417 ' 404 ' :
416418 description : Not Found
417419 ' 409 ' :
@@ -491,8 +493,13 @@ paths:
491493 anyOf :
492494 - $ref : ' #/components/schemas/Basic-Error-Response'
493495 - $ref : ' #/components/schemas/Validation-Error-Response'
496+ - $ref : ' #/components/schemas/Failed-Subscribers'
494497 ' 403 ' :
495498 description : Forbidden
499+ content :
500+ application/json :
501+ schema :
502+ $ref : ' #/components/schemas/Failed-Subscribers'
496503 ' 404 ' :
497504 description : Not Found
498505 ' 413 ' :
@@ -636,7 +643,7 @@ paths:
636643 content :
637644 application/json :
638645 schema :
639- $ref : ' #/components/schemas/Subscription'
646+ $ref : ' #/components/schemas/Subscription-Extra '
640647 ' 400 ' :
641648 description : Bad Request
642649 content :
@@ -1208,6 +1215,37 @@ components:
12081215 subscriber_count :
12091216 type : number
12101217 description : Available in List subscriptions for an account by subscription id
1218+ Subscription-Extra :
1219+ allOf :
1220+ - $ref : ' #/components/schemas/Subscription'
1221+ - $ref : ' #/components/schemas/Failed-Subscribers'
1222+ x-examples :
1223+ Subscriber Request Extra :
1224+ subscriber : 82FB03F2-3FEC-411B-82A2-904F68BFCC74
1225+ subscriber_type : connection
1226+ account_id : 134047511
1227+ subscription_id : 2306AD6F-EC8F-40B4-AC86-7C5D4FFC1597
1228+ Failed-Subscribers :
1229+ type : object
1230+ properties :
1231+ subscribers_failed :
1232+ type : array
1233+ description : A list of subscribers which were not successfully created, along with error information
1234+ items :
1235+ allOf :
1236+ - $ref : ' #/components/schemas/Subscriber'
1237+ - type : object
1238+ properties :
1239+ error :
1240+ type : string
1241+ details :
1242+ anyOf :
1243+ - type : string
1244+ - type : array
1245+ items :
1246+ type : string
1247+ required :
1248+ - error
12111249 Basic-Error-Response :
12121250 type : object
12131251 properties :
You can’t perform that action at this time.
0 commit comments