id: api-cloudconvert

info:
  name: CloudConvert API Test
  author: daffainfo
  severity: info
  description: Online file converter for audio, video, document, ebook, archive, image, spreadsheet, presentation
  reference:
    - https://cloudconvert.com/api/v2
    - https://github.com/daffainfo/all-about-apikey/tree/main/cloudconvert
  metadata:
    max-request: 1
  tags: token-spray,cloudconvert

self-contained: true

http:
  - raw:
      - |
        GET https://api.cloudconvert.com/v2/tasks HTTP/1.1
        Host: api.cloudconvert.com
        Authorization: Bearer {{token}}

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