2
2
openapi : 3.0.3
3
3
info :
4
4
title : Simple Edge Discovery API
5
- version : 0.9.4-rc.1
5
+ version : 1.0.0
6
6
description : |
7
7
# Find the closest Edge Cloud Zone
8
8
---
@@ -149,8 +149,7 @@ info:
149
149
150
150
CAMARA guidelines defines a set of authorization flows which can grant API
151
151
clients access to the API functionality, as outlined in the document
152
- [CAMARA-API-access-and-user-consent.md]
153
- (https://github.com/camaraproject/IdentityAndConsentManagement/blob/main/documentation/CAMARA-API-access-and-user-consent.md).
152
+ [CAMARA-API-access-and-user-consent.md](https://github.com/camaraproject/IdentityAndConsentManagement/blob/main/documentation/CAMARA-API-access-and-user-consent.md).
154
153
Which specific authorization flows are to be used will be determined during
155
154
onboarding process, happening between the API Client and the Telco Operator
156
155
exposing the API, taking into account the declared purpose for accessing
@@ -183,7 +182,7 @@ servers:
183
182
default : https://localhost:443
184
183
description : API root.
185
184
basePath :
186
- default : simple-edge-discovery/v0
185
+ default : simple-edge-discovery/v1
187
186
description : Base path for the Simple Edge Discovery API.
188
187
189
188
tags :
@@ -196,7 +195,7 @@ paths:
196
195
get :
197
196
security :
198
197
- openId :
199
- - simple-edge-discovery-read-closest
198
+ - simple-edge-discovery:edge-cloud-zones:read
200
199
operationId : getEdgeCloudZones
201
200
parameters :
202
201
- name : filter
@@ -246,6 +245,19 @@ paths:
246
245
prefixed with '+'.
247
246
schema :
248
247
$ref : " #/components/schemas/PhoneNumber"
248
+
249
+ - name : X-Correlator
250
+ in : header
251
+ required : false
252
+ description : |
253
+ When the API Consumer includes the "X-Correlator" header in the
254
+ request, the API provider must include it in the response with
255
+ the same value that was used in the request. Otherwise, it is
256
+ optional to include the "X-Correlator" header in the response with
257
+ any valid value. Recommendation is to use UUID for values.
258
+ schema :
259
+ type : string
260
+ format : uuid
249
261
250
262
responses :
251
263
" 200 " :
@@ -294,6 +306,19 @@ components:
294
306
description : OpenID Provider Configuration Information.
295
307
type : openIdConnect
296
308
openIdConnectUrl : .well-known/openid-configuration
309
+
310
+ headers :
311
+ X-Correlator :
312
+ description : |
313
+ When the API Consumer includes the "X-Correlator" header in the request,
314
+ the API provider must include it in the response with the same value t
315
+ hat was used in the request. Otherwise, it is optional to include the
316
+ "X-Correlator" header in the response with any valid value.
317
+ Recommendation is to use UUID for values.
318
+ required : false
319
+ schema :
320
+ type : string
321
+ format : uuid
297
322
298
323
schemas :
299
324
EdgeCloudZones :
@@ -388,6 +413,9 @@ components:
388
413
responses :
389
414
400BadRequest :
390
415
description : Bad Request
416
+ headers :
417
+ X-Correlator :
418
+ $ref : " #/components/headers/X-Correlator"
391
419
content :
392
420
application/json :
393
421
schema :
@@ -434,6 +462,9 @@ components:
434
462
}
435
463
401Unauthorized :
436
464
description : Unauthorized
465
+ headers :
466
+ X-Correlator :
467
+ $ref : " #/components/headers/X-Correlator"
437
468
content :
438
469
application/json :
439
470
schema :
@@ -450,6 +481,9 @@ components:
450
481
451
482
403Forbidden :
452
483
description : Forbidden
484
+ headers :
485
+ X-Correlator :
486
+ $ref : " #/components/headers/X-Correlator"
453
487
content :
454
488
application/json :
455
489
schema :
@@ -466,6 +500,9 @@ components:
466
500
467
501
404NotFound :
468
502
description : Subscriber Not Found
503
+ headers :
504
+ X-Correlator :
505
+ $ref : " #/components/headers/X-Correlator"
469
506
content :
470
507
application/json :
471
508
schema :
@@ -484,6 +521,9 @@ components:
484
521
485
522
405MethodNotAllowed :
486
523
description : Method Not Allowed
524
+ headers :
525
+ X-Correlator :
526
+ $ref : " #/components/headers/X-Correlator"
487
527
content :
488
528
application/json :
489
529
schema :
@@ -503,6 +543,9 @@ components:
503
543
504
544
406Unacceptable :
505
545
description : Not Acceptable
546
+ headers :
547
+ X-Correlator :
548
+ $ref : " #/components/headers/X-Correlator"
506
549
content :
507
550
application/json :
508
551
schema :
@@ -520,6 +563,9 @@ components:
520
563
521
564
429TooManyRequests :
522
565
description : Too Many Requests
566
+ headers :
567
+ X-Correlator :
568
+ $ref : " #/components/headers/X-Correlator"
523
569
content :
524
570
application/json :
525
571
schema :
@@ -539,6 +585,9 @@ components:
539
585
540
586
500InternalServerError :
541
587
description : Internal Server Error
588
+ headers :
589
+ X-Correlator :
590
+ $ref : " #/components/headers/X-Correlator"
542
591
content :
543
592
application/json :
544
593
schema :
@@ -552,6 +601,9 @@ components:
552
601
553
602
502BadGateway :
554
603
description : Bad Gateway
604
+ headers :
605
+ X-Correlator :
606
+ $ref : " #/components/headers/X-Correlator"
555
607
content :
556
608
application/json :
557
609
schema :
@@ -565,6 +617,9 @@ components:
565
617
566
618
503ServiceUnavailable :
567
619
description : Service Unavailable
620
+ headers :
621
+ X-Correlator :
622
+ $ref : " #/components/headers/X-Correlator"
568
623
content :
569
624
application/json :
570
625
schema :
@@ -578,6 +633,9 @@ components:
578
633
579
634
504GatewayTimeout :
580
635
description : Gateway Time-Out
636
+ headers :
637
+ X-Correlator :
638
+ $ref : " #/components/headers/X-Correlator"
581
639
content :
582
640
application/json :
583
641
schema :
0 commit comments