Commit bd9d087f authored by Samir Medjiah's avatar Samir Medjiah

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

parent b17a74cb
......@@ -959,6 +959,9 @@ paths:
post:
description: >
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:
- name: PmSubscriptionRequest
description: >
......@@ -986,11 +989,11 @@ paths:
description: >
201 CREATED
The subscription was created successfully. A representation of the
created subscription resource shall be returned in the response
body.
The HTTP response shall include a "Location" HTTP header that
contains the resource URI of the created subscription resource.
Shall be returned when the subscription was created successfully.
A representation of the created "Individual subscription" resource
shall be returned in the response body.
The HTTP response shall include a "Location" HTTP header that contains
the resource URI of the created "Individual subscription" resource.
headers:
Content-Type:
description: The MIME type of the body of the response.
......@@ -1020,10 +1023,11 @@ paths:
description: >
303 SEE OTHER
A subscription with the same callbackURI and the same filter already exists and the policy of the VNFM
is to not create redundant subscriptions.
The HTTP response shall include a "Location" HTTP header that contains the resource URI of the existing
subscription resource.
Shall be returned when a subscription with the same callbackURI and
the same filter already exists and the policy of the VNFM is to not
create redundant subscriptions.
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.
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/303"
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