pub async fn pulls_slash_list_reviews(
configuration: &Configuration,
owner: &str,
repo: &str,
pull_number: i32,
per_page: Option<i32>,
page: Option<i32>,
) -> Result<Vec<PullRequestReview>, Error<PullsSlashListReviewsError>>
Expand description
Lists all reviews for a specified pull request. The list of reviews returns in chronological order. 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
.