pulls_slash_dismiss_review

Function pulls_slash_dismiss_review 

Source
pub async fn pulls_slash_dismiss_review(
    configuration: &Configuration,
    owner: &str,
    repo: &str,
    pull_number: i32,
    review_id: i32,
    pulls_dismiss_review_request: PullsDismissReviewRequest,
) -> Result<PullRequestReview, Error<PullsSlashDismissReviewError>>
Expand description

Dismisses a specified review on a pull request. Note: To dismiss a pull request review on a protected branch, you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews. This endpoint supports the following custom media types. For more information, see "Media types." - application/vnd.github-commitcomment.raw+json: Returns the raw markdown body. Response will include body. This is the default if you do not pass any specific media type. - application/vnd.github-commitcomment.text+json: Returns a text only representation of the markdown body. Response will include body_text. - application/vnd.github-commitcomment.html+json: Returns HTML rendered from the body’s markdown. Response will include body_html. - application/vnd.github-commitcomment.full+json: Returns raw, text, and HTML representations. Response will include body, body_text, and body_html.