Add with_last_commit to trees endpoint to provide last commit data

Summary

Add with_last_commit parameter to the repository tree endpoint.

Closes #599033

What does this MR do?

  • Adds with_last_commit boolean parameter to GET /projects/:id/repository/tree
  • When true, each tree entry includes the last commit that modified it
  • Includes CE and EE specs
  • Includes OpenAPI documentation
Edited by John Cai

Merge request reports

Loading