35 lines
759 B
YAML
35 lines
759 B
YAML
id: api-smartsheet
|
|
|
|
info:
|
|
name: Smartsheet API Test
|
|
author: daffainfo
|
|
severity: info
|
|
description: Allows you to programmatically access and Smartsheet data and account information
|
|
reference:
|
|
- https://smartsheet.redoc.ly/
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/smartsheet
|
|
tags: token-spray,smartsheet
|
|
metadata:
|
|
max-request: 1
|
|
|
|
self-contained: true
|
|
http:
|
|
- 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
|