summaryrefslogtreecommitdiffstats
path: root/conductor/tools/postman_collection/MultiCloud.postman_collection.json
blob: bfe01bf35e764689a176a39953f5183efa5b0c56 (plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
	"info": {
		"_postman_id": "1cb02423-a987-44fa-87a4-9dcbcdbedab4",
		"name": "MultiCloud",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "api/multicloud/v0/check_vim_capacity",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "{{url}}/api/multicloud/v0/check_vim_capacity",
					"host": [
						"{{url}}"
					],
					"path": [
						"api",
						"multicloud",
						"v0",
						"check_vim_capacity"
					]
				}
			},
			"response": [
				{
					"id": "27e9c15c-3992-41b9-83d9-8c4b5dc1ccae",
					"name": "Default",
					"originalRequest": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\"vCPU\": 10, \"VIMs\": [\"HPA-cloud_cloud-region-2\", \"HPA-cloud_cloud-region-1\"], \"Storage\": 100, \"Memory\": 4.5}"
						},
						"url": {
							"raw": "{{url}}/api/multicloud/v0/check_vim_capacity",
							"host": [
								"{{url}}"
							],
							"path": [
								"api",
								"multicloud",
								"v0",
								"check_vim_capacity"
							]
						}
					},
					"code": 200,
					"_postman_previewlanguage": null,
					"header": null,
					"cookie": [],
					"body": "{\"VIMs\": [\"HPA-cloud_cloud-region-1\"]}"
				}
			]
		}
	]
}