Commit 2b024cda authored by Walter Featherstone's avatar Walter Featherstone

Removed subsciptionType from resource URIs

parent ed92669f
Pipeline #1047 passed with stage
in 0 seconds
...@@ -234,14 +234,11 @@ ...@@ -234,14 +234,11 @@
} }
} }
}, },
"/applications/{appInstanceId}/subscriptions/{subscriptionType}/{subscriptionId}": { "/applications/{appInstanceId}/subscriptions/{subscriptionId}": {
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/Path.AppInstanceId" "$ref": "#/components/parameters/Path.AppInstanceId"
}, },
{
"$ref": "#/components/parameters/Path.SubscriptionType"
},
{ {
"$ref": "#/components/parameters/Path.SubscriptionId" "$ref": "#/components/parameters/Path.SubscriptionId"
} }
...@@ -2602,7 +2599,7 @@ ...@@ -2602,7 +2599,7 @@
}, },
"GetIndividualMeMp1Subscription": { "GetIndividualMeMp1Subscription": {
"operationId": "ApplicationsSubscription_GET", "operationId": "ApplicationsSubscription_GET",
"description": "The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `GET /applications/{appInstanceId}/subscriptions/{subscriptionType}/{subscriptionId}`", "description": "The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `GET /applications/{appInstanceId}/subscriptions/{subscriptionId}`",
"parameters": { "parameters": {
"description": "regex = \\/mp1\\/v1\\/applications\\/.*\\/subscriptions\\/.*\\/(.*);subscriptionId = href.match(regex)[1];// where \"href\" is an attribute within the subscription attribute within the _links attribute", "description": "regex = \\/mp1\\/v1\\/applications\\/.*\\/subscriptions\\/.*\\/(.*);subscriptionId = href.match(regex)[1];// where \"href\" is an attribute within the subscription attribute within the _links attribute",
"subscriptionId": "TBC" "subscriptionId": "TBC"
...@@ -2610,25 +2607,25 @@ ...@@ -2610,25 +2607,25 @@
}, },
"DelIndividualMeMp1Subscription": { "DelIndividualMeMp1Subscription": {
"operationId": "ApplicationsSubscription_DELETE", "operationId": "ApplicationsSubscription_DELETE",
"description": "The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `DELETE /applications/{appInstanceId}/subscriptions/{subscriptionType}/{subscriptionId}`", "description": "The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `DELETE /applications/{appInstanceId}/subscriptions/{subscriptionId}`",
"parameters": { "parameters": {
"description": "regex = \\/mp1\\/v1\\/applications\\/.*\\/subscriptions\\/.*\\/(.*);subscriptionId = href.match(regex)[1];// where \"href\" is an attribute within the subscription attribute within the _links attribute", "description": "regex = \\/mp1\\/v1\\/applications\\/.*\\/subscriptions\\/(.*);subscriptionId = href.match(regex)[1];// where \"href\" is an attribute within the subscription attribute within the _links attribute",
"subscriptionId": "TBC" "subscriptionId": "TBC"
} }
}, },
"GetIndividualMeMp1SubscriptionLinkList": { "GetIndividualMeMp1SubscriptionLinkList": {
"operationId": "ApplicationsSubscription_GET", "operationId": "ApplicationsSubscription_GET",
"description": "The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `GET /applications/{appInstanceId}/subscriptions/{subscriptionType}/{subscriptionId}`", "description": "The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `GET /applications/{appInstanceId}/subscriptions/{subscriptionId}`",
"parameters": { "parameters": {
"description": "regex = \\/mp1\\/v1\\/applications\\/.*\\/subscriptions\\/.*\\/(.*);subscriptionId = href.match(regex)[1];// where \"href\" is an attribute within the subscription attribute within the _links attribute", "description": "regex = \\/mp1\\/v1\\/applications\\/.*\\/subscriptions\\/(.*);subscriptionId = href.match(regex)[1];// where \"href\" is an attribute within the subscription attribute within the _links attribute",
"subscriptionId": "TBC" "subscriptionId": "TBC"
} }
}, },
"DelIndividualMeMp1SubscriptionLinkList": { "DelIndividualMeMp1SubscriptionLinkList": {
"operationId": "ApplicationsSubscription_DELETE", "operationId": "ApplicationsSubscription_DELETE",
"description": "The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `DELETE /applications/{appInstanceId}/subscriptions/{subscriptionType}/{subscriptionId}`", "description": "The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `DELETE /applications/{appInstanceId}/subscriptions/{subscriptionId}`",
"parameters": { "parameters": {
"description": "regex = \\/mp1\\/v1\\/applications\\/.*\\/subscriptions\\/.*\\/(.*);subscriptionId = href.match(regex)[1];// where \"href\" is an attribute within the subscription attribute within the _links attribute", "description": "regex = \\/mp1\\/v1\\/applications\\/.*\\/subscriptions\\/(.*);subscriptionId = href.match(regex)[1];// where \"href\" is an attribute within the subscription attribute within the _links attribute",
"subscriptionId": "TBC" "subscriptionId": "TBC"
} }
} }
......
...@@ -151,10 +151,9 @@ paths: ...@@ -151,10 +151,9 @@ paths:
$ref: '#/components/callbacks/AppTerminationNotification' $ref: '#/components/callbacks/AppTerminationNotification'
serviceAvailabilityNotification: serviceAvailabilityNotification:
$ref: '#/components/callbacks/ServiceAvailabilityNotification' $ref: '#/components/callbacks/ServiceAvailabilityNotification'
'/applications/{appInstanceId}/subscriptions/{subscriptionType}/{subscriptionId}': '/applications/{appInstanceId}/subscriptions/{subscriptionId}':
parameters: parameters:
- $ref: '#/components/parameters/Path.AppInstanceId' - $ref: '#/components/parameters/Path.AppInstanceId'
- $ref: '#/components/parameters/Path.SubscriptionType'
- $ref: '#/components/parameters/Path.SubscriptionId' - $ref: '#/components/parameters/Path.SubscriptionId'
get: get:
description: >- description: >-
...@@ -1985,27 +1984,27 @@ components: ...@@ -1985,27 +1984,27 @@ components:
transportId: '$response.body#/0/id' transportId: '$response.body#/0/id'
GetIndividualMeMp1Subscription: GetIndividualMeMp1Subscription:
operationId: ApplicationsSubscription_GET operationId: ApplicationsSubscription_GET
description: The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `GET /applications/{appInstanceId}/subscriptions/{subscriptionType}/{subscriptionId}` description: The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `GET /applications/{appInstanceId}/subscriptions/{subscriptionId}`
parameters: parameters:
description: regex = \/mp1\/v1\/applications\/.*\/subscriptions\/.*\/(.*);subscriptionId = href.match(regex)[1];// where "href" is an attribute within the subscription attribute within the _links attribute description: regex = \/mp1\/v1\/applications\/.*\/subscriptions\/.*\/(.*);subscriptionId = href.match(regex)[1];// where "href" is an attribute within the subscription attribute within the _links attribute
subscriptionId: 'TBC' subscriptionId: 'TBC'
DelIndividualMeMp1Subscription: DelIndividualMeMp1Subscription:
operationId: ApplicationsSubscription_DELETE operationId: ApplicationsSubscription_DELETE
description: The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `DELETE /applications/{appInstanceId}/subscriptions/{subscriptionType}/{subscriptionId}` description: The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `DELETE /applications/{appInstanceId}/subscriptions/{subscriptionId}`
parameters: parameters:
description: regex = \/mp1\/v1\/applications\/.*\/subscriptions\/.*\/(.*);subscriptionId = href.match(regex)[1];// where "href" is an attribute within the subscription attribute within the _links attribute description: regex = \/mp1\/v1\/applications\/.*\/subscriptions\/(.*);subscriptionId = href.match(regex)[1];// where "href" is an attribute within the subscription attribute within the _links attribute
subscriptionId: 'TBC' subscriptionId: 'TBC'
GetIndividualMeMp1SubscriptionLinkList: GetIndividualMeMp1SubscriptionLinkList:
operationId: ApplicationsSubscription_GET operationId: ApplicationsSubscription_GET
description: The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `GET /applications/{appInstanceId}/subscriptions/{subscriptionType}/{subscriptionId}` description: The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `GET /applications/{appInstanceId}/subscriptions/{subscriptionId}`
parameters: parameters:
description: regex = \/mp1\/v1\/applications\/.*\/subscriptions\/.*\/(.*);subscriptionId = href.match(regex)[1];// where "href" is an attribute within the subscription attribute within the _links attribute description: regex = \/mp1\/v1\/applications\/.*\/subscriptions\/(.*);subscriptionId = href.match(regex)[1];// where "href" is an attribute within the subscription attribute within the _links attribute
subscriptionId: 'TBC' subscriptionId: 'TBC'
DelIndividualMeMp1SubscriptionLinkList: DelIndividualMeMp1SubscriptionLinkList:
operationId: ApplicationsSubscription_DELETE operationId: ApplicationsSubscription_DELETE
description: The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `DELETE /applications/{appInstanceId}/subscriptions/{subscriptionType}/{subscriptionId}` description: The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `DELETE /applications/{appInstanceId}/subscriptions/{subscriptionId}`
parameters: parameters:
description: regex = \/mp1\/v1\/applications\/.*\/subscriptions\/.*\/(.*);subscriptionId = href.match(regex)[1];// where "href" is an attribute within the subscription attribute within the _links attribute description: regex = \/mp1\/v1\/applications\/.*\/subscriptions\/(.*);subscriptionId = href.match(regex)[1];// where "href" is an attribute within the subscription attribute within the _links attribute
subscriptionId: 'TBC' subscriptionId: 'TBC'
examples: examples:
DnsRule: DnsRule:
...@@ -2122,4 +2121,4 @@ components: ...@@ -2122,4 +2121,4 @@ components:
dstInterface: dstInterface:
interfaceType: 'IP' interfaceType: 'IP'
dstIpAddress: '20.1.1.1' dstIpAddress: '20.1.1.1'
state: 'ACTIVE' state: 'ACTIVE'
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment