Create api-smartsheet.yaml

patch-1
Muhammad Daffa 2021-12-01 23:11:55 +07:00 committed by GitHub
parent 40d7678327
commit 4211bb0a84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,31 @@
id: api-smartsheet
info:
name: Smartsheet API Test
author: daffainfo
severity: info
reference:
- https://smartsheet.redoc.ly/
- https://github.com/daffainfo/all-about-apikey/blob/main/Business/Smartsheet.md
tags: token-spray,smartsheet
self-contained: true
requests:
- method: GET
path:
- "https://api.smartsheet.com/2.0/home?include=source"
headers:
Authorization: Bearer {{token}}
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- '"sheets":'
- '"folders":'
condition: and