Commit fa23f880 authored by Samir Medjiah's avatar Samir Medjiah
Browse files

SOL002_148 POST Method (on "Subscriptions") description and response updated

parent 4ea30369
...@@ -484,7 +484,11 @@ paths: ...@@ -484,7 +484,11 @@ paths:
type: string type: string
post: post:
summary: Create a new subscription to VNF indicator change notifications summary: Create a new subscription to VNF indicator change notifications
description: Create a new subscription description: >
This method creates a new subscription.
As the result of successfully executing this method, a new "Individual
subscription" resource as defined in clause 8.4.6 shall have been created.
This method shall not trigger any notification.
parameters: parameters:
- name: vnfIndicatorSubscriptionRequest - name: vnfIndicatorSubscriptionRequest
in: body in: body
...@@ -497,8 +501,9 @@ paths: ...@@ -497,8 +501,9 @@ paths:
description: > description: >
201 CREATED 201 CREATED
The subscription was created successfully. Shall be returned when the subscription has been created successfully.
The response body shall contain a representation of the created subscription resource. The response body shall contain a representation of the created
"Individual subscription" resource.
schema: schema:
$ref: '../../definitions/SOL002SOL003VNFIndicator_def.yaml#/definitions/VnfIndicatorSubscription' $ref: '../../definitions/SOL002SOL003VNFIndicator_def.yaml#/definitions/VnfIndicatorSubscription'
headers: headers:
...@@ -521,10 +526,11 @@ paths: ...@@ -521,10 +526,11 @@ paths:
description: > description: >
303 SEE OTHER 303 SEE OTHER
A subscription with the same callbackURI and the same filter already exists and the policy Shall be returned when a subscription with the same callbackURI and
of the VNFM is to not create redundant subscriptions. the same filter already exists and the policy of the VNFM is to not
The HTTP response shall include a "Location" HTTP header that contains the resource URI of create redundant subscriptions.
the existing subscription resource. The HTTP response shall include a "Location" HTTP header that contains
the resource URI of the existing "Individual subscription" resource.
The response body shall be empty. The response body shall be empty.
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/303" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/303"
400: 400:
......
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