diff options
author | Felipe Artur <felipefac@gmail.com> | 2017-03-07 21:14:33 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2017-03-07 22:20:38 -0300 |
commit | a61bb7cda3f31e2b32b53a26187079a6d6302845 (patch) | |
tree | 18cc3407c2252cc1578d29a0c898a1033120ea61 /doc/api/repositories.md | |
parent | 9053d78e7451d5358b0ec66788916a488ce66a00 (diff) | |
download | gitlab-ce-a61bb7cda3f31e2b32b53a26187079a6d6302845.tar.gz |
Remove unecessary endpoint from repository, add compatibility endpoints for v3 and several improvementsissue_16834
Diffstat (limited to 'doc/api/repositories.md')
-rw-r--r-- | doc/api/repositories.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/repositories.md b/doc/api/repositories.md index 1471be7fc1c..b1bf9ca07cc 100644 --- a/doc/api/repositories.md +++ b/doc/api/repositories.md @@ -15,7 +15,7 @@ Parameters: - `id` (required) - The ID of a project - `path` (optional) - The path inside repository. Used to get contend of subdirectories -- `ref_name` (optional) - The name of a repository branch or tag or if not given the default branch +- `ref` (optional) - The name of a repository branch or tag or if not given the default branch - `recursive` (optional) - Boolean value used to get a recursive tree (false by default) ```json @@ -72,10 +72,10 @@ Parameters: ] ``` -## Get file from repository +## Get a blob from repository -Allows you to receive information about file in repository like size and -content. Note that file content is Base64 encoded. This endpoint can be accessed +Allows you to receive information about blob in repository like size and +content. Note that blob content is Base64 encoded. This endpoint can be accessed without authentication if the repository is publicly accessible. ``` |