MEC010-2_AppPkgMgmt.json 103 KB
Newer Older
1
{
piscione's avatar
piscione committed
2
  "openapi": "3.1.0",
3
4
5
6
7
8
  "info": {
    "title": "ETSI GS MEC 010-2 - Part 2: Application lifecycle, rules and requirements management",
    "description": "ETSI GS MEC 010-2 - Part 2: Application lifecycle, rules and requirements management described using OpenAPI.",
    "license": {
      "name": "BSD-3-Clause",
      "url": "https://forge.etsi.org/legal-matters"
9
    },
10
11
    "contact": {
      "name": "ETSI Forge",
piscione's avatar
piscione committed
12
13
14
      "url": "https://forge.etsi.org/rep/mec/gs010-2-app-pkg-lcm-api",
      "email": "cti_support@etsi.org"
    },
15
    "version": "2.2.1"
16
  },
piscione's avatar
piscione committed
17
  "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
18
  "externalDocs": {
19
20
    "description": "ETSI GS MEC 010-2 - Part 2: Application lifecycle, rules and requirements management, v2.2.1",
    "url": "https://www.etsi.org/deliver/etsi_gs/MEC/001_099/01002/02.02.01_60/gs_MEC01002v020201p.pdf"
21
22
23
24
25
  },
  "tags": [
    {
      "name": "app-pkgm",
      "description": "App Package management"
Elian Kraja's avatar
Elian Kraja committed
26
    },
27
28
29
30
31
    {
      "name": "app-pkgm-notifications",
      "description": "App Package management notifications"
    }
  ],
piscione's avatar
piscione committed
32
33
34
35
36
37
  "servers": [
    {
      "url": "https://localhost/app_pkgm/v1",
      "variables": {}
    }
  ],
38
39
40
41
42
43
  "paths": {
    "/app_packages": {
      "post": {
        "tags": [
          "app-pkgm"
        ],
44
45
        "summary": "Create a resource for on-boarding an application package to a MEO/MEAO",
        "description": "Create a resource for on-boarding an application package to a MEO/MEAO",
46
        "operationId": "app_packagesPOST",
piscione's avatar
piscione committed
47
        "parameters": [],
48
49
50
51
52
53
        "requestBody": {
          "description": "Resource to be created",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAppPkg"
Elian Kraja's avatar
Elian Kraja committed
54
55
              }
            }
piscione's avatar
piscione committed
56
57
          },
          "required": true
Elian Kraja's avatar
Elian Kraja committed
58
        },
59
60
61
        "responses": {
          "201": {
            "description": "Successful response for resource creation",
piscione's avatar
piscione committed
62
            "headers": {},
63
64
65
            "content": {
              "application/json": {
                "schema": {
66
67
                  "$ref": "#/components/schemas/AppPkgInfo",
                  "description": "The response body shall contain a representation of the application package resource",
piscione's avatar
piscione committed
68
                  "contentMediaType": "application/json"
Elian Kraja's avatar
Elian Kraja committed
69
70
71
                }
              }
            }
72
73
          },
          "400": {
piscione's avatar
piscione committed
74
75
76
77
78
79
80
81
82
            "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
83
84
          },
          "401": {
piscione's avatar
piscione committed
85
86
87
88
89
90
91
92
93
            "description": "Unauthorized :  used when the client did not submit credentials.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
94
95
          },
          "403": {
piscione's avatar
piscione committed
96
97
98
99
100
101
102
103
104
            "description": "Forbidden :  operation is not allowed given the current status of the resource.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
105
106
          },
          "404": {
piscione's avatar
piscione committed
107
108
109
110
111
112
113
114
115
            "description": "Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
116
117
          },
          "406": {
piscione's avatar
piscione committed
118
119
120
121
122
123
124
125
126
            "description": "Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
127
128
          },
          "429": {
piscione's avatar
piscione committed
129
130
131
132
133
134
135
136
137
            "description": "Too Many Requests : used when a rate limiter has triggered.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
138
          }
piscione's avatar
piscione committed
139
140
        },
        "deprecated": false
Elian Kraja's avatar
Elian Kraja committed
141
      },
