G
GetGithubUserHovercardInfo
GithubApi.GetGithubUserHovercardInfo
Description
Retrieve detailed hovercard info for a GitHub user.
Fetches hovercard information about a specified GitHub user, offering insights related to their pull requests, issues, repositories, and organizations. Requires authentication through basic auth or OAuth with the `repo` scope. Enhanced details can be obtained by specifying `subject_type` and `subject_id` parameters.
Input Parameters
{
"parameters": [
{
"name": "github_username",
"required": true,
"inferrable": true,
"description": "The GitHub username for which to retrieve hovercard information.",
"value_schema": {
"val_type": "string"
}
},
{
"name": "additional_info_type",
"required": false,
"inferrable": true,
"description": "Specifies the type of related information for the user's hovercard. Options: `organization`, `repository`, `issue`, `pull_request`. Required with `subject_id`.",
"value_schema": {
"val_type": "string"
}
},
{
"name": "subject_identifier",
"required": false,
"inferrable": true,
"description": "The ID corresponding to the specified `subject_type` (e.g., organization, repository). Required if `subject_type` is used.",
"value_schema": {
"val_type": "string"
}
}
]
} Output
{
"description": "Response from the API endpoint 'users/get-context-for-user'.",
"value_schema": {
"val_type": "json"
},
"available_modes": [
"value",
"error"
]
}