Merge pull request #3351 from daffainfo/patch-282

Create api-bitrise.yaml
patch-1
Prince Chaddha 2021-12-18 15:14:13 +05:30 committed by GitHub
commit 7f8f2dd12b
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