mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +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
|
type: string
|
||||||
description:
|
description:
|
||||||
type: string
|
type: string
|
||||||
|
InfoType:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
version:
|
||||||
|
type: string
|
||||||
|
updateBody:
|
||||||
|
type: string
|
||||||
|
update:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
tag_name:
|
||||||
|
type: string
|
||||||
|
|
||||||
# securityDefinitions:
|
# securityDefinitions:
|
||||||
# cookie:
|
# cookie:
|
||||||
@ -283,10 +295,23 @@ paths:
|
|||||||
200:
|
200:
|
||||||
description: ok
|
description: ok
|
||||||
schema:
|
schema:
|
||||||
type: object
|
$ref: "#/definitions/InfoType"
|
||||||
properties:
|
|
||||||
version:
|
/upgrade:
|
||||||
type: string
|
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
|
# Authentication
|
||||||
/auth/login:
|
/auth/login:
|
||||||
|
Loading…
Reference in New Issue
Block a user