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
version:
description:Application Version
type:string
state:
$ref:'#/components/schemas/ApplicationState'
parameters:
Path.AppInstanceId:
name:appInstanceId
description:>-
Represents a MEC application instance. Note that the
appInstanceId is allocated by the MEC application manager POST method.
in:path
required:true
schema:
type:string
Query.App_name:
name:app_name
description:>-
A MEC application manager may use app_name as an input
parameter to query the existence of a list of MEC application
instances with the same name.
in:query
required:false
schema:
type:string
Query.App_state:
name:app_state
description:>-
A MEC application manager may use app_state as an input
parameter to query the state of a list of MEC application
instances with the same state.
in:query
required:false
schema:
type:string
responses:
Applications.200:
description:>-
It is used to indicate nonspecific success. The response body
contains a representation of the resource.
content:
application/json:
schema:
type:array
minItems:0
items:
$ref:'#/components/schemas/ApplicationInfo'
examples:
ApplicationInfoList:
$ref:'#/components/examples/ApplicationInfoList'
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
schema:
type:string
format:uri
content:
application/json:
schema:
$ref:'#/components/schemas/ApplicationInfo'
examples:
ServiceInfo:
$ref:'#/components/examples/ApplicationInfo'
ApplicationAppInstanceId.200:
description:>-
It is used to indicate nonspecific success. The response body
contains a representation of the resource.
content:
application/json:
schema:
$ref:'#/components/schemas/ApplicationInfo'
examples:
ServiceInfo:
$ref:'#/components/examples/ApplicationInfo'
Error.400:
description:>-
Bad Request.
It is used to indicate that incorrect parameters were passed to the request.
content:
application/problem+json:
schema:
$ref:'#/components/schemas/ProblemDetails'
text/plain:
schema:
$ref:'#/components/schemas/Empty'
Error.401:
description:>-
Unauthorized.
It is used when the client did not submit the appropriate credentials.
content:
application/problem+json:
schema:
$ref:'#/components/schemas/ProblemDetails'
text/plain:
schema:
$ref:'#/components/schemas/Empty'
Error.403:
description:>-
Forbidden.
The operation is not allowed given the current status of the resource.
content:
application/problem+json:
schema:
$ref:'#/components/schemas/ProblemDetails'
Error.404:
description:>-
Not Found.
It is used when a client provided a URI that cannot be mapped
to a valid resource URI.
content:
application/problem+json:
schema:
$ref:'#/components/schemas/ProblemDetails'
text/plain:
schema:
$ref:'#/components/schemas/Empty'
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.
content:
application/problem+json:
schema:
$ref:'#/components/schemas/ProblemDetails'
text/plain:
schema:
$ref:'#/components/schemas/Empty'
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.
content:
application/problem+json:
schema:
$ref:'#/components/schemas/ProblemDetails'
text/plain:
schema:
$ref:'#/components/schemas/Empty'
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.
content:
application/problem+json:
schema:
$ref:'#/components/schemas/ProblemDetails'
text/plain:
schema:
$ref:'#/components/schemas/Empty'
Error.429:
description:>-
Too Many Requests.
It is used when a rate limiter has triggered.
content:
application/problem+json:
schema:
$ref:'#/components/schemas/ProblemDetails'
text/plain:
schema:
$ref:'#/components/schemas/Empty'
requestBodies:
ApplicationInfo:
content:
application/json:
schema:
$ref:'#/components/schemas/ApplicationInfo'
description:>-
New ApplicationInfo with updated "state" is included as entity body of the