mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
Update documentation, update screenshot
This commit is contained in:
parent
e8d3ab7df9
commit
27498e6d9a
@ -1,8 +0,0 @@
|
||||
mongodb:
|
||||
image: mongo:latest
|
||||
command: mongod --smallfiles --directoryperdb --noprealloc
|
||||
hostname: mongodb
|
||||
volumes:
|
||||
- /tmp/mongodb:/data/db
|
||||
expose:
|
||||
- 27017
|
Binary file not shown.
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 50 KiB |
33
swagger.yml
33
swagger.yml
@ -192,6 +192,18 @@ definitions:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
InfoType:
|
||||
type: object
|
||||
properties:
|
||||
version:
|
||||
type: string
|
||||
updateBody:
|
||||
type: string
|
||||
update:
|
||||
type: object
|
||||
properties:
|
||||
tag_name:
|
||||
type: string
|
||||
|
||||
# securityDefinitions:
|
||||
# cookie:
|
||||
@ -283,10 +295,23 @@ paths:
|
||||
200:
|
||||
description: ok
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
version:
|
||||
type: string
|
||||
$ref: "#/definitions/InfoType"
|
||||
|
||||
/upgrade:
|
||||
get:
|
||||
summary: Check if new updates available and fetch /info
|
||||
responses:
|
||||
204:
|
||||
description: no update
|
||||
200:
|
||||
description: ok
|
||||
schema:
|
||||
$ref: "#/definitions/InfoType"
|
||||
post:
|
||||
summary: Upgrade the server
|
||||
responses:
|
||||
200:
|
||||
description: Server binary was replaced by new version, server has shut down.
|
||||
|
||||
# Authentication
|
||||
/auth/login:
|
||||
|
Loading…
Reference in New Issue
Block a user