2021-11-28 10:22:28 +00:00
|
|
|
id: api-instatus
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Instatus API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: Post to and update maintenance and incidents on your status page through an HTTP REST API
|
2021-11-28 10:22:28 +00:00
|
|
|
reference:
|
|
|
|
- https://instatus.com/help/api
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/instatus
|
2021-11-28 10:22:28 +00:00
|
|
|
tags: token-spray,instatus
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2021-11-28 10:22:28 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-11-28 10:22:28 +00:00
|
|
|
- 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
|