forked from hummingbot/gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main-routes.yml
37 lines (37 loc) · 1.01 KB
/
main-routes.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
paths:
/:
get:
tags:
- 'system'
summary: 'Ping the server to see that it is running'
produces:
- 'application/json'
responses: '200'
/restart:
post:
tags:
- 'system'
summary: 'Restart gateway. It is recommended to call this route after calling /config/update succesfully'
description: 'Restart the gateway server.'
operationId: 'restart'
parameters:
- in: 'body'
name: 'body'
required: false
responses: '200'
/config/update:
post:
tags:
- 'system'
summary: 'Updates Gateway configuration'
description: 'Many changes will not have an effect until the gateway server is restarted. Try calling /restart afterwards.'
operationId: 'update'
consumes:
- 'application/json'
parameters:
- in: 'body'
name: 'body'
required: true
schema:
$ref: '#/definitions/ConfigUpdateRequest'
responses: '200'