-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmockoon.json
More file actions
170 lines (170 loc) · 9.53 KB
/
mockoon.json
File metadata and controls
170 lines (170 loc) · 9.53 KB
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{
"uuid": "f15ae7bb-1f0c-4284-b797-db2fde80fa52",
"lastMigration": 25,
"name": "Code and Coffee Service Mock",
"endpointPrefix": "",
"latency": 0,
"port": 3100,
"hostname": "0.0.0.0",
"folders": [],
"routes": [
{
"uuid": "5230924d-274c-48b1-8936-70b32fefc165",
"documentation": "",
"method": "post",
"endpoint": "email-app",
"responses": [
{
"uuid": "bc836903-c265-4a17-8086-fc3fa4a65ade",
"body": "\"Email sent!\"",
"latency": 0,
"statusCode": 200,
"label": "",
"headers": [],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true
}
],
"enabled": true,
"responseMode": null
},
{
"uuid": "9df85faa-6fa7-44cc-9d23-bea105a873e3",
"documentation": "",
"method": "post",
"endpoint": "github/repos/:repoOwner/:repo/issues",
"responses": [
{
"uuid": "d12d9ade-8807-44c1-8d34-9f7e869a80ef",
"body": "{\r\n\t\"url\": \"https://api.github.com/repos/CodeandCoffeeCommunity/Boston-Features/issues/8\",\r\n\t\"repository_url\": \"https://api.github.com/repos/CodeandCoffeeCommunity/Boston-Features\",\r\n\t\"labels_url\": \"https://api.github.com/repos/CodeandCoffeeCommunity/Boston-Features/issues/8/labels{/name}\",\r\n\t\"comments_url\": \"https://api.github.com/repos/CodeandCoffeeCommunity/Boston-Features/issues/8/comments\",\r\n\t\"events_url\": \"https://api.github.com/repos/CodeandCoffeeCommunity/Boston-Features/issues/8/events\",\r\n\t\"html_url\": \"https://github.com/CodeandCoffeeCommunity/Boston-Features/issues/8\",\r\n\t\"id\": 1718360943,\r\n\t\"node_id\": \"I_kwDOJk0R285mbBtv\",\r\n\t\"number\": 8,\r\n\t\"title\": \"Found a bug\",\r\n\t\"user\": {\r\n\t\t\"login\": \"CodeAndCoffeeBarista\",\r\n\t\t\"id\": 134183078,\r\n\t\t\"node_id\": \"U_kgDOB_94pg\",\r\n\t\t\"avatar_url\": \"https://avatars.githubusercontent.com/u/134183078?v=4\",\r\n\t\t\"gravatar_id\": \"\",\r\n\t\t\"url\": \"https://api.github.com/users/CodeAndCoffeeBarista\",\r\n\t\t\"html_url\": \"https://github.com/CodeAndCoffeeBarista\",\r\n\t\t\"followers_url\": \"https://api.github.com/users/CodeAndCoffeeBarista/followers\",\r\n\t\t\"following_url\": \"https://api.github.com/users/CodeAndCoffeeBarista/following{/other_user}\",\r\n\t\t\"gists_url\": \"https://api.github.com/users/CodeAndCoffeeBarista/gists{/gist_id}\",\r\n\t\t\"starred_url\": \"https://api.github.com/users/CodeAndCoffeeBarista/starred{/owner}{/repo}\",\r\n\t\t\"subscriptions_url\": \"https://api.github.com/users/CodeAndCoffeeBarista/subscriptions\",\r\n\t\t\"organizations_url\": \"https://api.github.com/users/CodeAndCoffeeBarista/orgs\",\r\n\t\t\"repos_url\": \"https://api.github.com/users/CodeAndCoffeeBarista/repos\",\r\n\t\t\"events_url\": \"https://api.github.com/users/CodeAndCoffeeBarista/events{/privacy}\",\r\n\t\t\"received_events_url\": \"https://api.github.com/users/CodeAndCoffeeBarista/received_events\",\r\n\t\t\"type\": \"User\",\r\n\t\t\"site_admin\": false\r\n\t},\r\n\t\"labels\": [],\r\n\t\"state\": \"open\",\r\n\t\"locked\": false,\r\n\t\"assignee\": null,\r\n\t\"assignees\": [],\r\n\t\"milestone\": null,\r\n\t\"comments\": 0,\r\n\t\"created_at\": \"2023-05-21T03:49:40Z\",\r\n\t\"updated_at\": \"2023-05-21T03:49:40Z\",\r\n\t\"closed_at\": null,\r\n\t\"author_association\": \"NONE\",\r\n\t\"active_lock_reason\": null,\r\n\t\"body\": \"I'm having a problem with this.\",\r\n\t\"closed_by\": null,\r\n\t\"reactions\": {\r\n\t\t\"url\": \"https://api.github.com/repos/CodeandCoffeeCommunity/Boston-Features/issues/8/reactions\",\r\n\t\t\"total_count\": 0,\r\n\t\t\"+1\": 0,\r\n\t\t\"-1\": 0,\r\n\t\t\"laugh\": 0,\r\n\t\t\"hooray\": 0,\r\n\t\t\"confused\": 0,\r\n\t\t\"heart\": 0,\r\n\t\t\"rocket\": 0,\r\n\t\t\"eyes\": 0\r\n\t},\r\n\t\"timeline_url\": \"https://api.github.com/repos/CodeandCoffeeCommunity/Boston-Features/issues/8/timeline\",\r\n\t\"performed_via_github_app\": null,\r\n\t\"state_reason\": null\r\n}",
"latency": 0,
"statusCode": 201,
"label": "",
"headers": [],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true
}
],
"enabled": true,
"responseMode": null
},
{
"uuid": "dd278c3f-8920-411a-ac9d-3892a967685e",
"documentation": "",
"method": "get",
"endpoint": "settings/notifications.json",
"responses": [
{
"uuid": "2e06908e-8663-483f-8b84-384ebd27d4d5",
"body": "[\r\n {\r\n \"name\": \"BostonFeatures\",\r\n \"github\": \"CodeandCoffeeCommunity/Boston-Features\",\r\n \"email\": [\r\n \"Bjtowne9@gmail.com\"\r\n ]\r\n },\r\n {\r\n \"name\": \"BostonVolunteers\",\r\n \"github\": \"CodeandCoffeeCommunity/Boston-Volunteers\",\r\n \"email\": [\r\n \"Bjtowne9@gmail.com\"\r\n ]\r\n }\r\n]",
"latency": 0,
"statusCode": 200,
"label": "",
"headers": [],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true
}
],
"enabled": true,
"responseMode": null
},
{
"uuid": "ed90d3c2-6be8-4eac-ac5f-1f7d5c464c74",
"documentation": "",
"method": "get",
"endpoint": "settings/chapters.json",
"responses": [
{
"uuid": "1c6889e8-8641-4466-8162-1649eb4eb53d",
"body": "[\r\n {\r\n \"name\": \"NoVA\",\r\n \"meetupGroupUrlName\": \"nova-code-coffee\"\r\n },\r\n {\r\n \"name\": \"Triangle\",\r\n \"meetupGroupUrlName\": \"triangle-code-and-coffee\"\r\n },\r\n {\r\n \"name\": \"Baltimore\",\r\n \"meetupGroupUrlName\": \"baltimore-code-and-coffee\"\r\n },\r\n {\r\n \"name\": \"New York\",\r\n \"meetupGroupUrlName\": \"new-york-code-coffee\"\r\n },\r\n {\r\n \"name\": \"Austin\",\r\n \"meetupGroupUrlName\": \"austin-code-and-coffee\"\r\n },\r\n {\r\n \"name\": \"Chicago\",\r\n \"meetupGroupUrlName\": \"code-and-coffee-chicago\"\r\n },\r\n {\r\n \"name\": \"Columbus\",\r\n \"meetupGroupUrlName\": \"columbus-code-and-coffee\"\r\n },\r\n {\r\n \"name\": \"St. Louis\",\r\n \"meetupGroupUrlName\": \"code-and-coffee-st-louis\"\r\n },\r\n {\r\n \"name\": \"Ventura\",\r\n \"meetupGroupUrlName\": \"ventura-code-coffee\"\r\n },\r\n {\r\n \"name\": \"Cincinnati\",\r\n \"meetupGroupUrlName\": \"cincinnati-code-and-coffee\"\r\n },\r\n {\r\n \"name\": \"Boston\",\r\n \"meetupGroupUrlName\": \"boston-code-and-coffee\"\r\n },\r\n {\r\n \"name\": \"Longview\",\r\n \"meetupGroupUrlName\": \"longview-code-and-coffee\"\r\n },\r\n {\r\n \"name\":\"Richmond\",\r\n \"meetupGroupUrlName\": \"rva-code-coffee\"\r\n },\r\n {\r\n \"name\":\"Milwaukee\",\r\n \"meetupGroupUrlName\": \"milwaukee-code-and-coffee\"\r\n },\r\n {\r\n \"name\":\"Houston\",\r\n \"meetupGroupUrlName\": \"houston-code-and-coffee\"\r\n },\r\n {\r\n \"name\":\"Frederick\",\r\n \"meetupGroupUrlName\": \"frederick-code-and-coffee\"\r\n },\r\n {\r\n \"name\":\"Dulles\",\r\n \"meetupGroupUrlName\": \"dulles-code-coffee\"\r\n },\r\n {\r\n \"name\":\"Chattanooga\",\r\n \"meetupGroupUrlName\": \"nooga-code-coffee\"\r\n },\r\n {\r\n \"name\":\"Alexandria\",\r\n \"meetupGroupUrlName\": \"alexandria-code-coffee\"\r\n },\r\n {\r\n \"name\":\"Atlanta\",\r\n \"meetupGroupUrlName\": \"atlanta-metro-code-and-coffee\"\r\n },\r\n {\r\n \"name\":\"DC\",\r\n \"meetupGroupUrlName\": \"dc-code-coffee\"\r\n },\r\n {\r\n \"name\":\"San Francisco\",\r\n \"meetupGroupUrlName\": \"sf-code-coffee\"\r\n },\r\n {\r\n \"name\":\"Seattle\",\r\n \"meetupGroupUrlName\": \"seattle-code-and-coffee\"\r\n }\r\n]",
"latency": 0,
"statusCode": 200,
"label": "",
"headers": [],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true
}
],
"enabled": true,
"responseMode": null
}
],
"rootChildren": [
{
"type": "route",
"uuid": "5230924d-274c-48b1-8936-70b32fefc165"
},
{
"type": "route",
"uuid": "9df85faa-6fa7-44cc-9d23-bea105a873e3"
},
{
"type": "route",
"uuid": "dd278c3f-8920-411a-ac9d-3892a967685e"
},
{
"type": "route",
"uuid": "ed90d3c2-6be8-4eac-ac5f-1f7d5c464c74"
}
],
"proxyMode": false,
"proxyHost": "",
"proxyRemovePrefix": false,
"tlsOptions": {
"enabled": false,
"type": "CERT",
"pfxPath": "",
"certPath": "",
"keyPath": "",
"caPath": "",
"passphrase": ""
},
"cors": true,
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"proxyReqHeaders": [
{
"key": "",
"value": ""
}
],
"proxyResHeaders": [
{
"key": "",
"value": ""
}
],
"data": []
}