rest.activity
Octokit exposes these methods on octokit.rest.activity. The last column lists defaults and decorations applied by the SDK.
| Method | Upstream route | Pagination | SDK behavior |
|---|---|---|---|
checkRepoIsStarredByAuthenticatedUser |
GET /user/starred/{owner}/{repo} |
— | — |
deleteRepoSubscription |
DELETE /repos/{owner}/{repo}/subscription |
— | — |
deleteThreadSubscription |
DELETE /notifications/threads/{thread_id}/subscription |
— | — |
getFeeds |
GET /feeds |
— | — |
getRepoSubscription |
GET /repos/{owner}/{repo}/subscription |
— | — |
getThread |
GET /notifications/threads/{thread_id} |
— | — |
getThreadSubscriptionForAuthenticatedUser |
GET /notifications/threads/{thread_id}/subscription |
— | — |
listEventsForAuthenticatedUser |
GET /users/{username}/events |
yes | — |
listNotificationsForAuthenticatedUser |
GET /notifications |
yes | — |
listOrgEventsForAuthenticatedUser |
GET /users/{username}/events/orgs/{org} |
yes | — |
listPublicEvents |
GET /events |
yes | — |
listPublicEventsForRepoNetwork |
GET /networks/{owner}/{repo}/events |
yes | — |
listPublicEventsForUser |
GET /users/{username}/events/public |
yes | — |
listPublicOrgEvents |
GET /orgs/{org}/events |
yes | — |
listReceivedEventsForUser |
GET /users/{username}/received_events |
yes | — |
listReceivedPublicEventsForUser |
GET /users/{username}/received_events/public |
yes | — |
listRepoEvents |
GET /repos/{owner}/{repo}/events |
yes | — |
listRepoNotificationsForAuthenticatedUser |
GET /repos/{owner}/{repo}/notifications |
yes | — |
listReposStarredByAuthenticatedUser |
GET /user/starred |
yes | — |
listReposStarredByUser |
GET /users/{username}/starred |
yes | — |
listReposWatchedByUser |
GET /users/{username}/subscriptions |
yes | — |
listStargazersForRepo |
GET /repos/{owner}/{repo}/stargazers |
yes | — |
listWatchedReposForAuthenticatedUser |
GET /user/subscriptions |
yes | — |
listWatchersForRepo |
GET /repos/{owner}/{repo}/subscribers |
yes | — |
markNotificationsAsRead |
PUT /notifications |
— | — |
markRepoNotificationsAsRead |
PUT /repos/{owner}/{repo}/notifications |
— | — |
markThreadAsDone |
DELETE /notifications/threads/{thread_id} |
— | — |
markThreadAsRead |
PATCH /notifications/threads/{thread_id} |
— | — |
setRepoSubscription |
PUT /repos/{owner}/{repo}/subscription |
— | — |
setThreadSubscription |
PUT /notifications/threads/{thread_id}/subscription |
— | — |
starRepoForAuthenticatedUser |
PUT /user/starred/{owner}/{repo} |
— | — |
unstarRepoForAuthenticatedUser |
DELETE /user/starred/{owner}/{repo} |
— | — |