Commit 8aa8f5c8 authored by Rémy Coutable's avatar 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
parents f33bd9ae 5c915f42
---
title: Make documentation of list repository tree API call more detailed
merge_request: 9532
author: Marius Kleiner
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
Get a list of repository files and directories in a project. This endpoint can Get a list of repository files and directories in a project. This endpoint can
be accessed without authentication if the repository is publicly accessible. 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 GET /projects/:id/repository/tree
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment