summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/api/project_snippets.md4
-rw-r--r--doc/development/README.md1
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/api/project_snippets.md b/doc/api/project_snippets.md
index ffdbd82adba..b734273b5f6 100644
--- a/doc/api/project_snippets.md
+++ b/doc/api/project_snippets.md
@@ -123,7 +123,7 @@ Parameters:
Example request:
```shell
-curl --request PUT https://gitlab.com/api/v4/projects/:id/snippets \
+curl --request PUT https://gitlab.com/api/v4/projects/:id/snippets/:snippet_id \
--header "PRIVATE-TOKEN: <your_access_token>" \
--header "Content-Type: application/json" \
-d @snippet.json
@@ -157,7 +157,7 @@ Parameters:
Example request:
```shell
-curl --request DELETE https://gitlab.com/api/v4/projects/:id/snippets \
+curl --request DELETE https://gitlab.com/api/v4/projects/:id/snippets/:snippet_id \
--header "PRIVATE-TOKEN: <your_access_token>"
```
diff --git a/doc/development/README.md b/doc/development/README.md
index 1e5e1cdce5f..039b53d7adf 100644
--- a/doc/development/README.md
+++ b/doc/development/README.md
@@ -22,6 +22,7 @@ description: 'Learn how to contribute to GitLab.'
- [Code review guidelines](code_review.md) for reviewing code and having code reviewed
- [Database review guidelines](database_review.md) for reviewing database-related changes and complex SQL queries, and having them reviewed
+- [Secure coding guidlines](https://gitlab.com/gitlab-com/gl-security/security-guidelines)
- [Pipelines for the GitLab project](pipelines.md)
Complementary reads: