Added bruno configuration
This commit is contained in:
parent
b56d8e72ca
commit
5aa5bc075e
5 changed files with 71 additions and 0 deletions
24
bruno/bruno/Github release by tag name.bru
Normal file
24
bruno/bruno/Github release by tag name.bru
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
meta {
|
||||||
|
name: Github release by tag name
|
||||||
|
type: http
|
||||||
|
seq: 3
|
||||||
|
}
|
||||||
|
|
||||||
|
get {
|
||||||
|
url: https://api.github.com/repos/{{OWNER}}/{{REPO}}/releases/assets/{{asset_id}}
|
||||||
|
body: none
|
||||||
|
auth: bearer
|
||||||
|
}
|
||||||
|
|
||||||
|
headers {
|
||||||
|
Accept: application/vnd.github.v3+json
|
||||||
|
X-GitHub-Api-Version: 2022-11-28
|
||||||
|
}
|
||||||
|
|
||||||
|
auth:bearer {
|
||||||
|
token: {{GITHUB_TOKEN}}
|
||||||
|
}
|
||||||
|
|
||||||
|
vars:pre-request {
|
||||||
|
asset_id: 231868119
|
||||||
|
}
|
24
bruno/bruno/Github releases.bru
Normal file
24
bruno/bruno/Github releases.bru
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
meta {
|
||||||
|
name: Github releases
|
||||||
|
type: http
|
||||||
|
seq: 2
|
||||||
|
}
|
||||||
|
|
||||||
|
get {
|
||||||
|
url: https://api.github.com/repos/{{OWNER}}/{{REPO}}/releases
|
||||||
|
body: none
|
||||||
|
auth: bearer
|
||||||
|
}
|
||||||
|
|
||||||
|
headers {
|
||||||
|
Accept: lication/vnd.github.v3+json
|
||||||
|
X-GitHub-Api-Version: 2022-11-28
|
||||||
|
}
|
||||||
|
|
||||||
|
auth:bearer {
|
||||||
|
token: {{GITHUB_TOKEN}}
|
||||||
|
}
|
||||||
|
|
||||||
|
vars:pre-request {
|
||||||
|
:
|
||||||
|
}
|
9
bruno/bruno/bruno.json
Normal file
9
bruno/bruno/bruno.json
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"version": "1",
|
||||||
|
"name": "Github project",
|
||||||
|
"type": "collection",
|
||||||
|
"ignore": [
|
||||||
|
"node_modules",
|
||||||
|
".git"
|
||||||
|
]
|
||||||
|
}
|
7
bruno/bruno/environments/FreeTube.bru
Normal file
7
bruno/bruno/environments/FreeTube.bru
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
vars {
|
||||||
|
OWNER: FreeTubeApp
|
||||||
|
REPO: FreeTube
|
||||||
|
}
|
||||||
|
vars:secret [
|
||||||
|
GITHUB_TOKEN
|
||||||
|
]
|
7
bruno/bruno/environments/Nextcloud desktop.bru
Normal file
7
bruno/bruno/environments/Nextcloud desktop.bru
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
vars {
|
||||||
|
OWNER: nextcloud-releases
|
||||||
|
REPO: desktop
|
||||||
|
}
|
||||||
|
vars:secret [
|
||||||
|
GITHUB_TOKEN
|
||||||
|
]
|
Loading…
Add table
Add a link
Reference in a new issue