Commit a588c082 authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

add HTTP conditional requests in SOL003 APIs

parent 9c776f83
Loading
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
@@ -111,6 +111,9 @@ paths:
    patch:
      description: |
        This method modifies an "Individual alarm" resource. See clause 7.4.3.3.4.
      parameters:
        - $ref: '../../components/SOL003_params.yaml#/components/parameters/If-Unmodified-Since'
        - $ref: '../../components/SOL003_params.yaml#/components/parameters/If-Match'
      requestBody:
        $ref: '#/components/requestBodies/IndividualAlarmRequest' 
      responses:
@@ -425,6 +428,21 @@ components:
          explode: false
          schema:
            type: string
        ETag:
          description: >
            Used to provide the current entity-tag for the selected resource representation. It can be sent in
            "200 OK", "201 Created" and "204 No Content" responses.
          style: simple
          schema:
            type: string
        Last-Modified:
          description: >
            Used to provide a timestamp indicating the date and time at which the server believes the selected resource
            representation was last modified. It can be sent in "200 OK", "201 Created" and "204 No Content" responses.
          style: simple
          schema:
            type: string
            format: date-time
      content:
        application/json:
          schema:
@@ -458,6 +476,21 @@ components:
          explode: false
          schema:
            type: string
        ETag:
          description: >
            Used to provide the current entity-tag for the selected resource representation. It can be sent in
            "200 OK", "201 Created" and "204 No Content" responses.
          style: simple
          schema:
            type: string
        Last-Modified:
          description: >
            Used to provide a timestamp indicating the date and time at which the server believes the selected resource
            representation was last modified. It can be sent in "200 OK", "201 Created" and "204 No Content" responses.
          style: simple
          schema:
            type: string
            format: date-time
      content:
        application/json:
          schema:
+54 −0
Original line number Diff line number Diff line
@@ -149,6 +149,9 @@ paths:
      #SOL003 location: 5.4.3.3.4
      description: |
        This method modifies an "Individual VNF instance" resource. See clause 5.4.3.3.4.
      parameters:
        - $ref: '../../components/SOL003_params.yaml#/components/parameters/If-Unmodified-Since'
        - $ref: '../../components/SOL003_params.yaml#/components/parameters/If-Match'
      requestBody:
        $ref: '#/components/requestBodies/VnfInfoModificationRequest'
      responses:
@@ -1136,6 +1139,8 @@ paths:
      parameters:
        - $ref: ../../components/SOL003_params.yaml#/components/parameters/Accept
        - $ref: ../../components/SOL003_params.yaml#/components/parameters/ContentType
        - $ref: '../../components/SOL003_params.yaml#/components/parameters/If-Unmodified-Since'
        - $ref: '../../components/SOL003_params.yaml#/components/parameters/If-Match'
      requestBody:
        $ref: '#/components/requestBodies/VnfSnapshotInfoModificationRequest'
      responses:
@@ -1734,6 +1739,22 @@ components:
          explode: false
          schema:
            type: string
        ETag:
          description: >
            Used to provide the current entity-tag for the selected resource representation. It can be sent in
            "200 OK", "201 Created" and "204 No Content" responses.
          style: simple
          schema:
            type: string

        Last-Modified:
          description: >
            Used to provide a timestamp indicating the date and time at which the server believes the selected resource
            representation was last modified. It can be sent in "200 OK", "201 Created" and "204 No Content" responses.
          style: simple
          schema:
            type: string
            format: date-time
      content:
        application/json:
          schema:
@@ -4030,6 +4051,22 @@ components:
          explode: false
          schema:
            type: string
        ETag:
          description: >
            Used to provide the current entity-tag for the selected resource representation. It can be sent in
            "200 OK", "201 Created" and "204 No Content" responses.
          style: simple
          schema:
            type: string

        Last-Modified:
          description: >
            Used to provide a timestamp indicating the date and time at which the server believes the selected resource
            representation was last modified. It can be sent in "200 OK", "201 Created" and "204 No Content" responses.
          style: simple
          schema:
            type: string
            format: date-time
      content:
        application/json:
          schema:
@@ -4064,6 +4101,23 @@ components:
          explode: false
          schema:
            type: string
        ETag:
          description: >
            Used to provide the current entity-tag for the selected resource representation. It can be sent in
            "200 OK", "201 Created" and "204 No Content" responses.
          style: simple
          schema:
            type: string

        Last-Modified:
          description: >
            Used to provide a timestamp indicating the date and time at which the server believes the selected resource
            representation was last modified. It can be sent in "200 OK", "201 Created" and "204 No Content" responses.
          style: simple
          schema:
            type: string
            format: date-time
        
      content:
        application/json:
          schema:
+53 −0
Original line number Diff line number Diff line
@@ -149,6 +149,9 @@ paths:
    patch:
      description: |
        This method allows to modify an "Individual PM job" resource. See clause 6.4.3.3.4.
      parameters:
        - $ref: '../../components/SOL003_params.yaml#/components/parameters/If-Unmodified-Since'
        - $ref: '../../components/SOL003_params.yaml#/components/parameters/If-Match'
      responses:
        200:
          $ref: '#/components/responses/IndividualPmJob.Patch.200'
@@ -352,6 +355,9 @@ paths:
    patch:
      description: |
        This method allows to modify an "Individual threshold" resource. See clause 6.4.6.3.4.
      parameters:
        - $ref: '../../components/SOL003_params.yaml#/components/parameters/If-Unmodified-Since'
        - $ref: '../../components/SOL003_params.yaml#/components/parameters/If-Match'
      responses:
        200:
          $ref: '#/components/responses/IndividualThreshold.Patch.200'
@@ -701,6 +707,22 @@ components:
          explode: false
          schema:
            type: string
        ETag:
          description: >
            Used to provide the current entity-tag for the selected resource representation. It can be sent in
            "200 OK", "201 Created" and "204 No Content" responses.
          style: simple
          schema:
            type: string

        Last-Modified:
          description: >
            Used to provide a timestamp indicating the date and time at which the server believes the selected resource
            representation was last modified. It can be sent in "200 OK", "201 Created" and "204 No Content" responses.
          style: simple
          schema:
            type: string
            format: date-time
      content:
        application/json:
          schema:
@@ -1022,6 +1044,22 @@ components:
          explode: false
          schema:
            type: string
        ETag:
          description: >
            Used to provide the current entity-tag for the selected resource representation. It can be sent in
            "200 OK", "201 Created" and "204 No Content" responses.
          style: simple
          schema:
            type: string

        Last-Modified:
          description: >
            Used to provide a timestamp indicating the date and time at which the server believes the selected resource
            representation was last modified. It can be sent in "200 OK", "201 Created" and "204 No Content" responses.
          style: simple
          schema:
            type: string
            format: date-time
      content:
        application/json:
          schema:
@@ -1055,6 +1093,21 @@ components:
          explode: false
          schema:
            type: string
        ETag:
          description: >
            Used to provide the current entity-tag for the selected resource representation. It can be sent in
            "200 OK", "201 Created" and "204 No Content" responses.
          style: simple
          schema:
            type: string
        Last-Modified:
          description: >
            Used to provide a timestamp indicating the date and time at which the server believes the selected resource
            representation was last modified. It can be sent in "200 OK", "201 Created" and "204 No Content" responses.
          style: simple
          schema:
            type: string
            format: date-time
      content:
        application/json:
          schema: