From c642f24d51a0353f0fd50e0f1706e65caf84601e Mon Sep 17 00:00:00 2001 From: Muhammad Daffa <36522826+daffainfo@users.noreply.github.com> Date: Wed, 15 Dec 2021 23:48:17 +0700 Subject: [PATCH] Create api-bitrise.yaml --- token-spray/api-bitrise.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 token-spray/api-bitrise.yaml diff --git a/token-spray/api-bitrise.yaml b/token-spray/api-bitrise.yaml new file mode 100644 index 0000000000..c661330e56 --- /dev/null +++ b/token-spray/api-bitrise.yaml @@ -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