summaryrefslogtreecommitdiff
path: root/doc/api/snippets.md
diff options
context:
space:
mode:
authorNihad Abbasov <narkoz.2008@gmail.com>2012-10-08 02:13:53 -0700
committerNihad Abbasov <narkoz.2008@gmail.com>2012-10-08 02:13:53 -0700
commit61f12da3a5b84670a0fc8cb5dbb962a365895097 (patch)
tree3d2d570af40826b4a7cf9e6fe572fec3ed02e9ea /doc/api/snippets.md
parentad5b5d1e51abb02496458989fbff351f57f7fb29 (diff)
downloadgitlab-ce-61f12da3a5b84670a0fc8cb5dbb962a365895097.tar.gz
API: add project snippets listing
Diffstat (limited to 'doc/api/snippets.md')
-rw-r--r--doc/api/snippets.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/api/snippets.md b/doc/api/snippets.md
index 0cd29ce530b..288fd5296f6 100644
--- a/doc/api/snippets.md
+++ b/doc/api/snippets.md
@@ -1,6 +1,14 @@
## List snippets
-Not implemented.
+Get a list of project snippets.
+
+```
+GET /projects/:id/snippets
+```
+
+Parameters:
+
++ `id` (required) - The ID or code name of a project
## Single snippet