api: refresh the gh capture from CI2b40b8ca day ago121 lines · 6.8 KB | 1 | [ |
| 2 | { |
| 3 | "command": "gh issue view 1 -R <host>/<login>/tools", |
| 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 | "number": |
| 31 | "owner": |
| 32 | "repo": |
| 33 | } |
| 34 | }, |
| 35 | "status": |
| 36 | }, |
| 37 | { |
| 38 | "method": |
| 39 | "path": |
| 40 | "query": |
| 41 | "headers": |
| 42 | "accept": |
| 43 | "content-type": |
| 44 | "graphql-features": |
| 45 | "x-github-api-version": |
| 46 | }, |
| 47 | "body": |
| 48 | "query": |
| 49 | }, |
| 50 | "status": |
| 51 | }, |
| 52 | { |
| 53 | "method": |
| 54 | "path": |
| 55 | "query": |
| 56 | "headers": |
| 57 | "accept": |
| 58 | "content-type": |
| 59 | "graphql-features": |
| 60 | "x-github-api-version": |
| 61 | }, |
| 62 | "body": |
| 63 | "query": |
| 64 | "variables": |
| 65 | "endCursor": |
| 66 | "name": |
| 67 | "number": |
| 68 | "owner": |
| 69 | } |
| 70 | }, |
| 71 | "status": |
| 72 | } |
| 73 | ] |
| 74 | }, |
| 75 | { |
| 76 | "command": |
| 77 | "requests": |
| 78 | { |
| 79 | "method": |
| 80 | "path": |
| 81 | "query": |
| 82 | "headers": |
| 83 | "accept": |
| 84 | "content-type": |
| 85 | "graphql-features": |
| 86 | "x-github-api-version": |
| 87 | }, |
| 88 | "body": |
| 89 | "query": |
| 90 | "variables": |
| 91 | "number": |
| 92 | "owner": |
| 93 | "repo": |
| 94 | } |
| 95 | }, |
| 96 | "status": |
| 97 | }, |
| 98 | { |
| 99 | "method": |
| 100 | "path": |
| 101 | "query": |
| 102 | "headers": |
| 103 | "accept": |
| 104 | "content-type": |
| 105 | "graphql-features": |
| 106 | "x-github-api-version": |
| 107 | }, |
| 108 | "body": |
| 109 | "query": |
| 110 | "variables": |
| 111 | "endCursor": |
| 112 | "name": |
| 113 | "number": |
| 114 | "owner": |
| 115 | } |
| 116 | }, |
| 117 | "status": |
| 118 | } |
| 119 | ] |
| 120 | } |
| 121 | ] |
[
"
GET
"
,
"
/api/v3/meta
"
,
{}
,
{
"
application/json
"
,
"
application/json; charset=utf-8
"
,
"
2022-11-28
"
null
,
200
"
POST
"
,
"
/api/graphql
"
,
{}
,
{
"
application/json
"
,
"
application/json; charset=utf-8
"
,
"
merge_queue
"
,
"
2022-11-28
"
{
"
\n\t
query IssueByNumber($owner: String!, $repo: String!, $number: Int!) {
\n\t\t
repository(owner: $owner, name: $repo) {
\n\t\t\t
hasIssuesEnabled
\n\t\t\t
issue: issueOrPullRequest(number: $number) {
\n\t\t\t\t
__typename
\n\t\t\t\t
...on Issue{number,url,state,createdAt,title,body,author{login,...on User{id,name}},milestone{number,title,description,dueOn},assignees(first:100){nodes{id,login,name,databaseId},totalCount},labels(first:100){nodes{id,name,description,color},totalCount},reactionGroups{content,users{totalCount}},comments(last: 1) {nodes {author{login,...on User{id,name}},authorAssociation,body,createdAt,includesCreatedEdit,isMinimized,minimizedReason,reactionGroups{content,users{totalCount}}},totalCount},stateReason,issueType{id,name,description,color},parent{id,number,title,url,state,repository{nameWithOwner}},subIssues(first:100){nodes{id,number,title,url,state,repository{nameWithOwner}},totalCount},subIssuesSummary{total,completed,percentCompleted},id}
\n\t\t\t\t
...on PullRequest{number,url,state,createdAt,title,body,author{login,...on User{id,name}},milestone{number,title,description,dueOn},assignees(first:100){nodes{id,login,name,databaseId},totalCount},labels(first:100){nodes{id,name,description,color},totalCount},reactionGroups{content,users{totalCount}},comments(last: 1) {nodes {author{login,...on User{id,name}},authorAssociation,body,createdAt,includesCreatedEdit,isMinimized,minimizedReason,reactionGroups{content,users{totalCount}}},totalCount},id}
\n\t\t\t
}
\n\t\t
}
\n\t
}
"
,
{
1
,
"
<login>
"
,
"
tools
"
200
"
POST
"
,
"
/api/graphql
"
,
{}
,
{
"
application/json
"
,
"
application/json
"
,
"
merge_queue
"
,
"
2022-11-28
"
{
"
query Issue_fields{Issue: __type(name:
\"
Issue
\"
){fields(includeDeprecated: true){name}}}
"
200
"
POST
"
,
"
/api/graphql
"
,
{}
,
{
"
application/json
"
,
"
application/json
"
,
"
merge_queue
"
,
"
2022-11-28
"
{
"
query IssueProjectItems($endCursor:String$name:String!$number:Int!$owner:String!){repository(owner: $owner, name: $name){issue(number: $number){projectItems(first: 100, after: $endCursor){totalCount,nodes{id,project{id,title},status:fieldValueByName(name:
\"
Status
\"
){... on ProjectV2ItemFieldSingleSelectValue{optionId,name}}},pageInfo{hasNextPage,endCursor}}}}}
"
,
{
null
,
"
tools
"
,
1
,
"
<login>
"
200
"
gh issue view 1 -R <host>/<login>/tools --comments
"
,
[
"
POST
"
,
"
/api/graphql
"
,
{}
,
{
"
application/json
"
,
"
application/json; charset=utf-8
"
,
"
merge_queue
"
,
"
2022-11-28
"
{
"
\n\t
query IssueByNumber($owner: String!, $repo: String!, $number: Int!) {
\n\t\t
repository(owner: $owner, name: $repo) {
\n\t\t\t
hasIssuesEnabled
\n\t\t\t
issue: issueOrPullRequest(number: $number) {
\n\t\t\t\t
__typename
\n\t\t\t\t
...on Issue{number,url,state,createdAt,title,body,author{login,...on User{id,name}},milestone{number,title,description,dueOn},assignees(first:100){nodes{id,login,name,databaseId},totalCount},labels(first:100){nodes{id,name,description,color},totalCount},reactionGroups{content,users{totalCount}},stateReason,issueType{id,name,description,color},parent{id,number,title,url,state,repository{nameWithOwner}},subIssues(first:100){nodes{id,number,title,url,state,repository{nameWithOwner}},totalCount},subIssuesSummary{total,completed,percentCompleted},comments(first: 100) {nodes {id,author{login,...on User{id,name}},authorAssociation,body,createdAt,includesCreatedEdit,isMinimized,minimizedReason,reactionGroups{content,users{totalCount}},url,viewerDidAuthor},pageInfo{hasNextPage,endCursor},totalCount},id}
\n\t\t\t\t
...on PullRequest{number,url,state,createdAt,title,body,author{login,...on User{id,name}},milestone{number,title,description,dueOn},assignees(first:100){nodes{id,login,name,databaseId},totalCount},labels(first:100){nodes{id,name,description,color},totalCount},reactionGroups{content,users{totalCount}},comments(first: 100) {nodes {id,author{login,...on User{id,name}},authorAssociation,body,createdAt,includesCreatedEdit,isMinimized,minimizedReason,reactionGroups{content,users{totalCount}},url,viewerDidAuthor},pageInfo{hasNextPage,endCursor},totalCount},id}
\n\t\t\t
}
\n\t\t
}
\n\t
}
"
,
{
1
,
"
<login>
"
,
"
tools
"
200
"
POST
"
,
"
/api/graphql
"
,
{}
,
{
"
application/json
"
,
"
application/json
"
,
"
merge_queue
"
,
"
2022-11-28
"
{
"
query IssueProjectItems($endCursor:String$name:String!$number:Int!$owner:String!){repository(owner: $owner, name: $name){issue(number: $number){projectItems(first: 100, after: $endCursor){totalCount,nodes{id,project{id,title},status:fieldValueByName(name:
\"
Status
\"
){... on ProjectV2ItemFieldSingleSelectValue{optionId,name}}},pageInfo{hasNextPage,endCursor}}}}}
"
,
{
null
,
"
tools
"
,
1
,
"
<login>
"
200