Commit 77e02c82 authored by moscatelli's avatar moscatelli
Browse files

SOL005_99/SOL005_100: Notifications POST and GET methods updated

parent 2754de81
Loading
Loading
Loading
Loading
Loading
+148 −4
Original line number Original line Diff line number Diff line
@@ -79,7 +79,79 @@ paths:
          description: >
          description: >
            204 No Content
            204 No Content


            The notification was delivered successfully.
            Shall be returned when the notification has been delivered successfully.
          headers:
            WWW-Authenticate:
              type: string
              description: >
                Challenge if the corresponding HTTP request has not provided
                authorization, or error details if the corresponding HTTP request
                has provided an invalid authorization token.
              maximum: 1
              minimum: 0
            Version:
              description: >
                Version of the API used in the response.
              type: string
              maximum: 1
              minimum: 1
        400:
          $ref: "../responses/SOL005_resp.yaml#/responses/400"
        401:
          $ref: "../responses/SOL005_resp.yaml#/responses/401"
        403:
          $ref: "../responses/SOL005_resp.yaml#/responses/403"
        404:
          $ref: "../responses/SOL005_resp.yaml#/responses/404"
        405:
          $ref: "../responses/SOL005_resp.yaml#/responses/405"
        406:
          $ref: "../responses/SOL005_resp.yaml#/responses/406"
        409:
          $ref: "../responses/SOL005_resp.yaml#/responses/409"
        416:
          $ref: "../responses/SOL005_resp.yaml#/responses/416"
        500:
          $ref: "../responses/SOL005_resp.yaml#/responses/500"
        503:
          $ref: "../responses/SOL005_resp.yaml#/responses/503"

    get:
      summary: Test the notification endpoint.
      description: >
        Query NS Instances.

        The GET method queries information about multiple NS instances.
        This method shall support the URI query parameters, request and response data structures, and response codes, as
        specified in the Tables 6.4.2.3.2-1 and 6.4.2.3.2-2.
      parameters:
        - name: Accept
          description: >
            Content-Types that are acceptable for the response.
            Reference: IETF RFC 7231
          in: header
          required: true
          type: string
        - name: Authorization
          description: >
            The authorization token for the request.
            Reference: IETF RFC 7235
          in: header
          required: false
          type: string
        - name: Version
          description: >
            Version of the API requested to use when responding to this request.
          in: header
          required: true
          type: string
      responses:
        204:
          description: >
            204 No Content

            Shall be returned when the notification endpoint has been tested successfully.
            The response body shall be empty.
          headers:
          headers:
            WWW-Authenticate:
            WWW-Authenticate:
              type: string
              type: string
@@ -164,7 +236,79 @@ paths:
          description: >
          description: >
            204 No Content
            204 No Content


            The notification was delivered successfully.
            Shall be returned when the notification has been delivered successfully.
          headers:
            WWW-Authenticate:
              type: string
              description: >
                Challenge if the corresponding HTTP request has not provided
                authorization, or error details if the corresponding HTTP request
                has provided an invalid authorization token.
              maximum: 1
              minimum: 0
            Version:
              description: >
                Version of the API used in the response.
              type: string
              maximum: 1
              minimum: 1
        400:
          $ref: "../responses/SOL005_resp.yaml#/responses/400"
        401:
          $ref: "../responses/SOL005_resp.yaml#/responses/401"
        403:
          $ref: "../responses/SOL005_resp.yaml#/responses/403"
        404:
          $ref: "../responses/SOL005_resp.yaml#/responses/404"
        405:
          $ref: "../responses/SOL005_resp.yaml#/responses/405"
        406:
          $ref: "../responses/SOL005_resp.yaml#/responses/406"
        409:
          $ref: "../responses/SOL005_resp.yaml#/responses/409"
        416:
          $ref: "../responses/SOL005_resp.yaml#/responses/416"
        500:
          $ref: "../responses/SOL005_resp.yaml#/responses/500"
        503:
          $ref: "../responses/SOL005_resp.yaml#/responses/503"

    get:
      summary: Test the notification endpoint.
      description: >
        Query NS Instances.

        The GET method queries information about multiple NS instances.
        This method shall support the URI query parameters, request and response data structures, and response codes, as
        specified in the Tables 6.4.2.3.2-1 and 6.4.2.3.2-2.
      parameters:
        - name: Accept
          description: >
            Content-Types that are acceptable for the response.
            Reference: IETF RFC 7231
          in: header
          required: true
          type: string
        - name: Authorization
          description: >
            The authorization token for the request.
            Reference: IETF RFC 7235
          in: header
          required: false
          type: string
        - name: Version
          description: >
            Version of the API requested to use when responding to this request.
          in: header
          required: true
          type: string
      responses:
        204:
          description: >
            204 No Content

            Shall be returned when the notification endpoint has been tested successfully.
            The response body shall be empty.
          headers:
          headers:
            WWW-Authenticate:
            WWW-Authenticate:
              type: string
              type: string
@@ -250,7 +394,7 @@ paths:
          description: >
          description: >
            204 No Content
            204 No Content


            The notification was delivered successfully.
            Shall be returned when the notification has been delivered successfully.
          headers:
          headers:
            WWW-Authenticate:
            WWW-Authenticate:
              type: string
              type: string
@@ -321,7 +465,7 @@ paths:
          description: >
          description: >
            204 No Content
            204 No Content


            The notification endpoint was tested successfully.
            Shall be returned when the notification endpoint has been tested successfully.
            The response body shall be empty.
            The response body shall be empty.
          headers:
          headers:
            WWW-Authenticate:
            WWW-Authenticate:
+1 −1

File changed.

Contains only whitespace changes.