id: api-trello

info:
  name: Trello API Test
  author: daffainfo
  severity: info
  description: Boards, lists and cards to help you organize and prioritize your projects
  reference:
    - https://developers.trello.com/
    - https://github.com/daffainfo/all-about-apikey/tree/main/trello
  metadata:
    max-request: 1
  tags: token-spray,trello

self-contained: true

http:
  - method: GET
    path:
      - "https://api.trello.com/1/members/me?key={{key}}&token={{token}}"

    matchers:
      - type: word
        part: body
        negative: true
        words:
          - 'invalid key'
# digest: 4a0a00473045022100c06fce430ae041a66efdec5466492e9bfb02fdd6eb453e3f193564603e93640a02207364977062622468c671b0fdd89a79c2840d661b8814df0b654ee1e7be435360:922c64590222798bb761d5b6d8e72950