activity
List public events received by a user
[!NOTE] This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
get/users/{username}/received_events/public
Path parameters
usernamestring required
The handle for the GitHub user account.
Query parameters
per_pageinteger
The number of results per page (max 100). For more information, see "Using pagination in the REST API."
pageinteger
The page number of the results to fetch. For more information, see "Using pagination in the REST API."
Response
Response
Example response
[
{
"payload": {
"discussion": {
"state_reason": "resolved",
"labels": [
{
"id": 208045946,
"node_id": "MDU6TGFiZWwyMDgwNDU5NDY=",
"url": "https://api.github.com/repositories/42/labels/bug",
"name": "bug",
"description": "Something isn't working",
"color": "FFFFFF",
"default": true
}
]
}
}
}
]