MEC021_AppMobilityService.json 72.3 KB
Newer Older
Elian Kraja's avatar
Elian Kraja committed
{
  "openapi": "3.1.0",
Elian Kraja's avatar
Elian Kraja committed
  "info": {
    "title": "ETSI GS MEC 021 Application Mobility Service API",
Elian Kraja's avatar
Elian Kraja committed
    "description": "ETSI GS MEC 021 Application Mobility Service API described using OpenAPI.",
    "license": {
      "name": "BSD-3-Clause",
      "url": "https://forge.etsi.org/legal-matters"
    },
    "contact": {
Elian Kraja's avatar
Elian Kraja committed
      "name": "ETSI Forge",
      "url": "https://forge.etsi.org/rep/mec/gs021-amsi-api",
      "email": "cti_support@etsi.org"
Elian Kraja's avatar
Elian Kraja committed
    }
  },
  "externalDocs": {
    "description": "ETSI GS MEC 021 Application Mobility Service API, v2.2.1",
    "url": "https://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_mec021v020201p.pdf"
Elian Kraja's avatar
Elian Kraja committed
  },
  "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
Elian Kraja's avatar
Elian Kraja committed
  "servers": [
    {
      "url": "https://localhost/amsi/v1",
      "variables": {}
Elian Kraja's avatar
Elian Kraja committed
    }
  ],
  "tags": [
    {
      "name": "adj-app-inst",
      "description": "Adjacent App instances"
    },
    {
      "name": "app-mob-ser",
      "description": "Application Mobility Services"
    },
    {
      "name": "app-mob-ser-der",
      "description": "Application Mobility Services Deregister task"
    },
    {
      "name": "subscriptions",
      "description": "Subscription for Application Mobility Service"
    },
    {
      "name": "notifications",
      "description": "Notification for Application Mobility Service"
Elian Kraja's avatar
Elian Kraja committed
    }
  ],
  "paths": {
    "/queries/adjacent_app_instances": {
      "get": {
        "tags": [
          "adj-app-inst"
        ],
        "summary": "Retrieve information about this subscription.",
        "description": "Retrieve information about this subscription.",
        "operationId": "adj_app_instGET",
        "parameters": [
          {
            "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 to be included into the response. See clause 6.18 in ETSI GS MEC 009",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "exclude_fields",
            "in": "query",
            "description": "Complex attributes to be excluded from the response.See clause 6.18 in ETSI GS MEC 009",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "exclude_default",
            "in": "query",
            "description": "Indicates to exclude the following complex attributes from the response  See clause 6.18 in ETSI GS MEC 011 for details.",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A response body containing  zero or more adjacent application instances",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdjacentAppInstanceInfo"
                  },
                  "description": "",
                  "contentMediaType": "application/json"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized :  used when the client did not submit credentials.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden :  operation is not allowed given the current status of the resource.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "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"
                }
              }
            }
          },
          "406": {
            "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"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests : used when a rate limiter has triggered.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "deprecated": false
      },
      "parameters": []
    },
