Newer
Older
Walter Featherstone
committed
"openapi": "3.0.0",
"servers": [
{
"url": "http://127.0.0.1:8081/exampleAPI/mp1/v1/"
},
{
"url": "https://127.0.0.1:8081/exampleAPI/mp1/v1/"
}
],
"info": {
"title": "Mp1 API",
"version": "1.1.1",
"description": "The ETSI MEC ISG MEC011 Application Enablement API described using OpenAPI",
"license": {
"name": "ETSI Forge copyright notice",
"url": "https://forge.etsi.org/etsi-forge-copyright-notice.txt"
}
},
"externalDocs": {
"description": "ETSI GS MEC011 Application Enablement API, V1.1.1",
"url": "http://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/01.01.01_60/gs_mec011v010101p.pdf"
},
"paths": {
"/applications/{appInstanceId}/dns_rules": {
"parameters": [
{
Walter Featherstone
committed
"$ref": "#/components/parameters/Path.AppInstanceId"
}
],
"get": {
"description": "This method retrieves information about all the DNS rules associated with a mobile edge application instance.",
"operationId": "ApplicationsDnsRules.GET",
"responses": {
"200": {
Walter Featherstone
committed
"$ref": "#/components/responses/ApplicationsDnsRules.200"
Walter Featherstone
committed
"$ref": "#/components/responses/Error.400"
Walter Featherstone
committed
"$ref": "#/components/responses/Error.403"
Walter Featherstone
committed
"$ref": "#/components/responses/Error.404"
}
}
}
},
"/applications/{appInstanceId}/dns_rules/{dnsRuleId}": {
"parameters": [
{
Walter Featherstone
committed
"$ref": "#/components/parameters/Path.AppInstanceId"
Walter Featherstone
committed
"$ref": "#/components/parameters/Path.DnsRuleId"
}
],
"get": {
"description": "This method retrieves information about a DNS rule associated with a mobile edge application instance.",
"operationId": "ApplicationsDnsRule.GET",
"responses": {
"200": {
Walter Featherstone
committed
"$ref": "#/components/responses/ApplicationsDnsRule.200"
Walter Featherstone
committed
"$ref": "#/components/responses/Error.400"
Walter Featherstone
committed
"$ref": "#/components/responses/Error.403"
Walter Featherstone
committed
"$ref": "#/components/responses/Error.404"
}
}
},
"put": {
"description": "This method activates, de-activates or updates a traffic rule.",
"operationId": "ApplicationsDnsRule.PUT",
"responses": {
"200": {
Walter Featherstone
committed
"$ref": "#/components/responses/ApplicationsDnsRule.200"
Walter Featherstone
committed
"$ref": "#/components/responses/Error.400"
Walter Featherstone
committed
"$ref": "#/components/responses/Error.403"
Walter Featherstone
committed
"$ref": "#/components/responses/Error.404"
Walter Featherstone
committed
"$ref": "#/components/responses/Error.412"
Walter Featherstone
committed
},
"requestBody": {
"$ref": "#/components/requestBodies/ApplicationsDnsRule"
}
}
},
"/applications/{appInstanceId}/subscriptions": {
"parameters": [
{
Walter Featherstone
committed
"$ref": "#/components/parameters/Path.AppInstanceId"
}
],
"get": {
"description": "The GET method may be used to request information about all subscriptions for this requestor. Upon success, the response contains entity body with all the subscriptions for the requestor.",
"operationId": "ApplicationsSubscriptions.GET",
"responses": {
"200": {
Walter Featherstone
committed
"$ref": "#/components/responses/ApplicationsSubscriptions.200"
Walter Featherstone
committed
"$ref": "#/components/responses/Error.400"
Walter Featherstone
committed
"$ref": "#/components/responses/Error.403"
Walter Featherstone
committed
"$ref": "#/components/responses/Error.404"
}
}
},
"post": {
"description": "The POST method may be used to create a new subscription. One example use case is to create a new subscription to the mobile edge service availability notifications. Upon success, the response contains entity body describing the created subscription.",
"operationId": "ApplicationsSubscriptions.POST",
"responses": {
"201": {
Walter Featherstone
committed
"$ref": "#/components/responses/ApplicationsSubscriptions.201"
Walter Featherstone
committed
"$ref": "#/components/responses/Error.400"
Walter Featherstone
committed
"$ref": "#/components/responses/Error.403"
Walter Featherstone
committed
"$ref": "#/components/responses/Error.404"
}
},
"requestBody": {
"$ref": "#/components/requestBodies/ApplicationsSubscriptions"
},
"callbacks": {
"appTerminationNotification": {
"$ref": "#/components/callbacks/AppTerminationNotification"
},
"serviceAvailabilityNotification": {
"$ref": "#/components/callbacks/ServiceAvailabilityNotification"
}
}
}
},
"/applications/{appInstanceId}/subscriptions/{subscriptionType}/{subscriptionId}": {
"parameters": [
{
Walter Featherstone
committed
"$ref": "#/components/parameters/Path.AppInstanceId"
Walter Featherstone
committed
"$ref": "#/components/parameters/Path.SubscriptionType"
Walter Featherstone
committed
"$ref": "#/components/parameters/Path.SubscriptionId"
}
],
"get": {
"description": "The GET method requests information about a subscription for this requestor. Upon success, the response contains entity body with the subscription for the requestor.",
"operationId": "ApplicationsSubscription.GET",
"responses": {
"200": {
Walter Featherstone
committed
"$ref": "#/components/responses/ApplicationsSubscription.200"
Walter Featherstone
committed
"$ref": "#/components/responses/Error.400"
Walter Featherstone
committed
"$ref": "#/components/responses/Error.403"
Walter Featherstone
committed
"$ref": "#/components/responses/Error.404"
}
}
},
"delete": {
"description": "This method deletes a meMp1Subscription. This method is typically used in \"Unsubscribing from service availability event notifications\" procedure.",
"operationId": "ApplicationsSubscription.DELETE",
"responses": {
"204": {
"description": "No Content"
},
"403": {
Walter Featherstone
committed
"$ref": "#/components/responses/Error.403"
Walter Featherstone
committed
"$ref": "#/components/responses/Error.404"
Loading full blame...