Module activity_api

Source

Enums§

ActivitySlashCheckRepoIsStarredByAuthenticatedUserError
struct for typed errors of method activity_slash_check_repo_is_starred_by_authenticated_user
ActivitySlashDeleteRepoSubscriptionError
struct for typed errors of method activity_slash_delete_repo_subscription
ActivitySlashDeleteThreadSubscriptionError
struct for typed errors of method activity_slash_delete_thread_subscription
ActivitySlashGetFeedsError
struct for typed errors of method activity_slash_get_feeds
ActivitySlashGetRepoSubscriptionError
struct for typed errors of method activity_slash_get_repo_subscription
ActivitySlashGetThreadError
struct for typed errors of method activity_slash_get_thread
ActivitySlashGetThreadSubscriptionForAuthenticatedUserError
struct for typed errors of method activity_slash_get_thread_subscription_for_authenticated_user
ActivitySlashListEventsForAuthenticatedUserError
struct for typed errors of method activity_slash_list_events_for_authenticated_user
ActivitySlashListNotificationsForAuthenticatedUserError
struct for typed errors of method activity_slash_list_notifications_for_authenticated_user
ActivitySlashListOrgEventsForAuthenticatedUserError
struct for typed errors of method activity_slash_list_org_events_for_authenticated_user
ActivitySlashListPublicEventsError
struct for typed errors of method activity_slash_list_public_events
ActivitySlashListPublicEventsForRepoNetworkError
struct for typed errors of method activity_slash_list_public_events_for_repo_network
ActivitySlashListPublicEventsForUserError
struct for typed errors of method activity_slash_list_public_events_for_user
ActivitySlashListPublicOrgEventsError
struct for typed errors of method activity_slash_list_public_org_events
ActivitySlashListReceivedEventsForUserError
struct for typed errors of method activity_slash_list_received_events_for_user
ActivitySlashListReceivedPublicEventsForUserError
struct for typed errors of method activity_slash_list_received_public_events_for_user
ActivitySlashListRepoEventsError
struct for typed errors of method activity_slash_list_repo_events
ActivitySlashListRepoNotificationsForAuthenticatedUserError
struct for typed errors of method activity_slash_list_repo_notifications_for_authenticated_user
ActivitySlashListReposStarredByAuthenticatedUserError
struct for typed errors of method activity_slash_list_repos_starred_by_authenticated_user
ActivitySlashListReposStarredByUserError
struct for typed errors of method activity_slash_list_repos_starred_by_user
ActivitySlashListReposWatchedByUserError
struct for typed errors of method activity_slash_list_repos_watched_by_user
ActivitySlashListStargazersForRepoError
struct for typed errors of method activity_slash_list_stargazers_for_repo
ActivitySlashListWatchedReposForAuthenticatedUserError
struct for typed errors of method activity_slash_list_watched_repos_for_authenticated_user
ActivitySlashListWatchersForRepoError
struct for typed errors of method activity_slash_list_watchers_for_repo
ActivitySlashMarkNotificationsAsReadError
struct for typed errors of method activity_slash_mark_notifications_as_read
ActivitySlashMarkRepoNotificationsAsReadError
struct for typed errors of method activity_slash_mark_repo_notifications_as_read
ActivitySlashMarkThreadAsDoneError
struct for typed errors of method activity_slash_mark_thread_as_done
ActivitySlashMarkThreadAsReadError
struct for typed errors of method activity_slash_mark_thread_as_read
ActivitySlashSetRepoSubscriptionError
struct for typed errors of method activity_slash_set_repo_subscription
ActivitySlashSetThreadSubscriptionError
struct for typed errors of method activity_slash_set_thread_subscription
ActivitySlashStarRepoForAuthenticatedUserError
struct for typed errors of method activity_slash_star_repo_for_authenticated_user
ActivitySlashUnstarRepoForAuthenticatedUserError
struct for typed errors of method activity_slash_unstar_repo_for_authenticated_user

Functions§

