Serve gh release over the GitHub compatibility layer4951bed14 hours ago39 lines · 1.2 KB | 1 | [ |
| 2 | { |
| 3 | "command": "gh release view v1.0 -R <host>/<login>/tools --json tagName,name,body,isDraft,isPrerelease,author,assets,targetCommitish,url", |
| 4 | "requests": |
| 5 | { |
| 6 | "method": |
| 7 | "path": |
| 8 | "query": |
| 9 | "headers": |
| 10 | "accept": |
| 11 | "content-type": |
| 12 | "x-github-api-version": |
| 13 | }, |
| 14 | "body": |
| 15 | "status": |
| 16 | }, |
| 17 | { |
| 18 | "method": |
| 19 | "path": |
| 20 | "query": |
| 21 | "headers": |
| 22 | "accept": |
| 23 | "content-type": |
| 24 | "graphql-features": |
| 25 | "x-github-api-version": |
| 26 | }, |
| 27 | "body": |
| 28 | "query": |
| 29 | "variables": |
| 30 | "name": |
| 31 | "owner": |
| 32 | "tagName": |
| 33 | } |
| 34 | }, |
| 35 | "status": |
| 36 | } |
| 37 | ] |
| 38 | } |
| 39 | ] |
[
"
GET
"
,
"
/api/v3/repos/<login>/tools/releases/tags/v1.0
"
,
{}
,
{
"
application/json
"
,
"
application/json; charset=utf-8
"
,
"
2022-11-28
"
null
,
200
"
POST
"
,
"
/api/graphql
"
,
{}
,
{
"
application/json
"
,
"
application/json
"
,
"
merge_queue
"
,
"
2022-11-28
"
{
"
query RepositoryReleaseByTag($name:String!$owner:String!$tagName:String!){repository(owner: $owner, name: $name){release(tagName: $tagName){databaseId,isDraft}}}
"
,
{
"
tools
"
,
"
<login>
"
,
"
v1.0
"
200