首页 > 其他分享 >MEF.postman_collection.json

MEF.postman_collection.json

时间:2023-06-15 11:57:58浏览次数:44  
标签:MEF postman v1 header response raw json method name

{
	"info": {
		"_postman_id": "c41bc34c-dec8-4270-b3a4-e9a53b36c705",
		"name": "MEF",
		"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
	},
	"item": [
		{
			"name": "节点管理",
			"item": [
				{
					"name": "version",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": {
								"token": ""
							}
						},
						"method": "GET",
						"header": [
							{
								"key": "Cookie",
								"value": "__Host-SessionID=8paDP6XDsanuLfe6U09lfbTn4OKP5AuR2dClMp6XshY.1; Path=/; Domain=51.38.66.37; Secure; HttpOnly; Expires=Mon, 30 Jan 2023 03:15:17 GMT;",
								"type": "text"
							},
							{
								"key": "X-CSRF-Token",
								"value": "_K38de9Qja4e_JPnXjGInYkCn7Prv8GsfpEXdcTd5o4",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": "https://51.38.66.37:30000/edgemanager/v1/version"
					},
					"response": []
				},
				{
					"name": "创建节点",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"nodeName\":\"test7\",\r\n    \"uniqueName\":\"test7\",\r\n    \"description\":\"\"\r\n}\r\n"
						},
						"url": "http://51.38.66.37:30009/edgemanager/v1/node/"
					},
					"response": []
				},
				{
					"name": "获取节点状态统计",
					"request": {
						"method": "GET",
						"header": [],
						"url": "https://51.38.66.37:30000/edgemanager/v1/node/stats"
					},
					"response": []
				},
				{
					"name": "节点详情",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "https://51.38.66.37:30000/edgemanager/v1/node?id=1",
							"protocol": "https",
							"host": [
								"51",
								"38",
								"66",
								"37"
							],
							"port": "30000",
							"path": [
								"edgemanager",
								"v1",
								"node"
							],
							"query": [
								{
									"key": "id",
									"value": "1"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "version Copy",
					"request": {
						"method": "GET",
						"header": [],
						"url": "https://51.38.66.67:30045/edgemanager/v1/version"
					},
					"response": []
				},
				{
					"name": "列表-已纳管",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "https://51.38.66.37:30000/edgemanager/v1/node/list/managed?pageNum=1&pageSize=10&name",
							"protocol": "https",
							"host": [
								"51",
								"38",
								"66",
								"37"
							],
							"port": "30000",
							"path": [
								"edgemanager",
								"v1",
								"node",
								"list",
								"managed"
							],
							"query": [
								{
									"key": "pageNum",
									"value": "1"
								},
								{
									"key": "pageSize",
									"value": "10"
								},
								{
									"key": "name",
									"value": null
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "列表-未纳管",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "https://51.38.66.37:30000/edgemanager/v1/node/list/unmanaged?pageNum=1&pageSize=10&name",
							"protocol": "https",
							"host": [
								"51",
								"38",
								"66",
								"37"
							],
							"port": "30000",
							"path": [
								"edgemanager",
								"v1",
								"node",
								"list",
								"unmanaged"
							],
							"query": [
								{
									"key": "pageNum",
									"value": "1"
								},
								{
									"key": "pageSize",
									"value": "10"
								},
								{
									"key": "name",
									"value": null
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "删除节点",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"nodeIDs\":[3]\r\n}"
						},
						"url": "https://51.38.66.37:30000/edgemanager/v1/node/batch-delete"
					},
					"response": []
				},
				{
					"name": "修改节点",
					"request": {
						"method": "PATCH",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"nodeID\":1,\r\n    \"nodeName\":\"node-221\",\r\n    \"description\":\"xxx\"\r\n}"
						},
						"url": "https://51.38.66.37:30000/edgemanager/v1/node"
					},
					"response": []
				},
				{
					"name": "纳管节点",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{   \r\n    \"nodeID\":3,\r\n    \"name\":\"test1\",\r\n    \"groupIDs\":[1]\r\n}"
						},
						"url": "https://51.38.66.37:30000/edgemanager/v1/node/add"
					},
					"response": []
				},
				{
					"name": "创建节点组",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"nodeGroupNamE\":\"group3\",\r\n    \"description\":\"description_group\"\r\n}\r\n"
						},
						"url": "https://51.38.66.37:30000/edgemanager/v1/nodegroup"
					},
					"response": []
				},
				{
					"name": "添加节点到组",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"nodeIDs\":[3],\r\n    \"groupID\":1\r\n}"
						},
						"url": "https://51.38.66.37:30000/edgemanager/v1/nodegroup/node"
					},
					"response": []
				},
				{
					"name": "驱逐节点",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "[{\r\n   \"groupID\":2,\r\n    \"nodeID\":2\r\n},{\r\n   \"groupID\":2,\r\n    \"nodeID\":1\r\n}]\r\n"
						},
						"url": "https://51.38.66.37:30000/edgemanager/v1/nodegroup/node/batch-delete"
					},
					"response": []
				},
				{
					"name": "节点组详情",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "https://51.38.66.37:30000/edgemanager/v1/nodegroup?id=1",
							"protocol": "https",
							"host": [
								"51",
								"38",
								"66",
								"37"
							],
							"port": "30000",
							"path": [
								"edgemanager",
								"v1",
								"nodegroup"
							],
							"query": [
								{
									"key": "id",
									"value": "1"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "修改节点组",
					"request": {
						"method": "PATCH",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"groupID\":2,\r\n    \"nodeGroupNamE\":\"group11\",\r\n    \"description\":\"description_group\"\r\n}"
						},
						"url": "https://51.38.66.37:30000/edgemanager/v1/nodegroup"
					},
					"response": []
				},
				{
					"name": "删除节点组",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"groupIDs\":[1115,4,2]\r\n}"
						},
						"url": "https://51.38.66.37:30000/edgemanager/v1/nodegroup/batch-delete"
					},
					"response": []
				},
				{
					"name": "节点组列表",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "https://51.38.66.37:30000/edgemanager/v1/nodegroup/list?pageNum=1&pageSize=2&name",
							"protocol": "https",
							"host": [
								"51",
								"38",
								"66",
								"37"
							],
							"port": "30000",
							"path": [
								"edgemanager",
								"v1",
								"nodegroup",
								"list"
							],
							"query": [
								{
									"key": "pageNum",
									"value": "1"
								},
								{
									"key": "pageSize",
									"value": "2"
								},
								{
									"key": "name",
									"value": null
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "节点组数量",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": "https://51.38.66.37:30000/edgemanager/v1/nodegroup/stats"
					},
					"response": []
				}
			]
		},
		{
			"name": "apigw",
			"item": [
				{
					"name": "外部测试登录",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"username\":\"hello\",\r\n    \"password\":[72, 117, 97, 119, 101, 105,49, 50, 35, 51]\r\n}"
						},
						"url": "http://51.38.66.37:30048/usermanager/v1/login"
					},
					"response": []
				},
				{
					"name": "login",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"username\":\"admin\",\r\n    \"password\":[72,117, 97, 119, 101, 105, 49,50, 35, 52]\r\n}"
						},
						"url": "http://51.38.66.37:30045/api/v1/login"
					},
					"response": []
				},
				{
					"name": "chpwd",
					"request": {
						"method": "PATCH",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"username\":\"admin\",\r\n    \"oldPassword\"::[72, 117, 97, 119, 101, 105, 49, 50, 35, 51],\r\n    \"password\":[72, 117, 97, 119, 101, 105,49, 50, 35, 52],\r\n    \"rePassword\":[72, 117, 97, 119, 101, 105,49, 50, 35, 52],\r\n}"
						},
						"url": "http://51.38.66.37:30036/api/v1/changepwd"
					},
					"response": []
				},
				{
					"name": "chpwd",
					"request": {
						"method": "PATCH",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"username\":\"admin\",\r\n    \"oldPassword\"::[72, 117, 97, 119, 101, 105, 49, 50, 35, 51],\r\n    \"password\":[72, 117, 97, 119, 101, 105,49, 50, 35, 52],\r\n    \"rePassword\":[72, 117, 97, 119, 101, 105,49, 50, 35, 52],\r\n}"
						},
						"url": "http://51.38.66.37:30048/usermanager/v1/changepwd"
					},
					"response": []
				},
				{
					"name": "firstlogin",
					"request": {
						"method": "GET",
						"header": [],
						"url": ""
					},
					"response": []
				},
				{
					"name": "logout",
					"request": {
						"method": "GET",
						"header": [],
						"url": ""
					},
					"response": []
				}
			]
		},
		{
			"name": "应用管理",
			"item": [
				{
					"name": "创建应用",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"appName\": \"mfltest0115\",\r\n    \"containers\": [\r\n        {\r\n            \"name\": \"c1\",\r\n            \"cpuRequest\": 1,\r\n            \"cpuLimit\": 1,\r\n            \"memRequest\": 200,\r\n            \"memLimit\": 200,\r\n            \"image\": \"ubuntu\",\r\n            \"imageVersion\": \"18.04\",\r\n            \"env\": [\r\n                {\r\n                    \"name\": \"lib\",\r\n                    \"value\": \"/test\"\r\n                }\r\n            ],\r\n            \"userId\": 1001,\r\n            \"groupId\": 1001,\r\n            \"command\": [\r\n            ]\r\n        }\r\n    ],\r\n    \"description\": \"itisatestin0115\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "https://51.38.66.37:30020/edgemanager/v1/app"
					},
					"response": []
				},
				{
					"name": "查询应用实例",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [],
						"body": {
							"mode": "urlencoded",
							"urlencoded": [
								{
									"key": "appId",
									"value": "\"1\"",
									"type": "text",
									"disabled": true
								}
							]
						},
						"url": {
							"raw": "https://51.38.66.37:30020/edgemanager/v1/app/deployment/list?appId=1",
							"protocol": "https",
							"host": [
								"51",
								"38",
								"66",
								"37"
							],
							"port": "30020",
							"path": [
								"edgemanager",
								"v1",
								"app",
								"deployment",
								"list"
							],
							"query": [
								{
									"key": "appId",
									"value": "1"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "节点应用实例列表",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "https://51.38.66.37:30020/edgemanager/v1/app/node?nodeID=1",
							"protocol": "https",
							"host": [
								"51",
								"38",
								"66",
								"37"
							],
							"port": "30020",
							"path": [
								"edgemanager",
								"v1",
								"app",
								"node"
							],
							"query": [
								{
									"key": "nodeID",
									"value": "1"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "部署应用",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"appID\": 1,\r\n    \"nodeGroupIds\": [\r\n        1\r\n    ]\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "https://51.38.66.37:30020/edgemanager/v1/app/deployment"
					},
					"response": []
				},
				{
					"name": "查询应用",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "https://51.38.66.67:30020/edgemanager/v1/app/?appID=1",
							"protocol": "https",
							"host": [
								"51",
								"38",
								"66",
								"67"
							],
							"port": "30020",
							"path": [
								"edgemanager",
								"v1",
								"app",
								""
							],
							"query": [
								{
									"key": "appID",
									"value": "1"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "修改应用",
					"request": {
						"method": "PATCH",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"appName\": \"mfltest1222\",\r\n    \"containers\": [\r\n        {\r\n            \"name\": \"c1\",\r\n            \"cpuRequest\": \"1\",\r\n            \"cpuLimit\": \"1\",\r\n            \"memRequest\": \"200M\",\r\n            \"memLimit\": \"200M\",\r\n            \"image\": \"euler_image\",\r\n            \"imageVersion\": \"1.0\",\r\n            \"npu\": \"\",\r\n            \"env\": [\r\n                {\r\n                    \"name\": \"lib\",\r\n                    \"value\": \"/test\"\r\n                }\r\n            ],\r\n            \"userId\": 1001,\r\n            \"groupId\": 1001,\r\n            \"command\": [\r\n                \"/bin/bash\",\r\n                \"-c\",\r\n                \"sleep 30000\"\r\n            ]\r\n        }\r\n    ],\r\n    \"description\": \"itisatestin1222\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "http://51.38.66.37:30020/edgemanager/v1/app/"
					},
					"response": []
				},
				{
					"name": "获取应用列表",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "http://51.38.66.37:30020/edgemanager/v1/app/list?pageNum=1&pageSize=10",
							"protocol": "http",
							"host": [
								"51",
								"38",
								"66",
								"37"
							],
							"port": "30020",
							"path": [
								"edgemanager",
								"v1",
								"app",
								"list"
							],
							"query": [
								{
									"key": "pageNum",
									"value": "1"
								},
								{
									"key": "pageSize",
									"value": "10"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "删除应用",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"appId\": [\r\n        1\r\n    ]\r\n}"
						},
						"url": "http://51.38.66.37:30021/edgemanager/v1/app/batch-delete"
					},
					"response": []
				},
				{
					"name": "应用卸载",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\"appId\":1,\"nodeGroupIds\":[1]}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": "http://51.38.66.37:30020/edgemanager/v1/app/deployment/batch-delete"
					},
					"response": []
				},
				{
					"name": "批量查询应用实例",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "https://51.38.66.37:30035/edgemanager/v1/app/deployment/list?pageNum=1&pageSize=10&name=",
							"protocol": "https",
							"host": [
								"51",
								"38",
								"66",
								"37"
							],
							"port": "30035",
							"path": [
								"edgemanager",
								"v1",
								"app",
								"deployment",
								"list"
							],
							"query": [
								{
									"key": "pageNum",
									"value": "1"
								},
								{
									"key": "pageSize",
									"value": "10"
								},
								{
									"key": "name",
									"value": ""
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "创建configmap",
					"request": {
						"method": "GET",
						"header": [],
						"url": ""
					},
					"response": []
				},
				{
					"name": "单个应用删除",
					"request": {
						"method": "GET",
						"header": [],
						"url": ""
					},
					"response": []
				},
				{
					"name": "更新",
					"request": {
						"method": "GET",
						"header": [],
						"url": ""
					},
					"response": []
				},
				{
					"name": "镜像配置",
					"request": {
						"method": "GET",
						"header": [],
						"url": ""
					},
					"response": []
				},
				{
					"name": "导出证书",
					"request": {
						"method": "GET",
						"header": [],
						"url": ""
					},
					"response": []
				}
			]
		},
		{
			"name": "配置",
			"item": [
				{
					"name": "导入根证书",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-CSRF-Token",
								"value": "HiyKMWxwJ-BSaRuHkhP72IvQ-Huk3t_V8Xgic97YJWs",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"certName\":\"hub_client\",\r\n    \"cert\":\"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVwVENDQXcyZ0F3SUJBZ0lVYkVhemI3V1VLSHVXYXg4Z3AxNEt3dE05djlzd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dqRVNNQkFHQTFVRUF3d0pUVVZHUTJWdWRHVnlNUXN3Q1FZRFZRUUdFd0pEVGpFbU1DUUdBMVVFQ2d3ZApTSFZoZDJWcElGUmxZMmh1YjJ4dloybGxjeUJEYnk0c0lFeDBaQzR4RHpBTkJnTlZCQXNNQmtGelkyVnVaREFlCkZ3MHlNakF6TURjd056VXhNREZhRncwek1qQXpNRGN3TnpVeE1ERmFNRm94RWpBUUJnTlZCQU1NQ1UxRlJrTmwKYm5SbGNqRUxNQWtHQTFVRUJoTUNRMDR4SmpBa0JnTlZCQW9NSFVoMVlYZGxhU0JVWldOb2JtOXNiMmRwWlhNZwpRMjh1TENCTWRHUXVNUTh3RFFZRFZRUUxEQVpCYzJObGJtUXdnZ0dpTUEwR0NTcUdTSWIzRFFFQkFRVUFBNElCCmp3QXdnZ0dLQW9JQmdRQzFrL0pja3c3S0g2RzJ4ZGlKMWV0Tkh5b0dQK0xlTnBvNmg5UkVyTWQ3UjNlSWx5R1MKNTRDdURGTUI3OGlkSXVuREp3Y2FBNU1YdGJPWjJ2TVlkOVM0Vm1PbEF4bmluZVkveEZmTDdpRVF3UUZuVlV4cwpCSDFmV2xLWjFpbkZSRlZKbGNuMWM4cTJmV1MzemFMS2NWR3I4bE9BTnRqVFd3T1ZrSG9EOGRFbjNpL0xtTCtBCmZzaUFNZStpTjRsa1RjSmNITUtSOHY4SXF0MlhHdjB5Q05Mb0tTY20zN0RRcklmaDF3RVA3Wm44NU9ndm5QZTUKRnFvM0ZpaldCb2p3OUpKYmNvU2pEMmpJOGFuV0VkNXZyWVIwejZ4c29PUWJkRUMybm51MjhDdTdOUytXbGZPeAprdUxQdVRKcEI3dXgvVjhuR0VIQWpJenhoTjVFZU8ySUk4V0ZneWJzMUxpYXpPRTNsVWxvQXYvakRaZFFuSEU1Ck02dnBvejdjemF2djMyQW94SHRFaUtCTVJkRGs3NjUzZzRsM0VaN1NFbTdJcXhDVlhidGxpWFl3aXFPWkNUY0wKOVVKT3dvRGMvaUpQcWM4SEZyVUNvS1Y4dUFiL1JSL0dBdDhmcWo4ZVAxaE5idGovb1lOVzkxZUhDRHJOek0yWgpJMnlzMExiWmdKQ2xpYlVDQXdFQUFhTmpNR0V3SFFZRFZSME9CQllFRkZZOFdEZXJjb0xBSDVZeUgzSmwyb2tECjU4STRNQjhHQTFVZEl3UVlNQmFBRkZZOFdEZXJjb0xBSDVZeUgzSmwyb2tENThJNE1CSUdBMVVkRXdFQi93UUkKTUFZQkFmOENBUU13Q3dZRFZSMFBCQVFEQWdFR01BMEdDU3FHU0liM0RRRUJDd1VBQTRJQmdRQ09nRFpkZUR5NwpJdTQyMDdrWTNIcUtXTTU1TTdNOTFnM1oweml4UmQ0YWFZLzZNZExIc3J6RTZaNFVSdlRSY2RYaXREUmRxZm9WClFKZkN0MythQWR1L3JYRGcwUGlueGVwRGJQaDd2K0NrTE1aOGgrMU9hU2w4Y1NVZDJKSDUvVDUwZzhqVTZRb2sKeCtMd3BEbTZEVkhTVHM5MXZUQTNTSGh3OFhrMktDVktoZ2w2eTgyZTRXRy8vaVN4Mlp3M3JpVDF2aGZ0ck1TTwoya0p2SEtkb0o3WnAyakdYL2JDVEJsVFQzRVpPM3ZadHdCY3RVODBkclBPMlhMemRJcWw1dHBXV1p3azBXTWpQCnZxWWtXVktiKzJ5REh6ckFUcko5cTVIVDZBOUFyMURFV2xsRVFnNC90a3p5TEFPWHFaQUcvbnJ6aEFicUxUNm4KdGNvTTVHL3VIWWVscVVjQ2w0TkpkVG5JSjNWdjRONSs3NXJoNWNwMVpWZ29HdUR2OVV4aXp4UmlreVVnMHdFZgozUC9QV1NoOFdvVzR5U0RUTUlCL3NlT09zdmxFRzVKa0FVcjM3NmxHN254WGlLUTVQd3FMdnlqOWk0c0xFNFZLCm56SU9TREtrYzFXQS9uZUdIQ2NIQTJUaDRCMFN3dFdYVERQV2k4Q1dOd2RCNjliamZtNk10VFE9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0=\"\r\n}"
						},
						"url": "https://51.38.66.39:30035/certmanager/v1/certificates/import"
					},
					"response": []
				},
				{
					"name": "查询根证书",
					"request": {
						"method": "GET",
						"header": [],
						"url": "https://51.38.66.39:30035/certmanager/v1/certificates/import"
					},
					"response": []
				}
			]
		},
		{
			"name": "模板列表",
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "http://51.38.66.37:30000/edgemanager/v1/apptemplate/list?pageNum=1&pageSize=10",
					"protocol": "http",
					"host": [
						"51",
						"38",
						"66",
						"37"
					],
					"port": "30000",
					"path": [
						"edgemanager",
						"v1",
						"apptemplate",
						"list"
					],
					"query": [
						{
							"key": "pageNum",
							"value": "1"
						},
						{
							"key": "pageSize",
							"value": "10"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "模板详情",
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": {
						"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJHcm91cElEIjoyNiwiU2Vzc2lvbklEIjoicHRWTThjb2JwUjJRX19tUmZLa3pJUSIsIlJvbGVDb2RlIjoibm9ybWFsLXVzZXIiLCJSZW1vdGVBZGRyIjoiNTAuNjQuMTczLjI0MyIsIlJvbGVJRCI6NCwiVXNlcklEIjozNywiTG9naW5UaW1lIjoxNjU1MzgzMzYxLjQ0Mn0.qSmtuuo4OFjKzCJMMFg-BFk7prP_waIpSaKAtq4f0ZA"
					}
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "http://51.38.66.37:30000/edgemanager/v1/apptemplate/?id=2",
					"protocol": "http",
					"host": [
						"51",
						"38",
						"66",
						"37"
					],
					"port": "30000",
					"path": [
						"edgemanager",
						"v1",
						"apptemplate",
						""
					],
					"query": [
						{
							"key": "id",
							"value": "2"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "token",
			"request": {
				"method": "GET",
				"header": [],
				"url": ""
			},
			"response": []
		},
		{
			"name": "testtoken",
			"request": {
				"method": "GET",
				"header": [],
				"url": ""
			},
			"response": []
		}
	],
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "token",
			"value": ""
		}
	]
}

  

标签:MEF,postman,v1,header,response,raw,json,method,name
From: https://www.cnblogs.com/gongxianjin/p/17482484.html

相关文章

  • 如何在Katalon Studio中解析JSON响应
    JSON响应示例假设我们有以下JSON响应,并且我们想要解析和检索其数据:{“menu”:{“id”:“文件”,“工具”:{“行动”:[{“id”:“新”,“标题”:“新文件”},{“id”:“开放”,“标题”:“打开文件......
  • node Solve – To load an ES module, set “type”: “module” in the package.js
     https://codevoweb.com/solve-to-load-an-es-module-set-type-module-in-the-package-json-or-use-the-mjs-extension/  解决–要加载ES模块,请在package.json中设置“type”:“module”或使用.mjs扩展名 第一个解决方案,注意格式是有空格的 第二个是把文......
  • SQL中json解析技巧
    比如字段var1,值是'{"a":{"b":{"c":1,"d":2}}}'大家都知道用get_json_object(var1,'$.a')可以得到'{"b":{"c":1,"d":2}}',如果要继续下挖,不需要get_json_object函数一直套可以直接按这个写法:get_json_object......
  • js把string转化为json
    //声明变量名为a的对象vara={a:1,b:2,c:"wangwei"};//将JSON对象转化为JSON字符,赋值给变量letstrResult=JSON.stringify(a)//查看变量strResult是什么类型typeofstrResult//'string'//JSON.parse()用于从一个字符串中解析出json对象letjsonResult=JSON.parse(str......
  • json字符串解析 多语言替换
    importlombok.extern.slf4j.Slf4j;importorg.apache.commons.collections4.MapUtils;importorg.apache.commons.lang3.StringUtils;importorg.springframework.beans.factory.annotation.Value;importjava.util.HashSet;importjava.util.List;importjava.util.M......
  • 模块(os、json、pickle)
    os模块主要与操作系统打交道,是与操作系统交互的一个窗口1.os.mkdir('dirname')创建单级目录dirname2.os.makedirs('dirname1/dirname2')生成多层递归目录dirnmae1下的dirname23.os.rmdir('dirname')删除空白单级目录dirname,若dirname不为空则无法删除,并报错 ......
  • post、raw、json调用第三方接口
    1、调用第三方接口,对方接口文档写到”请求方式postjson格式、请求参数json格式“,看不懂,就用postMan试试看。发现只有一种方式能调用通, 2、 3、Content-Type:application/json  4、根据上面的方式,所有写了下面的方法:/****@paramurl接口地址*@paramputData......
  • windows下使用minio搭建s3存储,使用laravel和postman进行测试
    1、下载服务端https://dl.min.io/server/minio/release/windows-amd64/minio.exe2、启动服务minio.exeserverd:\data\minio--console-address:9090 可以看到上面有两块ip,分别是9000和9000端口,其中9090是后台管理端地址的端口,9000是前台接口端口3、创建bucket4......
  • postman运行collection上传文件脚本 console报错 Form param `file`, file load error
    postman运行collection上传文件脚本console报错Formparam`file`,fileloaderror:PPERM:insecurefileaccessoutsideworkingdirectory是因为没有打开上传的文件的所在目录解决办法有两种:1)在files路径下存放你所要的测试数据2)开启允许读取工作目录外的文件......
  • package.json中的版本号
    NPM的语义版本控制在发布NPM模块新版本时,建议遵循“语义版本控制”考虑使用这样的版本号x.y.z控制,如下所示:版本号规则:主版本:做了不兼容的API修改,不会向前兼容,一般也称为大版本,当项目依赖需要升级到大版本时需要注意。次版本:通常是做了向前兼容的新功能增加,一般也称为......