diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-15 06:10:34 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-15 06:10:34 +0300 |
commit | 03c5d7f2c175acedafcb1b233ec1e40e9fcc8d1b (patch) | |
tree | 7fefd27dbd97614ec1ef4378276571aa0597e21c /doc/api/project_snippets.md | |
parent | 94668f5cca234c8132d1da1f5e91a3c76f5337fb (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/project_snippets.md')
-rw-r--r-- | doc/api/project_snippets.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/project_snippets.md b/doc/api/project_snippets.md index 08c4c25fa57..156d3c57a43 100644 --- a/doc/api/project_snippets.md +++ b/doc/api/project_snippets.md @@ -239,7 +239,7 @@ curl "https://gitlab.com/api/v4/projects/1/snippets/2/files/master/snippet%2Erb/ > [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/29508) in GitLab 9.4. -Available only for users with Administrator [permissions](../user/permissions.md). +Available only for users with the Administrator [role](../user/permissions.md). ```plaintext GET /projects/:id/snippets/:snippet_id/user_agent_detail @@ -247,7 +247,7 @@ GET /projects/:id/snippets/:snippet_id/user_agent_detail | Attribute | Type | Required | Description | |---------------|---------|----------|--------------------------------------| -| `id` | Integer | yes | The ID of a project | +| `id` | integer or string | yes | The ID or [URL-encoded path of a project](README.md#namespaced-path-encoding). | | `snippet_id` | Integer | yes | The ID of a snippet | Example request: |