diff options
Diffstat (limited to 'doc/api/repository_files.md')
-rw-r--r-- | doc/api/repository_files.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/repository_files.md b/doc/api/repository_files.md index 65ed67541d3..969470dcc54 100644 --- a/doc/api/repository_files.md +++ b/doc/api/repository_files.md @@ -5,7 +5,7 @@ info: "To determine the technical writer assigned to the Stage/Group associated type: reference, api --- -# Repository files API **(FREE)** +# Repository files API **(FREE ALL)** You can fetch, create, update, and delete files in your repository with this API. You can also [configure rate limits](../administration/settings/files_api_rate_limits.md) @@ -214,8 +214,8 @@ GET /projects/:id/repository/files/:file_path/raw |-------------|----------------|----------|------------| | `id` | integer or string | yes | The ID or [URL-encoded path of the project](rest/index.md#namespaced-path-encoding) owned by the authenticated user. | | `file_path` | string | yes | URL-encoded full path to new file, such as `lib%2Fclass%2Erb`. | -| `ref` | string | yes | The name of branch, tag or commit. Default is the `HEAD` of the project. | -| `lfs` | boolean | no | Determines if the response should be Git LFS file contents, rather than the pointer. If the file is not tracked by Git LFS, ignored. Defaults to `false`. | +| `ref` | string | no | The name of branch, tag or commit. Default is the `HEAD` of the project. | +| `lfs` | boolean | no | Determines if the response should be Git LFS file contents, rather than the pointer. If the file is not tracked by Git LFS, ignored. Defaults to `false`. | ```shell curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/13083/repository/files/app%2Fmodels%2Fkey%2Erb/raw?ref=master" |