id: api-circleci
info:
name: CircleCI API Test
author: zzeitlin
reference: https://circleci.com/docs/api/v1
severity: info
tags: token-spray,circleci
self-contained: true
requests:
- method: GET
path:
- "https://circleci.com/api/v1.1/me?circle-token={{token}}"
matchers:
- type: word
part: body
words:
- '"admin"'
- '"login"'
condition: and