Serve gh release over the GitHub compatibility layer4951bed14 hours ago88 lines · 2.6 KB | 1 | [ |
| 2 | { |
| 3 | "command": "gh release delete-asset v1.0 extra.txt -R <host>/<login>/tools --yes", |
| 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 | "x-github-api-version": |
| 25 | }, |
| 26 | "body": |
| 27 | "status": |
| 28 | }, |
| 29 | { |
| 30 | "method": |
| 31 | "path": |
| 32 | "query": |
| 33 | "headers": |
| 34 | "accept": |
| 35 | "content-type": |
| 36 | "graphql-features": |
| 37 | "x-github-api-version": |
| 38 | }, |
| 39 | "body": |
| 40 | "query": |
| 41 | "variables": |
| 42 | "name": |
| 43 | "owner": |
| 44 | "tagName": |
| 45 | } |
| 46 | }, |
| 47 | "status": |
| 48 | } |
| 49 | ] |
| 50 | }, |
| 51 | { |
| 52 | "command": |
| 53 | "requests": |
| 54 | { |
| 55 | "method": |
| 56 | "path": |
| 57 | "query": |
| 58 | "headers": |
| 59 | "accept": |
| 60 | "content-type": |
| 61 | "x-github-api-version": |
| 62 | }, |
| 63 | "body": |
| 64 | "status": |
| 65 | }, |
| 66 | { |
| 67 | "method": |
| 68 | "path": |
| 69 | "query": |
| 70 | "headers": |
| 71 | "accept": |
| 72 | "content-type": |
| 73 | "graphql-features": |
| 74 | "x-github-api-version": |
| 75 | }, |
| 76 | "body": |
| 77 | "query": |
| 78 | "variables": |
| 79 | "name": |
| 80 | "owner": |
| 81 | "tagName": |
| 82 | } |
| 83 | }, |
| 84 | "status": |
| 85 | } |
| 86 | ] |
| 87 | } |
| 88 | ] |
[
"
DELETE
"
,
"
/api/v3/repos/<login>/tools/releases/assets/<id>
"
,
{}
,
{
"
application/json
"
,
"
application/json; charset=utf-8
"
,
"
2022-11-28
"
null
,
204
"
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
"
gh release view v1.0 -R <host>/<login>/tools --json assets
"
,
[
"
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