users api status #68149
Answered
by
LangLangBart
ghost
asked this question in
Apps, API and Webhooks
users api status
#68149
-
Select Topic AreaQuestion Bodyhey guys |
Beta Was this translation helpful? Give feedback.
Answered by
LangLangBart
Sep 25, 2023
Replies: 2 comments 3 replies
-
{
user(login: "ashtom") {
status {
message
emoji
indicatesLimitedAvailability
}
}
}{
"data": {
"user": {
"status": {
"message": "This is the way",
"emoji": ":rocket:",
"indicatesLimitedAvailability": false
}
}
}
}
gh api graphql \
--raw-field user_name='ashtom' \
--raw-field query=$'query ($user_name: String!){user(login: $user_name){status{message emoji indicatesLimitedAvailability}}}' \
--jq .data.user.status
# {
# "emoji": ":rocket:",
# "indicatesLimitedAvailability": false,
# "message": "This is the way"
# }
mutation ($emoji: String=":coffee:", $message: String="Java") {
changeUserStatus(input: {emoji: $emoji, message: $message}) {
status {
updatedAt
}
}
}
Important Changing the |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
thanks a bunch broa |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

<YOUR TOKEN HERE>with your token