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