activity_slash_check_repo_is_starred_by_authenticated_user
Whether the authenticated user has starred the repository.
activity_slash_delete_repo_subscription
This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, set the repository’s subscription manually.
activity_slash_delete_thread_subscription
Mutes all future notifications for a conversation until you comment on the thread or get an @mention. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the Set a thread subscription endpoint and set ignore to true.
activity_slash_get_feeds
Lists the feeds available to the authenticated user. The response provides a URL for each feed. You can then get a specific feed by sending a request to one of the feed URLs. * Timeline: The GitHub global public timeline * User: The public timeline for any user, using uri_template. For more information, see "Hypermedia." * Current user public: The public timeline for the authenticated user * Current user: The private timeline for the authenticated user * Current user actor: The private timeline for activity created by the authenticated user * Current user organizations: The private timeline for the organizations the authenticated user is a member of. * Security advisories: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub. By default, timeline resources are returned in JSON. You can specify the application/atom+xml type in the Accept header to return timeline resources in Atom format. For more information, see "Media types." Note: Private feeds are only returned when authenticating via Basic Auth since current feed URIs use the older, non revocable auth tokens.
activity_slash_get_repo_subscription
Gets information about whether the authenticated user is subscribed to the repository.
activity_slash_get_thread
Gets information about a notification thread.
activity_slash_get_thread_subscription_for_authenticated_user
This checks to see if the current user is subscribed to a thread. You can also get a repository subscription. Note that subscriptions are only generated if a user is participating in a conversation–for example, they’ve replied to the thread, were @mentioned, or manually subscribe to a thread.
activity_slash_list_events_for_authenticated_user
If you are authenticated as the given user, you will see your private events. Otherwise, you’ll only see public events.
activity_slash_list_notifications_for_authenticated_user
List all notifications for the current user, sorted by most recently updated.
activity_slash_list_org_events_for_authenticated_user
This is the user’s organization dashboard. You must be authenticated as the user to view this.
activity_slash_list_public_events
We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.
activity_slash_list_public_events_for_repo_network
activity_slash_list_public_events_for_user
activity_slash_list_public_org_events
activity_slash_list_received_events_for_user
These are events that you’ve received by watching repositories and following users. If you are authenticated as the given user, you will see private events. Otherwise, you’ll only see public events.
activity_slash_list_received_public_events_for_user
activity_slash_list_repo_events
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.
activity_slash_list_repo_notifications_for_authenticated_user
Lists all notifications for the current user in the specified repository.
activity_slash_list_repos_starred_by_authenticated_user
Lists repositories the authenticated user has starred. This endpoint supports the following custom media types. For more information, see "Media types." - application/vnd.github.star+json: Includes a timestamp of when the star was created.
activity_slash_list_repos_starred_by_user
Lists repositories a user has starred. This endpoint supports the following custom media types. For more information, see "Media types." - application/vnd.github.star+json: Includes a timestamp of when the star was created.
activity_slash_list_repos_watched_by_user
Lists repositories a user is watching.
activity_slash_list_stargazers_for_repo
Lists the people that have starred the repository. This endpoint supports the following custom media types. For more information, see "Media types." - application/vnd.github.star+json: Includes a timestamp of when the star was created.
activity_slash_list_watched_repos_for_authenticated_user
Lists repositories the authenticated user is watching.
activity_slash_list_watchers_for_repo
Lists the people watching the specified repository.
activity_slash_mark_notifications_as_read
Marks all notifications as "read" for the current user. If the number of notifications is too large to complete in one request, you will receive a 202 Accepted status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the List notifications for the authenticated user endpoint and pass the query parameter all=false.
activity_slash_mark_repo_notifications_as_read
Marks all notifications in a repository as "read" for the current user. If the number of notifications is too large to complete in one request, you will receive a 202 Accepted status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the List repository notifications for the authenticated user endpoint and pass the query parameter all=false.
activity_slash_mark_thread_as_done
Marks a thread as "done." Marking a thread as "done" is equivalent to marking a notification in your notification inbox on GitHub as done: https://github.com/notifications.
activity_slash_mark_thread_as_read
Marks a thread as "read." Marking a thread as "read" is equivalent to clicking a notification in your notification inbox on GitHub: https://github.com/notifications.
activity_slash_set_repo_subscription
If you would like to watch a repository, set subscribed to true. If you would like to ignore notifications made within a repository, set ignored to true. If you would like to stop watching a repository, delete the repository’s subscription completely.
activity_slash_set_thread_subscription
If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an @mention. You can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored. Unsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the Delete a thread subscription endpoint.
activity_slash_star_repo_for_authenticated_user
Note that you’ll need to set Content-Length to zero when calling out to this endpoint. For more information, see "HTTP method."
activity_slash_unstar_repo_for_authenticated_user
Unstar a repository that the authenticated user has previously starred.