You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/backend/core/api/openapi.json
+273-7Lines changed: 273 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -144,6 +144,90 @@
144
144
}
145
145
}
146
146
},
147
+
"/api/v1.0/contacts/": {
148
+
"get": {
149
+
"operationId": "contacts_list",
150
+
"description": "List contacts with optional filtering by mailbox and search query.\n\nQuery parameters:\n- mailbox_id: Optional UUID to filter contacts by mailbox\n- q: Optional search query for name or email (case insensitive)",
151
+
"parameters": [
152
+
{
153
+
"in": "query",
154
+
"name": "mailbox_id",
155
+
"schema": {
156
+
"type": "string",
157
+
"format": "uuid"
158
+
},
159
+
"description": "Filter contacts by mailbox ID."
160
+
},
161
+
{
162
+
"in": "query",
163
+
"name": "q",
164
+
"schema": {
165
+
"type": "string"
166
+
},
167
+
"description": "Search contacts by name or email (case insensitive)."
168
+
}
169
+
],
170
+
"tags": [
171
+
"contacts"
172
+
],
173
+
"security": [
174
+
{
175
+
"cookieAuth": []
176
+
}
177
+
],
178
+
"responses": {
179
+
"200": {
180
+
"content": {
181
+
"application/json": {
182
+
"schema": {
183
+
"type": "array",
184
+
"items": {
185
+
"$ref": "#/components/schemas/Contact"
186
+
}
187
+
}
188
+
}
189
+
},
190
+
"description": ""
191
+
}
192
+
}
193
+
}
194
+
},
195
+
"/api/v1.0/contacts/{id}/": {
196
+
"get": {
197
+
"operationId": "contacts_retrieve",
198
+
"description": "ViewSet for Contact model.",
199
+
"parameters": [
200
+
{
201
+
"in": "path",
202
+
"name": "id",
203
+
"schema": {
204
+
"type": "string"
205
+
},
206
+
"required": true
207
+
}
208
+
],
209
+
"tags": [
210
+
"contacts"
211
+
],
212
+
"security": [
213
+
{
214
+
"cookieAuth": []
215
+
}
216
+
],
217
+
"responses": {
218
+
"200": {
219
+
"content": {
220
+
"application/json": {
221
+
"schema": {
222
+
"$ref": "#/components/schemas/Contact"
223
+
}
224
+
}
225
+
},
226
+
"description": ""
227
+
}
228
+
}
229
+
}
230
+
},
147
231
"/api/v1.0/draft/": {
148
232
"post": {
149
233
"operationId": "draft_create",
@@ -2244,7 +2328,7 @@
2244
2328
},
2245
2329
"post": {
2246
2330
"operationId": "maildomains_mailboxes_create",
2247
-
"description": "ViewSet for managing Mailboxes within a specific MailDomain.\nNested under /maildomains/{maildomain_pk}/mailboxes/\nPermissions are checked by IsMailDomainAdmin for the maildomain_pk.\n\nThis viewset serves a different purpose than the one in mailbox.py (/api/v1.0/mailboxes/).\nThat other one is for listing the mailboxes a user has access to in regular app use.\nThis one is for managing mailboxes within a specific maildomain in the admin interface.",
2331
+
"description": "Create new mailboxin a specific maildomain.",
0 commit comments