142
143
144
145
      "get": {
        "tags": [
          "app-pkgm"
        ],
146
147
        "summary": "Queries information relating to on-boarded application packages in the MEO/MEAO'",
        "description": "queries information relating to on-boarded application packages in the MEO/MEAO",
148
        "operationId": "app_packagesGET",
Elian Kraja's avatar
Elian Kraja committed
149
        "parameters": [
150
          {
151
            "name": "filter",
piscione's avatar
piscione committed
152
153
154
155
            "in": "query",
            "description": "Attribute-based filtering parameters according to ETSI GS MEC 009",
            "style": "form",
            "explode": true,
156
157
            "schema": {
              "type": "string"
piscione's avatar
piscione committed
158
            }
159
160
161
          },
          {
            "name": "all_fields",
piscione's avatar
piscione committed
162
163
164
165
            "in": "query",
            "description": "Include all complex attributes in the response.",
            "style": "form",
            "explode": true,
166
167
            "schema": {
              "type": "string"
piscione's avatar
piscione committed
168
            }
169
170
171
          },
          {
            "name": "fields",
piscione's avatar
piscione committed
172
173
174
175
            "in": "query",
            "description": "Complex attributes of AppPkgInfo to be included into the response",
            "style": "form",
            "explode": true,
176
177
            "schema": {
              "type": "string"
piscione's avatar
piscione committed
178
            }
179
180
181
          },
          {
            "name": "exclude_fields",
piscione's avatar
piscione committed
182
183
184
185
            "in": "query",
            "description": "Complex attributes of AppPkgInfo to be excluded from the response.",
            "style": "form",
            "explode": true,
186
187
            "schema": {
              "type": "string"
piscione's avatar
piscione committed
188
            }
189
190
191
          },
          {
            "name": "exclude_default",
piscione's avatar
piscione committed
192
193
194
195
            "in": "query",
            "description": "Indicates to exclude the following complex attributes of AppPkgInfo from the response.",
            "style": "form",
            "explode": true,
196
197
            "schema": {
              "type": "string"
piscione's avatar
piscione committed
198
            }
Elian Kraja's avatar
Elian Kraja committed
199
          }
200
201
202
203
        ],
        "responses": {
          "200": {
            "description": "Contains a representation of the application package resource",
piscione's avatar
piscione committed
204
            "headers": {},
205
206
207
            "content": {
              "application/json": {
                "schema": {
208
209
210
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AppPkgInfo"
piscione's avatar
piscione committed
211
212
213
                  },
                  "description": "",
                  "contentMediaType": "application/json"
214
215
216
217
                }
              }
            }
          },
218
          "400": {
piscione's avatar
piscione committed
219
220
221
222
223
224
225
226
227
            "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
228
229
          },
          "401": {
piscione's avatar
piscione committed
230
231
232
233
234
235
236
237
238
            "description": "Unauthorized :  used when the client did not submit credentials.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
239
240
          },
          "403": {
piscione's avatar
piscione committed
241
242
243
244
245
246
247
248
249
            "description": "Forbidden :  operation is not allowed given the current status of the resource.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
250
251
          },
          "404": {
piscione's avatar
piscione committed
252
253
254
255
256
257
258
259
260
            "description": "Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
261
262
          },
          "406": {
piscione's avatar
piscione committed
263
264
265
266
267
268
269
270
271
            "description": "Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
272
273
          },
          "429": {
piscione's avatar
piscione committed
274
275
276
277
278
279
280
281
282
            "description": "Too Many Requests : used when a rate limiter has triggered.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
283
          }
piscione's avatar
piscione committed
284
285
286
287
        },
        "deprecated": false
      },
      "parameters": []
288
    },
289
290
    "/onboarded_app_packages": {
      "post": {
291
292
293
        "tags": [
          "app-pkgm"
        ],
294
295
296
297
298
299
300
301
302
303
304
        "summary": "Create a resource for on-boarding an application package to a MEO/MEAO",
        "description": "Create a resource for on-boarding an application package to a MEO/MEAO",
        "operationId": "onboarded_app_packagesPOST",
        "parameters": [],
        "requestBody": {
          "description": "Resource to be created",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAppPkg"
              }
piscione's avatar
piscione committed
305
            }
306
307
308
          },
          "required": true
        },
309
        "responses": {
310
311
          "201": {
            "description": "Successful response for resource creation",
piscione's avatar
piscione committed
312
            "headers": {},
313
314
315
            "content": {
              "application/json": {
                "schema": {
316
317
318
                  "$ref": "#/components/schemas/AppPkgInfo",
                  "description": "The response body shall contain a representation of the application package resource",
                  "contentMediaType": "application/json"
Elian Kraja's avatar
Elian Kraja committed
319
                }
320
321
              }
            }
322
323
          },
          "400": {
piscione's avatar
piscione committed
324
325
326
327
328
329
330
331
332
            "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
333
334
          },
          "401": {
piscione's avatar
piscione committed
335
336
337
338
339
340
341
342
343
            "description": "Unauthorized :  used when the client did not submit credentials.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
344
345
          },
          "403": {
piscione's avatar
piscione committed
346
347
348
349
350
351
352
353
354
            "description": "Forbidden :  operation is not allowed given the current status of the resource.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
355
356
          },
          "404": {
piscione's avatar
piscione committed
357
358
359
360
361
362
363
364
365
            "description": "Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
366
367
          },
          "406": {
piscione's avatar
piscione committed
368
369
370
371
372
373
374
375
376
            "description": "Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
377
378
          },
          "429": {
piscione's avatar
piscione committed
379
380
381
382
383
384
385
386
387
            "description": "Too Many Requests : used when a rate limiter has triggered.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
388
          }
piscione's avatar
piscione committed
389
390
        },
        "deprecated": false
391
      },
392
      "get": {
393
394
395
        "tags": [
          "app-pkgm"
        ],
396
397
398
        "summary": "Queries information relating to on-boarded application packages in the MEO/MEAO'",
        "description": "queries information relating to on-boarded application packages in the MEO/MEAO",
        "operationId": "onboarded_app_packagesGET",
piscione's avatar
piscione committed
399
400
        "parameters": [
          {
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
            "name": "filter",
            "in": "query",
            "description": "Attribute-based filtering parameters according to ETSI GS MEC 009",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "all_fields",
            "in": "query",
            "description": "Include all complex attributes in the response.",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "description": "Complex attributes of AppPkgInfo to be included into the response",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "exclude_fields",
            "in": "query",
            "description": "Complex attributes of AppPkgInfo to be excluded from the response.",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "exclude_default",
            "in": "query",
            "description": "Indicates to exclude the following complex attributes of AppPkgInfo from the response.",
            "style": "form",
            "explode": true,
piscione's avatar
piscione committed
446
447
448
449
450
            "schema": {
              "type": "string"
            }
          }
        ],
451
        "responses": {
452
453
          "200": {
            "description": "Contains a representation of the application package resource",
piscione's avatar
piscione committed
454
            "headers": {},
455
456
457
458
459
460
461
462
463
464
465
466
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AppPkgInfo"
                  },
                  "description": "",
                  "contentMediaType": "application/json"
                }
              }
            }
467
468
          },
          "400": {
piscione's avatar
piscione committed
469
470
471
472
473
474
475
476
477
            "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
478
479
          },
          "401": {
piscione's avatar
piscione committed
480
481
482
483
484
485
486
487
488
            "description": "Unauthorized :  used when the client did not submit credentials.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
489
490
          },
          "403": {
piscione's avatar
piscione committed
491
492
493
494
495
496
497
498
499
            "description": "Forbidden :  operation is not allowed given the current status of the resource.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
500
501
          },
          "404": {
piscione's avatar
piscione committed
502
503
504
505
506
507
508
509
510
            "description": "Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
511
512
          },
          "406": {
piscione's avatar
piscione committed
513
514
515
516
517
518
519
520
521
            "description": "Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
522
523
          },
          "429": {
piscione's avatar
piscione committed
524
525
526
527
528
529
530
531
532
            "description": "Too Many Requests : used when a rate limiter has triggered.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
533
          }
piscione's avatar
piscione committed
534
535
        },
        "deprecated": false
Elian Kraja's avatar
Elian Kraja committed
536
      },
