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

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

parent b17a74cb
...@@ -959,6 +959,9 @@ paths: ...@@ -959,6 +959,9 @@ paths:
post: post:
description: > description: >
The POST method creates a new subscription. The POST method creates a new subscription.
As the result of successfully executing this method, a new
"Individual subscription" resource as defined in clause 6.4.8
shall have been created. This method shall not trigger any notification.
parameters: parameters:
- name: PmSubscriptionRequest - name: PmSubscriptionRequest
description: > description: >
...@@ -986,11 +989,11 @@ paths: ...@@ -986,11 +989,11 @@ paths:
description: > description: >
201 CREATED 201 CREATED
The subscription was created successfully. A representation of the Shall be returned when the subscription was created successfully.
created subscription resource shall be returned in the response A representation of the created "Individual subscription" resource
body. shall be returned in the response body.
The HTTP response shall include a "Location" HTTP header that The HTTP response shall include a "Location" HTTP header that contains
contains the resource URI of the created subscription resource. the resource URI of the created "Individual subscription" resource.
headers: headers:
Content-Type: Content-Type:
description: The MIME type of the body of the response. description: The MIME type of the body of the response.
...@@ -1020,10 +1023,11 @@ paths: ...@@ -1020,10 +1023,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 of the VNFM Shall be returned when a subscription with the same callbackURI and
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 the existing create redundant subscriptions.
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