Bug? If the PR review has an image, REST API no returned? #174573
Replies: 3 comments 1 reply
-
|
maybe it's just a bug |
Beta Was this translation helpful? Give feedback.
-
|
This happens because the PR Reviews API only returns review metadata (state, user, body) and not embedded assets like images. If a review has a picture, it’s stored as Markdown, but the API won’t show the file itself. To fetch that, you need to use the review comments API (/pulls/{pull_number}/comments), which includes the raw Markdown with image links. I also run Birthday Wish Friends |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
I use this API to get a PR reviews: https://docs.github.com/en/rest/pulls/reviews?apiVersion=2022-11-28#list-reviews-for-a-pull-request
GET /repos/{owner}/{repo}/pulls/{pull_number}/reviewsI found a problem, if the reviews has picture, it will not returned, just returned other no picture reviews, why?
For example:
we have 3 reviews, one is has picture
Then, the API returned 2 no picture reviews,

Beta Was this translation helpful? Give feedback.
All reactions