@@ -4,8 +4,8 @@ This repository contains OpenAPIs descriptions for the interfaces specified in E
## Online resources
*[Navigate the API in the browser](https://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/raw/develop/UEAppInterfaceApi.yaml).
*[Edit the API online](https://forge.etsi.org/swagger/editor/?url=https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/raw/develop/UEAppInterfaceApi.yaml).
*[Navigate the API in the browser](https://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/raw/stf593/UEAppInterfaceApi.yaml).
*[Edit the API online](https://forge.etsi.org/swagger/editor/?url=https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/raw/stf593/UEAppInterfaceApi.yaml).
"description":"The response body contains an array of the user applications available to the querying device application.",
"content":{
"application/json":{
"schema":{
"type":"object",
"properties":{
"applicationList":{
"$ref":"#/components/schemas/ApplicationList"
}
}
}
}
}
},
"400":{
"$ref":"#/components/responses/Error.400"
"$ref":"#/components/responses/400"
},
"401":{
"$ref":"#/components/responses/Error.401"
"$ref":"#/components/responses/401"
},
"403":{
"$ref":"#/components/responses/Error.403"
"$ref":"#/components/responses/403"
},
"404":{
"$ref":"#/components/responses/Error.404"
"$ref":"#/components/responses/404"
}
}
}
},
"/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.",
"operationId":"AppContext_POST",
"tags":[
"appContext"
""
],
"summary":"Creation of a new application context.",
"description":"Used to create a new application context. Upon success, the response contains entity body describing the created application context.",
"operationId":"devAppContextsGET",
"requestBody":{
"$ref":"#/components/requestBodies/AppContext"
"description":"Entity body in the request contains the Application Context as requested by the device application.",
"required":true,
"content":{
"application/json":{
"schema":{
"type":"object",
"properties":{
"appContext":{
"$ref":"#/components/schemas/AppContext"
}
}
}
}
}
},
"parameters":[],
"responses":{
"201":{
"$ref":"#/components/responses/AppContext"
"description":"The response body contains the Application Context as it was created by the MEC system, which includes the reference URI(s) of the associated user application instance(s). The URI of the resource created within the MEC system associated with the request, with its specific application context ID, shall be included in the 'Location' HTTP header of the response.",
"content":{
"application/json":{
"schema":{
"type":"object",
"properties":{
"appContext":{
"$ref":"#/components/schemas/AppContext"
}
}
}
}
}
},
"400":{
"$ref":"#/components/responses/Error.400"
"$ref":"#/components/responses/400"
},
"401":{
"$ref":"#/components/responses/Error.401"
"$ref":"#/components/responses/401"
},
"403":{
"$ref":"#/components/responses/Error.403"
"$ref":"#/components/responses/403"
},
"404":{
"$ref":"#/components/responses/Error.404"
"$ref":"#/components/responses/404"
}
},
"callbacks":{
"referenceURI":{
"$ref":"#/components/callbacks/NotificationEvent"
"notification":{
"{$request.body#/appContext.callbackReference}":{
"post":{
"summary":"Callback POST used to send a notification",
"description":"Notification with content based on subscription type",
"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.",
"operationId":"AppContextId_PUT",
"tags":[
"appContext"
""
],
"summary":"Updating the callbackReference and/or appLocation of an existing application context.",
"description":"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.",
"operationId":"devAppContextPUT",
"requestBody":{
"$ref":"#/components/requestBodies/AppContext"
"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":{
"description":"No Content."
"$ref":"#/components/responses/204"
},
"400":{
"$ref":"#/components/responses/Error.400"
"$ref":"#/components/responses/400"
},
"401":{
"$ref":"#/components/responses/Error.401"
"$ref":"#/components/responses/401"
},
"403":{
"$ref":"#/components/responses/Error.403"
"$ref":"#/components/responses/403"
},
"404":{
"$ref":"#/components/responses/Error.404"
}
},
"callbacks":{
"referenceURI":{
"$ref":"#/components/callbacks/NotificationEvent"
"$ref":"#/components/responses/404"
}
}
},
"delete":{
"description":"The DELETE method is used to delete the resource that represents the existing application context.",
"operationId":"AppContextId_DEL",
"tags":[
"appContext"
""
],
"summary":"Deletion of an existing application context.",
"description":"Used to delete the resource that represents the existing application context.",
"operationId":"devAppContextDELETE",
"parameters":[
{
"$ref":"#/components/parameters/Path.contextId"
}
],
"responses":{
"204":{
"description":"No Content"
"$ref":"#/components/responses/204"
},
"400":{
"$ref":"#/components/responses/Error.400"
"$ref":"#/components/responses/400"
},
"401":{
"$ref":"#/components/responses/Error.401"
"$ref":"#/components/responses/401"
},
"403":{
"$ref":"#/components/responses/Error.403"
"$ref":"#/components/responses/403"
},
"404":{
"$ref":"#/components/responses/Error.404"
}
"$ref":"#/components/responses/404"
}
}
}
},
"components":{
"callbacks":{
"NotificationEvent":{
"{$request.body#/callbackReference}":{
"/obtain_app_loc_availability":{
"post":{
"description":"Used by the UALCMP to inform the UE application of a modification to reference URI of the user application.",
"operationId":"NotificationEvent_POST",
"tags":[
"callback"
""
],
"summary":"Obtain the location constraints for a new application context.",
"description":"Used to obtain the locations available for instantiation of a specific user application in the MEC system.",
"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":"Upon success, a response 204 No Content without any response body is returned."
},
"400":{
"description":"Bad Request : used to indicate that incorrect parameters were passed to the request.",
"content":{
"application/json":{
"schema":{
"type":"object",
"properties":{
"problemDetails":{
"$ref":"#/components/schemas/ProblemDetails"
}
}
}
}
}
},
"links":{
"PutAppContext":{
"operationId":"AppContextId_PUT",
"description":"The `contextId` value returned in the response can be used as the `contextId` parameter in `PUT /app_contexts/{contextId}`",
"parameters":{
"contextId":"$response.body#/contextId"
"401":{
"description":"Unauthorized : used when the client did not submit credentials.",
"content":{
"application/json":{
"schema":{
"type":"object",
"properties":{
"problemDetails":{
"$ref":"#/components/schemas/ProblemDetails"
}
}
}
}
}
},
"DelAppContext":{
"operationId":"AppContextId_DEL",
"description":"The `contextId` value returned in the response can be used as the `contextId` parameter in `DELETE /app_contexts/{contextId}`",
"parameters":{
"contextId":"$response.body#/contextId"
"403":{
"description":"Forbidden : operation is not allowed given the current status of the resource.",
"content":{
"application/json":{
"schema":{
"type":"object",
"required":[
"problemDetails"
],
"properties":{
"problemDetails":{
"$ref":"#/components/schemas/ProblemDetails"
}
}
}
}
}
},
"404":{
"description":"Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.",
"content":{
"application/json":{
"schema":{
"type":"object",
"properties":{
"problemDetails":{
"$ref":"#/components/schemas/ProblemDetails"
}
}
}
}
}
}
},
"parameters":{
"Query.AppName":{
"Query.appName":{
"name":"appName",
"in":"query",
"description":"Name to identify the MEC application",
"description":"Name to identify the MEC application.",
"required":false,
"schema":{
"type":"array",
"items":{
"type":"string"
"type":"string",
"maxLength":32
}
}
},
"Query.AppProvider":{
"Query.appProvider":{
"name":"appProvider",
"in":"query",
"description":"Provider of the MEC application",
"description":"Provider of the MEC application.",
"required":false,
"schema":{
"type":"array",
"items":{
"type":"string"
"type":"string",
"maxLength":32
}
}
},
"Query.AppSoftVersion":{
"Query.appSoftVersion":{
"name":"appSoftVersion",
"in":"query",
"description":"Software version of the MEC application",
"description":"Software version of the MEC application.",
"required":false,
"schema":{
"type":"array",
"items":{
"type":"string"
"type":"string",
"maxLength":32
}
}
},
"Query.ServiceCont":{
"name":"serviceCont",
"Query.vendorId":{
"name":"vendorId",
"in":"query",
"description":"Required service continuity mode for this application",
"description":"Vendor identifier",
"required":false,
"schema":{
"type":"array",
"items":{
"type":"string",
"enum":[
"SERVICE_CONTINUITY_NOT_REQUIRED",
"SERVICE_CONTINUITY_REQUIRED"
]
"maxLength":32
}
}
},
"Query.VendorId":{
"name":"vendorId",
"Query.serviceCont":{
"name":"serviceCont",
"in":"query",
"description":"Vendor identifier",
"description":"Required service continuity mode for this application. Permitted values: 0 = SERVICE_CONTINUITY_NOT_REQUIRED. 1 = SERVICE_CONTINUITY_REQUIRED.",
"required":false,
"schema":{
"type":"array",
"items":{
"type":"string"
}
"type":"integer",
"enum":[
0,
1
]
}
},
"Path.ContextId":{
"Path.contextId":{
"name":"contextId",
"in":"path",
"description":"Uniquely identifies the application context in the MEC system. It is assigned by the MEC system and included in the response to an AppContext create.",
"description":"Uniquely identifies the application context in the MEC system. It is assigned by the MEC system.",
"required":true,
"schema":{
"type":"string"
}
}
},
"requestBodies":{
"AppContext":{
"description":"Uniquely identifies the application context in the MEC system. It is assigned by the MEC system and included in the response to an AppContext create.",