24 lines
526 B
YAML
24 lines
526 B
YAML
id: api-youtube
|
|
|
|
info:
|
|
name: YouTube API Test
|
|
author: zzeitlin
|
|
reference: https://developers.google.com/youtube/v3/docs
|
|
severity: info
|
|
tags: token-spray,youtube
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "https://www.googleapis.com/youtube/v3/activities?part=contentDetails&maxResults=25&channelId=UC-lHJZR3Gqxm24_Vd_AJ5Yw&key={{token}}"
|
|
matchers-condition: or
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'quotaExceeded'
|
|
- type: status
|
|
status:
|
|
- 200
|