id: api-pagecdn

info:
  name: PageCDN API Test
  author: daffainfo
  severity: info
  description: Public API for javascript, css and font libraries on PageCDN
  reference:
    - https://pagecdn.com/docs/public-api
    - https://github.com/daffainfo/all-about-apikey/tree/main/pagecdn
  metadata:
    max-request: 1
  tags: token-spray,pagecdn

self-contained: true

http:
  - method: GET
    path:
      - "https://pagecdn.com/api/v2/private/account/info?apikey={{token}}"

    matchers:
      - type: word
        part: body
        words:
          - '"username"'
          - '"email"'
        condition: and
# digest: 4b0a00483046022100f962773ffaafa5d44ef973cf746c432704ebaa01e305e4d23e15722dd2a9d00f022100e2165fe9a65eea89e466689cfff4c0f840b9944aba526d61a5749c241785af2c:922c64590222798bb761d5b6d8e72950