Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Ziebell <sebastian.ziebell@asquera.de>2013-03-07 03:15:57 +0400
committerSebastian Ziebell <sebastian.ziebell@asquera.de>2013-03-07 03:15:57 +0400
commit39114d259c6e4bd5bb60b18f561d06cc24e8c852 (patch)
tree24bd635f0ab1b763cfb537b0d203945d1565d295 /doc/api/repositories.md
parentb5ef6d226864d3ea132d2c6e97b74b51f2b64a6f (diff)
API: documentation contains infos to status codes in README file.
All the info to return codes from the API functions are available in the `README.md` file as suggested.
Diffstat (limited to 'doc/api/repositories.md')
-rw-r--r--doc/api/repositories.md47
1 files changed, 0 insertions, 47 deletions
diff --git a/doc/api/repositories.md b/doc/api/repositories.md
index 17346278f79..39a7b0ed779 100644
--- a/doc/api/repositories.md
+++ b/doc/api/repositories.md
@@ -39,12 +39,6 @@ Parameters:
]
```
-Return values:
-
-+ `200 Ok`on success and a list of repository branches for the project
-+ `401 Unauthorized` if user is not authenticated
-+ `404 Not Found` if project with ID not found
-
## Get single repository branch
@@ -86,13 +80,6 @@ Parameters:
}
```
-Return values:
-
-+ `200 Ok` on success and the repository branch
-+ `401 Unauthorized` if user is not authenticated
-+ `404 Not Found` if the project ID or branch not found
-
-
## Protect repository branch
@@ -135,13 +122,6 @@ Parameters:
}
```
-Return values:
-
-+ `200 Ok` on success and the updated repository branch
-+ `401 Unauthorized` if user is not authenticated
-+ `404 Not Found` if the the project ID or branch not found
-
-
## Unprotect repository branch
@@ -184,13 +164,6 @@ Parameters:
}
```
-Return values:
-
-+ `200 Ok` on success and the updated repository branch
-+ `401 Unauthorized` if user is not authenticated
-+ `404 Not Found` if the project ID or the branch not found
-
-
## List project repository tags
@@ -231,12 +204,6 @@ Parameters:
]
```
-Return values:
-
-+ `200 Ok` on success and the list of repository tags
-+ `401 Unauthorized` if user is not authenticated
-+ `404 Not Found` if the project ID not found
-
## List repository commits
@@ -274,12 +241,6 @@ Parameters:
]
```
-Return values:
-
-+ `200 Ok` on success and a list of commits
-+ `401 Unauthorized` if the user is not authenticated
-+ `404 Not Found` if the project ID not found
-
## Raw blob content
@@ -294,11 +255,3 @@ Parameters:
+ `id` (required) - The ID of a project
+ `sha` (required) - The commit or branch name
+ `filepath` (required) - The path the file
-
-Return values:
-
-+ `200 Ok` on success and the raw content of the file
-+ `400 Bad Request` if required attribute filepath is not given
-+ `401 Unauthorized` if user is not authenticated
-+ `404 Not Found` if project ID or sha commit or branch name not found
-