id: api-lokalise

info:
  name: Lokalise API Test
  author: zzeitlin
  severity: info
  reference:
    - https://app.lokalise.com/api2docs/curl/#resource-projects
  metadata:
    max-request: 1
  tags: token-spray,lokalise

self-contained: true

http:
  - method: GET
    path:
      - "https://api.lokalise.com/api2/teams"

    headers:
      x-api-Token: "{{token}}"
    matchers:
      - type: word
        part: body
        words:
          - '"teams":'
          - '"team_id":'
          - '"name":'
        condition: and
# digest: 490a0046304402206973c9516199de87cdad82738ec5ef8337bea633c53283acc85c7660b097aa3e02205a511ff5e2a553bc118545ca738642f5311aa34a9450b0aac6cb57baaabc785b:922c64590222798bb761d5b6d8e72950