mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-25 06:15:56 +01:00
b5a99eba7f
* refactor(runners): extract jobs to separate entity
54 lines
886 B
YAML
54 lines
886 B
YAML
swagger: '3.0'
|
|
info:
|
|
title: SEMAPHORE
|
|
description: Semaphore Runner API
|
|
version: "2.2.0"
|
|
|
|
host: localhost:3000
|
|
|
|
consumes:
|
|
- application/json
|
|
produces:
|
|
- application/json
|
|
- text/plain; charset=utf-8
|
|
|
|
tags:
|
|
- name: authentication
|
|
description: Authentication, Logout & API Tokens
|
|
- name: project
|
|
description: Everything related to a project
|
|
- name: user
|
|
description: User-related API
|
|
|
|
schemes:
|
|
- http
|
|
- https
|
|
|
|
basePath: /api/runners
|
|
|
|
definitions:
|
|
|
|
paths:
|
|
/register:
|
|
post:
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
required:
|
|
- registrationToken
|
|
properties:
|
|
registrationToken: { type: string }
|
|
responses:
|
|
200:
|
|
description: API Token
|
|
|
|
/unregister:
|
|
post:
|
|
|
|
/status:
|
|
put:
|
|
|
|
/jobs:
|
|
get: |