Serve gh release over the GitHub compatibility layer4951bed13 hours ago44 lines · 1.5 KB | 1 | [ |
| 2 | { |
| 3 | "command": "gh release list -R <host>/<login>/tools --json tagName,name,isDraft,isPrerelease,isLatest,publishedAt", |
| 4 | "requests": |
| 5 | { |
| 6 | "method": |
| 7 | "path": |
| 8 | "query": |
| 9 | "headers": |
| 10 | "accept": |
| 11 | "content-type": |
| 12 | "graphql-features": |
| 13 | "x-github-api-version": |
| 14 | }, |
| 15 | "body": |
| 16 | "query": |
| 17 | }, |
| 18 | "status": |
| 19 | }, |
| 20 | { |
| 21 | "method": |
| 22 | "path": |
| 23 | "query": |
| 24 | "headers": |
| 25 | "accept": |
| 26 | "content-type": |
| 27 | "graphql-features": |
| 28 | "x-github-api-version": |
| 29 | }, |
| 30 | "body": |
| 31 | "query": |
| 32 | "variables": |
| 33 | "direction": |
| 34 | "endCursor": |
| 35 | "name": |
| 36 | "owner": |
| 37 | "perPage": |
| 38 | } |
| 39 | }, |
| 40 | "status": |
| 41 | } |
| 42 | ] |
| 43 | } |
| 44 | ] |
[
"
POST
"
,
"
/api/graphql
"
,
{}
,
{
"
application/json
"
,
"
application/json
"
,
"
merge_queue
"
,
"
2022-11-28
"
{
"
query Release_fields{Release: __type(name:
\"
Release
\"
){fields{name}}}
"
200
"
POST
"
,
"
/api/graphql
"
,
{}
,
{
"
application/json
"
,
"
application/json
"
,
"
merge_queue
"
,
"
2022-11-28
"
{
"
query RepositoryReleaseList($direction:OrderDirection!$endCursor:String$name:String!$owner:String!$perPage:Int!){repository(owner: $owner, name: $name){releases(first: $perPage, orderBy: {field: CREATED_AT, direction: $direction}, after: $endCursor){nodes{name,tagName,isDraft,isLatest,isPrerelease,createdAt,publishedAt},pageInfo{hasNextPage,endCursor}}}}
"
,
{
"
DESC
"
,
null
,
"
tools
"
,
"
<login>
"
,
30
200