Added bruno configuration

This commit is contained in:
Stanislas Jouffroy 2025-03-03 22:58:34 +01:00
parent b56d8e72ca
commit 5aa5bc075e
5 changed files with 71 additions and 0 deletions

View 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
}

View 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
View file

@ -0,0 +1,9 @@
{
"version": "1",
"name": "Github project",
"type": "collection",
"ignore": [
"node_modules",
".git"
]
}

View file

@ -0,0 +1,7 @@
vars {
OWNER: FreeTubeApp
REPO: FreeTube
}
vars:secret [
GITHUB_TOKEN
]

View file

@ -0,0 +1,7 @@
vars {
OWNER: nextcloud-releases
REPO: desktop
}
vars:secret [
GITHUB_TOKEN
]