summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorSasha Joseph <sasha@fuzzproductions.com>2014-07-28 01:01:01 -0400
committerSasha Joseph <sasha@fuzzproductions.com>2014-07-28 12:48:13 -0400
commit37c4ba6f8d8b6be9f15bd0df701c64eea9c4d8e4 (patch)
treeecdc0db00ff1f15d49cc7456fd3d4ce17bf7f881 /doc/api
parent00c6723883671769f6efd692f935dc3203d7ccc6 (diff)
downloadgitlab-ce-37c4ba6f8d8b6be9f15bd0df701c64eea9c4d8e4.tar.gz
Add an option to GET /projects in the GitLab API to exclude archived projects
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/projects.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 54135079e8b..56eee00ffe2 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -8,6 +8,10 @@ Get a list of projects accessible by the authenticated user.
GET /projects
```
+Parameters:
+
++ `archived` (optional) - if passed, limit by archived status
+
```json
[
{
@@ -250,7 +254,7 @@ Parameters:
+ `description` (optional) - short project description
+ `issues_enabled` (optional)
+ `merge_requests_enabled` (optional)
-+ `wiki_enabled` (optional)
++ `wiki_enabled` (optional)
+ `snippets_enabled` (optional)
+ `public` (optional) - if `true` same as setting visibility_level = 20
+ `visibility_level` (optional)
@@ -273,7 +277,7 @@ Parameters:
+ `default_branch` (optional) - 'master' by default
+ `issues_enabled` (optional)
+ `merge_requests_enabled` (optional)
-+ `wiki_enabled` (optional)
++ `wiki_enabled` (optional)
+ `snippets_enabled` (optional)
+ `public` (optional) - if `true` same as setting visibility_level = 20
+ `visibility_level` (optional)