Merge pull request #3215 from daffainfo/patch-262

Create api-instatus.yaml
patch-1
Prince Chaddha 2021-11-28 19:31:00 +04:00 committed by GitHub
commit a756352623
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
id: api-instatus
info:
name: Instatus API Test
author: daffainfo
severity: info
reference:
- https://instatus.com/help/api
- https://github.com/daffainfo/all-about-apikey/blob/main/Business/Instatus.md
tags: token-spray,instatus
self-contained: true
requests:
- method: GET
path:
- "https://api.instatus.com/v1/pages"
headers:
Authorization: Bearer {{token}}
matchers:
- type: word
part: body
words:
- '"id":'
- '"subdomain":'
- '"name":'
- '"logoUrl":'
condition: and