id: api-quip

info:
  name: Quip API Test
  author: daffainfo
  severity: info
  description: File Sharing and Storage for groups
  reference:
    - https://quip.com/dev/automation/documentation
    - https://github.com/daffainfo/all-about-apikey/tree/main/quip
  metadata:
    max-request: 1
  tags: token-spray,quip

self-contained: true

http:
  - raw:
      - |
        GET https://platform.quip.com/1/users/current HTTP/1.1
        Host: platform.quip.com
        Authorization: Bearer {{token}}

    matchers:
      - type: word
        part: body
        words:
          - '"id":'
          - '"name":'
        condition: and
# digest: 4a0a00473045022100e91b6be6002c7010b73acf55531c62755ddf5101e388ff6243dab31de8421ddb02206c232776f2e4a4ca07075ea6bd0fc4bad50fb162e9e5662203909dbdf3b8311e:922c64590222798bb761d5b6d8e72950