Init: Create & Init dayu Project...
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
		
							
								
								
									
										38
									
								
								http/dayu.http
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								http/dayu.http
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
@url=https://faas.n.yumc.pw
 | 
			
		||||
 | 
			
		||||
### 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
 | 
			
		||||
 | 
			
		||||
##### Stack Remove
 | 
			
		||||
POST {{stack}}/develop/remove
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
### Container
 | 
			
		||||
@container={{url}}/container
 | 
			
		||||
 | 
			
		||||
##### Container logs
 | 
			
		||||
@id=6365041d2e52c5896dd14a5450920e482dddc33e6addaa07fab413bcda78d723
 | 
			
		||||
GET {{container}}/{{id}}/logs
 | 
			
		||||
							
								
								
									
										36
									
								
								http/docker.http
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								http/docker.http
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,36 @@
 | 
			
		||||
@url=https://dcli.yumc.pw/v1.39
 | 
			
		||||
 | 
			
		||||
### Info
 | 
			
		||||
GET {{url}}/info
 | 
			
		||||
 | 
			
		||||
### Version
 | 
			
		||||
GET {{url}}/version
 | 
			
		||||
 | 
			
		||||
### Swarm
 | 
			
		||||
GET {{url}}/swarm
 | 
			
		||||
 | 
			
		||||
### Swarm Init
 | 
			
		||||
POST {{url}}/swarm/init
 | 
			
		||||
 | 
			
		||||
{}
 | 
			
		||||
 | 
			
		||||
### Node
 | 
			
		||||
GET {{url}}/nodes
 | 
			
		||||
 | 
			
		||||
### Container
 | 
			
		||||
@cid=87514be54f3b9a34ac8ea74097d2053d73c7c535f34d3446bcbe16d6f2ba0f0f
 | 
			
		||||
@container={{url}}/containers
 | 
			
		||||
##### List
 | 
			
		||||
GET {{container}}/json?filters={"label":{"com.docker.stack.namespace%3Dmonitor":false}}
 | 
			
		||||
##### In
 | 
			
		||||
GET {{container}}/{{cid}}/json
 | 
			
		||||
 | 
			
		||||
### Services
 | 
			
		||||
GET {{url}}/services?filters={"mode":["global"]}
 | 
			
		||||
 | 
			
		||||
### Create Services
 | 
			
		||||
POST {{url}}/services/create
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
    
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user