Commit 4d4800b5 authored by moscatelli's avatar moscatelli
Browse files

SOL003_245/SOL003_246: Individual subscription methods updated

parent fe14bcb4
Loading
Loading
Loading
Loading
+36 −13
Original line number Diff line number Diff line
@@ -280,12 +280,19 @@ paths:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403"
        404:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
        405:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405"
        422:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/422"
        406:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406"
        500:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
        503:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
        504:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/504"

###############################################################################
# Individual subscription                                                     #
###############################################################################
@@ -296,17 +303,17 @@ paths:
          Identifier of this subscription.
          This identifier can be retrieved from the resource referenced by the
          "Location" HTTP header in the response to a POST request creating a
          new subscription resource. It can also be retrieved from the "id"
          new "Individual subscription" resource. It can also be retrieved from the "id"
          attribute in the payload body of that response.
        in: path
        type: string
        required: true
    get:
      description: >
        Query Subscription Information


        Query Subscription Information.
        The GET method reads an individual subscription.
        This method shall follow the provisions specified in the tables 11.4.3.3.2-1 and 11.4.3.3.2-2
        for URI query parameters, request and response data structures, and response codes.
      parameters:
        - name: Accept
          description: >
@@ -325,9 +332,10 @@ paths:
      responses:
        200:
          description: > 
            OK
            200 OK

            Representation of the subscription resource.
            Shall be returned when information about an individual subscription has been read successfully.
            The response body shall contain a representation of the "Individual subscription" resource
          headers:
            Content-Type:
              description: >
@@ -346,18 +354,30 @@ paths:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403"
        404:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
        405:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405"
        422:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/422"
        406:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406"
        500:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
        503:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
        504:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/504"

    delete:
      description: >
        Terminate subscription

        
        Terminate subscription.
        The DELETE method terminates an individual subscription.
        This method shall follow the provisions specified in the tables 11.4.3.3.5-1 and 11.4.3.3.5-2
        for URI query parameters, request and response data structures, and response codes.
        As the result of successfully executing this method, the "Individual subscription" resource
        shall not exist any longer. This means that no notifications for that subscription shall be
        sent to the formerly-subscribed API consumer.
        NOTE:	Due to race conditions, some notifications might still be received by the formerly-subscribed
        API consumer for a certain time period after the deletion.
      parameters:
        - name: Authorization
          description: >
@@ -371,8 +391,7 @@ paths:
          description: > 
            No Content

            The subscription resource was deleted successfully.
            The response body shall be empty.
            Shall be returned when the "Individual subscription" resource has been deleted successfully.
          headers:
            Content-Type:
              description: >
@@ -387,13 +406,17 @@ paths:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/401"
        403:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403"
        404:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
        405:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405"
        422:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/422"
        406:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406"
        500:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
        503:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"

        504:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/504"
 No newline at end of file