description:AdvantEDGE implementation to create an Application Instance information using OpenAPI. Developed as an extension to Application Enablement API.
A URI reference according to IETF RFC 3986 that identifies the problem
type
LocalityType:
description:The scope of locality as expressed by "consumedLocalOnly" and "isLocal". If absent, defaults to MEC_HOST
type:string
enum:
-MEC_SYSTEM
-MEC_HOST
-NFVI_POP
-ZONE
-ZONE_GROUP
-NFVI_NODE
example:'MEC_SYSTEM'
ApplicationState:
description:This enumeration defines the possible states of an application.
type:string
enum:
-ACTIVE
-INACTIVE
example:'ACTIVE'
ApplicationInfo:
description:This type represents the general information of a MEC application.
type:object
required:
-appInstanceId
-state
properties:
appInstanceId:
description:Application Instance Id
type:string
appName:
description:Application Name
type:string
appLocality:
description:Application Locality
type:string
mepName:
description:Mep Name on which the application is running
type:string
version:
description:Application Version
type:string
state:
$ref:'#/definitions/ApplicationState'
example:
appInstanceId:'ApplicationInstance123'
appName:'MyAppName'
version:'ApplicationVersion1'
state:'ACTIVE'
responses:
Applications.200:
description:>-
It is used to indicate nonspecific success. The response body
contains a representation of the resource.
schema:
type:array
minItems:0
items:
$ref:'#/definitions/ApplicationInfo'
Application.201:
description:>-
Upon success, the HTTP response shall include a Location HTTP header
that contains the resource URI of the created resource.
headers:
location:
description:The resource URI of the created resource
type:string
format:uri
schema:
$ref:'#/definitions/ApplicationInfo'
ApplicationAppInstanceId.200:
description:>-
It is used to indicate nonspecific success. The response body
contains a representation of the resource.
schema:
$ref:'#/definitions/ApplicationInfo'
Error.400:
description:>-
Bad Request.
It is used to indicate that incorrect parameters were passed to the request.
schema:
$ref:'#/definitions/ProblemDetails'
Error.401:
description:>-
Unauthorized.
It is used when the client did not submit the appropriate credentials.
schema:
$ref:'#/definitions/ProblemDetails'
Error.403:
description:>-
Forbidden.
The operation is not allowed given the current status of the resource.
schema:
$ref:'#/definitions/ProblemDetails'
Error.404:
description:>-
Not Found.
It is used when a client provided a URI that cannot be mapped
to a valid resource URI.
schema:
$ref:'#/definitions/ProblemDetails'
Error.409:
description:>-
Conflict.
The operation cannot be executed currently, due to a conflict with
the state of the resource. Typically, this is because the application
instance resource is in NOT_INSTANTIATED state.
schema:
$ref:'#/definitions/ProblemDetails'
Error.412:
description:>-
Precondition Failed.
It is used when a condition has failed during conditional requests,
e.g. when using ETags to avoid write conflicts.
schema:
$ref:'#/definitions/ProblemDetails'
Error.414:
description:>-
It is used to indicate that the server is refusing to process the request because the request URI is longer than the server is willing or able to process.