Commit 835c6dc9 authored by Walter Featherstone's avatar Walter Featherstone
Browse files

Updated to V1.0.1 release MEC(17)000425 and corrected unit32



Change-Id: I22e483d2dbfb9a1db177de200811495dc8def676
Signed-off-by: Walter Featherstone's avatarfeatherstone <walter.featherstone@viavisolutions.com>
parent e36bb31a
{
"swagger": "2.0",
"info": {
"description": "An initial attempt to describe the MEC UE Application Interface API using OpenAPI",
"version": "0.3.1",
"title": "UE Application Interface API",
"license": {
"name": "ETSI Forge copyright notice",
"url": "https://forge.etsi.org/etsi-forge-copyright-notice.txt"
}
},
"externalDocs": {
"description": "ETSI MEC016 V0.3.1 UE Application Interface API",
"url": "https://docbox.etsi.org/ISG/MEC/70-Draft/0016UEAppInterface"
},
"host": "127.0.0.1:8081",
"basePath": "/mx2/v1",
"schemes": [
"http",
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"OauthSecurity": [
"all"
]
}
],
"securityDefinitions": {
"OauthSecurity": {
"type": "oauth2",
"flow": "application",
"tokenUrl": "https://oauth.exampleAPI/token",
"scopes": {
"all": "Single oauth2 scope for API"
}
}
"swagger": "2.0",
"info": {
"description": "The ETSI MEC ISG MEC016 UE Application Interface API described using OpenAPI",
"version": "1.0.1",
"title": "UE Application Interface API",
"license": {
"name": "ETSI Forge copyright notice",
"url": "https://forge.etsi.org/etsi-forge-copyright-notice.txt"
}
},
"externalDocs": {
"description": "ETSI GS MEC016 UE Application Interface API, V1.0.1",
"url": "https://docbox.etsi.org/ISG/MEC/70-Draft/0016UEAppInterface"
},
"host": "127.0.0.1:8081",
"basePath": "/mx2/v1",
"schemes": [
"http",
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"OauthSecurity": [
"all"
]
}
],
"securityDefinitions": {
"OauthSecurity": {
"type": "oauth2",
"flow": "application",
"tokenUrl": "https://oauth.exampleAPI/token",
"scopes": {
"all": "Single oauth2 scope for API"
}
}
},
"parameters": {
"Query.AppName": {
"name": "appName",
"in": "query",
"description": "Name to identify the mobile edge application",
"required": false,
"type": "array",
"items": {
"type": "string"
}
},
"Query.AppProvider": {
"name": "appProvider",
"in": "query",
"description": "Provider of the mobile edge application",
"required": false,
"type": "array",
"items": {
"type": "string"
}
},
"parameters": {
"Query.AppName": {
"name": "appName",
"in": "query",
"description": "Name to identify the mobile edge application",
"required": false,
"type": "array",
"items": {
"type": "string"
"Query.AppSoftVersion": {
"name": "appSoftVersion",
"in": "query",
"description": "Software version of the mobile edge application",
"required": false,
"type": "array",
"items": {
"type": "string"
}
},
"Query.ServiceCont": {
"name": "serviceCont",
"in": "query",
"description": "Required service continuity mode for this application",
"required": false,
"type": "string",
"enum": [
"SERVICE_CONTINUITY_NOT_REQUIRED",
"SERVICE_CONTINUITY_REQUIRED"
]
},
"Body.AppContext": {
"name": "appContext",
"in": "body",
"description": "Uniquely identifies the application context in the mobile edge system. It is assigned by the mobile edge system and included in the response to an AppContext create.",
"required": true,
"schema": {
"$ref": "#/definitions/AppContext"
}
},
"Query.VendorId": {
"name": "vendorId",
"in": "query",
"description": "Vendor identifier",
"required": false,
"type": "array",
"items": {
"type": "string"
}
},
"Path.ContextId": {
"name": "contextId",
"in": "path",
"description": "Uniquely identifies the application context in the mobile edge system. It is assigned by the mobile edge system and included in the response to an AppContext create.",
"required": true,
"type": "string"
}
},
"paths": {
"/app_list": {
"get": {
"description": "The GET method can be used to query information about the available mobile edge applications.",
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "#/parameters/Query.AppName"
},
{
"$ref": "#/parameters/Query.AppProvider"
},
{
"$ref": "#/parameters/Query.AppSoftVersion"
},
{
"$ref": "#/parameters/Query.ServiceCont"
},
{
"$ref": "#/parameters/Query.VendorId"
}
],
"responses": {
"200": {
"description": "The response body contains the ApplicationList resource available for the querying UE application",
"schema": {
"type": "object",
"required": [
"ApplicationList"
],
"properties": {
"ApplicationList": {
"$ref": "#/definitions/ApplicationList"
}
}
}
},
"Query.AppProvider": {
"name": "appProvider",
"in": "query",
"description": "Provider of the mobile edge application",
"required": false,
"type": "array",
"items": {
"type": "string"
},
"400": {
"description": "Incorrect parameters were passed in the request.More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"type": "object",
"properties": {
"ProblemDetails": {
"$ref": "#/definitions/ProblemDetails"
}
}
}
},
"Query.AppSoftVersion": {
"name": "appSoftVersion",
"in": "query",
"description": "Software version of the mobile edge application",
"required": false,
"type": "array",
"items": {
"type": "string"
},
"401": {
"description": "An erroneous or missing bearer token. More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"type": "object",
"properties": {
"ProblemDetails": {
"$ref": "#/definitions/ProblemDetails"
}
}
}
},
"Query.ServiceCont": {
"name": "serviceCont",
"in": "query",
"description": "Required service continuity mode for this application",
"required": false,
"type": "string",
"enum": [
"SERVICE_CONTINUITY_NOT_REQUIRED",
"SERVICE_CONTINUITY_REQUIRED"
]
},
"Body.AppContext": {
"name": "appContext",
"in": "body",
"description": "Uniquely identifies the application context in the mobile edge system. It is assigned by the mobile edge system and included in the response to an AppContext create.",
"required": true,
},
"403": {
"description": "The operation is not allowed given the current status of the resource. More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"$ref": "#/definitions/AppContext"
"type": "object",
"required": [
"ProblemDetails"
],
"properties": {
"ProblemDetails": {
"$ref": "#/definitions/ProblemDetails"
}
}
}
},
"Query.VendorId": {
"name": "vendorId",
"in": "query",
"description": "Vendor identifier",
"required": false,
"type": "array",
"items": {
"type": "string"
},
"404": {
"description": "The client provided a URI that cannot be mapped to a valid resource URL. More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"type": "object",
"properties": {
"ProblemDetails": {
"$ref": "#/definitions/ProblemDetails"
}
}
}
},
"Path.ContextId": {
"name": "contextId",
"in": "path",
"description": "Uniquely identifies the application context in the mobile edge system. It is assigned by the mobile edge system and included in the response to an AppContext create.",
"required": true,
"type": "string"
}
}
}
},
"paths": {
"/app_list": {
"get": {
"description": "The GET method can be used to query information about the available mobile edge applications.",
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "#/parameters/Query.AppName"
},
{
"$ref": "#/parameters/Query.AppProvider"
},
{
"$ref": "#/parameters/Query.AppSoftVersion"
},
{
"$ref": "#/parameters/Query.ServiceCont"
},
{
"$ref": "#/parameters/Query.VendorId"
}
],
"responses": {
"200": {
"description": "The response body contains the ApplicationList resource available for the querying UE application",
"schema": {
"required": [
"ApplicationList"
],
"properties": {
"ApplicationList": {
"$ref": "#/definitions/ApplicationList"
}
}
}
},
"400": {
"description": "Incorrect parameters were passed in the request.More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"properties": {
"ProblemDetails": {
"$ref": "#/definitions/ProblemDetails"
}
}
}
},
"401": {
"description": "An erroneous or missing bearer token. More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"properties": {
"ProblemDetails": {
"$ref": "#/definitions/ProblemDetails"
}
}
}
},
"403": {
"description": "The operation is not allowed given the current status of the resource. More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"required": [
"ProblemDetails"
],
"properties": {
"ProblemDetails": {
"$ref": "#/definitions/ProblemDetails"
}
}
}
},
"404": {
"description": "The client provided a URI that cannot be mapped to a valid resource URL. More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"properties": {
"ProblemDetails": {
"$ref": "#/definitions/ProblemDetails"
}
}
}
}
"/app_contexts": {
"post": {
"description": "The POST method can be used to create a new application context. Upon success, the response contains entity body describing the created application context.",
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "#/parameters/Body.AppContext"
}
],
"responses": {
"201": {
"description": "The response body contains the Application Context as it was created by the mobile edge system",
"schema": {
"type": "object",
"required": [
"AppContext"
],
"properties": {
"AppContext": {
"$ref": "#/definitions/AppContext"
}
}
}
},
"/app_contexts": {
"post": {
"description": "The POST method can be used to create a new application context. Upon success, the response contains entity body describing the created application context.",
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "#/parameters/Body.AppContext"
}
],
"responses": {
"201": {
"description": "The response body contains the Application Context as it was created by the mobile edge system",
"schema": {
"required": [
"AppContext"
],
"properties": {
"AppContext": {
"$ref": "#/definitions/AppContext"
}
}
}
},
"400": {
"description": "Incorrect parameters were passed in the request.More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"properties": {
"ProblemDetails": {
"$ref": "#/definitions/ProblemDetails"
}
}
}
},
"401": {
"description": "An erroneous or missing bearer token. More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"properties": {
"ProblemDetails": {
"$ref": "#/definitions/ProblemDetails"
}
}
}
},
"403": {
"description": "The operation is not allowed given the current status of the resource. More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"required": [
"ProblemDetails"
],
"properties": {
"ProblemDetails": {
"$ref": "#/definitions/ProblemDetails"
}
}
}
},
"404": {
"description": "The client provided a URI that cannot be mapped to a valid resource URL. More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"properties": {
"ProblemDetails": {
"$ref": "#/definitions/ProblemDetails"
}
}
}
}
},
"400": {
"description": "Incorrect parameters were passed in the request.More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"type": "object",
"properties": {
"ProblemDetails": {
"$ref": "#/definitions/ProblemDetails"
}
}
}
},
"/app_contexts/{contextId}": {
"put": {
"description": "The PUT method is used to update the callback reference of the existing application context. Upon successful operation, the target resource is updated with new callback reference. ",
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "#/parameters/Path.ContextId"
},
{
"$ref": "#/parameters/Body.AppContext"
}
],
"responses": {
"204": {
"description": "Upon success, a response 204 No Content without any response body is returned."
},
"400": {
"description": "Incorrect parameters were passed in the request.More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"properties": {
"ProblemDetails": {
"$ref": "#/definitions/ProblemDetails"
}
}
}
},
"401": {
"description": "An erroneous or missing bearer token. More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"properties": {
"ProblemDetails": {
"$ref": "#/definitions/ProblemDetails"
}
}
}
},
"403": {
"description": "The operation is not allowed given the current status of the resource. More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"required": [
"ProblemDetails"
],
"properties": {
"ProblemDetails": {
"$ref": "#/definitions/ProblemDetails"
}
}
}
},
"404": {
"description": "The client provided a URI that cannot be mapped to a valid resource URL. More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"properties": {
"ProblemDetails": {
"$ref": "#/definitions/ProblemDetails"
}
}
}
}
},
"401": {
"description": "An erroneous or missing bearer token. More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"type": "object",
"properties": {
"ProblemDetails": {
"$ref": "#/definitions/ProblemDetails"
}
},
"delete": {
"description": "The DELETE method is used to delete the resource that represents the existing application context.",
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "#/parameters/Path.ContextId"
}
],
"responses": {
"204": {
"description": "Upon success, a response 204 No Content without any response body is returned."
},
"400": {
"description": "Incorrect parameters were passed in the request. More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"properties": {
"ProblemDetails": {
"$ref": "#/definitions/ProblemDetails"
}
}
}
},
"401": {
"description": "An erroneous or missing bearer token. More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"properties": {
"ProblemDetails": {
"$ref": "#/definitions/ProblemDetails"
}
}
}
},
"403": {
"description": "The operation is not allowed given the current status of the resource. More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"required": [
"ProblemDetails"
],
"properties": {
"ProblemDetails": {
"$ref": "#/definitions/ProblemDetails"
}
}
}
},
"404": {
"description": "The client provided a URI that cannot be mapped to a valid resource URL. More information should be provided in the \"detail\" attribute of the \"ProblemDetails\" structure.",
"schema": {
"properties": {