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