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
|
@ -17,7 +17,7 @@ module Gitlab
|
|||
# Get a list of project issues
|
||||
#
|
||||
# Parameters:
|
||||
# id (required) - The ID or code name of a project
|
||||
# id (required) - The ID of a project
|
||||
# Example Request:
|
||||
# GET /projects/:id/issues
|
||||
get ":id/issues" do
|
||||
|
@ -27,7 +27,7 @@ module Gitlab
|
|||
# Get a single project issue
|
||||
#
|
||||
# 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
|
||||
# Example Request:
|
||||
# GET /projects/:id/issues/:issue_id
|
||||
|
@ -39,7 +39,7 @@ module Gitlab
|
|||
# Create a new project issue
|
||||
#
|
||||
# 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
|
||||
|
@ -62,7 +62,7 @@ module Gitlab
|
|||
# Update an existing issue
|
||||
#
|
||||
# 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
|
||||
# title (optional) - The title of an issue
|
||||
# description (optional) - The description of an issue
|
||||
|
@ -88,7 +88,7 @@ module Gitlab
|
|||
# Delete a project issue (deprecated)
|
||||
#
|
||||
# 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
|
||||
# Example Request:
|
||||
# DELETE /projects/:id/issues/:issue_id
|
||||
|
|
|
@ -8,7 +8,7 @@ module Gitlab
|
|||
# List merge requests
|
||||
#
|
||||
# Parameters:
|
||||
# id (required) - The ID or code name of a project
|
||||
# id (required) - The ID of a project
|
||||
#
|
||||
# Example:
|
||||
# GET /projects/:id/merge_requests
|
||||
|
@ -22,7 +22,7 @@ module Gitlab
|
|||
# Show MR
|
||||
#
|
||||
# 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
|
||||
#
|
||||
# Example:
|
||||
|
@ -40,7 +40,7 @@ module Gitlab
|
|||
#
|
||||
# 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
|
||||
|
@ -67,7 +67,7 @@ module Gitlab
|
|||
# Update MR
|
||||
#
|
||||
# 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
|
||||
|
@ -95,7 +95,7 @@ module Gitlab
|
|||
# Post comment to merge request
|
||||
#
|
||||
# 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
|
||||
# Examples:
|
||||
|
|
|
@ -7,7 +7,7 @@ module Gitlab
|
|||
# Get a list of project milestones
|
||||
#
|
||||
# Parameters:
|
||||
# id (required) - The ID or code name of a project
|
||||
# id (required) - The ID of a project
|
||||
# Example Request:
|
||||
# GET /projects/:id/milestones
|
||||
get ":id/milestones" do
|
||||
|
@ -19,7 +19,7 @@ module Gitlab
|
|||
# Get a single project milestone
|
||||
#
|
||||
# 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
|
||||
# Example Request:
|
||||
# GET /projects/:id/milestones/:milestone_id
|
||||
|
@ -33,7 +33,7 @@ module Gitlab
|
|||
# Create a new project milestone
|
||||
#
|
||||
# Parameters:
|
||||
# id (required) - The ID or code name of the project
|
||||
# id (required) - The ID of the project
|
||||
# title (required) - The title of the milestone
|
||||
# description (optional) - The description of the milestone
|
||||
# due_date (optional) - The due date of the milestone
|
||||
|
@ -54,7 +54,7 @@ module Gitlab
|
|||
# Update an existing project milestone
|
||||
#
|
||||
# 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
|
||||
|
|
|
@ -9,7 +9,7 @@ module Gitlab
|
|||
# Get a list of project wall notes
|
||||
#
|
||||
# Parameters:
|
||||
# id (required) - The ID or code name of a project
|
||||
# id (required) - The ID of a project
|
||||
# Example Request:
|
||||
# GET /projects/:id/notes
|
||||
get ":id/notes" do
|
||||
|
@ -20,7 +20,7 @@ module Gitlab
|
|||
# Get a single project wall note
|
||||
#
|
||||
# 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 note
|
||||
# Example Request:
|
||||
# GET /projects/:id/notes/:note_id
|
||||
|
@ -32,7 +32,7 @@ module Gitlab
|
|||
# Create a new project wall note
|
||||
#
|
||||
# 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
|
||||
# Example Request:
|
||||
# POST /projects/:id/notes
|
||||
|
@ -54,7 +54,7 @@ module Gitlab
|
|||
# Get a list of project +noteable+ notes
|
||||
#
|
||||
# Parameters:
|
||||
# id (required) - The ID or code name of a project
|
||||
# id (required) - The ID of a project
|
||||
# noteable_id (required) - The ID of an issue or snippet
|
||||
# Example Request:
|
||||
# GET /projects/:id/issues/:noteable_id/notes
|
||||
|
@ -67,7 +67,7 @@ module Gitlab
|
|||
# Get a single +noteable+ note
|
||||
#
|
||||
# Parameters:
|
||||
# id (required) - The ID or code name of a project
|
||||
# id (required) - The ID of a project
|
||||
# noteable_id (required) - The ID of an issue or snippet
|
||||
# note_id (required) - The ID of a note
|
||||
# Example Request:
|
||||
|
@ -82,7 +82,7 @@ module Gitlab
|
|||
# Create a new +noteable+ note
|
||||
#
|
||||
# Parameters:
|
||||
# id (required) - The ID or code name of a project
|
||||
# id (required) - The ID of a project
|
||||
# noteable_id (required) - The ID of an issue or snippet
|
||||
# body (required) - The content of a note
|
||||
# Example Request:
|
||||
|
|
|
@ -16,7 +16,7 @@ module Gitlab
|
|||
# Get a single project
|
||||
#
|
||||
# Parameters:
|
||||
# id (required) - The ID or code name of a project
|
||||
# id (required) - The ID of a project
|
||||
# Example Request:
|
||||
# GET /projects/:id
|
||||
get ":id" do
|
||||
|
@ -55,7 +55,7 @@ module Gitlab
|
|||
# Get a project team members
|
||||
#
|
||||
# Parameters:
|
||||
# id (required) - The ID or code name of a project
|
||||
# id (required) - The ID of a project
|
||||
# query - Query string
|
||||
# Example Request:
|
||||
# GET /projects/:id/members
|
||||
|
@ -71,7 +71,7 @@ module Gitlab
|
|||
# Get a project team 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
|
||||
# Example Request:
|
||||
# GET /projects/:id/members/:user_id
|
||||
|
@ -83,7 +83,7 @@ module Gitlab
|
|||
# Add a new project team member
|
||||
#
|
||||
# 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
|
||||
# access_level (required) - Project access level
|
||||
# Example Request:
|
||||
|
@ -106,7 +106,7 @@ module Gitlab
|
|||
# Update project team member
|
||||
#
|
||||
# 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
|
||||
# Example Request:
|
||||
|
@ -126,7 +126,7 @@ module Gitlab
|
|||
# Remove a team member from project
|
||||
#
|
||||
# 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
|
||||
# Example Request:
|
||||
# DELETE /projects/:id/members/:user_id
|
||||
|
@ -139,7 +139,7 @@ module Gitlab
|
|||
# Get project hooks
|
||||
#
|
||||
# Parameters:
|
||||
# id (required) - The ID or code name of a project
|
||||
# id (required) - The ID of a project
|
||||
# Example Request:
|
||||
# GET /projects/:id/hooks
|
||||
get ":id/hooks" do
|
||||
|
@ -151,7 +151,7 @@ module Gitlab
|
|||
# Get a project hook
|
||||
#
|
||||
# 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
|
||||
# Example Request:
|
||||
# GET /projects/:id/hooks/:hook_id
|
||||
|
@ -164,7 +164,7 @@ module Gitlab
|
|||
# Add hook to project
|
||||
#
|
||||
# Parameters:
|
||||
# id (required) - The ID or code name of a project
|
||||
# id (required) - The ID of a project
|
||||
# url (required) - The hook URL
|
||||
# Example Request:
|
||||
# POST /projects/:id/hooks
|
||||
|
@ -181,7 +181,7 @@ module Gitlab
|
|||
# Update an existing project hook
|
||||
#
|
||||
# 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
|
||||
# Example Request:
|
||||
|
@ -202,7 +202,7 @@ module Gitlab
|
|||
# Delete project hook
|
||||
#
|
||||
# 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
|
||||
# Example Request:
|
||||
# DELETE /projects/:id/hooks
|
||||
|
@ -215,7 +215,7 @@ module Gitlab
|
|||
# Get a project repository branches
|
||||
#
|
||||
# Parameters:
|
||||
# id (required) - The ID or code name of a project
|
||||
# id (required) - The ID of a project
|
||||
# Example Request:
|
||||
# GET /projects/:id/repository/branches
|
||||
get ":id/repository/branches" do
|
||||
|
@ -225,7 +225,7 @@ module Gitlab
|
|||
# Get a single 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
|
||||
# Example Request:
|
||||
# GET /projects/:id/repository/branches/:branch
|
||||
|
@ -237,7 +237,7 @@ module Gitlab
|
|||
# Get a project repository tags
|
||||
#
|
||||
# Parameters:
|
||||
# id (required) - The ID or code name of a project
|
||||
# id (required) - The ID of a project
|
||||
# Example Request:
|
||||
# GET /projects/:id/repository/tags
|
||||
get ":id/repository/tags" do
|
||||
|
@ -247,7 +247,7 @@ module Gitlab
|
|||
# Get a project 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
|
||||
# Example Request:
|
||||
# GET /projects/:id/repository/commits
|
||||
|
@ -265,7 +265,7 @@ module Gitlab
|
|||
# Get a project snippets
|
||||
#
|
||||
# Parameters:
|
||||
# id (required) - The ID or code name of a project
|
||||
# id (required) - The ID of a project
|
||||
# Example Request:
|
||||
# GET /projects/:id/snippets
|
||||
get ":id/snippets" do
|
||||
|
@ -275,7 +275,7 @@ module Gitlab
|
|||
# Get a project snippet
|
||||
#
|
||||
# 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
|
||||
# Example Request:
|
||||
# GET /projects/:id/snippets/:snippet_id
|
||||
|
@ -287,7 +287,7 @@ module Gitlab
|
|||
# Create a new project snippet
|
||||
#
|
||||
# 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
|
||||
|
@ -313,7 +313,7 @@ module Gitlab
|
|||
# Update an existing project snippet
|
||||
#
|
||||
# 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
|
||||
# title (optional) - The title of a snippet
|
||||
# file_name (optional) - The name of a snippet file
|
||||
|
@ -339,7 +339,7 @@ module Gitlab
|
|||
# Delete a project snippet
|
||||
#
|
||||
# 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
|
||||
# Example Request:
|
||||
# DELETE /projects/:id/snippets/:snippet_id
|
||||
|
@ -353,7 +353,7 @@ module Gitlab
|
|||
# Get a raw project snippet
|
||||
#
|
||||
# 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
|
||||
# Example Request:
|
||||
# GET /projects/:id/snippets/:snippet_id/raw
|
||||
|
@ -366,7 +366,7 @@ module Gitlab
|
|||
# Get a raw file contents
|
||||
#
|
||||
# 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 to the file to display
|
||||
# Example Request:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue