Clarification of list repository tree API call

This commit is contained in:
Marius Kleiner 2017-03-01 18:43:23 +00:00 committed by Rémy Coutable
parent f33bd9aeb7
commit 5c915f4236
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,4 @@
---
title: Make documentation of list repository tree API call more detailed
merge_request: 9532
author: Marius Kleiner

View file

@ -5,6 +5,8 @@
Get a list of repository files and directories in a project. This endpoint can
be accessed without authentication if the repository is publicly accessible.
This command provides essentially the same functionality as the `git ls-tree` command. For more information, see the section _Tree Objects_ in the [Git internals documentation](https://git-scm.com/book/en/v2/Git-Internals-Git-Objects/#_tree_objects).
```
GET /projects/:id/repository/tree
```