mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
update api docs
This commit is contained in:
parent
eced2a7110
commit
50234f76f0
17
api-docs.yml
17
api-docs.yml
@ -2,7 +2,7 @@ swagger: '2.0'
|
||||
info:
|
||||
title: SEMAPHORE
|
||||
description: Semaphore API
|
||||
version: "2.0.2"
|
||||
version: "2.1.0"
|
||||
|
||||
host: localhost:3000
|
||||
|
||||
@ -819,11 +819,22 @@ paths:
|
||||
- project
|
||||
summary: Starts a job
|
||||
parameters:
|
||||
- name: job
|
||||
- name: task
|
||||
in: body
|
||||
required: true
|
||||
schema:
|
||||
$ref: "#/definitions/Task"
|
||||
type: object
|
||||
properties:
|
||||
template_id:
|
||||
type: integer
|
||||
debug:
|
||||
type: boolean
|
||||
dry_run:
|
||||
type: boolean
|
||||
playbook:
|
||||
type: string
|
||||
environment:
|
||||
type: string
|
||||
responses:
|
||||
201:
|
||||
description: Task queued
|
||||
|
Loading…
Reference in New Issue
Block a user