activity_slash_mark_repo_notifications_as_read

Function activity_slash_mark_repo_notifications_as_read 

Source
pub async fn activity_slash_mark_repo_notifications_as_read(
    configuration: &Configuration,
    owner: &str,
    repo: &str,
    activity_mark_repo_notifications_as_read_request: Option<ActivityMarkRepoNotificationsAsReadRequest>,
) -> Result<ActivityMarkRepoNotificationsAsRead202Response, Error<ActivitySlashMarkRepoNotificationsAsReadError>>
Expand description

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.