-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmockoonenvironment.json
92 lines (92 loc) · 5.19 KB
/
mockoonenvironment.json
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"source": "mockoon:1.15.0",
"data": [
{
"type": "environment",
"item": {
"uuid": "",
"lastMigration": 17,
"name": "cruise-ms-domain",
"endpointPrefix": "",
"latency": 0,
"port": 3001,
"routes": [
{
"uuid": "",
"documentation": "",
"method": "get",
"endpoint": "cruise-ms-domain/clients",
"responses": [
{
"uuid": "",
"body": "[\n {\n \"id\": \"611515cba50a731a05005afe\",\n \"username\": \"code bender\",\n \"firstName\": \"kgotlelelo\",\n \"lastName\": \"masenamela\",\n \"bio\": \"Have a lovely day\",\n \"email\": \"[email protected]\",\n \"gender\": \"MALE\",\n \"dateOfBirth\": \"2021-08-12T14:36:27.846\",\n \"posts\": [\n {\n \"id\": 0,\n \"body\": \"hello world\",\n \"likes\": 0\n },\n {\n \"id\": 1,\n \"body\": \"what are you doing\",\n \"likes\": 0\n },\n {\n \"id\": 0,\n \"body\": \"hello man\",\n \"likes\": 0\n }\n ]\n },\n {\n \"id\": \"611515cba50a731a05005afe\",\n \"username\": \"asmith\",\n \"firstName\": \"anna\",\n \"lastName\": \"smith\",\n \"bio\": \"Have a lovely night\",\n \"email\": \"[email protected]\",\n \"gender\": \"MALE\",\n \"dateOfBirth\": \"2021-08-12T14:36:27.846\",\n \"posts\": [\n {\n \"id\": 0,\n \"body\": \"I an new here\",\n \"likes\": 0\n },\n {\n \"id\": 1,\n \"body\": \"this place is boring\",\n \"likes\": 0\n },\n {\n \"id\": 0,\n \"body\": \"hello man\",\n \"likes\": 0\n }\n ]\n },\n {\n \"id\": \"611515cba50a731a05005aff\",\n \"username\": \"Don\",\n \"firstName\": \"John\",\n \"lastName\": \"Doe\",\n \"bio\": \"another one\",\n \"email\": \"[email protected]\",\n \"gender\": \"FEMALE\",\n \"dateOfBirth\": \"2021-08-12T14:36:27.847\",\n \"posts\": null\n }\n]",
"latency": 0,
"statusCode": 200,
"label": "",
"headers": [],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "",
"method": "post",
"endpoint": "cruise-ms-domain/client/register",
"responses": [
{
"uuid": "",
"body": "{}",
"latency": 0,
"statusCode": 200,
"label": "",
"headers": [],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
}
],
"proxyMode": false,
"proxyHost": "",
"proxyRemovePrefix": false,
"https": false,
"cors": true,
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"proxyReqHeaders": [
{
"key": "",
"value": ""
}
],
"proxyResHeaders": [
{
"key": "",
"value": ""
}
],
"hostname": "0.0.0.0"
}
}
]
}