Commit 679be36a authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

add if-match and if-unmodified-since in SOL002 and SOL003 params

parent 0ef4afc1
Loading
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
@@ -76,3 +76,27 @@ components:
      required: false
      schema:
        type: string

    If-Unmodified-Since:
      name: If-Unmodified-Since
      description: >
        Used to make the request method   conditional on the selected resource representation's last modification date being
        earlier than or equal to the date provided in the field-value. If the condition is not met, the request fails with a
        "412 Precondition Failed" response.
      required: false
      in: header
      schema:
        type: string
        format: date-time

    If-Match:
      name: If-Match
      description: >
        Used to make the request method conditional on the recipient origin server either having at least one current representation
        of the target resource, when the field-value is "*", or having a current representation of the target resource that has an
        entity-tag matching a member of the list of entity-tags provided in the field-value. If the condition is not met, the request
        fails with a "412 Precondition Failed" response.
      required: false
      in: header
      schema:
        type: string
 No newline at end of file
+24 −0
Original line number Diff line number Diff line
@@ -117,3 +117,27 @@ components:
      required: false
      schema:
        type: string
      
    If-Unmodified-Since:
      name: If-Unmodified-Since
      description: >
        Used to make the request method   conditional on the selected resource representation's last modification date being
        earlier than or equal to the date provided in the field-value. If the condition is not met, the request fails with a
        "412 Precondition Failed" response.
      required: false
      in: header
      schema:
        type: string
        format: date-time

    If-Match:
      name: If-Match
      description: >
        Used to make the request method conditional on the recipient origin server either having at least one current representation
        of the target resource, when the field-value is "*", or having a current representation of the target resource that has an
        entity-tag matching a member of the list of entity-tags provided in the field-value. If the condition is not met, the request
        fails with a "412 Precondition Failed" response.
      required: false
      in: header
      schema:
        type: string
 No newline at end of file