Skip to content
MEC010-2_AppPkgMgmt.json 79.3 KiB
Newer Older
Elian Kraja's avatar
Elian Kraja committed
    "info": {
      "title": "ETSI GS MEC 010-2 - Part 2: Application lifecycle, rules and requirements management",
      "version": "2.1.1",
      "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"
      },
      "contact": {
        "url": "https://forge.etsi.org/rep/mec/gs010-2-app-pkg-lcm-api"
      }
Elian Kraja's avatar
Elian Kraja committed
    "externalDocs": {
      "description": "ETSI GS MEC 010-2 - Part 2: Application lifecycle, rules and requirements management, v2.1.1",
      "url": "https://www.etsi.org/deliver/etsi_gs/MEC/001_099/01002/02.01.01_60/gs_MEC01002v020101p.pdf"
    },
    "servers": [
      {
        "url": "https://localhost/app_pkgm/v1"
      }
    ],
    "openapi": "3.0.0",
    "tags": [
      {
        "name": "app-pkgm",
        "description": "App Package management"
      },
      {
        "name": "app-pkgm-notifications",
        "description": "App Package management notifications"
      }
    ],
    "paths": {
      "/app_packages": {
        "post": {
          "tags": [
            "app-pkgm"
          ],
          "summary": "Create a resource for on-boarding an application package to a MEO",
          "description": "Create a resource for on-boarding an application package to a MEO",
          "operationId": "app_packagesPOST",
          "requestBody": {
            "description": "Resource to be created",
            "required": true,
            "content": {
              "application/json": {
                "schema": {
Elian Kraja's avatar
Elian Kraja committed
                  "$ref": "#/components/schemas/CreateAppPkg"
Elian Kraja's avatar
Elian Kraja committed
          "responses": {
            "201": {
              "description": "Successful response for resource creation",
              "content": {
                "application/json": {
                  "schema": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AppPkgInfo"
                    }
                  }
                }
              }
            },
            "400": {
              "$ref": "#/components/responses/400"
            },
            "401": {
              "$ref": "#/components/responses/401"
            },
            "403": {
              "$ref": "#/components/responses/403"
            },
            "404": {
              "$ref": "#/components/responses/404"
            },
            "406": {
              "$ref": "#/components/responses/406"
            },
            "429": {
              "$ref": "#/components/responses/429"
            }
Elian Kraja's avatar
Elian Kraja committed
        },
        "get": {
          "tags": [
            "app-pkgm"
          ],
          "summary": "Queries information relating to on-boarded application packages in the MEO",
          "description": "queries information relating to on-boarded application packages in the MEO",
          "operationId": "app_packagesGET",
          "parameters": [
            {
              "in": "query",
              "name": "filter",
              "schema": {
                "type": "string"
              },
              "required": false,
              "description": "Attribute-based filtering parameters according to ETSI GS MEC 009"
Elian Kraja's avatar
Elian Kraja committed
            {
              "in": "query",
              "name": "all_fields",
              "schema": {
                "type": "string"
              },
              "required": false,
              "description": "Include all complex attributes in the response."
Elian Kraja's avatar
Elian Kraja committed
            {
              "in": "query",
              "name": "fields",
              "schema": {
                "type": "string"
              },
              "required": false,
              "description": "Complex attributes of AppPkgInfo to be included into the response"
Elian Kraja's avatar
Elian Kraja committed
            {
              "in": "query",
              "name": "exclude_fields",
              "schema": {
                "type": "string"
              },
              "required": false,
              "description": "Complex attributes of AppPkgInfo to be excluded from the response."
Elian Kraja's avatar
Elian Kraja committed
            {
              "in": "query",
              "name": "exclude_default",
              "schema": {
                "type": "string"
              },
              "required": false,
              "description": "Indicates to exclude the following complex attributes of AppPkgInfo from the response."
            }
          ],
          "responses": {
            "200": {
              "description": "Contains a representation of the application package resource",
              "content": {
                "application/json": {
                  "schema": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AppPkgInfo"
                    }
                  }
                }
              }
            },
            "400": {
              "$ref": "#/components/responses/400"
            },
            "401": {
              "$ref": "#/components/responses/401"
            },
            "403": {
              "$ref": "#/components/responses/403"
            },
            "404": {
              "$ref": "#/components/responses/404"
            },
            "406": {
              "$ref": "#/components/responses/406"
            },
            "429": {
              "$ref": "#/components/responses/429"
            }
          }
        }
      },
      "/app_packages/{appPkgId}": {
        "parameters": [
Elian Kraja's avatar
Elian Kraja committed
            "in": "path",
            "name": "appPkgId",
            "schema": {
              "type": "string"
            },
Elian Kraja's avatar
Elian Kraja committed
            "required": true,
            "description": "Identifier of an individual application package resource"
Elian Kraja's avatar
Elian Kraja committed
        "get": {
          "tags": [
            "app-pkgm"
          ],
          "summary": "Queries the information related to individual application package resources",
          "description": "Queries the information related to individual application package resources",
          "operationId": "app_packageGET",
          "responses": {
            "200": {
              "description": "Contains a representation of the application package resource",
              "content": {
                "application/json": {
Loading full blame...