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

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

parent 4ea30369
Loading
Loading
Loading
Loading
+13 −7
Original line number Diff line number Diff line
@@ -484,7 +484,11 @@ paths:
        type: string
    post:
      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:
        - name: vnfIndicatorSubscriptionRequest
          in: body
@@ -497,8 +501,9 @@ paths:
          description: >
            201 CREATED

            The subscription was created successfully.
            The response body shall contain a representation of the created subscription resource.
            Shall be returned when the subscription has been created successfully.
            The response body shall contain a representation of the created 
            "Individual subscription" resource.
          schema:
            $ref: '../../definitions/SOL002SOL003VNFIndicator_def.yaml#/definitions/VnfIndicatorSubscription'
          headers:
@@ -521,10 +526,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: