Remove all references tp the project code parameter from the API
This commit is contained in:
parent
931ec399bd
commit
8f01190eb5
12 changed files with 86 additions and 86 deletions
|
@ -78,7 +78,7 @@ GET /projects/:id/issues
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
|
||||
## Single issue
|
||||
|
||||
|
@ -90,7 +90,7 @@ GET /projects/:id/issues/:issue_id
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `issue_id` (required) - The ID of a project issue
|
||||
|
||||
```json
|
||||
|
@ -143,7 +143,7 @@ POST /projects/:id/issues
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `title` (required) - The title of an issue
|
||||
+ `description` (optional) - The description of an issue
|
||||
+ `assignee_id` (optional) - The ID of a user to assign issue
|
||||
|
@ -162,7 +162,7 @@ PUT /projects/:id/issues/:issue_id
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `issue_id` (required) - The ID of a project's issue
|
||||
+ `title` (optional) - The title of an issue
|
||||
+ `description` (optional) - The description of an issue
|
||||
|
|
|
@ -8,7 +8,7 @@ GET /projects/:id/merge_requests
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
|
||||
```json
|
||||
[
|
||||
|
@ -50,7 +50,7 @@ GET /projects/:id/merge_request/:merge_request_id
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `merge_request_id` (required) - The ID of MR
|
||||
|
||||
```json
|
||||
|
@ -92,7 +92,7 @@ POST /projects/:id/merge_requests
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `source_branch` (required) - The source branch
|
||||
+ `target_branch` (required) - The target branch
|
||||
+ `assignee_id` - Assignee user ID
|
||||
|
@ -136,7 +136,7 @@ PUT /projects/:id/merge_request/:merge_request_id
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `merge_request_id` (required) - ID of MR
|
||||
+ `source_branch` - The source branch
|
||||
+ `target_branch` - The target branch
|
||||
|
@ -182,7 +182,7 @@ POST /projects/:id/merge_request/:merge_request_id/comments
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `merge_request_id` (required) - ID of MR
|
||||
+ `note` (required) - Text of comment
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ GET /projects/:id/milestones
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
|
||||
## Single milestone
|
||||
|
||||
|
@ -20,7 +20,7 @@ GET /projects/:id/milestones/:milestone_id
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `milestone_id` (required) - The ID of a project milestone
|
||||
|
||||
## New milestone
|
||||
|
@ -33,7 +33,7 @@ POST /projects/:id/milestones
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `milestone_id` (required) - The ID of a project milestone
|
||||
+ `title` (required) - The title of an milestone
|
||||
+ `description` (optional) - The description of the milestone
|
||||
|
@ -49,7 +49,7 @@ PUT /projects/:id/milestones/:milestone_id
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `milestone_id` (required) - The ID of a project milestone
|
||||
+ `title` (optional) - The title of a milestone
|
||||
+ `description` (optional) - The description of a milestone
|
||||
|
|
|
@ -28,7 +28,7 @@ GET /projects/:id/notes
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
|
||||
### List issue notes
|
||||
|
||||
|
@ -40,7 +40,7 @@ GET /projects/:id/issues/:issue_id/notes
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `issue_id` (required) - The ID of an issue
|
||||
|
||||
### List snippet notes
|
||||
|
@ -53,7 +53,7 @@ GET /projects/:id/snippets/:snippet_id/notes
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `snippet_id` (required) - The ID of a snippet
|
||||
|
||||
## Single note
|
||||
|
@ -68,7 +68,7 @@ GET /projects/:id/notes/:note_id
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `note_id` (required) - The ID of a wall note
|
||||
|
||||
### Single issue note
|
||||
|
@ -81,7 +81,7 @@ GET /projects/:id/issues/:issue_id/:notes/:note_id
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `issue_id` (required) - The ID of a project issue
|
||||
+ `note_id` (required) - The ID of an issue note
|
||||
|
||||
|
@ -95,7 +95,7 @@ GET /projects/:id/issues/:snippet_id/:notes/:note_id
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `snippet_id` (required) - The ID of a project snippet
|
||||
+ `note_id` (required) - The ID of an snippet note
|
||||
|
||||
|
@ -111,7 +111,7 @@ POST /projects/:id/notes
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `body` (required) - The content of a note
|
||||
|
||||
Will return created note with status `201 Created` on success, or `404 Not found` on fail.
|
||||
|
@ -127,7 +127,7 @@ POST /projects/:id/issues/:issue_id/notes
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `issue_id` (required) - The ID of an issue
|
||||
+ `body` (required) - The content of a note
|
||||
|
||||
|
@ -143,7 +143,7 @@ POST /projects/:id/snippets/:snippet_id/notes
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `snippet_id` (required) - The ID of an snippet
|
||||
+ `body` (required) - The content of a note
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -8,7 +8,7 @@ GET /projects/:id/repository/branches
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
|
||||
```json
|
||||
[
|
||||
|
@ -48,7 +48,7 @@ GET /projects/:id/repository/branches/:branch
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `branch` (required) - The name of the branch
|
||||
|
||||
```json
|
||||
|
@ -87,7 +87,7 @@ GET /projects/:id/repository/tags
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
|
||||
```json
|
||||
[
|
||||
|
@ -125,7 +125,7 @@ GET /projects/:id/repository/commits
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `ref_name` (optional) - The name of a repository branch or tag
|
||||
|
||||
```json
|
||||
|
@ -159,7 +159,7 @@ GET /projects/:id/repository/commits/:sha/blob
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `sha` (required) - The commit or branch name
|
||||
+ `filepath` (required) - The path the file
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ GET /projects/:id/snippets
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
|
||||
## Single snippet
|
||||
|
||||
|
@ -20,7 +20,7 @@ GET /projects/:id/snippets/:snippet_id
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `snippet_id` (required) - The ID of a project's snippet
|
||||
|
||||
```json
|
||||
|
@ -52,7 +52,7 @@ GET /projects/:id/snippets/:snippet_id/raw
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `snippet_id` (required) - The ID of a project's snippet
|
||||
|
||||
## New snippet
|
||||
|
@ -65,7 +65,7 @@ POST /projects/:id/snippets
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `title` (required) - The title of a snippet
|
||||
+ `file_name` (required) - The name of a snippet file
|
||||
+ `lifetime` (optional) - The expiration date of a snippet
|
||||
|
@ -83,7 +83,7 @@ PUT /projects/:id/snippets/:snippet_id
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `snippet_id` (required) - The ID of a project's snippet
|
||||
+ `title` (optional) - The title of a snippet
|
||||
+ `file_name` (optional) - The name of a snippet file
|
||||
|
@ -102,7 +102,7 @@ DELETE /projects/:id/snippets/:snippet_id
|
|||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - The ID or code name of a project
|
||||
+ `id` (required) - The ID of a project
|
||||
+ `snippet_id` (required) - The ID of a project's snippet
|
||||
|
||||
Status code `200` will be returned on success.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue