api: refresh the gh capture from CI2b40b8ca day ago110 lines · 2.7 KB | 1 | [ |
| 2 | { |
| 3 | "command": "gh auth login --hostname <host> --with-token", |
| 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 | }, |
| 31 | "status": |
| 32 | } |
| 33 | ] |
| 34 | }, |
| 35 | { |
| 36 | "command": |
| 37 | "requests": |
| 38 | { |
| 39 | "method": |
| 40 | "path": |
| 41 | "query": |
| 42 | "headers": |
| 43 | "x-github-api-version": |
| 44 | }, |
| 45 | "body": |
| 46 | "status": |
| 47 | }, |
| 48 | { |
| 49 | "method": |
| 50 | "path": |
| 51 | "query": |
| 52 | "headers": |
| 53 | "content-type": |
| 54 | "graphql-features": |
| 55 | "x-github-api-version": |
| 56 | }, |
| 57 | "body": |
| 58 | "query": |
| 59 | }, |
| 60 | "status": |
| 61 | }, |
| 62 | { |
| 63 | "method": |
| 64 | "path": |
| 65 | "query": |
| 66 | "headers": |
| 67 | "content-type": |
| 68 | "x-github-api-version": |
| 69 | }, |
| 70 | "body": |
| 71 | "client_id": |
| 72 | "scope": |
| 73 | }, |
| 74 | "status": |
| 75 | }, |
| 76 | { |
| 77 | "method": |
| 78 | "path": |
| 79 | "query": |
| 80 | "headers": |
| 81 | "content-type": |
| 82 | "x-github-api-version": |
| 83 | }, |
| 84 | "body": |
| 85 | "client_id": |
| 86 | "device_code": |
| 87 | "grant_type": |
| 88 | }, |
| 89 | "status": |
| 90 | } |
| 91 | ] |
| 92 | }, |
| 93 | { |
| 94 | "command": |
| 95 | "requests": |
| 96 | { |
| 97 | "method": |
| 98 | "path": |
| 99 | "query": |
| 100 | "headers": |
| 101 | "accept": |
| 102 | "content-type": |
| 103 | "x-github-api-version": |
| 104 | }, |
| 105 | "body": |
| 106 | "status": |
| 107 | } |
| 108 | ] |
| 109 | } |
| 110 | ] |
[
"
GET
"
,
"
/api/v3/
"
,
{}
,
{
"
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
"
{
"
query UserCurrent{viewer{login}}
"
,
null
200
"
gh auth refresh --hostname <host> --scopes admin:public_key
"
,
[
"
GET
"
,
"
/api/v3/
"
,
{}
,
{
"
2022-11-28
"
null
,
200
"
POST
"
,
"
/api/graphql
"
,
{}
,
{
"
application/json
"
,
"
merge_queue
"
,
"
2022-11-28
"
{
"
query UserCurrent{viewer{login}}
"
200
"
POST
"
,
"
/login/device/code
"
,
{}
,
{
"
application/x-www-form-urlencoded
"
,
"
2022-11-28
"
{
"
178c6fc778ccc68e1d6a
"
,
"
repo read:org gist repo read:org gist admin:public_key
"
200
"
POST
"
,
"
/login/oauth/access_token
"
,
{}
,
{
"
application/x-www-form-urlencoded
"
,
"
2022-11-28
"
{
"
178c6fc778ccc68e1d6a
"
,
"
<redacted>
"
,
"
urn:ietf:params:oauth:grant-type:device_code
"
200
"
gh api --include /
"
,
[
"
GET
"
,
"
/api/v3/
"
,
{}
,
{
"
*/*
"
,
"
application/json; charset=utf-8
"
,
"
2022-11-28
"
null
,
200