chino@chino-Legion-5-15IAH7H:~/Works/hibimemo2/sikulix$ curl -H "Authorization: bearer TOKEN" -X POST -d " \
> { \
> \"query\": \"query { viewer { login }}\" \
> } \
> " https://api.github.com/graphql
{
"message": "Bad credentials",
"documentation_url": "https://docs.github.com/graphql"
}
chino@chino-Legion-5-15IAH7H:~/Works/hibimemo2/sikulix$ type -p curl >/dev/null || (sudo apt update && sudo apt install curl -y)
chino@chino-Legion-5-15IAH7H:~/Works/hibimemo2/sikulix$ curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
> && sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \
> && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
> && sudo apt update \
> && sudo apt install gh -y
[sudo] password for chino:
Sorry, try again.
[sudo] password for chino:
4+1 records in
4+1 records out
2270 bytes (2.3 kB, 2.2 KiB) copied, 5.4079e-05 s, 42.0 MB/s
Get:1 https://cli.github.com/packages stable InRelease [3,917 B]
Hit:2 https://repo.steampowered.com/steam stable InRelease
Hit:3 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:4 http://packages.microsoft.com/repos/code stable InRelease
Hit:5 https://download.docker.com/linux/ubuntu focal InRelease
Get:6 https://cli.github.com/packages stable/main amd64 Packages [345 B]
Hit:8 http://jp.archive.ubuntu.com/ubuntu focal InRelease
Get:9 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal InRelease [24.3 kB]
Get:10 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:11 http://jp.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:12 http://ppa.launchpad.net/kicad/kicad-7.0-releases/ubuntu focal InRelease
Hit:7 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Get:13 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal/main i386 Packages [17.6 kB]
Get:14 http://jp.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:15 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [59.9 kB]
Get:16 http://jp.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [885 kB]
Get:17 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [96.3 kB]
Get:18 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [940 B]
Get:19 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal/main amd64 Packages [33.2 kB]
Get:20 http://jp.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2,865 kB]
Get:21 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal/main Translation-en [7,860 B]
Get:22 http://jp.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [275 kB]
Get:23 http://jp.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [2,330 kB]
Get:24 http://jp.archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [34.6 kB]
Get:25 http://jp.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [414 kB]
Get:26 http://jp.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [25.8 kB]
Get:27 http://jp.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [944 B]
Get:28 http://jp.archive.ubuntu.com/ubuntu focal-backports/main amd64 DEP-11 Metadata [7,984 B]
Get:29 http://jp.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [30.5 kB]
Fetched 7,449 kB in 6s (1,222 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
36 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
gh
0 upgraded, 1 newly installed, 0 to remove and 36 not upgraded.
Need to get 11.2 MB of archives.
After this operation, 43.5 MB of additional disk space will be used.
Get:1 https://cli.github.com/packages stable/main amd64 gh amd64 2.35.0 [11.2 MB]
Fetched 11.2 MB in 1s (8,156 kB/s)
Selecting previously unselected package gh.
(Reading database ... 262132 files and directories currently installed.)
Preparing to unpack .../archives/gh_2.35.0_amd64.deb ...
Unpacking gh (2.35.0) ...
Setting up gh (2.35.0) ...
Processing triggers for man-db (2.9.1-1) ...
chino@chino-Legion-5-15IAH7H:~/Works/hibimemo2/sikulix$ $ gh api graphql -f query='
> query {
> user(login: "myname") {
>
chrome_to_firefox.sikuli/ hs_err_pid4214.log ubuntu_e595.sikuli/ ubuntu_t480.sikuli/
click_gpredict_right_bar.sikuli/ hs_err_pid70898.log ubuntu_legion570i.sikuli/ uma_team.sikuli/
cut_black.sikuli/ macosx_mbp2018.sikuli/ ubuntu_legion570.sikuli/ windows_e495.sikuli/
cut_gray.sikuli/ sikulixide-2.0.5.jar ubuntu_naro-1.sikuli/ windows_legion570i.sikuli/
cut_white.sikuli/ sikulixide-2.0.5.jar.htm ubuntu_naro.sikuli/ windows_naro_chrome.sikuli/
hs_err_pid11163.log sikulix.sikuli/ ubuntu_t480-1.sikuli/ windows_naro.sikuli/
hs_err_pid114763.log test_s-link.sikuli/ ubuntu_t480-2.sikuli/ windows_t480.sikuli/
hs_err_pid137092.log ubuntu_e495.sikuli/ ubuntu_t480-3.sikuli/
> bio
>
chrome_to_firefox.sikuli/ hs_err_pid4214.log ubuntu_e595.sikuli/ ubuntu_t480.sikuli/
click_gpredict_right_bar.sikuli/ hs_err_pid70898.log ubuntu_legion570i.sikuli/ uma_team.sikuli/
cut_black.sikuli/ macosx_mbp2018.sikuli/ ubuntu_legion570.sikuli/ windows_e495.sikuli/
cut_gray.sikuli/ sikulixide-2.0.5.jar ubuntu_naro-1.sikuli/ windows_legion570i.sikuli/
cut_white.sikuli/ sikulixide-2.0.5.jar.htm ubuntu_naro.sikuli/ windows_naro_chrome.sikuli/
hs_err_pid11163.log sikulix.sikuli/ ubuntu_t480-1.sikuli/ windows_naro.sikuli/
hs_err_pid114763.log test_s-link.sikuli/ ubuntu_t480-2.sikuli/ windows_t480.sikuli/
hs_err_pid137092.log ubuntu_e495.sikuli/ ubuntu_t480-3.sikuli/
> projectV2(number: 1) {
>
chrome_to_firefox.sikuli/ hs_err_pid4214.log ubuntu_e595.sikuli/ ubuntu_t480.sikuli/
click_gpredict_right_bar.sikuli/ hs_err_pid70898.log ubuntu_legion570i.sikuli/ uma_team.sikuli/
cut_black.sikuli/ macosx_mbp2018.sikuli/ ubuntu_legion570.sikuli/ windows_e495.sikuli/
cut_gray.sikuli/ sikulixide-2.0.5.jar ubuntu_naro-1.sikuli/ windows_legion570i.sikuli/
cut_white.sikuli/ sikulixide-2.0.5.jar.htm ubuntu_naro.sikuli/ windows_naro_chrome.sikuli/
hs_err_pid11163.log sikulix.sikuli/ ubuntu_t480-1.sikuli/ windows_naro.sikuli/
hs_err_pid114763.log test_s-link.sikuli/ ubuntu_t480-2.sikuli/ windows_t480.sikuli/
hs_err_pid137092.log ubuntu_e495.sikuli/ ubuntu_t480-3.sikuli/
>
chrome_to_firefox.sikuli/ hs_err_pid4214.log ubuntu_e595.sikuli/ ubuntu_t480.sikuli/
click_gpredict_right_bar.sikuli/ hs_err_pid70898.log ubuntu_legion570i.sikuli/ uma_team.sikuli/
cut_black.sikuli/ macosx_mbp2018.sikuli/ ubuntu_legion570.sikuli/ windows_e495.sikuli/
cut_gray.sikuli/ sikulixide-2.0.5.jar ubuntu_naro-1.sikuli/ windows_legion570i.sikuli/
cut_white.sikuli/ sikulixide-2.0.5.jar.htm ubuntu_naro.sikuli/ windows_naro_chrome.sikuli/
hs_err_pid11163.log sikulix.sikuli/ ubuntu_t480-1.sikuli/ windows_naro.sikuli/
hs_err_pid114763.log test_s-link.sikuli/ ubuntu_t480-2.sikuli/ windows_t480.sikuli/
hs_err_pid137092.log ubuntu_e495.sikuli/ ubuntu_t480-3.sikuli/
> title
>
chrome_to_firefox.sikuli/ hs_err_pid4214.log ubuntu_e595.sikuli/ ubuntu_t480.sikuli/
click_gpredict_right_bar.sikuli/ hs_err_pid70898.log ubuntu_legion570i.sikuli/ uma_team.sikuli/
cut_black.sikuli/ macosx_mbp2018.sikuli/ ubuntu_legion570.sikuli/ windows_e495.sikuli/
cut_gray.sikuli/ sikulixide-2.0.5.jar ubuntu_naro-1.sikuli/ windows_legion570i.sikuli/
cut_white.sikuli/ sikulixide-2.0.5.jar.htm ubuntu_naro.sikuli/ windows_naro_chrome.sikuli/
hs_err_pid11163.log sikulix.sikuli/ ubuntu_t480-1.sikuli/ windows_naro.sikuli/
hs_err_pid114763.log test_s-link.sikuli/ ubuntu_t480-2.sikuli/ windows_t480.sikuli/
hs_err_pid137092.log ubuntu_e495.sikuli/ ubuntu_t480-3.sikuli/
>
chrome_to_firefox.sikuli/ hs_err_pid4214.log ubuntu_e595.sikuli/ ubuntu_t480.sikuli/
click_gpredict_right_bar.sikuli/ hs_err_pid70898.log ubuntu_legion570i.sikuli/ uma_team.sikuli/
cut_black.sikuli/ macosx_mbp2018.sikuli/ ubuntu_legion570.sikuli/ windows_e495.sikuli/
cut_gray.sikuli/ sikulixide-2.0.5.jar ubuntu_naro-1.sikuli/ windows_legion570i.sikuli/
cut_white.sikuli/ sikulixide-2.0.5.jar.htm ubuntu_naro.sikuli/ windows_naro_chrome.sikuli/
hs_err_pid11163.log sikulix.sikuli/ ubuntu_t480-1.sikuli/ windows_naro.sikuli/
hs_err_pid114763.log test_s-link.sikuli/ ubuntu_t480-2.sikuli/ windows_t480.sikuli/
hs_err_pid137092.log ubuntu_e495.sikuli/ ubuntu_t480-3.sikuli/
> url
>
chrome_to_firefox.sikuli/ hs_err_pid4214.log ubuntu_e595.sikuli/ ubuntu_t480.sikuli/
click_gpredict_right_bar.sikuli/ hs_err_pid70898.log ubuntu_legion570i.sikuli/ uma_team.sikuli/
cut_black.sikuli/ macosx_mbp2018.sikuli/ ubuntu_legion570.sikuli/ windows_e495.sikuli/
cut_gray.sikuli/ sikulixide-2.0.5.jar ubuntu_naro-1.sikuli/ windows_legion570i.sikuli/
cut_white.sikuli/ sikulixide-2.0.5.jar.htm ubuntu_naro.sikuli/ windows_naro_chrome.sikuli/
hs_err_pid11163.log sikulix.sikuli/ ubuntu_t480-1.sikuli/ windows_naro.sikuli/
hs_err_pid114763.log test_s-link.sikuli/ ubuntu_t480-2.sikuli/ windows_t480.sikuli/
hs_err_pid137092.log ubuntu_e495.sikuli/ ubuntu_t480-3.sikuli/
> }
> }
> }
> '
$: command not found
chino@chino-Legion-5-15IAH7H:~/Works/hibimemo2/sikulix$ gh api graphql -f query='
> query {
> user(login: "myname") {
>
chrome_to_firefox.sikuli/ hs_err_pid4214.log ubuntu_e595.sikuli/ ubuntu_t480.sikuli/
click_gpredict_right_bar.sikuli/ hs_err_pid70898.log ubuntu_legion570i.sikuli/ uma_team.sikuli/
cut_black.sikuli/ macosx_mbp2018.sikuli/ ubuntu_legion570.sikuli/ windows_e495.sikuli/
cut_gray.sikuli/ sikulixide-2.0.5.jar ubuntu_naro-1.sikuli/ windows_legion570i.sikuli/
cut_white.sikuli/ sikulixide-2.0.5.jar.htm ubuntu_naro.sikuli/ windows_naro_chrome.sikuli/
hs_err_pid11163.log sikulix.sikuli/ ubuntu_t480-1.sikuli/ windows_naro.sikuli/
hs_err_pid114763.log test_s-link.sikuli/ ubuntu_t480-2.sikuli/ windows_t480.sikuli/
hs_err_pid137092.log ubuntu_e495.sikuli/ ubuntu_t480-3.sikuli/
> bio
>
chrome_to_firefox.sikuli/ hs_err_pid4214.log ubuntu_e595.sikuli/ ubuntu_t480.sikuli/
click_gpredict_right_bar.sikuli/ hs_err_pid70898.log ubuntu_legion570i.sikuli/ uma_team.sikuli/
cut_black.sikuli/ macosx_mbp2018.sikuli/ ubuntu_legion570.sikuli/ windows_e495.sikuli/
cut_gray.sikuli/ sikulixide-2.0.5.jar ubuntu_naro-1.sikuli/ windows_legion570i.sikuli/
cut_white.sikuli/ sikulixide-2.0.5.jar.htm ubuntu_naro.sikuli/ windows_naro_chrome.sikuli/
hs_err_pid11163.log sikulix.sikuli/ ubuntu_t480-1.sikuli/ windows_naro.sikuli/
hs_err_pid114763.log test_s-link.sikuli/ ubuntu_t480-2.sikuli/ windows_t480.sikuli/
hs_err_pid137092.log ubuntu_e495.sikuli/ ubuntu_t480-3.sikuli/
> projectV2(number: 1) {
>
chrome_to_firefox.sikuli/ hs_err_pid4214.log ubuntu_e595.sikuli/ ubuntu_t480.sikuli/
click_gpredict_right_bar.sikuli/ hs_err_pid70898.log ubuntu_legion570i.sikuli/ uma_team.sikuli/
cut_black.sikuli/ macosx_mbp2018.sikuli/ ubuntu_legion570.sikuli/ windows_e495.sikuli/
cut_gray.sikuli/ sikulixide-2.0.5.jar ubuntu_naro-1.sikuli/ windows_legion570i.sikuli/
cut_white.sikuli/ sikulixide-2.0.5.jar.htm ubuntu_naro.sikuli/ windows_naro_chrome.sikuli/
hs_err_pid11163.log sikulix.sikuli/ ubuntu_t480-1.sikuli/ windows_naro.sikuli/
hs_err_pid114763.log test_s-link.sikuli/ ubuntu_t480-2.sikuli/ windows_t480.sikuli/
hs_err_pid137092.log ubuntu_e495.sikuli/ ubuntu_t480-3.sikuli/
>
chrome_to_firefox.sikuli/ hs_err_pid4214.log ubuntu_e595.sikuli/ ubuntu_t480.sikuli/
click_gpredict_right_bar.sikuli/ hs_err_pid70898.log ubuntu_legion570i.sikuli/ uma_team.sikuli/
cut_black.sikuli/ macosx_mbp2018.sikuli/ ubuntu_legion570.sikuli/ windows_e495.sikuli/
cut_gray.sikuli/ sikulixide-2.0.5.jar ubuntu_naro-1.sikuli/ windows_legion570i.sikuli/
cut_white.sikuli/ sikulixide-2.0.5.jar.htm ubuntu_naro.sikuli/ windows_naro_chrome.sikuli/
hs_err_pid11163.log sikulix.sikuli/ ubuntu_t480-1.sikuli/ windows_naro.sikuli/
hs_err_pid114763.log test_s-link.sikuli/ ubuntu_t480-2.sikuli/ windows_t480.sikuli/
hs_err_pid137092.log ubuntu_e495.sikuli/ ubuntu_t480-3.sikuli/
> title
>
chrome_to_firefox.sikuli/ hs_err_pid4214.log ubuntu_e595.sikuli/ ubuntu_t480.sikuli/
click_gpredict_right_bar.sikuli/ hs_err_pid70898.log ubuntu_legion570i.sikuli/ uma_team.sikuli/
cut_black.sikuli/ macosx_mbp2018.sikuli/ ubuntu_legion570.sikuli/ windows_e495.sikuli/
cut_gray.sikuli/ sikulixide-2.0.5.jar ubuntu_naro-1.sikuli/ windows_legion570i.sikuli/
cut_white.sikuli/ sikulixide-2.0.5.jar.htm ubuntu_naro.sikuli/ windows_naro_chrome.sikuli/
hs_err_pid11163.log sikulix.sikuli/ ubuntu_t480-1.sikuli/ windows_naro.sikuli/
hs_err_pid114763.log test_s-link.sikuli/ ubuntu_t480-2.sikuli/ windows_t480.sikuli/
hs_err_pid137092.log ubuntu_e495.sikuli/ ubuntu_t480-3.sikuli/
>
chrome_to_firefox.sikuli/ hs_err_pid4214.log ubuntu_e595.sikuli/ ubuntu_t480.sikuli/
click_gpredict_right_bar.sikuli/ hs_err_pid70898.log ubuntu_legion570i.sikuli/ uma_team.sikuli/
cut_black.sikuli/ macosx_mbp2018.sikuli/ ubuntu_legion570.sikuli/ windows_e495.sikuli/
cut_gray.sikuli/ sikulixide-2.0.5.jar ubuntu_naro-1.sikuli/ windows_legion570i.sikuli/
cut_white.sikuli/ sikulixide-2.0.5.jar.htm ubuntu_naro.sikuli/ windows_naro_chrome.sikuli/
hs_err_pid11163.log sikulix.sikuli/ ubuntu_t480-1.sikuli/ windows_naro.sikuli/
hs_err_pid114763.log test_s-link.sikuli/ ubuntu_t480-2.sikuli/ windows_t480.sikuli/
hs_err_pid137092.log ubuntu_e495.sikuli/ ubuntu_t480-3.sikuli/
> url
>
chrome_to_firefox.sikuli/ hs_err_pid4214.log ubuntu_e595.sikuli/ ubuntu_t480.sikuli/
click_gpredict_right_bar.sikuli/ hs_err_pid70898.log ubuntu_legion570i.sikuli/ uma_team.sikuli/
cut_black.sikuli/ macosx_mbp2018.sikuli/ ubuntu_legion570.sikuli/ windows_e495.sikuli/
cut_gray.sikuli/ sikulixide-2.0.5.jar ubuntu_naro-1.sikuli/ windows_legion570i.sikuli/
cut_white.sikuli/ sikulixide-2.0.5.jar.htm ubuntu_naro.sikuli/ windows_naro_chrome.sikuli/
hs_err_pid11163.log sikulix.sikuli/ ubuntu_t480-1.sikuli/ windows_naro.sikuli/
hs_err_pid114763.log test_s-link.sikuli/ ubuntu_t480-2.sikuli/ windows_t480.sikuli/
hs_err_pid137092.log ubuntu_e495.sikuli/ ubuntu_t480-3.sikuli/
> }
> }
> }
> '
To get started with GitHub CLI, please run: gh auth login
Alternatively, populate the GH_TOKEN environment variable with a GitHub API authentication token.
chino@chino-Legion-5-15IAH7H:~/Works/hibimemo2/sikulix$ gh auth login
? What account do you want to log into? GitHub.com
? What is your preferred protocol for Git operations? SSH
? Upload your SSH public key to your GitHub account? /home/chino/.ssh/id_rsa4ues.pub
? Title for your SSH key: GitHub CLI
? How would you like to authenticate GitHub CLI? Login with a web browser
! First copy your one-time code: C4E0-27BD
Press Enter to open github.com in your browser...
✓ Authentication complete.
- gh config set -h github.com git_protocol ssh
✓ Configured git protocol
✓ SSH key already existed on your GitHub account: /home/chino/.ssh/id_rsa4ues.pub
✓ Logged in as takurx
chino@chino-Legion-5-15IAH7H:~/Works/hibimemo2/sikulix$ gh api graphql -f query='
query {
user(login: "myname") {
bio
projectV2(number: 1) {
title
url
}
}
}
'
{
"errors": [
{
"type": "INSUFFICIENT_SCOPES",
"locations": [
{
"line": 5,
"column": 1
}
],
"message": "Your token has not been granted the required scopes to execute this query. The 'projectV2' field requires one of the following scopes: ['read:project'], but your token has only been granted the: ['admin:public_key', 'gist', 'read:org', 'repo'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens."
},
{
"type": "INSUFFICIENT_SCOPES",
"locations": [
{
"line": 6,
"column": 1
}
],
"message": "Your token has not been granted the required scopes to execute this query. The 'title' field requires one of the following scopes: ['read:project'], but your token has only been granted the: ['admin:public_key', 'gist', 'read:org', 'repo'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens."
},
{
"type": "INSUFFICIENT_SCOPES",
"locations": [
{
"line": 7,
"column": 1
}
],
"message": "Your token has not been granted the required scopes to execute this query. The 'url' field requires one of the following scopes: ['read:project'], but your token has only been granted the: ['admin:public_key', 'gist', 'read:org', 'repo'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens."
}
]
}
gh: Your token has not been granted the required scopes to execute this query. The 'projectV2' field requires one of the following scopes: ['read:project'], but your token has only been granted the: ['admin:public_key', 'gist', 'read:org', 'repo'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens.
Your token has not been granted the required scopes to execute this query. The 'title' field requires one of the following scopes: ['read:project'], but your token has only been granted the: ['admin:public_key', 'gist', 'read:org', 'repo'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens.
Your token has not been granted the required scopes to execute this query. The 'url' field requires one of the following scopes: ['read:project'], but your token has only been granted the: ['admin:public_key', 'gist', 'read:org', 'repo'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens.
chino@chino-Legion-5-15IAH7H:~/Works/hibimemo2/sikulix$ gh api graphql -f query='
> query {
> user(login: "takurx") {
> bio
> test-blink-pio-2(number: 1) {
> title
> url
> }
> }
> }
> '
{
"errors": [
{
"message": "Parse error on \"-\" (error) at [5, 5]",
"locations": [
{
"line": 5,
"column": 5
}
]
}
]
}
gh: Parse error on "-" (error) at [5, 5]
chino@chino-Legion-5-15IAH7H:~/Works/hibimemo2/sikulix$ gh api graphql -f query='
> query {
> user(login: "takurx") {
> bio
> test\-blink\-pio\-2(number: 1) {
> title
> url
> }
> }
> }
> '
{
"errors": [
{
"message": "Parse error on \"\\\\\" (error) at [5, 5]",
"locations": [
{
"line": 5,
"column": 5
}
]
}
]
}
gh: Parse error on "\\" (error) at [5, 5]
chino@chino-Legion-5-15IAH7H:~/Works/hibimemo2/sikulix$ gh api graphql -f query='
> query {
> user(login: "takurx") {
> bio
> m5stack_operation_lamp(number: 1) {
> title
> url
> }
> }
> }
> '
{
"errors": [
{
"path": [
"query",
"user",
"m5stack_operation_lamp"
],
"extensions": {
"code": "undefinedField",
"typeName": "User",
"fieldName": "m5stack_operation_lamp"
},
"locations": [
{
"line": 5,
"column": 1
}
],
"message": "Field 'm5stack_operation_lamp' doesn't exist on type 'User'"
}
]
}
gh: Field 'm5stack_operation_lamp' doesn't exist on type 'User'
chino@chino-Legion-5-15IAH7H:~/Works/hibimemo2/sikulix$ gh api graphql -f query='
> query {
> user(login: "takurx") {
> bio
> }
> }
> '
{
"data": {
"user": {
"bio": "微博(weibo): https://www.weibo.com/u/6020306082"
}
}
}
chino@chino-Legion-5-15IAH7H:~/Works/hibimemo2/sikulix$ gh api graphql -f query='
> query {
> user(login: "takurx") {
> bio
> projectV2(number: 1) {
> title
> url
> }
> }
> }
> '
{
"errors": [
{
"type": "INSUFFICIENT_SCOPES",
"locations": [
{
"line": 5,
"column": 1
}
],
"message": "Your token has not been granted the required scopes to execute this query. The 'projectV2' field requires one of the following scopes: ['read:project'], but your token has only been granted the: ['admin:public_key', 'gist', 'read:org', 'repo'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens."
},
{
"type": "INSUFFICIENT_SCOPES",
"locations": [
{
"line": 6,
"column": 1
}
],
"message": "Your token has not been granted the required scopes to execute this query. The 'title' field requires one of the following scopes: ['read:project'], but your token has only been granted the: ['admin:public_key', 'gist', 'read:org', 'repo'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens."
},
{
"type": "INSUFFICIENT_SCOPES",
"locations": [
{
"line": 7,
"column": 1
}
],
"message": "Your token has not been granted the required scopes to execute this query. The 'url' field requires one of the following scopes: ['read:project'], but your token has only been granted the: ['admin:public_key', 'gist', 'read:org', 'repo'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens."
}
]
}
gh: Your token has not been granted the required scopes to execute this query. The 'projectV2' field requires one of the following scopes: ['read:project'], but your token has only been granted the: ['admin:public_key', 'gist', 'read:org', 'repo'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens.
Your token has not been granted the required scopes to execute this query. The 'title' field requires one of the following scopes: ['read:project'], but your token has only been granted the: ['admin:public_key', 'gist', 'read:org', 'repo'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens.
Your token has not been granted the required scopes to execute this query. The 'url' field requires one of the following scopes: ['read:project'], but your token has only been granted the: ['admin:public_key', 'gist', 'read:org', 'repo'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens.
chino@chino-Legion-5-15IAH7H:~/Works/hibimemo2/sikulix$
chino@chino-Legion-5-15IAH7H:~$ curl -i -X GET \
> "https://graph.facebook.com/v18.0/me?fields=id%2Cname&access_token=EAASGZAhZBw8YQBOw3IEt0aU1PRDsc3H2nb2papZABuuoeMdxZACBvjC5sZArSzzeLKyqpInB3ShpZArSvuNMosNRuBSyZCtHSopi2YHWedz5cOZCdSD6DLhZBc4O75greWm0jnzNbWkoGbZCbh9UflDvPqFiKU7Swmew5fUlT8aSZBEeeNDTuEACR4MZAkR9sl5UZCIV5ZAPV3Y1n4ZBeTMQxKpNZCXDg8RrAg3XZCYCa55uCYZBAEOrKdfNvs8S1LiqPexmwlpgZDZD"
HTTP/2 200
etag: "ac84b7d07a85a9fe950e5b8322100d173bbadffd"
content-type: application/json; charset=UTF-8
vary: Origin
cross-origin-resource-policy: cross-origin
x-app-usage: {"call_count":7,"total_cputime":0,"total_time":1}
access-control-allow-origin: *
facebook-api-version: v18.0
strict-transport-security: max-age=15552000; preload
pragma: no-cache
cache-control: private, no-cache, no-store, must-revalidate
expires: Sat, 01 Jan 2000 00:00:00 GMT
x-fb-request-id: AJ-xYCbgGiD9NEoTYbhjCO4
x-fb-trace-id: HwvoxZFleY3
x-fb-rev: 1008969836
x-fb-debug: Kl7LM17CVbq8CKuv18EaW7au5KbbpkbBGk0vVrJsBk/J6N8cKzN4xkBvcgLCbhQmXshz9BeprVTKmZccg2qGdQ==
content-length: 60
date: Sun, 01 Oct 2023 02:08:12 GMT
alt-svc: h3=":443"; ma=86400
{"id":"2311210019064137","name":"\u4e2d\u5ddd \u4f73\u5927"}chino@chino-Legion-cchino@chchinchicchinochinochccchichcccccccchino@chino-Legion-5-15IAH7H:~$
chino@chino-Legion-5-15IAH7H:~$
chino@chino-Legion-5-15IAH7H:~$
chino@chino-Legion-5-15IAH7H:~$ curl -i -X GET "https://graph.facebook.com/v18.0/me?fields=id%2Cname&access_token=EAASGZAhZBw8YQBOw3IEt0aU1PRDsc3H2nb2papZABuuoeMdxZACBvjC5sZArSzzeLKyqpInB3ShpZArSvuNMosNRuBSyZCtHSopi2YHWedz5cOZCdSD6DLhZBc4O75greWm0jnzNbWkoGbZCbh9UflDvPqFiKU7Swmew5fUlT8aSZBEeeNDTuEACR4MZAkR9sl5UZCIV5ZAPV3Y1n4ZBeTMQxKpNZCXDg8RrAg3XZCYCa55uCYZBAEOrKdfNvs8S1LiqPexmwlpgZDZD"
HTTP/2 200
etag: "ac84b7d07a85a9fe950e5b8322100d173bbadffd"
content-type: application/json; charset=UTF-8
vary: Origin
cross-origin-resource-policy: cross-origin
x-app-usage: {"call_count":8,"total_cputime":0,"total_time":1}
access-control-allow-origin: *
facebook-api-version: v18.0
strict-transport-security: max-age=15552000; preload
pragma: no-cache
cache-control: private, no-cache, no-store, must-revalidate
expires: Sat, 01 Jan 2000 00:00:00 GMT
x-fb-request-id: AU62zJnuJc6M0MXsvN8G3cj
x-fb-trace-id: Fyl1fVypooj
x-fb-rev: 1008969836
x-fb-debug: bkBhKVc/lbJYCF5HSKbuyE1aH7OiKDa5JEdJaUnOf+f/jv1TmurKLiucBJnKVDEPQH/DOIHLPS45ZDddDHOrUw==
content-length: 60
date: Sun, 01 Oct 2023 02:08:39 GMT
alt-svc: h3=":443"; ma=86400
{"id":"2311210019064137","name":"\u4e2d\u5ddd \u4f73\u5927"}chino@chino-Legion-5-15IAH7H:~$
chino@chino-Legion-5-15IAH7H:~$
chino@chino-Legion-5-15IAH7H:~$
chino@chino-Legion-5-15IAH7H:~$
chino@chino-Legion-5-15IAH7H:~$ curl -i -X GET \
> "https://graph.facebook.com/v18.0/me?fields=id%2Cname%2Cposts&access_token=EAADGyjeZCyu0BOzFJLMgPtZCZAJ1nXZARZCJ0s5D1Pdl4iIBkFGZBdcEPe62CqNmHQ0i8Rx7Bzx6HJisEZBe9k8fZCiNgpf8XRTsbxELisQ24KQGs6je6exaf6ij1reoj92gtaKPHXu1pzpprbBuc7OaRzCLkNd8jrKd4xEQO8Yxju69tBk5D841JfI6TmZATWKwZCQc0tz8vwmdHNho05NPu3l3eI5xIRwnpEvRq6ZBLAISjdH2LZCDgUrSgkpWrektTwZDZD"
HTTP/2 200
etag: "aaa9a3f7306eba4aec353f10c18f9508ed59b066"
content-type: application/json; charset=UTF-8
vary: Origin
vary: Accept-Encoding
cross-origin-resource-policy: cross-origin
x-app-usage: {"call_count":2,"total_cputime":0,"total_time":2}
access-control-allow-origin: *
facebook-api-version: v18.0
strict-transport-security: max-age=15552000; preload
pragma: no-cache
cache-control: private, no-cache, no-store, must-revalidate
expires: Sat, 01 Jan 2000 00:00:00 GMT
x-fb-request-id: AXcdLJbGOEgqQk09Ge_Ddqy
x-fb-trace-id: CcrTv1hA5To
x-fb-rev: 1008969962
x-fb-debug: 3kBCgU4CNHkojHqDvXxyl7hWU2lGooTGYjxEFGair3F5oDrHmXSlVsVSNmjRghvg3BgGQp7gMxnzkEZBpI2zOQ==
date: Sun, 01 Oct 2023 03:31:56 GMT
alt-svc: h3=":443"; ma=86400
{"id":"2311243115727494","name":"\u4e2d\u5ddd \u4f73\u5927","posts":{"data":[{"created_time":"2023-09-17T04:46:25+0000","id":"2311243115727494_2302157829969356"},{"created_time":"2023-08-21T23:19:36+0000","id":"2311243115727494_2285803428271463"},{"created_time":"2023-08-19T01:00:07+0000","id":"2311243115727494_2284063721778767"},{"created_time":"2023-07-23T11:57:59+0000","message":"\u66f8\u3044\u3066\u307e\u3057\u305f\u3002\n\u30b9\u30de\u30fc\u30c8\u30b7\u30c6\u30a3\u3001\u7565\u3057\u3066\u30b9\u30b7\ud83c\udf63\u306e\u8a71\u3067\u3059\u3002\nLoRa\u30c7\u30d0\u30a4\u30b9\u304b\u3089\u306e\u30c7\u30fc\u30bf\u3092LoRaWAN\u3092\u7d4c\u7531\u3057\u3066\u30b9\u30de\u30fc\u30c8\u30b7\u30c6\u30a3\u306e\u90fd\u5e02OS\u306eFIWARE\u3067\u30c7\u30fc\u30bf\u3092\u3084\u308a\u53d6\u308a\u3057\u3066\u307f\u305f\u8a71\u3067\u3059\u3002\n","id":"2311243115727494_2267261690125637"},{"created_time":"2023-07-20T18:09:51+0000","id":"2311243115727494_2265576336960839"},{"created_time":"2023-07-02T02:41:35+0000","message":"\u30a6\u30cb\u3046\u3081\u30fc\uff01\u6eb6\u308d\u3051\u308b\uff01\n\u7a2e\u5ef6 \u771f\u4e4b \u3055\u3093\u304c\u51fa\u8377\u3092\u624b\u4f1d\u3063\u3066\u3044\u308b\u3089\u3057\u3044\u751f\u30a6\u30cb\u304c\u5c4a\u3044\u305f\u306e\u3067\u30a6\u30cb\u4e3c\u306b\u3057\u3066\u98df\u3079\u307e\u3057\u305f\u3002\u3046\u307e\u3044\ud83d\ude0b\n\u305f\u3060\u4f5c\u308a\u65b9\u306e\u30a6\u30cb\u306b\u7a74\u3042\u304d\u30b9\u30d7\u30fc\u30f3\u3067\u6d77\u6c34\u3092\u542b\u307e\u305b\u3066\u304f\u3060\u3055\u3044\u306e\u5869\u3063\u6c17\uff08\u6d77\u82d4\u3084\u308f\u3055\u3073\u91a4\u6cb9\u304c\u30d9\u30b9\u30c8\u30de\u30c3\u30c1\uff09\u3092\u30df\u30b9\u3057\u305f\u305b\u3044\u304b\uff1f\u53d7\u3051\u53d6\u308a\u3092\u30df\u30b9\u3057\u3066\u518d\u914d\u9054\u3067\u9bae\u5ea6\u304c\u843d\u3061\u305f\u305b\u3044\u304b\uff1f\u524d\u306b\u5927\u8239\u6e21\u306e\u73fe\u5730\u3067\u98df\u3079\u305f\uff1f\u3084\u3064\u306e\u65b9\u304c\u304a\u3044\u3057\u304b\u3063\u305f\u3088\u3046\u306a\uff08\u3046\u308d\u899a\u3048\uff09\u2026\u2026\u7b11 \u98df\u3079\u6bd4\u3079\u306b\u884c\u304d\u305f\u3044\ud83d\ude06\nhttps:\/\/mercari-shops.com\/shops\/MfrAnntzcKTosWiwhN7BLD","id":"2311243115727494_2253278624857277"},{"created_time":"2023-03-18T07:35:44+0000","id":"2311243115727494_2182955501889590"},{"created_time":"2023-02-15T09:15:31+0000","message":"\u30b0\u30e9\u30a4\u30c0\u30fc\u3092\u4f53\u9a13\u642d\u4e57\u3057\u3066\u304d\u307e\u3057\u305f\u3002\n\u30d6\u30eb\u30fc\u30b5\u30fc\u30de\u30eb\u3068\u3044\u3046\u30b0\u30e9\u30a4\u30c0\u30fc\u306e\u6f2b\u753b\u3092\u8aad\u3093\u3067\u8208\u5473\u304c\u51fa\u3066\u304d\u305f\u306e\u3082\u3042\u308a\u3002\n\u666f\u8272\u304c\u6700\u9ad8\u3067\u3057\u305f\u3002\u307e\u305f\u98db\u884c\u6a5f\u306e\u30d5\u30ef\u30c3\u3068\u3059\u308b\u91cd\u529b\u52a0\u901f\u5ea6\u3082\u826f\u3044\u3067\u3059\u3002","id":"2311243115727494_2161098950741912"},{"created_time":"2023-02-15T09:08:04+0000","message":"Starlink\u3001\u534a\u984d\u306b\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u3001\u8cb7\u3044\u307e\u3057\u305f\u3002\n\u63a5\u7d9a\u3067\u304d\u3066\u3044\u308b\u3068\u304d\u306f\u65e9\u3044\u3051\u3069\u3001\u5168\u5929\u304c\u53d6\u308c\u306a\u304b\u3063\u305f\u305b\u3044\u304b\u901a\u4fe1\u304c\u9014\u5207\u308c\u307e\u3057\u305f\u3002\u30aa\u30f3\u30e9\u30a4\u30f3\u30df\u30fc\u30c6\u30a3\u30f3\u30b0\u3084\u52d5\u753b\u3092\u898b\u308b\u306e\u306b\u306f\u5411\u304b\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3002\n\u5168\u5929\u306e\u30aa\u30fc\u30d7\u30f3\u30b9\u30ab\u30a4\u304c\u53d6\u308c\u308b\u30ad\u30e3\u30f3\u30d7\u306b\u306f\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\n\u6765\u6708\u304b\u3089\u975e\u5e38\u7528\u306b\u5bdd\u304b\u305b\u307e\u3059\u3002","id":"2311243115727494_2161095420742265"},{"created_time":"2022-12-07T12:16:59+0000","id":"2311243115727494_2104806409704500"},{"created_time":"2022-08-21T08:35:38+0000","id":"2311243115727494_2014255535426255"},{"created_time":"2022-07-24T02:08:47+0000","message":"\u304a\u304a\u99ac\u301c\u3002\n\u3042\u308a\u304c\u305f\u3044\u3053\u3068\u306b\u798f\u5ca1\u304b\u3089\u304a\u57ce\u5de1\u308a\u3057\u3066\u308b\u304a\u3058\u3055\u3093\u306b\u6307\u5b9a\u5e2d\u4e88\u7d04\u3057\u305f\u3089\u67a1\u5e2d\uff16\u4eba\u5206\u3067\u30c1\u30b1\u30c3\u30c8\u4f59\u3063\u3066\u308b\u3093\u3067\u4e00\u7dd2\u306b\u6765\u305f\u3089\u4f7f\u3048\u308b\u308f\u3068\u3054\u76f8\u4f34\u306b\u3042\u3065\u304b\u308a\u307e\u3057\u305f\u3002\u3042\u308a\u304c\u305f\u3044\u3002 #\u76f8\u99ac\u91ce\u99ac\u8ffd #\u30ce\u30de\u30d5\u30a9\u30c8","id":"2311243115727494_1993289614189514"},{"created_time":"2022-04-22T09:30:02+0000","id":"2311243115727494_1921106581407818"},{"created_time":"2022-04-21T08:45:09+0000","id":"2311243115727494_1920353178149825"},{"created_time":"2022-04-19T23:54:46+0000","id":"2311243115727494_1919402151578261"},{"created_time":"2022-03-29T08:16:12+0000","id":"2311243115727494_1903518636499946"},{"created_time":"2022-03-12T12:16:24+0000","id":"2311243115727494_1891448541040289"},{"created_time":"2022-02-16T08:19:58+0000","id":"2311243115727494_1873689362816207"},{"created_time":"2022-02-15T13:17:19+0000","id":"2311243115727494_1873143349537475"},{"created_time":"2022-02-12T14:06:55+0000","message":"\u66f8\u3044\u305f\u308a\u7de8\u96c6\u3057\u305f\u308a\u6253\u3061\u5408\u308f\u305b\u3057\u305f\u308a\u306a\u3093\u3084\u304b\u3093\u3084\u3042\u3063\u305f\u672c\u304c\u8ca9\u58f2\u3055\u308c\u307e\u3057\u305f\u3002\u79c1\u306fKiCAD\u3067\u57fa\u677f\u4f5c\u3063\u305f\u308a\u3057\u305f\u8a71\u3084PlatformIO\u3067Arduino\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u3044\u305f\u308a\u3057\u305f\u8a71\u3092\u66f8\u3044\u3066\u307e\u3059\u3002\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002\n","id":"2311243115727494_1871022329749577"},{"created_time":"2022-02-09T11:42:53+0000","id":"2311243115727494_1868636129988197"},{"created_time":"2021-11-05T13:46:59+0000","id":"2311243115727494_1799693410215803"},{"created_time":"2021-10-31T00:52:15+0000","message":"\u6295\u7968\u3069\u3093\u3002","id":"2311243115727494_1795544193964058"},{"created_time":"2021-10-24T01:51:13+0000","id":"2311243115727494_1790177181167426"},{"created_time":"2021-10-22T14:21:09+0000","id":"2311243115727494_1789125397939271"}],"paging":{"previous":"https:\/\/graph.facebook.com\/v18.0\/2311243115727494\/posts?access_token=EAADGyjeZCyu0BOzFJLMgPtZCZAJ1nXZARZCJ0s5D1Pdl4iIBkFGZBdcEPe62CqNmHQ0i8Rx7Bzx6HJisEZBe9k8fZCiNgpf8XRTsbxELisQ24KQGs6je6exaf6ij1reoj92gtaKPHXu1pzpprbBuc7OaRzCLkNd8jrKd4xEQO8Yxju69tBk5D841JfI6TmZATWKwZCQc0tz8vwmdHNho05NPu3l3eI5xIRwnpEvRq6ZBLAISjdH2LZCDgUrSgkpWrektTwZDZD&__previous=1&since=1694925985&until&__paging_token=enc_AdCNbunpodZBX7RNjLcp77r7m9O9ZAffto3ZBshC0b35c8sUv7kIxStHiGGZCIxMzDaxZA1X5LZCQsNBJqfchino@chino-Legion-5-15IAH7H:~$