dayu/http/dayu.http

63 lines
939 B
Plaintext
Raw Normal View History

2019-08-27 07:03:30 +00:00
@url=https://dayu-api.miaowoo.cc
### System
##### Info
GET {{url}}/info
##### Version
GET {{url}}/version
##### Events
GET {{url}}/events
### Swarm
@swarm={{url}}/swarm
##### Swarm Info
GET {{swarm}}/info
### Swarm Init
POST {{swarm}}/init
{}
### Stack
@stack={{url}}/stack
##### Stack List
GET {{stack}}/list
2019-08-27 07:03:30 +00:00
##### Stack Info
GET {{stack}}/faas
##### Stack Remove
POST {{stack}}/develop/remove
2019-08-27 07:03:30 +00:00
### Service
@service={{url}}/service
##### Service List
GET {{service}}/list
##### Service Info
GET {{service}}/3gchxsmjld0fuex216w56jl5g
##### Service Remove
POST {{service}}/develop/remove
#####
POST {{service}}/swirl_swirl/restart
2019-08-27 07:03:30 +00:00
### Container
@container={{url}}/container
##### Container logs
@id=6365041d2e52c5896dd14a5450920e482dddc33e6addaa07fab413bcda78d723
GET {{container}}/{{id}}/logs
### Config
@config={{url}}/configs
##### Config
GET {{config}}/
### Dashboard
@dashboard={{url}}/dashboard
#####
GET {{dashboard}}