33 lines
799 B
YAML
33 lines
799 B
YAML
id: api-box
|
|
|
|
info:
|
|
name: Box API Test
|
|
author: daffainfo
|
|
severity: info
|
|
description: File Sharing and Storage Service
|
|
reference:
|
|
- https://developer.box.com/
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/box
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,box
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET https://api.box.com/2.0/collections HTTP/1.1
|
|
Host: api.box.com
|
|
Authorization: Bearer {{token}}
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'total_count":'
|
|
- 'limit":'
|
|
condition: and
|
|
|
|
# digest: 4a0a00473045022058066557d4d5804bfbf596b40561caf3f763f145a584011508f09e4372c76e20022100c6632d1deb0226c685e4b82b508a664e1f7281427b8d54c7df278c4fe409a8aa:922c64590222798bb761d5b6d8e72950
|