Skip to content

Request Tree children by SHA rather than path

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Release notes

  • Added API endpoint to retrieve children of a tree node by id rather than path

Problem to solve

I want to be able to request the children of a tree based on the tree's id (or sha?)

Proposal

/repository/tree?sha=jas98dfn21 to request the children of a tree rather than using the tree's path

Intended users

Developers using the Gitlab API

Personas are described at https://handbook.gitlab.com/handbook/product/personas/

I believe the Github API only allows requesting by SHA/ID

Edited by 🤖 GitLab Bot 🤖