提交 8aa8f5c8 编写于 作者: R Rémy Coutable

Merge branch '26136-list-repository-tree-api-doc' into 'master'

Clarification of list repository tree API call

Closes #26136

See merge request !9532
---
title: Make documentation of list repository tree API call more detailed
merge_request: 9532
author: Marius Kleiner
......@@ -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
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册