API: GET /repos/{owner}/{repo}/compare/{basehead} - Missing Diff Information #14624

Open
opened 2025-11-02 11:18:01 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @nxyd on GitHub (Jun 19, 2025).

Feature Description

The GET /repos/{owner}/{repo}/compare/{basehead} API endpoint currently provides basic commit comparison information, including a list of changed files with additions and deletions counts. However, it does not include the actual line-by-line diff content for these file changes.

The following is Github example:
96d29b76...a20631af

Image

Screenshots

No response

Originally created by @nxyd on GitHub (Jun 19, 2025). ### Feature Description The GET /repos/{owner}/{repo}/compare/{basehead} API endpoint currently provides basic commit comparison information, including a list of changed files with additions and deletions counts. However, it does not include the actual line-by-line diff content for these file changes. The following is Github example: https://api.github.com/repositories/1725199/compare/96d29b76...a20631af ![Image](https://github.com/user-attachments/assets/44f046e6-dba1-40a8-b002-7740c4d58291) ### Screenshots _No response_
GiteaMirror added the topic/apitype/proposal labels 2025-11-02 11:18:01 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14624