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: 490a00463044022074368a1b835c4b2966cd00bd0fe53066ffbd869902b47479fc29cf13e0d07523022005b14ea954d61a64748d04f61fb42dfd16e88ed523a96cc30a5b357253872d11:922c64590222798bb761d5b6d8e72950
