2021-12-01 16:11:55 +00:00
|
|
|
id: api-smartsheet
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Smartsheet API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: Allows you to programmatically access and Smartsheet data and account information
|
2021-12-01 16:11:55 +00:00
|
|
|
reference:
|
|
|
|
- https://smartsheet.redoc.ly/
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/smartsheet
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,smartsheet
|
2021-12-01 16:11:55 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-12-01 16:11:55 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://api.smartsheet.com/2.0/home?include=source"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-12-01 16:11:55 +00:00
|
|
|
headers:
|
|
|
|
Authorization: Bearer {{token}}
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"sheets":'
|
|
|
|
- '"folders":'
|
|
|
|
condition: and
|