Elian Kraja's avatar
Elian Kraja committed
    "/app_mobility_services": {
      "get": {
        "tags": [
          "app-mob-ser"
        ],
        "summary": "Retrieve information about the registered application mobility service.",
Elian Kraja's avatar
Elian Kraja committed
        "description": " Retrieve information about the registered application mobility service.",
        "operationId": "app_mobility_serviceGET",
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "description": "Attribute-based filtering parameters according to ETSI GS MEC 011",
            "style": "form",
            "explode": true,
Elian Kraja's avatar
Elian Kraja committed
            "schema": {
              "type": "string"
Elian Kraja's avatar
Elian Kraja committed
          },
          {
            "name": "all_fields",
            "in": "query",
            "description": "Include all complex attributes in the response.",
            "style": "form",
            "explode": true,
Elian Kraja's avatar
Elian Kraja committed
            "schema": {
              "type": "string"
Elian Kraja's avatar
Elian Kraja committed
          },
          {
            "name": "fields",
            "in": "query",
            "description": "Complex attributes to be included into the response. See clause 6.18 in ETSI GS MEC 011",
            "style": "form",
            "explode": true,
Elian Kraja's avatar
Elian Kraja committed
            "schema": {
              "type": "string"
Elian Kraja's avatar
Elian Kraja committed
          },
          {
            "name": "exclude_fields",
            "in": "query",
            "description": "Complex attributes to be excluded from the response.See clause 6.18 in ETSI GS MEC 011",
            "style": "form",
            "explode": true,
Elian Kraja's avatar
Elian Kraja committed
            "schema": {
              "type": "string"
Elian Kraja's avatar
Elian Kraja committed
          },
          {
            "name": "exclude_default",
            "in": "query",
            "description": "Indicates to exclude the following complex attributes from the response  See clause 6.18 in ETSI GS MEC 011 for details.",
            "style": "form",
            "explode": true,
Elian Kraja's avatar
Elian Kraja committed
            "schema": {
              "type": "string"
Elian Kraja's avatar
Elian Kraja committed
          }
        ],
        "responses": {
          "200": {
            "description": "Contains in an array the representations of zero or more application mobility services.",
            "headers": {},
Elian Kraja's avatar
Elian Kraja committed
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RegistrationInfo"
                  },
                  "description": "",
                  "contentMediaType": "application/json"
Elian Kraja's avatar
Elian Kraja committed
                }
              }
            }
          },
          "400": {
            "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "401": {
            "description": "Unauthorized :  used when the client did not submit credentials.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "403": {
            "description": "Forbidden :  operation is not allowed given the current status of the resource.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "404": {
            "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"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "406": {
            "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"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "429": {
            "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
          }
        },
        "deprecated": false
Elian Kraja's avatar
Elian Kraja committed
      },
      "post": {
        "tags": [
          "app-mob-ser"
        ],
        "summary": "Create a new application mobility service for the service requester.",
        "description": "Create a new application mobility service for the service requester.",
        "operationId": "app_mobility_servicePOST",
        "parameters": [],
Elian Kraja's avatar
Elian Kraja committed
        "requestBody": {
          "description": "Application mobility service to be created",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegistrationInfo"
              }
            }
          },
          "required": true
Elian Kraja's avatar
Elian Kraja committed
        },
        "responses": {
          "201": {
            "description": "Successful response for application mobility service creation",
            "headers": {},
Elian Kraja's avatar
Elian Kraja committed
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegistrationInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "401": {
            "description": "Unauthorized :  used when the client did not submit credentials.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "403": {
            "description": "Forbidden :  operation is not allowed given the current status of the resource.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "404": {
            "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"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "406": {
            "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"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "429": {
            "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
          }
        },
        "deprecated": false
      },
      "parameters": []
Elian Kraja's avatar
Elian Kraja committed
    },
    "/app_mobility_services/{appMobilityServiceId}": {
      "get": {
        "tags": [
          "app-mob-ser"
        ],
        "summary": "Retrieve information about this individual application mobility service",
        "description": "Retrieve information about this individual application mobility service",
        "operationId": "app_mobility_service_by_idGET",
        "parameters": [
          {
            "name": "appMobilityServiceId",
            "in": "path",
            "description": "It uniquely identifies the created individual application mobility service",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
            }
          }
        ],
Elian Kraja's avatar
Elian Kraja committed
        "responses": {
          "200": {
            "description": "Contains a representation of the application mobility service.",
            "headers": {},
Elian Kraja's avatar
Elian Kraja committed
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegistrationInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "401": {
            "description": "Unauthorized :  used when the client did not submit credentials.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "403": {
            "description": "Forbidden :  operation is not allowed given the current status of the resource.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "404": {
            "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"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "406": {
            "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"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "429": {
            "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
          }
        },
        "deprecated": false
Elian Kraja's avatar
Elian Kraja committed
      },
      "put": {
        "tags": [
          "app-mob-ser"
        ],
        "summary": " update the existing individual application mobility service",
        "description": " update the existing individual application mobility service",
        "operationId": "app_mobility_service_by_idPUT",
        "parameters": [
          {
            "name": "appMobilityServiceId",
            "in": "path",
            "description": "It uniquely identifies the created individual application mobility service",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
            }
          }
        ],
Elian Kraja's avatar
Elian Kraja committed
        "requestBody": {
          "description": "",
Elian Kraja's avatar
Elian Kraja committed
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegistrationInfo"
              }
            }
          },
          "required": true
Elian Kraja's avatar
Elian Kraja committed
        },
        "responses": {
          "200": {
            "description": "Contains a data type describing the updated application mobility service.",
            "headers": {},
Elian Kraja's avatar
Elian Kraja committed
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegistrationInfo"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "401": {
            "description": "Unauthorized :  used when the client did not submit credentials.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "403": {
            "description": "Forbidden :  operation is not allowed given the current status of the resource.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "404": {
            "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"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "406": {
            "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"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "412": {
            "description": "Precondition failed :  used when a condition has failed during conditional requests, e.g. when using ETags to avoid write conflicts when using PUT",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "422": {
            "description": "Unprocessable Entity : used to indicate that the server understands the content type of the request entity and that the syntax of the request entity is correct but that the server is unable to process the contained instructions. This error condition can occur if an JSON request body is syntactically correct but semantically incorrect, for example if the target area for the request is considered too large. This error condition can also occur if the capabilities required by the request are not supported.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "429": {
            "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
          }
        },
        "deprecated": false
Elian Kraja's avatar
Elian Kraja committed
      },
      "delete": {
        "tags": [
          "app-mob-ser"
        ],
        "summary": " deregister the individual application mobility service",
        "description": " deregister the individual application mobility service",
        "operationId": "app_mobility_service_by_idDELETE",
        "parameters": [
          {
            "name": "appMobilityServiceId",
            "in": "path",
            "description": "It uniquely identifies the created individual application mobility service",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
            }
          }
        ],
Elian Kraja's avatar
Elian Kraja committed
        "responses": {
          "204": {
            "description": "No Content",
            "headers": {},
            "content": {}
Elian Kraja's avatar
Elian Kraja committed
          },
          "401": {
            "description": "Unauthorized :  used when the client did not submit credentials.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "403": {
            "description": "Forbidden :  operation is not allowed given the current status of the resource.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "404": {
            "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"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "429": {
            "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
          }
        },
        "deprecated": false
      },
      "parameters": []
Elian Kraja's avatar
Elian Kraja committed
    },
    "/app_mobility_services/{appMobilityServiceId}/deregister_task": {
      "post": {
        "tags": [
          "app-mob-ser-der"
        ],
        "summary": " deregister the individual application mobility service",
        "description": " deregister the individual application mobility service",
        "operationId": "app_mobility_service_derPOST",
        "parameters": [
          {
            "name": "appMobilityServiceId",
            "in": "path",
            "description": "It uniquely identifies the created individual application mobility service",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
            }
          }
        ],
Elian Kraja's avatar
Elian Kraja committed
        "responses": {
          "204": {
            "description": "No Content",
            "headers": {},
            "content": {}
Elian Kraja's avatar
Elian Kraja committed
          },
          "401": {
            "description": "Unauthorized :  used when the client did not submit credentials.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "403": {
            "description": "Forbidden :  operation is not allowed given the current status of the resource.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "404": {
            "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"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "406": {
            "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"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "429": {
            "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
          }
        },
        "deprecated": false
      },
      "parameters": []
Elian Kraja's avatar
Elian Kraja committed
    },
    "/subscriptions": {
Elian Kraja's avatar
Elian Kraja committed
      "get": {
        "tags": [
          "subscriptions"
        ],
        "summary": "Retrieve information about the subscriptions for this requestor.",
        "description": "Retrieve information about the subscriptions for this requestor.",
        "operationId": "subGET",
        "parameters": [
          {
            "name": "subscriptionType",
            "in": "query",
Elian Kraja's avatar
Elian Kraja committed
            "description": "Query parameter to filter on a specific subscription type. Permitted values: mobility_proc or adj_app_info",
            "required": true,
            "style": "form",
            "explode": true,
Elian Kraja's avatar
Elian Kraja committed
            "schema": {
              "type": "string"
Elian Kraja's avatar
Elian Kraja committed
          }
        ],
        "responses": {
          "200": {
            "description": "Contains  the list of links to requestor subscriptions.",
            "headers": {},
Elian Kraja's avatar
Elian Kraja committed
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionLinkList"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "401": {
            "description": "Unauthorized :  used when the client did not submit credentials.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "403": {
            "description": "Forbidden :  operation is not allowed given the current status of the resource.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "404": {
            "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"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "406": {
            "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"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },
          "429": {
            "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
          }
        },
        "deprecated": false
Elian Kraja's avatar
Elian Kraja committed
      },
      "post": {
        "tags": [
          "subscriptions"
        ],
        "summary": "Create a new subscription to Application Mobility Service notifications.",
        "description": "Create a new subscription to Application Mobility Service notifications.",
        "operationId": "subPOST",
        "parameters": [],
Elian Kraja's avatar
Elian Kraja committed
        "requestBody": {
          "description": "",
Elian Kraja's avatar
Elian Kraja committed
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/MobilityProcedureSubscription"
                  },
                  {
                    "$ref": "#/components/schemas/AdjacentAppInfoSubscription"
                  }
                ],
                "contentMediaType": "application/json"
Elian Kraja's avatar
Elian Kraja committed
              }
            }
          },
          "required": true
Elian Kraja's avatar
Elian Kraja committed
        },
        "responses": {
          "201": {
            "description": "Created subscription is described using the appropriate data type",
            "headers": {},
Elian Kraja's avatar
Elian Kraja committed
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/MobilityProcedureSubscription"
                    },
                    {
                      "$ref": "#/components/schemas/AdjacentAppInfoSubscription"
                    }
                  ],
                  "contentMediaType": "application/json"
Elian Kraja's avatar
Elian Kraja committed
                }
              }
            }
          },
          "400": {
            "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
Elian Kraja's avatar
Elian Kraja committed
          },