Create api-bitrise.yaml

patch-1
Muhammad Daffa 2021-12-15 23:48:17 +07:00 committed by GitHub
parent fbf0b448be
commit c642f24d51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
id: api-bitrise
info:
name: Bitrise API Test
author: daffainfo
severity: info
reference:
- https://api-docs.bitrise.io/
- https://github.com/daffainfo/all-about-apikey/blob/main/Continous%20Integration/Bitrise.md
tags: token-spray,bitrise
self-contained: true
requests:
- raw:
- |
GET https://api.bitrise.io/v0.1/me HTTP/1.1
Host: api.bitrise.io
Authorization: {{token}}
matchers:
- type: word
part: body
words:
- '"username":'
- '"slug":'
- '"email":'
condition: and