swagger: "2.0"
info:
  title: Cookie attributes SameSite and Secure
  description: Test sending cookie attributes SameSite and Secure depending on User-Agent
  version: 1.0.0
host: datagather-test.xsolla.com
basePath: /
schemes:
  - https
paths:
  /hit:
    post:
      summary: Set cookie
      description: Depending on User-Agent attributes "SameSite" and "Secure" can be set or not
      responses:
        200:
          description: OK
        307:
          description: Temporary Redirect
  /hit_check:
    post:
      summary: check XsollaUID
      description: if user does not block 3rd-party cookie, header "Cookie" should contain XsollaUID
      responses:
        200:
          description: OK
