pub async fn pulls_slash_submit_review(
configuration: &Configuration,
owner: &str,
repo: &str,
pull_number: i32,
review_id: i32,
pulls_submit_review_request: PullsSubmitReviewRequest,
) -> Result<PullRequestReview, Error<PullsSlashSubmitReviewError>>
Expand description
Submits a pending review for a pull request. For more information about creating a pending review for a pull request, see "Create a review for a pull request." 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
.