mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 19:53:05 +08:00
* api/v1/repos/{owner}/{repo}/pulls/{number}/commits
* api/v1/repos/{owner}/{repo}/pulls/{number}/files
* api/v1/repos/{owner}/{repo}/compare/{base}...{head}
3 lines
101 B
Ruby
3 lines
101 B
Ruby
json.commits_count @commits_result.size
|
|
json.commits @commits_result, partial: 'commit', as: :commit
|