537
538
539
540
      "parameters": []
    },
    "/app_packages/{appPkgId}": {
      "get": {
541
542
543
        "tags": [
          "app-pkgm"
        ],
544
545
546
        "summary": "Queries the information related to individual application package resources",
        "description": "Queries the information related to individual application package resources",
        "operationId": "app_packageGET",
piscione's avatar
piscione committed
547
548
549
550
551
552
553
554
555
556
557
558
        "parameters": [
          {
            "name": "appPkgId",
            "in": "path",
            "description": "Identifier of an individual application package resource",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
            }
          }
        ],
559
560
        "responses": {
          "200": {
561
            "description": "Contains a representation of the application package resource",
piscione's avatar
piscione committed
562
            "headers": {},
563
564
565
            "content": {
              "application/json": {
                "schema": {
566
                  "$ref": "#/components/schemas/AppPkgInfo"
567
568
569
570
                }
              }
            }
          },
571
          "400": {
piscione's avatar
piscione committed
572
573
574
575
576
577
578
579
580
            "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
581
582
          },
          "401": {
piscione's avatar
piscione committed
583
584
585
586
587
588
589
590
591
            "description": "Unauthorized :  used when the client did not submit credentials.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
592
593
          },
          "403": {
piscione's avatar
piscione committed
594
595
596
597
598
599
600
601
602
            "description": "Forbidden :  operation is not allowed given the current status of the resource.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
603
604
          },
          "404": {
piscione's avatar
piscione committed
605
606
607
608
609
610
611
612
613
            "description": "Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
614
615
          },
          "406": {
piscione's avatar
piscione committed
616
617
618
619
620
621
622
623
624
            "description": "Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
625
626
          },
          "429": {
piscione's avatar
piscione committed
627
628
629
630
631
632
633
634
635
636
637
638
639
            "description": "Too Many Requests : used when a rate limiter has triggered.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "deprecated": false
      },
640
      "delete": {
641
642
643
        "tags": [
          "app-pkgm"
        ],
644
645
646
647
648
649
650
651
652
653
654
655
        "summary": "Deletes an individual application package resources in MEO/MEAO",
        "description": "Deletes an individual application package resources in MEO/MEAO",
        "operationId": "app_packageDELETE",
        "parameters": [
          {
            "name": "appPkgId",
            "in": "path",
            "description": "Identifier of an individual application package resource",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
656
            }
657
658
          }
        ],
659
        "responses": {
660
661
          "204": {
            "description": "No Content",
piscione's avatar
piscione committed
662
            "headers": {},
663
            "content": {}
664
665
          },
          "400": {
piscione's avatar
piscione committed
666
667
668
669
670
671
672
673
674
            "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
675
676
          },
          "401": {
piscione's avatar
piscione committed
677
678
679
680
681
682
683
684
685
            "description": "Unauthorized :  used when the client did not submit credentials.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
686
687
          },
          "403": {
piscione's avatar
piscione committed
688
689
690
691
692
693
694
695
696
            "description": "Forbidden :  operation is not allowed given the current status of the resource.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
697
698
          },
          "404": {
piscione's avatar
piscione committed
699
700
701
702
703
704
705
706
707
            "description": "Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
708
709
          },
          "406": {
piscione's avatar
piscione committed
710
711
712
713
714
715
716
717
718
            "description": "Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
719
720
          },
          "429": {
piscione's avatar
piscione committed
721
722
723
724
725
726
727
728
729
730
731
            "description": "Too Many Requests : used when a rate limiter has triggered.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
732
        "deprecated": false
733
      },
734
      "patch": {
735
736
        "tags": [
          "app-pkgm"
737
        ],
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
        "summary": "Updates the operational state of an individual application package resource",
        "description": "Updates the operational state of an individual application package resources",
        "operationId": "app_packagePATCH",
        "parameters": [
          {
            "name": "appPkgId",
            "in": "path",
            "description": "Identifier of an individual application package resource",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Parameters for application package information modification.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AppPkgInfoModifications"
              }
            }
          },
          "required": true
        },
764
765
        "responses": {
          "200": {
766
            "description": "Shows that the operation has been completed successfully",
piscione's avatar
piscione committed
767
            "headers": {},
768
769
770
            "content": {
              "application/json": {
                "schema": {
771
                  "$ref": "#/components/schemas/AppPkgInfoModifications"
772
773
774
                }
              }
            }
775
776
          },
          "400": {
piscione's avatar
piscione committed
777
778
779
780
781
782
783
784
785
            "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
786
787
          },
          "401": {
piscione's avatar
piscione committed
788
789
790
791
792
793
794
795
796
            "description": "Unauthorized :  used when the client did not submit credentials.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
797
798
          },
          "403": {
piscione's avatar
piscione committed
799
800
801
802
803
804
805
806
807
            "description": "Forbidden :  operation is not allowed given the current status of the resource.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
808
809
          },
          "404": {
piscione's avatar
piscione committed
810
811
812
813
814
815
816
817
818
            "description": "Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
819
820
          },
          "406": {
piscione's avatar
piscione committed
821
822
823
824
825
826
827
828
829
            "description": "Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
830
          },
831
832
          "409": {
            "description": "Conflict : The operation cannot be executed currently, due to a conflict with the state of the resource",
piscione's avatar
piscione committed
833
834
835
836
837
838
839
840
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
841
842
843
844
845
846
847
848
849
850
851
852
853
854
          },
          "429": {
            "description": "Too Many Requests : used when a rate limiter has triggered.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "deprecated": false
piscione's avatar
piscione committed
855
856
      },
      "parameters": []
857
    },
858
    "/onboarded_app_packages/{appPkgId}": {
859
860
861
862
      "get": {
        "tags": [
          "app-pkgm"
        ],
863
864
865
        "summary": "Queries the information related to individual application package resources",
        "description": "Queries the information related to individual application package resources",
        "operationId": "onboarded_app_packageGET",
piscione's avatar
piscione committed
866
867
        "parameters": [
          {
868
            "name": "appPkgId",
piscione's avatar
piscione committed
869
            "in": "path",
870
            "description": "Identifier of an individual application package resource",
piscione's avatar
piscione committed
871
872
873
874
875
876
877
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
            }
          }
        ],
878
879
        "responses": {
          "200": {
880
            "description": "Contains a representation of the application package resource",
piscione's avatar
piscione committed
881
            "headers": {},
882
883
884
            "content": {
              "application/json": {
                "schema": {
885
                  "$ref": "#/components/schemas/AppPkgInfo"
886
887
888
889
                }
              }
            }
          },
890
          "400": {
piscione's avatar
piscione committed
891
892
893
894
895
896
897
898
899
            "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
900
901
          },
          "401": {
piscione's avatar
piscione committed
902
903
904
905
906
907
908
909
910
            "description": "Unauthorized :  used when the client did not submit credentials.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
911
912
          },
          "403": {
piscione's avatar
piscione committed
913
914
915
916
917
918
919
920
921
            "description": "Forbidden :  operation is not allowed given the current status of the resource.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
922
923
          },
          "404": {
piscione's avatar
piscione committed
924
925
926
927
928
929
930
931
932
            "description": "Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
933
934
          },
          "406": {
piscione's avatar
piscione committed
935
936
937
938
939
940
941
942
943
            "description": "Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
944
945
          },
          "429": {
piscione's avatar
piscione committed
946
947
948
949
950
951
952
953
954
            "description": "Too Many Requests : used when a rate limiter has triggered.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
955
          }
piscione's avatar
piscione committed
956
957
        },
        "deprecated": false
Elian Kraja's avatar
Elian Kraja committed
958
      },
959
960
961
962
      "delete": {
        "tags": [
          "app-pkgm"
        ],
963
964
965
        "summary": "Deletes an individual application package resources in MEO/MEAO",
        "description": "Deletes an individual application package resources in MEO/MEAO",
        "operationId": "onboarded_app_packageDELETE",
piscione's avatar
piscione committed
966
967
        "parameters": [
          {
968
            "name": "appPkgId",
piscione's avatar
piscione committed
969
            "in": "path",
970
            "description": "Identifier of an individual application package resource",
piscione's avatar
piscione committed
971
972
973
974
975
976
977
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
            }
          }
        ],
978
979
        "responses": {
          "204": {
piscione's avatar
piscione committed
980
981
982
            "description": "No Content",
            "headers": {},
            "content": {}
983
          },
984
985
986
987
988
989
990
991
992
993
994
          "400": {
            "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
995
          "401": {
piscione's avatar
piscione committed
996
997
998
999
1000
            "description": "Unauthorized :  used when the client did not submit credentials.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
For faster browsing, not all history is shown. View entire blame