description:The response body contains an array of the user applications available to the querying device application.
content:
application/json:
schema:
$ref:"#/components/schemas/ApplicationList"
"400":
$ref:"#/components/responses/400"
"401":
$ref:"#/components/responses/401"
"403":
$ref:'#/components/responses/403'
"404":
type:object
properties:
ApplicationList:
$ref:'#/components/schemas/ApplicationList'
'400':
$ref:'#/components/responses/400'
'401':
$ref:'#/components/responses/401'
'404':
$ref:'#/components/responses/404'
'403':
$ref:'#/components/responses/403'
/app_contexts:
post:
summary:For requesting the creation of a new application context.
description:The POST method is used to create a new application context. Upon success, the response contains entity body describing the created application context.
summary:For updating the callbackReference and/or appLocation of an existing application context.
description:The PUT method is used to update the callback reference and/or application location constraints of an existing application context. Upon successful operation, the target resource is updated with the new application context information.
description:Only the callbackReference and/or appLocation attribute values are allowed to be updated. Other attributes and their values shall remain untouched.
required:true
content:
application/json:
schema:
type:object
properties:
AppContext:
$ref:'#/components/schemas/AppContext'
parameters:
-$ref:'#/components/parameters/Path.contextId'
responses:
"204":
$ref:'#/components/responses/204'
"400":
'204':
description:Upon success, a response 204 No Content without any response body is returned.
content:
application/json:
schema:
type:object
properties:{}
'400':
$ref:'#/components/responses/400'
"401":
'401':
$ref:'#/components/responses/401'
"403":
$ref:'#/components/responses/403'
"404":
'404':
$ref:'#/components/responses/404'
'403':
$ref:'#/components/responses/403'
parameters:
-name:contextId
in:path
required:true
description:The unique identifier of the contextId.
schema:
type:string
delete:
summary:For requesting the deletion of an existing application context.
description:The DELETE method is used to delete the resource that represents the existing application context.
description:Entity body in the request contains the user application information for the MEC system to evaluate the locations available for instantiation of that application.
description:Used by the device application to request to receive notifications at the callbackReference URI relating to location availability for user application instantiation.
type:boolean
appAutoInstantiation:
description:Provides indication to the MEC system that instantiation of the requested application is desired should a requested appLocation become available that was not at the time of the request.
description:Provides indication to the MEC system that instantiation of the requested application is desired should a requested appLocation become available that was not at the time of the request.
description:Shall be set to "ApplicationContextUpdateNotification".
type:string
x-etsi-mec-cardinality:0..1
x-etsi-mec-origin-type:String
appLocation:
$ref:'#/components/schemas/LocationConstraints'
# description: 'Location of the user application instance. For a user application not provided by the requesting device application it shall match one of the appLocations in ApplicationList.'
description:Uniquely identifies the application context in the MEC system.
type:string
x-etsi-mec-cardinality:0..1
x-etsi-mec-origin-type:URI
minItems:1
userAppInstanceInfo:
type:array
x-etsi-mec-cardinality:1..N
x-etsi-mec-origin-type:array (Structure inlined)
items:
$ref:'#/components/schemas/UserAppInstanceInfo1'
required:
-appName
-appProvider
-appDVersion
-notificationType
-contextId
-userAppInstanceInfo
ApplicationLocationAvailabilityNotification:
x-etsi-ref:6.4.5
type:object
x-etsi-mec-cardinality:'1'
x-etsi-mec-origin-type:Structure (inlined)
appLocationUpdates:
description:Used by the device application to request to receive notifications at the callbackReference URI relating to location availability for user application instantiation.
description:Uniquely identifies the application context that has been deleted from the MEC system.
type:string
x-etsi-mec-cardinality:'1'
x-etsi-mec-origin-type:String
notificationType:
description:Shall be set to "ApplicationContextDeleteNotification".
description:Shall be set to "ApplicationLocationAvailabilityNotification".
type:string
x-etsi-mec-cardinality:'1'
x-etsi-mec-origin-type:String
required:
-notificationType
-contextId
type:object
x-etsi-ref:6.4.3
ApplicationContextUpdateNotification:
properties:
contextId:
description:Uniquely identifies the application context in the MEC system.
type:string
x-etsi-mec-cardinality:'1'
x-etsi-mec-origin-type:String
notificationType:
description:Shall be set to "ApplicationContextUpdateNotification".
type:string
x-etsi-mec-cardinality:'1'
x-etsi-mec-origin-type:String
userAppInstanceInfo:
description:List of user application instance information.
availableLocations:
type:array
items:
$ref:'#/components/schemas/AvailableLocations1'
required:
-notificationType
-availableLocations
LocationConstraints:
x-etsi-ref:6.5.2
type:object
properties:
appInstanceId:
description:Identifier of the user application instance.
type:string
x-etsi-mec-cardinality:'1'
x-etsi-mec-origin-type:String
appLocation:
$ref:'#/components/schemas/LocationConstraints'
# description: Location of the user application instance.
# x-etsi-mec-cardinality: 0..1
# x-etsi-mec-origin-type: LocationConstraints
referenceURI:
description:Address of the user application instance.
format:uri
countryCode:
description:The two-letter ISO 3166 [7] country code in capital letters. Shall be present in case the "area" attribute is absent. May be absent if the "area" attribute is present (see note).
description:Identifies the version of the application descriptor. It is equivalent to the appDVersion defined in clause 6.2.1.2 of ETSI GS MEC 0102 [1].
type:string
x-etsi-mec-cardinality:'1'
x-etsi-mec-origin-type:String
appDescription:
description:Human readable description of the MEC application (see note 2).
type:string
maxLength:128
x-etsi-mec-cardinality:'1'
x-etsi-mec-origin-type:String
appLocation:
description:Identifies the locations of the MEC application.
description:Location of the user application instance. For a user application not provided by the requesting device application it shall match one of the appLocations in ApplicationList.
# description: "Geographic area. Shall be absent if the \"civicAddressElement\" attribute is present. The content of this attribute shall follow the provisions for the \"Polygon\" geometry object as defined in IETF RFC 7946 [8], for which the \"type\" member shall be set to the value \"Polygon\". See note."
# x-etsi-mec-cardinality: 0..1
# x-etsi-mec-origin-type: Polygon
civicAddressElement:
-appLocation
CivicAddressElement:
description:Zero or more elements comprising the civic address. Shall be absent if the "area" attribute is present.
description:The two-letter ISO 3166 [7] country code in capital letters. Shall be present in case the "area" attribute is absent. May be absent if the "area" attribute is present (see note).