diff options
Diffstat (limited to 'doc/api/projects.md')
-rw-r--r-- | doc/api/projects.md | 59 |
1 files changed, 1 insertions, 58 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md index bdc9862..c24d48f 100644 --- a/doc/api/projects.md +++ b/doc/api/projects.md @@ -151,61 +151,4 @@ via authorized user). Parameters: * `id` (required) - The ID of the Gitlab CI project - * `runner_id` (required) - The ID of the Gitlab CI runner - -### List All Jobs for a Project - -List the jobs associated to a Gitlab CI Project (only via -authorized user). - - GET /projects/:id/jobs - -Parameters: - - * `id` (required) - The ID of the Gitlab CI project - -### Add a parallel Job to a Project - -Adds a Job to a Gitlab CI Project (only via -authorized user). - - POST /projects/:id/jobs - -Parameters: - - * `id` (required) - The ID of the Gitlab CI project - * `name` (required) - The name of the Job to add - * `commands` (required) - The script commands of the job - * `active` (optional) - The command is active of not - * `build_branches` (optional) - Trigger commit builds - * `build_tags` (optional) - Trigger tag builds - * `tags` (optional) - The tags associated with this job - -### Add a deploy Job to a Project - -Adds a deploy Job to a Gitlab CI Project (only via -authorized user). - - POST /projects/:id/deploy_jobs - -Parameters: - - * `id` (required) - The ID of the Gitlab CI project - * `name` (required) - The name of the Job to add - * `commands` (required) - The script commands of the job - * `active` (optional) - The command is active of not - * `refs` (optional) - The list of refs - * `tags` (optional) - The tags associated with this job - -### Remove a Job from a Project - -Removes a Job from a Gitlab CI Project (only -via authorized user). - - DELETE /projects/:id/jobs/:job_id - -Parameters: - - * `id` (required) - The ID of the Gitlab CI project - * `job_id` (required) - The ID of the Job - + * `runner_id` (required) - The ID of the Gitlab CI runner
\ No newline at end of file |