37 lines
822 B
YAML
37 lines
822 B
YAML
id: api-optimizely
|
|
|
|
info:
|
|
name: Optimizely API Test
|
|
author: dwisiswant0
|
|
severity: info
|
|
reference:
|
|
- https://library.optimizely.com/docs/api/app/v2/index.html
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,optimizely
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api.optimizely.com/v2/projects"
|
|
|
|
headers:
|
|
Authorization: Bearer {{token}}
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"account_id":'
|
|
- '"confidence_threshold":'
|
|
condition: and
|
|
|
|
# digest: 4a0a0047304502200e0896ced0ae45af026caa68a51a407a977c44840900fc8033d7e3918664728802210094df7aee196e4a226817f81cae24bb792964551c0ddd9b825a68095b6aba9ba1:922c64590222798bb761d5b6d8e72950
|