Remove all references tp the project code parameter from the API

This commit is contained in:
Riyad Preukschas 2012-12-21 18:47:04 +01:00
parent 931ec399bd
commit 8f01190eb5
12 changed files with 86 additions and 86 deletions

View file

@ -63,7 +63,7 @@ GET /projects/:id
Parameters:
+ `id` (required) - The ID or code name of a project
+ `id` (required) - The ID of a project
```json
{
@ -121,7 +121,7 @@ GET /projects/:id/members
Parameters:
+ `id` (required) - The ID or code name of a project
+ `id` (required) - The ID of a project
+ `query` - Query string
## Get project team member
@ -134,7 +134,7 @@ GET /projects/:id/members/:user_id
Parameters:
+ `id` (required) - The ID or code name of a project
+ `id` (required) - The ID of a project
+ `user_id` (required) - The ID of a user
```json
@ -160,7 +160,7 @@ POST /projects/:id/members
Parameters:
+ `id` (required) - The ID or code name of a project
+ `id` (required) - The ID of a project
+ `user_id` (required) - The ID of a user to add
+ `access_level` (required) - Project access level
@ -176,7 +176,7 @@ PUT /projects/:id/members/:user_id
Parameters:
+ `id` (required) - The ID or code name of a project
+ `id` (required) - The ID of a project
+ `user_id` (required) - The ID of a team member
+ `access_level` (required) - Project access level
@ -192,7 +192,7 @@ DELETE /projects/:id/members/:user_id
Parameters:
+ `id` (required) - The ID or code name of a project
+ `id` (required) - The ID of a project
+ `user_id` (required) - The ID of a team member
Status code `200` will be returned on success.
@ -207,7 +207,7 @@ GET /projects/:id/hooks
Parameters:
+ `id` (required) - The ID or code name of a project
+ `id` (required) - The ID of a project
Will return hooks with status `200 OK` on success, or `404 Not found` on fail.
@ -221,7 +221,7 @@ GET /projects/:id/hooks/:hook_id
Parameters:
+ `id` (required) - The ID or code name of a project
+ `id` (required) - The ID of a project
+ `hook_id` (required) - The ID of a project hook
Will return hook with status `200 OK` on success, or `404 Not found` on fail.
@ -236,7 +236,7 @@ POST /projects/:id/hooks
Parameters:
+ `id` (required) - The ID or code name of a project
+ `id` (required) - The ID of a project
+ `url` (required) - The hook URL
Will return status `201 Created` on success, or `404 Not found` on fail.
@ -251,7 +251,7 @@ PUT /projects/:id/hooks/:hook_id
Parameters:
+ `id` (required) - The ID or code name of a project
+ `id` (required) - The ID of a project
+ `hook_id` (required) - The ID of a project hook
+ `url` (required) - The hook URL
@ -268,7 +268,7 @@ DELETE /projects/:id/hooks
Parameters:
+ `id` (required) - The ID or code name of a project
+ `id` (required) - The ID of a project
+ `hook_id` (required) - The ID of hook to delete
Will return status `200 OK` on success, or `404 Not found` on fail.