@evcraddock/slug-api 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -1
- package/dist/contract.d.ts +2 -0
- package/dist/contract.js +2 -0
- package/dist/contract.json +9 -0
- package/dist/index.d.ts +6 -2
- package/dist/index.js +10 -1
- package/dist/openapi.d.ts +4254 -0
- package/dist/openapi.js +2019 -0
- package/dist/openapi.json +5106 -0
- package/package.json +6 -4
|
@@ -0,0 +1,4254 @@
|
|
|
1
|
+
export declare const openApiDocument: {
|
|
2
|
+
readonly openapi: "3.1.0";
|
|
3
|
+
readonly "x-slugkit-contract": {
|
|
4
|
+
readonly id: "slugkit-management-api";
|
|
5
|
+
readonly version: "1.1.0";
|
|
6
|
+
};
|
|
7
|
+
readonly info: {
|
|
8
|
+
readonly title: "Slugkit API";
|
|
9
|
+
readonly version: "1.1.0";
|
|
10
|
+
};
|
|
11
|
+
readonly servers: readonly [{
|
|
12
|
+
readonly url: "/api/v1";
|
|
13
|
+
}];
|
|
14
|
+
readonly paths: {
|
|
15
|
+
readonly "/auth/check": {
|
|
16
|
+
readonly get: {
|
|
17
|
+
readonly operationId: "auth.check";
|
|
18
|
+
readonly summary: "Check API key authentication";
|
|
19
|
+
readonly security: readonly [{
|
|
20
|
+
readonly bearerAuth: readonly [];
|
|
21
|
+
}];
|
|
22
|
+
readonly responses: {
|
|
23
|
+
readonly "200": {
|
|
24
|
+
readonly description: "The API key is valid.";
|
|
25
|
+
readonly content: {
|
|
26
|
+
readonly "application/json": {
|
|
27
|
+
readonly schema: {
|
|
28
|
+
readonly $ref: "#/components/schemas/AuthCheckResponse";
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
readonly "401": {
|
|
34
|
+
readonly description: "The API key is missing or invalid.";
|
|
35
|
+
readonly content: {
|
|
36
|
+
readonly "application/json": {
|
|
37
|
+
readonly schema: {
|
|
38
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
readonly "/health": {
|
|
47
|
+
readonly get: {
|
|
48
|
+
readonly operationId: "health.get";
|
|
49
|
+
readonly summary: "API health check";
|
|
50
|
+
readonly responses: {
|
|
51
|
+
readonly "200": {
|
|
52
|
+
readonly description: "The API is reachable.";
|
|
53
|
+
readonly content: {
|
|
54
|
+
readonly "application/json": {
|
|
55
|
+
readonly schema: {
|
|
56
|
+
readonly $ref: "#/components/schemas/HealthResponse";
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
readonly "/meta": {
|
|
65
|
+
readonly get: {
|
|
66
|
+
readonly operationId: "meta.get";
|
|
67
|
+
readonly summary: "API metadata";
|
|
68
|
+
readonly responses: {
|
|
69
|
+
readonly "200": {
|
|
70
|
+
readonly description: "Bootstrap metadata for Slugkit clients.";
|
|
71
|
+
readonly content: {
|
|
72
|
+
readonly "application/json": {
|
|
73
|
+
readonly schema: {
|
|
74
|
+
readonly $ref: "#/components/schemas/MetaResponse";
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
readonly "/openapi.json": {
|
|
83
|
+
readonly get: {
|
|
84
|
+
readonly operationId: "openapi.get";
|
|
85
|
+
readonly summary: "OpenAPI document";
|
|
86
|
+
readonly responses: {
|
|
87
|
+
readonly "200": {
|
|
88
|
+
readonly description: "Slugkit OpenAPI 3.1 document.";
|
|
89
|
+
readonly content: {
|
|
90
|
+
readonly "application/json": {
|
|
91
|
+
readonly schema: {
|
|
92
|
+
readonly type: "object";
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
readonly "/site-config": {
|
|
101
|
+
readonly get: {
|
|
102
|
+
readonly operationId: "siteConfig.get";
|
|
103
|
+
readonly summary: "Get editable site configuration";
|
|
104
|
+
readonly security: readonly [{
|
|
105
|
+
readonly bearerAuth: readonly [];
|
|
106
|
+
}];
|
|
107
|
+
readonly responses: {
|
|
108
|
+
readonly "200": {
|
|
109
|
+
readonly description: "Current supported site configuration.";
|
|
110
|
+
readonly content: {
|
|
111
|
+
readonly "application/json": {
|
|
112
|
+
readonly schema: {
|
|
113
|
+
readonly $ref: "#/components/schemas/SiteConfigResponse";
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
readonly "401": {
|
|
119
|
+
readonly description: "The API key is missing or invalid.";
|
|
120
|
+
readonly content: {
|
|
121
|
+
readonly "application/json": {
|
|
122
|
+
readonly schema: {
|
|
123
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
readonly patch: {
|
|
131
|
+
readonly operationId: "siteConfig.update";
|
|
132
|
+
readonly summary: "Update editable site configuration";
|
|
133
|
+
readonly security: readonly [{
|
|
134
|
+
readonly bearerAuth: readonly [];
|
|
135
|
+
}];
|
|
136
|
+
readonly requestBody: {
|
|
137
|
+
readonly required: true;
|
|
138
|
+
readonly content: {
|
|
139
|
+
readonly "application/json": {
|
|
140
|
+
readonly schema: {
|
|
141
|
+
readonly $ref: "#/components/schemas/SiteConfigUpdateRequest";
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
readonly responses: {
|
|
147
|
+
readonly "200": {
|
|
148
|
+
readonly description: "Updated supported site configuration.";
|
|
149
|
+
readonly content: {
|
|
150
|
+
readonly "application/json": {
|
|
151
|
+
readonly schema: {
|
|
152
|
+
readonly $ref: "#/components/schemas/SiteConfigResponse";
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
readonly "401": {
|
|
158
|
+
readonly description: "The API key is missing or invalid.";
|
|
159
|
+
readonly content: {
|
|
160
|
+
readonly "application/json": {
|
|
161
|
+
readonly schema: {
|
|
162
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
readonly "422": {
|
|
168
|
+
readonly description: "The requested config update is invalid.";
|
|
169
|
+
readonly content: {
|
|
170
|
+
readonly "application/json": {
|
|
171
|
+
readonly schema: {
|
|
172
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
readonly "/posts": {
|
|
181
|
+
readonly get: {
|
|
182
|
+
readonly operationId: "posts.list";
|
|
183
|
+
readonly summary: "List posts";
|
|
184
|
+
readonly security: readonly [{
|
|
185
|
+
readonly bearerAuth: readonly [];
|
|
186
|
+
}];
|
|
187
|
+
readonly parameters: readonly [{
|
|
188
|
+
readonly name: "q";
|
|
189
|
+
readonly in: "query";
|
|
190
|
+
readonly required: false;
|
|
191
|
+
readonly description: "Trimmed, case-insensitive literal substring of title, slug, content, excerpt, or destination URL. Filtering happens before pagination. Absent or blank queries retain existing list behavior; responses remain summaries without content.";
|
|
192
|
+
readonly schema: {
|
|
193
|
+
readonly type: "string";
|
|
194
|
+
};
|
|
195
|
+
}, {
|
|
196
|
+
readonly name: "type";
|
|
197
|
+
readonly in: "query";
|
|
198
|
+
readonly required: false;
|
|
199
|
+
readonly description: "All types when omitted.";
|
|
200
|
+
readonly schema: {
|
|
201
|
+
readonly type: "string";
|
|
202
|
+
readonly enum: readonly ["article", "link", "note"];
|
|
203
|
+
};
|
|
204
|
+
}, {
|
|
205
|
+
readonly name: "status";
|
|
206
|
+
readonly in: "query";
|
|
207
|
+
readonly required: false;
|
|
208
|
+
readonly schema: {
|
|
209
|
+
readonly type: "string";
|
|
210
|
+
readonly enum: readonly ["draft", "published", "all"];
|
|
211
|
+
readonly default: "published";
|
|
212
|
+
};
|
|
213
|
+
}, {
|
|
214
|
+
readonly name: "tag";
|
|
215
|
+
readonly in: "query";
|
|
216
|
+
readonly required: false;
|
|
217
|
+
readonly description: "Tag slug; normalized using existing tag-filter semantics.";
|
|
218
|
+
readonly schema: {
|
|
219
|
+
readonly type: "string";
|
|
220
|
+
};
|
|
221
|
+
}, {
|
|
222
|
+
readonly name: "limit";
|
|
223
|
+
readonly in: "query";
|
|
224
|
+
readonly required: false;
|
|
225
|
+
readonly schema: {
|
|
226
|
+
readonly type: "integer";
|
|
227
|
+
readonly minimum: 1;
|
|
228
|
+
readonly maximum: 100;
|
|
229
|
+
readonly default: 50;
|
|
230
|
+
};
|
|
231
|
+
}, {
|
|
232
|
+
readonly name: "offset";
|
|
233
|
+
readonly in: "query";
|
|
234
|
+
readonly required: false;
|
|
235
|
+
readonly schema: {
|
|
236
|
+
readonly type: "integer";
|
|
237
|
+
readonly minimum: 0;
|
|
238
|
+
readonly default: 0;
|
|
239
|
+
};
|
|
240
|
+
}];
|
|
241
|
+
readonly responses: {
|
|
242
|
+
readonly "200": {
|
|
243
|
+
readonly description: "Post list.";
|
|
244
|
+
readonly content: {
|
|
245
|
+
readonly "application/json": {
|
|
246
|
+
readonly schema: {
|
|
247
|
+
readonly $ref: "#/components/schemas/PostListResponse";
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
readonly "401": {
|
|
253
|
+
readonly description: "The API key is missing or invalid.";
|
|
254
|
+
readonly content: {
|
|
255
|
+
readonly "application/json": {
|
|
256
|
+
readonly schema: {
|
|
257
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
readonly "422": {
|
|
263
|
+
readonly description: "The request is invalid.";
|
|
264
|
+
readonly content: {
|
|
265
|
+
readonly "application/json": {
|
|
266
|
+
readonly schema: {
|
|
267
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
};
|
|
274
|
+
readonly post: {
|
|
275
|
+
readonly operationId: "posts.create";
|
|
276
|
+
readonly summary: "Create a draft post";
|
|
277
|
+
readonly security: readonly [{
|
|
278
|
+
readonly bearerAuth: readonly [];
|
|
279
|
+
}];
|
|
280
|
+
readonly requestBody: {
|
|
281
|
+
readonly required: true;
|
|
282
|
+
readonly content: {
|
|
283
|
+
readonly "application/json": {
|
|
284
|
+
readonly schema: {
|
|
285
|
+
readonly $ref: "#/components/schemas/CreatePostRequest";
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
readonly responses: {
|
|
291
|
+
readonly "201": {
|
|
292
|
+
readonly description: "Created draft post.";
|
|
293
|
+
readonly content: {
|
|
294
|
+
readonly "application/json": {
|
|
295
|
+
readonly schema: {
|
|
296
|
+
readonly $ref: "#/components/schemas/PostResponse";
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
readonly "401": {
|
|
302
|
+
readonly description: "The API key is missing or invalid.";
|
|
303
|
+
readonly content: {
|
|
304
|
+
readonly "application/json": {
|
|
305
|
+
readonly schema: {
|
|
306
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
readonly "409": {
|
|
312
|
+
readonly description: "The request conflicts with an existing resource.";
|
|
313
|
+
readonly content: {
|
|
314
|
+
readonly "application/json": {
|
|
315
|
+
readonly schema: {
|
|
316
|
+
readonly $ref: "#/components/schemas/ConflictResponse";
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
};
|
|
321
|
+
readonly "422": {
|
|
322
|
+
readonly description: "The request is invalid.";
|
|
323
|
+
readonly content: {
|
|
324
|
+
readonly "application/json": {
|
|
325
|
+
readonly schema: {
|
|
326
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
readonly "/tags": {
|
|
335
|
+
readonly get: {
|
|
336
|
+
readonly operationId: "tags.list";
|
|
337
|
+
readonly summary: "List tags";
|
|
338
|
+
readonly security: readonly [{
|
|
339
|
+
readonly bearerAuth: readonly [];
|
|
340
|
+
}];
|
|
341
|
+
readonly responses: {
|
|
342
|
+
readonly "200": {
|
|
343
|
+
readonly description: "Tag list.";
|
|
344
|
+
readonly content: {
|
|
345
|
+
readonly "application/json": {
|
|
346
|
+
readonly schema: {
|
|
347
|
+
readonly $ref: "#/components/schemas/TagListResponse";
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
readonly "401": {
|
|
353
|
+
readonly description: "The API key is missing or invalid.";
|
|
354
|
+
readonly content: {
|
|
355
|
+
readonly "application/json": {
|
|
356
|
+
readonly schema: {
|
|
357
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
readonly "/contacts": {
|
|
366
|
+
readonly get: {
|
|
367
|
+
readonly operationId: "contacts.list";
|
|
368
|
+
readonly summary: "List contacts";
|
|
369
|
+
readonly security: readonly [{
|
|
370
|
+
readonly bearerAuth: readonly [];
|
|
371
|
+
}];
|
|
372
|
+
readonly parameters: readonly [{
|
|
373
|
+
readonly name: "q";
|
|
374
|
+
readonly in: "query";
|
|
375
|
+
readonly required: false;
|
|
376
|
+
readonly description: "Case-insensitive literal substring of a contact name or URL. Surrounding whitespace is trimmed; an absent or blank query returns all contacts in the existing order.";
|
|
377
|
+
readonly schema: {
|
|
378
|
+
readonly type: "string";
|
|
379
|
+
};
|
|
380
|
+
}];
|
|
381
|
+
readonly responses: {
|
|
382
|
+
readonly "200": {
|
|
383
|
+
readonly description: "Contact list.";
|
|
384
|
+
readonly content: {
|
|
385
|
+
readonly "application/json": {
|
|
386
|
+
readonly schema: {
|
|
387
|
+
readonly $ref: "#/components/schemas/ContactListResponse";
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
};
|
|
392
|
+
readonly "401": {
|
|
393
|
+
readonly description: "The API key is missing or invalid.";
|
|
394
|
+
readonly content: {
|
|
395
|
+
readonly "application/json": {
|
|
396
|
+
readonly schema: {
|
|
397
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
398
|
+
};
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
};
|
|
403
|
+
};
|
|
404
|
+
readonly post: {
|
|
405
|
+
readonly operationId: "contacts.create";
|
|
406
|
+
readonly summary: "Create a contact";
|
|
407
|
+
readonly security: readonly [{
|
|
408
|
+
readonly bearerAuth: readonly [];
|
|
409
|
+
}];
|
|
410
|
+
readonly requestBody: {
|
|
411
|
+
readonly required: true;
|
|
412
|
+
readonly content: {
|
|
413
|
+
readonly "application/json": {
|
|
414
|
+
readonly schema: {
|
|
415
|
+
readonly $ref: "#/components/schemas/CreateContactRequest";
|
|
416
|
+
};
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
};
|
|
420
|
+
readonly responses: {
|
|
421
|
+
readonly "201": {
|
|
422
|
+
readonly description: "Created contact.";
|
|
423
|
+
readonly content: {
|
|
424
|
+
readonly "application/json": {
|
|
425
|
+
readonly schema: {
|
|
426
|
+
readonly $ref: "#/components/schemas/ContactResponse";
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
};
|
|
431
|
+
readonly "401": {
|
|
432
|
+
readonly description: "The API key is missing or invalid.";
|
|
433
|
+
readonly content: {
|
|
434
|
+
readonly "application/json": {
|
|
435
|
+
readonly schema: {
|
|
436
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
readonly "422": {
|
|
442
|
+
readonly description: "The request is invalid.";
|
|
443
|
+
readonly content: {
|
|
444
|
+
readonly "application/json": {
|
|
445
|
+
readonly schema: {
|
|
446
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
};
|
|
454
|
+
readonly "/contacts/{id}": {
|
|
455
|
+
readonly get: {
|
|
456
|
+
readonly operationId: "contacts.get";
|
|
457
|
+
readonly summary: "Get a contact by ID";
|
|
458
|
+
readonly security: readonly [{
|
|
459
|
+
readonly bearerAuth: readonly [];
|
|
460
|
+
}];
|
|
461
|
+
readonly parameters: readonly [{
|
|
462
|
+
readonly name: "id";
|
|
463
|
+
readonly in: "path";
|
|
464
|
+
readonly required: true;
|
|
465
|
+
readonly schema: {
|
|
466
|
+
readonly type: "integer";
|
|
467
|
+
};
|
|
468
|
+
}];
|
|
469
|
+
readonly responses: {
|
|
470
|
+
readonly "200": {
|
|
471
|
+
readonly description: "Contact details.";
|
|
472
|
+
readonly content: {
|
|
473
|
+
readonly "application/json": {
|
|
474
|
+
readonly schema: {
|
|
475
|
+
readonly $ref: "#/components/schemas/ContactResponse";
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
};
|
|
479
|
+
};
|
|
480
|
+
readonly "401": {
|
|
481
|
+
readonly description: "The API key is missing or invalid.";
|
|
482
|
+
readonly content: {
|
|
483
|
+
readonly "application/json": {
|
|
484
|
+
readonly schema: {
|
|
485
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
};
|
|
490
|
+
readonly "404": {
|
|
491
|
+
readonly description: "The requested resource was not found.";
|
|
492
|
+
readonly content: {
|
|
493
|
+
readonly "application/json": {
|
|
494
|
+
readonly schema: {
|
|
495
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
496
|
+
};
|
|
497
|
+
};
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
readonly "422": {
|
|
501
|
+
readonly description: "The request is invalid.";
|
|
502
|
+
readonly content: {
|
|
503
|
+
readonly "application/json": {
|
|
504
|
+
readonly schema: {
|
|
505
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
506
|
+
};
|
|
507
|
+
};
|
|
508
|
+
};
|
|
509
|
+
};
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
readonly put: {
|
|
513
|
+
readonly operationId: "contacts.update";
|
|
514
|
+
readonly summary: "Update a contact by ID";
|
|
515
|
+
readonly security: readonly [{
|
|
516
|
+
readonly bearerAuth: readonly [];
|
|
517
|
+
}];
|
|
518
|
+
readonly parameters: readonly [{
|
|
519
|
+
readonly name: "id";
|
|
520
|
+
readonly in: "path";
|
|
521
|
+
readonly required: true;
|
|
522
|
+
readonly schema: {
|
|
523
|
+
readonly type: "integer";
|
|
524
|
+
};
|
|
525
|
+
}];
|
|
526
|
+
readonly requestBody: {
|
|
527
|
+
readonly required: true;
|
|
528
|
+
readonly content: {
|
|
529
|
+
readonly "application/json": {
|
|
530
|
+
readonly schema: {
|
|
531
|
+
readonly $ref: "#/components/schemas/UpdateContactRequest";
|
|
532
|
+
};
|
|
533
|
+
};
|
|
534
|
+
};
|
|
535
|
+
};
|
|
536
|
+
readonly responses: {
|
|
537
|
+
readonly "200": {
|
|
538
|
+
readonly description: "Updated contact.";
|
|
539
|
+
readonly content: {
|
|
540
|
+
readonly "application/json": {
|
|
541
|
+
readonly schema: {
|
|
542
|
+
readonly $ref: "#/components/schemas/ContactResponse";
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
};
|
|
546
|
+
};
|
|
547
|
+
readonly "401": {
|
|
548
|
+
readonly description: "The API key is missing or invalid.";
|
|
549
|
+
readonly content: {
|
|
550
|
+
readonly "application/json": {
|
|
551
|
+
readonly schema: {
|
|
552
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
553
|
+
};
|
|
554
|
+
};
|
|
555
|
+
};
|
|
556
|
+
};
|
|
557
|
+
readonly "404": {
|
|
558
|
+
readonly description: "The requested resource was not found.";
|
|
559
|
+
readonly content: {
|
|
560
|
+
readonly "application/json": {
|
|
561
|
+
readonly schema: {
|
|
562
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
};
|
|
566
|
+
};
|
|
567
|
+
readonly "422": {
|
|
568
|
+
readonly description: "The request is invalid.";
|
|
569
|
+
readonly content: {
|
|
570
|
+
readonly "application/json": {
|
|
571
|
+
readonly schema: {
|
|
572
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
573
|
+
};
|
|
574
|
+
};
|
|
575
|
+
};
|
|
576
|
+
};
|
|
577
|
+
};
|
|
578
|
+
};
|
|
579
|
+
readonly delete: {
|
|
580
|
+
readonly operationId: "contacts.delete";
|
|
581
|
+
readonly summary: "Delete a contact by ID";
|
|
582
|
+
readonly security: readonly [{
|
|
583
|
+
readonly bearerAuth: readonly [];
|
|
584
|
+
}];
|
|
585
|
+
readonly parameters: readonly [{
|
|
586
|
+
readonly name: "id";
|
|
587
|
+
readonly in: "path";
|
|
588
|
+
readonly required: true;
|
|
589
|
+
readonly schema: {
|
|
590
|
+
readonly type: "integer";
|
|
591
|
+
};
|
|
592
|
+
}];
|
|
593
|
+
readonly responses: {
|
|
594
|
+
readonly "204": {
|
|
595
|
+
readonly description: "Contact deleted.";
|
|
596
|
+
};
|
|
597
|
+
readonly "401": {
|
|
598
|
+
readonly description: "The API key is missing or invalid.";
|
|
599
|
+
readonly content: {
|
|
600
|
+
readonly "application/json": {
|
|
601
|
+
readonly schema: {
|
|
602
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
603
|
+
};
|
|
604
|
+
};
|
|
605
|
+
};
|
|
606
|
+
};
|
|
607
|
+
readonly "404": {
|
|
608
|
+
readonly description: "The requested resource was not found.";
|
|
609
|
+
readonly content: {
|
|
610
|
+
readonly "application/json": {
|
|
611
|
+
readonly schema: {
|
|
612
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
613
|
+
};
|
|
614
|
+
};
|
|
615
|
+
};
|
|
616
|
+
};
|
|
617
|
+
readonly "409": {
|
|
618
|
+
readonly description: "The request conflicts with an existing resource.";
|
|
619
|
+
readonly content: {
|
|
620
|
+
readonly "application/json": {
|
|
621
|
+
readonly schema: {
|
|
622
|
+
readonly $ref: "#/components/schemas/ConflictResponse";
|
|
623
|
+
};
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
};
|
|
627
|
+
readonly "422": {
|
|
628
|
+
readonly description: "The request is invalid.";
|
|
629
|
+
readonly content: {
|
|
630
|
+
readonly "application/json": {
|
|
631
|
+
readonly schema: {
|
|
632
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
633
|
+
};
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
};
|
|
637
|
+
};
|
|
638
|
+
};
|
|
639
|
+
};
|
|
640
|
+
readonly "/sources": {
|
|
641
|
+
readonly get: {
|
|
642
|
+
readonly operationId: "sources.list";
|
|
643
|
+
readonly summary: "List sources";
|
|
644
|
+
readonly security: readonly [{
|
|
645
|
+
readonly bearerAuth: readonly [];
|
|
646
|
+
}];
|
|
647
|
+
readonly parameters: readonly [{
|
|
648
|
+
readonly name: "q";
|
|
649
|
+
readonly in: "query";
|
|
650
|
+
readonly required: false;
|
|
651
|
+
readonly description: "Case-insensitive literal substring of a source name or URL. Surrounding whitespace is trimmed; an absent or blank query returns all sources in the existing order.";
|
|
652
|
+
readonly schema: {
|
|
653
|
+
readonly type: "string";
|
|
654
|
+
};
|
|
655
|
+
}];
|
|
656
|
+
readonly responses: {
|
|
657
|
+
readonly "200": {
|
|
658
|
+
readonly description: "Source list.";
|
|
659
|
+
readonly content: {
|
|
660
|
+
readonly "application/json": {
|
|
661
|
+
readonly schema: {
|
|
662
|
+
readonly $ref: "#/components/schemas/SourceListResponse";
|
|
663
|
+
};
|
|
664
|
+
};
|
|
665
|
+
};
|
|
666
|
+
};
|
|
667
|
+
readonly "401": {
|
|
668
|
+
readonly description: "The API key is missing or invalid.";
|
|
669
|
+
readonly content: {
|
|
670
|
+
readonly "application/json": {
|
|
671
|
+
readonly schema: {
|
|
672
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
673
|
+
};
|
|
674
|
+
};
|
|
675
|
+
};
|
|
676
|
+
};
|
|
677
|
+
};
|
|
678
|
+
};
|
|
679
|
+
readonly post: {
|
|
680
|
+
readonly operationId: "sources.create";
|
|
681
|
+
readonly summary: "Create a source";
|
|
682
|
+
readonly security: readonly [{
|
|
683
|
+
readonly bearerAuth: readonly [];
|
|
684
|
+
}];
|
|
685
|
+
readonly requestBody: {
|
|
686
|
+
readonly required: true;
|
|
687
|
+
readonly content: {
|
|
688
|
+
readonly "application/json": {
|
|
689
|
+
readonly schema: {
|
|
690
|
+
readonly $ref: "#/components/schemas/CreateSourceRequest";
|
|
691
|
+
};
|
|
692
|
+
};
|
|
693
|
+
};
|
|
694
|
+
};
|
|
695
|
+
readonly responses: {
|
|
696
|
+
readonly "201": {
|
|
697
|
+
readonly description: "Created source.";
|
|
698
|
+
readonly content: {
|
|
699
|
+
readonly "application/json": {
|
|
700
|
+
readonly schema: {
|
|
701
|
+
readonly $ref: "#/components/schemas/SourceResponse";
|
|
702
|
+
};
|
|
703
|
+
};
|
|
704
|
+
};
|
|
705
|
+
};
|
|
706
|
+
readonly "401": {
|
|
707
|
+
readonly description: "The API key is missing or invalid.";
|
|
708
|
+
readonly content: {
|
|
709
|
+
readonly "application/json": {
|
|
710
|
+
readonly schema: {
|
|
711
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
712
|
+
};
|
|
713
|
+
};
|
|
714
|
+
};
|
|
715
|
+
};
|
|
716
|
+
readonly "422": {
|
|
717
|
+
readonly description: "The request is invalid.";
|
|
718
|
+
readonly content: {
|
|
719
|
+
readonly "application/json": {
|
|
720
|
+
readonly schema: {
|
|
721
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
722
|
+
};
|
|
723
|
+
};
|
|
724
|
+
};
|
|
725
|
+
};
|
|
726
|
+
};
|
|
727
|
+
};
|
|
728
|
+
};
|
|
729
|
+
readonly "/sources/{id}": {
|
|
730
|
+
readonly get: {
|
|
731
|
+
readonly operationId: "sources.get";
|
|
732
|
+
readonly summary: "Get a source by ID";
|
|
733
|
+
readonly security: readonly [{
|
|
734
|
+
readonly bearerAuth: readonly [];
|
|
735
|
+
}];
|
|
736
|
+
readonly parameters: readonly [{
|
|
737
|
+
readonly name: "id";
|
|
738
|
+
readonly in: "path";
|
|
739
|
+
readonly required: true;
|
|
740
|
+
readonly schema: {
|
|
741
|
+
readonly type: "integer";
|
|
742
|
+
};
|
|
743
|
+
}];
|
|
744
|
+
readonly responses: {
|
|
745
|
+
readonly "200": {
|
|
746
|
+
readonly description: "Source details.";
|
|
747
|
+
readonly content: {
|
|
748
|
+
readonly "application/json": {
|
|
749
|
+
readonly schema: {
|
|
750
|
+
readonly $ref: "#/components/schemas/SourceResponse";
|
|
751
|
+
};
|
|
752
|
+
};
|
|
753
|
+
};
|
|
754
|
+
};
|
|
755
|
+
readonly "401": {
|
|
756
|
+
readonly description: "The API key is missing or invalid.";
|
|
757
|
+
readonly content: {
|
|
758
|
+
readonly "application/json": {
|
|
759
|
+
readonly schema: {
|
|
760
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
761
|
+
};
|
|
762
|
+
};
|
|
763
|
+
};
|
|
764
|
+
};
|
|
765
|
+
readonly "404": {
|
|
766
|
+
readonly description: "The requested resource was not found.";
|
|
767
|
+
readonly content: {
|
|
768
|
+
readonly "application/json": {
|
|
769
|
+
readonly schema: {
|
|
770
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
771
|
+
};
|
|
772
|
+
};
|
|
773
|
+
};
|
|
774
|
+
};
|
|
775
|
+
readonly "422": {
|
|
776
|
+
readonly description: "The request is invalid.";
|
|
777
|
+
readonly content: {
|
|
778
|
+
readonly "application/json": {
|
|
779
|
+
readonly schema: {
|
|
780
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
781
|
+
};
|
|
782
|
+
};
|
|
783
|
+
};
|
|
784
|
+
};
|
|
785
|
+
};
|
|
786
|
+
};
|
|
787
|
+
readonly put: {
|
|
788
|
+
readonly operationId: "sources.update";
|
|
789
|
+
readonly summary: "Update a source by ID";
|
|
790
|
+
readonly security: readonly [{
|
|
791
|
+
readonly bearerAuth: readonly [];
|
|
792
|
+
}];
|
|
793
|
+
readonly parameters: readonly [{
|
|
794
|
+
readonly name: "id";
|
|
795
|
+
readonly in: "path";
|
|
796
|
+
readonly required: true;
|
|
797
|
+
readonly schema: {
|
|
798
|
+
readonly type: "integer";
|
|
799
|
+
};
|
|
800
|
+
}];
|
|
801
|
+
readonly requestBody: {
|
|
802
|
+
readonly required: true;
|
|
803
|
+
readonly content: {
|
|
804
|
+
readonly "application/json": {
|
|
805
|
+
readonly schema: {
|
|
806
|
+
readonly $ref: "#/components/schemas/UpdateSourceRequest";
|
|
807
|
+
};
|
|
808
|
+
};
|
|
809
|
+
};
|
|
810
|
+
};
|
|
811
|
+
readonly responses: {
|
|
812
|
+
readonly "200": {
|
|
813
|
+
readonly description: "Updated source.";
|
|
814
|
+
readonly content: {
|
|
815
|
+
readonly "application/json": {
|
|
816
|
+
readonly schema: {
|
|
817
|
+
readonly $ref: "#/components/schemas/SourceResponse";
|
|
818
|
+
};
|
|
819
|
+
};
|
|
820
|
+
};
|
|
821
|
+
};
|
|
822
|
+
readonly "401": {
|
|
823
|
+
readonly description: "The API key is missing or invalid.";
|
|
824
|
+
readonly content: {
|
|
825
|
+
readonly "application/json": {
|
|
826
|
+
readonly schema: {
|
|
827
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
828
|
+
};
|
|
829
|
+
};
|
|
830
|
+
};
|
|
831
|
+
};
|
|
832
|
+
readonly "404": {
|
|
833
|
+
readonly description: "The requested resource was not found.";
|
|
834
|
+
readonly content: {
|
|
835
|
+
readonly "application/json": {
|
|
836
|
+
readonly schema: {
|
|
837
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
838
|
+
};
|
|
839
|
+
};
|
|
840
|
+
};
|
|
841
|
+
};
|
|
842
|
+
readonly "422": {
|
|
843
|
+
readonly description: "The request is invalid.";
|
|
844
|
+
readonly content: {
|
|
845
|
+
readonly "application/json": {
|
|
846
|
+
readonly schema: {
|
|
847
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
848
|
+
};
|
|
849
|
+
};
|
|
850
|
+
};
|
|
851
|
+
};
|
|
852
|
+
};
|
|
853
|
+
};
|
|
854
|
+
readonly delete: {
|
|
855
|
+
readonly operationId: "sources.delete";
|
|
856
|
+
readonly summary: "Delete a source by ID";
|
|
857
|
+
readonly security: readonly [{
|
|
858
|
+
readonly bearerAuth: readonly [];
|
|
859
|
+
}];
|
|
860
|
+
readonly parameters: readonly [{
|
|
861
|
+
readonly name: "id";
|
|
862
|
+
readonly in: "path";
|
|
863
|
+
readonly required: true;
|
|
864
|
+
readonly schema: {
|
|
865
|
+
readonly type: "integer";
|
|
866
|
+
};
|
|
867
|
+
}];
|
|
868
|
+
readonly responses: {
|
|
869
|
+
readonly "204": {
|
|
870
|
+
readonly description: "Source deleted.";
|
|
871
|
+
};
|
|
872
|
+
readonly "401": {
|
|
873
|
+
readonly description: "The API key is missing or invalid.";
|
|
874
|
+
readonly content: {
|
|
875
|
+
readonly "application/json": {
|
|
876
|
+
readonly schema: {
|
|
877
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
878
|
+
};
|
|
879
|
+
};
|
|
880
|
+
};
|
|
881
|
+
};
|
|
882
|
+
readonly "404": {
|
|
883
|
+
readonly description: "The requested resource was not found.";
|
|
884
|
+
readonly content: {
|
|
885
|
+
readonly "application/json": {
|
|
886
|
+
readonly schema: {
|
|
887
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
888
|
+
};
|
|
889
|
+
};
|
|
890
|
+
};
|
|
891
|
+
};
|
|
892
|
+
readonly "409": {
|
|
893
|
+
readonly description: "The request conflicts with an existing resource.";
|
|
894
|
+
readonly content: {
|
|
895
|
+
readonly "application/json": {
|
|
896
|
+
readonly schema: {
|
|
897
|
+
readonly $ref: "#/components/schemas/ConflictResponse";
|
|
898
|
+
};
|
|
899
|
+
};
|
|
900
|
+
};
|
|
901
|
+
};
|
|
902
|
+
readonly "422": {
|
|
903
|
+
readonly description: "The request is invalid.";
|
|
904
|
+
readonly content: {
|
|
905
|
+
readonly "application/json": {
|
|
906
|
+
readonly schema: {
|
|
907
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
908
|
+
};
|
|
909
|
+
};
|
|
910
|
+
};
|
|
911
|
+
};
|
|
912
|
+
};
|
|
913
|
+
};
|
|
914
|
+
};
|
|
915
|
+
readonly "/accounts": {
|
|
916
|
+
readonly get: {
|
|
917
|
+
readonly operationId: "accounts.list";
|
|
918
|
+
readonly summary: "List accounts";
|
|
919
|
+
readonly security: readonly [{
|
|
920
|
+
readonly bearerAuth: readonly [];
|
|
921
|
+
}];
|
|
922
|
+
readonly parameters: readonly [{
|
|
923
|
+
readonly name: "q";
|
|
924
|
+
readonly in: "query";
|
|
925
|
+
readonly required: false;
|
|
926
|
+
readonly description: "Case-insensitive literal substring of an account label or URL, combined with owner filters. Surrounding whitespace is trimmed; an absent or blank query preserves existing list behavior and ordering.";
|
|
927
|
+
readonly schema: {
|
|
928
|
+
readonly type: "string";
|
|
929
|
+
};
|
|
930
|
+
}, {
|
|
931
|
+
readonly name: "ownerType";
|
|
932
|
+
readonly in: "query";
|
|
933
|
+
readonly required: false;
|
|
934
|
+
readonly schema: {
|
|
935
|
+
readonly type: "string";
|
|
936
|
+
readonly enum: readonly ["contact", "source", "site"];
|
|
937
|
+
};
|
|
938
|
+
}, {
|
|
939
|
+
readonly name: "ownerId";
|
|
940
|
+
readonly in: "query";
|
|
941
|
+
readonly required: false;
|
|
942
|
+
readonly schema: {
|
|
943
|
+
readonly type: "integer";
|
|
944
|
+
};
|
|
945
|
+
}];
|
|
946
|
+
readonly responses: {
|
|
947
|
+
readonly "200": {
|
|
948
|
+
readonly description: "Account list.";
|
|
949
|
+
readonly content: {
|
|
950
|
+
readonly "application/json": {
|
|
951
|
+
readonly schema: {
|
|
952
|
+
readonly $ref: "#/components/schemas/AccountListResponse";
|
|
953
|
+
};
|
|
954
|
+
};
|
|
955
|
+
};
|
|
956
|
+
};
|
|
957
|
+
readonly "401": {
|
|
958
|
+
readonly description: "The API key is missing or invalid.";
|
|
959
|
+
readonly content: {
|
|
960
|
+
readonly "application/json": {
|
|
961
|
+
readonly schema: {
|
|
962
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
963
|
+
};
|
|
964
|
+
};
|
|
965
|
+
};
|
|
966
|
+
};
|
|
967
|
+
readonly "422": {
|
|
968
|
+
readonly description: "The request is invalid.";
|
|
969
|
+
readonly content: {
|
|
970
|
+
readonly "application/json": {
|
|
971
|
+
readonly schema: {
|
|
972
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
973
|
+
};
|
|
974
|
+
};
|
|
975
|
+
};
|
|
976
|
+
};
|
|
977
|
+
};
|
|
978
|
+
};
|
|
979
|
+
readonly post: {
|
|
980
|
+
readonly operationId: "accounts.create";
|
|
981
|
+
readonly summary: "Create an account";
|
|
982
|
+
readonly security: readonly [{
|
|
983
|
+
readonly bearerAuth: readonly [];
|
|
984
|
+
}];
|
|
985
|
+
readonly requestBody: {
|
|
986
|
+
readonly required: true;
|
|
987
|
+
readonly content: {
|
|
988
|
+
readonly "application/json": {
|
|
989
|
+
readonly schema: {
|
|
990
|
+
readonly $ref: "#/components/schemas/CreateAccountRequest";
|
|
991
|
+
};
|
|
992
|
+
};
|
|
993
|
+
};
|
|
994
|
+
};
|
|
995
|
+
readonly responses: {
|
|
996
|
+
readonly "201": {
|
|
997
|
+
readonly description: "Created account.";
|
|
998
|
+
readonly content: {
|
|
999
|
+
readonly "application/json": {
|
|
1000
|
+
readonly schema: {
|
|
1001
|
+
readonly $ref: "#/components/schemas/AccountResponse";
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
};
|
|
1005
|
+
};
|
|
1006
|
+
readonly "401": {
|
|
1007
|
+
readonly description: "The API key is missing or invalid.";
|
|
1008
|
+
readonly content: {
|
|
1009
|
+
readonly "application/json": {
|
|
1010
|
+
readonly schema: {
|
|
1011
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
1012
|
+
};
|
|
1013
|
+
};
|
|
1014
|
+
};
|
|
1015
|
+
};
|
|
1016
|
+
readonly "422": {
|
|
1017
|
+
readonly description: "The request is invalid.";
|
|
1018
|
+
readonly content: {
|
|
1019
|
+
readonly "application/json": {
|
|
1020
|
+
readonly schema: {
|
|
1021
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
1022
|
+
};
|
|
1023
|
+
};
|
|
1024
|
+
};
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
1027
|
+
};
|
|
1028
|
+
};
|
|
1029
|
+
readonly "/accounts/{id}": {
|
|
1030
|
+
readonly get: {
|
|
1031
|
+
readonly operationId: "accounts.get";
|
|
1032
|
+
readonly summary: "Get an account by ID";
|
|
1033
|
+
readonly security: readonly [{
|
|
1034
|
+
readonly bearerAuth: readonly [];
|
|
1035
|
+
}];
|
|
1036
|
+
readonly parameters: readonly [{
|
|
1037
|
+
readonly name: "id";
|
|
1038
|
+
readonly in: "path";
|
|
1039
|
+
readonly required: true;
|
|
1040
|
+
readonly schema: {
|
|
1041
|
+
readonly type: "integer";
|
|
1042
|
+
};
|
|
1043
|
+
}];
|
|
1044
|
+
readonly responses: {
|
|
1045
|
+
readonly "200": {
|
|
1046
|
+
readonly description: "Account details.";
|
|
1047
|
+
readonly content: {
|
|
1048
|
+
readonly "application/json": {
|
|
1049
|
+
readonly schema: {
|
|
1050
|
+
readonly $ref: "#/components/schemas/AccountResponse";
|
|
1051
|
+
};
|
|
1052
|
+
};
|
|
1053
|
+
};
|
|
1054
|
+
};
|
|
1055
|
+
readonly "401": {
|
|
1056
|
+
readonly description: "The API key is missing or invalid.";
|
|
1057
|
+
readonly content: {
|
|
1058
|
+
readonly "application/json": {
|
|
1059
|
+
readonly schema: {
|
|
1060
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
1061
|
+
};
|
|
1062
|
+
};
|
|
1063
|
+
};
|
|
1064
|
+
};
|
|
1065
|
+
readonly "404": {
|
|
1066
|
+
readonly description: "The requested resource was not found.";
|
|
1067
|
+
readonly content: {
|
|
1068
|
+
readonly "application/json": {
|
|
1069
|
+
readonly schema: {
|
|
1070
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
1071
|
+
};
|
|
1072
|
+
};
|
|
1073
|
+
};
|
|
1074
|
+
};
|
|
1075
|
+
readonly "422": {
|
|
1076
|
+
readonly description: "The request is invalid.";
|
|
1077
|
+
readonly content: {
|
|
1078
|
+
readonly "application/json": {
|
|
1079
|
+
readonly schema: {
|
|
1080
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
1081
|
+
};
|
|
1082
|
+
};
|
|
1083
|
+
};
|
|
1084
|
+
};
|
|
1085
|
+
};
|
|
1086
|
+
};
|
|
1087
|
+
readonly put: {
|
|
1088
|
+
readonly operationId: "accounts.update";
|
|
1089
|
+
readonly summary: "Update an account by ID";
|
|
1090
|
+
readonly security: readonly [{
|
|
1091
|
+
readonly bearerAuth: readonly [];
|
|
1092
|
+
}];
|
|
1093
|
+
readonly parameters: readonly [{
|
|
1094
|
+
readonly name: "id";
|
|
1095
|
+
readonly in: "path";
|
|
1096
|
+
readonly required: true;
|
|
1097
|
+
readonly schema: {
|
|
1098
|
+
readonly type: "integer";
|
|
1099
|
+
};
|
|
1100
|
+
}];
|
|
1101
|
+
readonly requestBody: {
|
|
1102
|
+
readonly required: true;
|
|
1103
|
+
readonly content: {
|
|
1104
|
+
readonly "application/json": {
|
|
1105
|
+
readonly schema: {
|
|
1106
|
+
readonly $ref: "#/components/schemas/UpdateAccountRequest";
|
|
1107
|
+
};
|
|
1108
|
+
};
|
|
1109
|
+
};
|
|
1110
|
+
};
|
|
1111
|
+
readonly responses: {
|
|
1112
|
+
readonly "200": {
|
|
1113
|
+
readonly description: "Updated account.";
|
|
1114
|
+
readonly content: {
|
|
1115
|
+
readonly "application/json": {
|
|
1116
|
+
readonly schema: {
|
|
1117
|
+
readonly $ref: "#/components/schemas/AccountResponse";
|
|
1118
|
+
};
|
|
1119
|
+
};
|
|
1120
|
+
};
|
|
1121
|
+
};
|
|
1122
|
+
readonly "401": {
|
|
1123
|
+
readonly description: "The API key is missing or invalid.";
|
|
1124
|
+
readonly content: {
|
|
1125
|
+
readonly "application/json": {
|
|
1126
|
+
readonly schema: {
|
|
1127
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
1128
|
+
};
|
|
1129
|
+
};
|
|
1130
|
+
};
|
|
1131
|
+
};
|
|
1132
|
+
readonly "404": {
|
|
1133
|
+
readonly description: "The requested resource was not found.";
|
|
1134
|
+
readonly content: {
|
|
1135
|
+
readonly "application/json": {
|
|
1136
|
+
readonly schema: {
|
|
1137
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
1138
|
+
};
|
|
1139
|
+
};
|
|
1140
|
+
};
|
|
1141
|
+
};
|
|
1142
|
+
readonly "422": {
|
|
1143
|
+
readonly description: "The request is invalid.";
|
|
1144
|
+
readonly content: {
|
|
1145
|
+
readonly "application/json": {
|
|
1146
|
+
readonly schema: {
|
|
1147
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
1148
|
+
};
|
|
1149
|
+
};
|
|
1150
|
+
};
|
|
1151
|
+
};
|
|
1152
|
+
};
|
|
1153
|
+
};
|
|
1154
|
+
readonly delete: {
|
|
1155
|
+
readonly operationId: "accounts.delete";
|
|
1156
|
+
readonly summary: "Delete an account by ID";
|
|
1157
|
+
readonly security: readonly [{
|
|
1158
|
+
readonly bearerAuth: readonly [];
|
|
1159
|
+
}];
|
|
1160
|
+
readonly parameters: readonly [{
|
|
1161
|
+
readonly name: "id";
|
|
1162
|
+
readonly in: "path";
|
|
1163
|
+
readonly required: true;
|
|
1164
|
+
readonly schema: {
|
|
1165
|
+
readonly type: "integer";
|
|
1166
|
+
};
|
|
1167
|
+
}];
|
|
1168
|
+
readonly responses: {
|
|
1169
|
+
readonly "204": {
|
|
1170
|
+
readonly description: "Account deleted.";
|
|
1171
|
+
};
|
|
1172
|
+
readonly "401": {
|
|
1173
|
+
readonly description: "The API key is missing or invalid.";
|
|
1174
|
+
readonly content: {
|
|
1175
|
+
readonly "application/json": {
|
|
1176
|
+
readonly schema: {
|
|
1177
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
1178
|
+
};
|
|
1179
|
+
};
|
|
1180
|
+
};
|
|
1181
|
+
};
|
|
1182
|
+
readonly "404": {
|
|
1183
|
+
readonly description: "The requested resource was not found.";
|
|
1184
|
+
readonly content: {
|
|
1185
|
+
readonly "application/json": {
|
|
1186
|
+
readonly schema: {
|
|
1187
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
1188
|
+
};
|
|
1189
|
+
};
|
|
1190
|
+
};
|
|
1191
|
+
};
|
|
1192
|
+
readonly "422": {
|
|
1193
|
+
readonly description: "The request is invalid.";
|
|
1194
|
+
readonly content: {
|
|
1195
|
+
readonly "application/json": {
|
|
1196
|
+
readonly schema: {
|
|
1197
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
1198
|
+
};
|
|
1199
|
+
};
|
|
1200
|
+
};
|
|
1201
|
+
};
|
|
1202
|
+
};
|
|
1203
|
+
};
|
|
1204
|
+
};
|
|
1205
|
+
readonly "/media": {
|
|
1206
|
+
readonly post: {
|
|
1207
|
+
readonly operationId: "media.upload";
|
|
1208
|
+
readonly summary: "Upload media";
|
|
1209
|
+
readonly security: readonly [{
|
|
1210
|
+
readonly bearerAuth: readonly [];
|
|
1211
|
+
}];
|
|
1212
|
+
readonly requestBody: {
|
|
1213
|
+
readonly required: true;
|
|
1214
|
+
readonly content: {
|
|
1215
|
+
readonly "multipart/form-data": {
|
|
1216
|
+
readonly schema: {
|
|
1217
|
+
readonly $ref: "#/components/schemas/UploadMediaRequest";
|
|
1218
|
+
};
|
|
1219
|
+
};
|
|
1220
|
+
};
|
|
1221
|
+
};
|
|
1222
|
+
readonly responses: {
|
|
1223
|
+
readonly "201": {
|
|
1224
|
+
readonly description: "Uploaded media metadata.";
|
|
1225
|
+
readonly content: {
|
|
1226
|
+
readonly "application/json": {
|
|
1227
|
+
readonly schema: {
|
|
1228
|
+
readonly $ref: "#/components/schemas/MediaResponse";
|
|
1229
|
+
};
|
|
1230
|
+
};
|
|
1231
|
+
};
|
|
1232
|
+
};
|
|
1233
|
+
readonly "400": {
|
|
1234
|
+
readonly description: "The request is invalid.";
|
|
1235
|
+
readonly content: {
|
|
1236
|
+
readonly "application/json": {
|
|
1237
|
+
readonly schema: {
|
|
1238
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
1239
|
+
};
|
|
1240
|
+
};
|
|
1241
|
+
};
|
|
1242
|
+
};
|
|
1243
|
+
readonly "401": {
|
|
1244
|
+
readonly description: "The API key is missing or invalid.";
|
|
1245
|
+
readonly content: {
|
|
1246
|
+
readonly "application/json": {
|
|
1247
|
+
readonly schema: {
|
|
1248
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
1249
|
+
};
|
|
1250
|
+
};
|
|
1251
|
+
};
|
|
1252
|
+
};
|
|
1253
|
+
readonly "413": {
|
|
1254
|
+
readonly description: "The uploaded media file is too large.";
|
|
1255
|
+
readonly content: {
|
|
1256
|
+
readonly "application/json": {
|
|
1257
|
+
readonly schema: {
|
|
1258
|
+
readonly $ref: "#/components/schemas/PayloadTooLargeResponse";
|
|
1259
|
+
};
|
|
1260
|
+
};
|
|
1261
|
+
};
|
|
1262
|
+
};
|
|
1263
|
+
readonly "415": {
|
|
1264
|
+
readonly description: "The uploaded media file type is not supported.";
|
|
1265
|
+
readonly content: {
|
|
1266
|
+
readonly "application/json": {
|
|
1267
|
+
readonly schema: {
|
|
1268
|
+
readonly $ref: "#/components/schemas/UnsupportedMediaTypeResponse";
|
|
1269
|
+
};
|
|
1270
|
+
};
|
|
1271
|
+
};
|
|
1272
|
+
};
|
|
1273
|
+
readonly "502": {
|
|
1274
|
+
readonly description: "The media storage operation failed.";
|
|
1275
|
+
readonly content: {
|
|
1276
|
+
readonly "application/json": {
|
|
1277
|
+
readonly schema: {
|
|
1278
|
+
readonly $ref: "#/components/schemas/StorageErrorResponse";
|
|
1279
|
+
};
|
|
1280
|
+
};
|
|
1281
|
+
};
|
|
1282
|
+
};
|
|
1283
|
+
};
|
|
1284
|
+
};
|
|
1285
|
+
};
|
|
1286
|
+
readonly "/media/{id}": {
|
|
1287
|
+
readonly get: {
|
|
1288
|
+
readonly operationId: "media.get";
|
|
1289
|
+
readonly summary: "Get media metadata by ID";
|
|
1290
|
+
readonly security: readonly [{
|
|
1291
|
+
readonly bearerAuth: readonly [];
|
|
1292
|
+
}];
|
|
1293
|
+
readonly parameters: readonly [{
|
|
1294
|
+
readonly name: "id";
|
|
1295
|
+
readonly in: "path";
|
|
1296
|
+
readonly required: true;
|
|
1297
|
+
readonly schema: {
|
|
1298
|
+
readonly type: "integer";
|
|
1299
|
+
};
|
|
1300
|
+
}];
|
|
1301
|
+
readonly responses: {
|
|
1302
|
+
readonly "200": {
|
|
1303
|
+
readonly description: "Media metadata.";
|
|
1304
|
+
readonly content: {
|
|
1305
|
+
readonly "application/json": {
|
|
1306
|
+
readonly schema: {
|
|
1307
|
+
readonly $ref: "#/components/schemas/MediaResponse";
|
|
1308
|
+
};
|
|
1309
|
+
};
|
|
1310
|
+
};
|
|
1311
|
+
};
|
|
1312
|
+
readonly "400": {
|
|
1313
|
+
readonly description: "The request is invalid.";
|
|
1314
|
+
readonly content: {
|
|
1315
|
+
readonly "application/json": {
|
|
1316
|
+
readonly schema: {
|
|
1317
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
1318
|
+
};
|
|
1319
|
+
};
|
|
1320
|
+
};
|
|
1321
|
+
};
|
|
1322
|
+
readonly "401": {
|
|
1323
|
+
readonly description: "The API key is missing or invalid.";
|
|
1324
|
+
readonly content: {
|
|
1325
|
+
readonly "application/json": {
|
|
1326
|
+
readonly schema: {
|
|
1327
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
1328
|
+
};
|
|
1329
|
+
};
|
|
1330
|
+
};
|
|
1331
|
+
};
|
|
1332
|
+
readonly "404": {
|
|
1333
|
+
readonly description: "The requested resource was not found.";
|
|
1334
|
+
readonly content: {
|
|
1335
|
+
readonly "application/json": {
|
|
1336
|
+
readonly schema: {
|
|
1337
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
1338
|
+
};
|
|
1339
|
+
};
|
|
1340
|
+
};
|
|
1341
|
+
};
|
|
1342
|
+
};
|
|
1343
|
+
};
|
|
1344
|
+
readonly delete: {
|
|
1345
|
+
readonly operationId: "media.delete";
|
|
1346
|
+
readonly summary: "Delete media by ID";
|
|
1347
|
+
readonly security: readonly [{
|
|
1348
|
+
readonly bearerAuth: readonly [];
|
|
1349
|
+
}];
|
|
1350
|
+
readonly parameters: readonly [{
|
|
1351
|
+
readonly name: "id";
|
|
1352
|
+
readonly in: "path";
|
|
1353
|
+
readonly required: true;
|
|
1354
|
+
readonly schema: {
|
|
1355
|
+
readonly type: "integer";
|
|
1356
|
+
};
|
|
1357
|
+
}];
|
|
1358
|
+
readonly responses: {
|
|
1359
|
+
readonly "204": {
|
|
1360
|
+
readonly description: "Media deleted.";
|
|
1361
|
+
};
|
|
1362
|
+
readonly "400": {
|
|
1363
|
+
readonly description: "The request is invalid.";
|
|
1364
|
+
readonly content: {
|
|
1365
|
+
readonly "application/json": {
|
|
1366
|
+
readonly schema: {
|
|
1367
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
1368
|
+
};
|
|
1369
|
+
};
|
|
1370
|
+
};
|
|
1371
|
+
};
|
|
1372
|
+
readonly "401": {
|
|
1373
|
+
readonly description: "The API key is missing or invalid.";
|
|
1374
|
+
readonly content: {
|
|
1375
|
+
readonly "application/json": {
|
|
1376
|
+
readonly schema: {
|
|
1377
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
1378
|
+
};
|
|
1379
|
+
};
|
|
1380
|
+
};
|
|
1381
|
+
};
|
|
1382
|
+
readonly "404": {
|
|
1383
|
+
readonly description: "The requested resource was not found.";
|
|
1384
|
+
readonly content: {
|
|
1385
|
+
readonly "application/json": {
|
|
1386
|
+
readonly schema: {
|
|
1387
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
1388
|
+
};
|
|
1389
|
+
};
|
|
1390
|
+
};
|
|
1391
|
+
};
|
|
1392
|
+
readonly "502": {
|
|
1393
|
+
readonly description: "The media storage operation failed.";
|
|
1394
|
+
readonly content: {
|
|
1395
|
+
readonly "application/json": {
|
|
1396
|
+
readonly schema: {
|
|
1397
|
+
readonly $ref: "#/components/schemas/StorageErrorResponse";
|
|
1398
|
+
};
|
|
1399
|
+
};
|
|
1400
|
+
};
|
|
1401
|
+
};
|
|
1402
|
+
};
|
|
1403
|
+
};
|
|
1404
|
+
};
|
|
1405
|
+
readonly "/followers": {
|
|
1406
|
+
readonly get: {
|
|
1407
|
+
readonly operationId: "followers.list";
|
|
1408
|
+
readonly summary: "List followers";
|
|
1409
|
+
readonly security: readonly [{
|
|
1410
|
+
readonly bearerAuth: readonly [];
|
|
1411
|
+
}];
|
|
1412
|
+
readonly responses: {
|
|
1413
|
+
readonly "200": {
|
|
1414
|
+
readonly description: "Follower list.";
|
|
1415
|
+
readonly content: {
|
|
1416
|
+
readonly "application/json": {
|
|
1417
|
+
readonly schema: {
|
|
1418
|
+
readonly $ref: "#/components/schemas/FollowerListResponse";
|
|
1419
|
+
};
|
|
1420
|
+
};
|
|
1421
|
+
};
|
|
1422
|
+
};
|
|
1423
|
+
readonly "401": {
|
|
1424
|
+
readonly description: "The API key is missing or invalid.";
|
|
1425
|
+
readonly content: {
|
|
1426
|
+
readonly "application/json": {
|
|
1427
|
+
readonly schema: {
|
|
1428
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
1429
|
+
};
|
|
1430
|
+
};
|
|
1431
|
+
};
|
|
1432
|
+
};
|
|
1433
|
+
readonly "501": {
|
|
1434
|
+
readonly description: "This site does not implement this operation.";
|
|
1435
|
+
readonly content: {
|
|
1436
|
+
readonly "application/json": {
|
|
1437
|
+
readonly schema: {
|
|
1438
|
+
readonly $ref: "#/components/schemas/NotImplementedResponse";
|
|
1439
|
+
};
|
|
1440
|
+
};
|
|
1441
|
+
};
|
|
1442
|
+
};
|
|
1443
|
+
};
|
|
1444
|
+
};
|
|
1445
|
+
};
|
|
1446
|
+
readonly "/following": {
|
|
1447
|
+
readonly get: {
|
|
1448
|
+
readonly operationId: "following.list";
|
|
1449
|
+
readonly summary: "List following records";
|
|
1450
|
+
readonly security: readonly [{
|
|
1451
|
+
readonly bearerAuth: readonly [];
|
|
1452
|
+
}];
|
|
1453
|
+
readonly parameters: readonly [{
|
|
1454
|
+
readonly name: "status";
|
|
1455
|
+
readonly in: "query";
|
|
1456
|
+
readonly required: false;
|
|
1457
|
+
readonly schema: {
|
|
1458
|
+
readonly type: "string";
|
|
1459
|
+
readonly enum: readonly ["pending", "accepted", "rejected", "failed", "cancelled", "unfollowed"];
|
|
1460
|
+
};
|
|
1461
|
+
}];
|
|
1462
|
+
readonly responses: {
|
|
1463
|
+
readonly "200": {
|
|
1464
|
+
readonly description: "Following list.";
|
|
1465
|
+
readonly content: {
|
|
1466
|
+
readonly "application/json": {
|
|
1467
|
+
readonly schema: {
|
|
1468
|
+
readonly $ref: "#/components/schemas/FollowingListResponse";
|
|
1469
|
+
};
|
|
1470
|
+
};
|
|
1471
|
+
};
|
|
1472
|
+
};
|
|
1473
|
+
readonly "401": {
|
|
1474
|
+
readonly description: "The API key is missing or invalid.";
|
|
1475
|
+
readonly content: {
|
|
1476
|
+
readonly "application/json": {
|
|
1477
|
+
readonly schema: {
|
|
1478
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
1479
|
+
};
|
|
1480
|
+
};
|
|
1481
|
+
};
|
|
1482
|
+
};
|
|
1483
|
+
readonly "422": {
|
|
1484
|
+
readonly description: "The request is invalid.";
|
|
1485
|
+
readonly content: {
|
|
1486
|
+
readonly "application/json": {
|
|
1487
|
+
readonly schema: {
|
|
1488
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
1489
|
+
};
|
|
1490
|
+
};
|
|
1491
|
+
};
|
|
1492
|
+
};
|
|
1493
|
+
readonly "501": {
|
|
1494
|
+
readonly description: "This site does not implement this operation.";
|
|
1495
|
+
readonly content: {
|
|
1496
|
+
readonly "application/json": {
|
|
1497
|
+
readonly schema: {
|
|
1498
|
+
readonly $ref: "#/components/schemas/NotImplementedResponse";
|
|
1499
|
+
};
|
|
1500
|
+
};
|
|
1501
|
+
};
|
|
1502
|
+
};
|
|
1503
|
+
};
|
|
1504
|
+
};
|
|
1505
|
+
readonly post: {
|
|
1506
|
+
readonly operationId: "following.create";
|
|
1507
|
+
readonly summary: "Follow a target";
|
|
1508
|
+
readonly security: readonly [{
|
|
1509
|
+
readonly bearerAuth: readonly [];
|
|
1510
|
+
}];
|
|
1511
|
+
readonly requestBody: {
|
|
1512
|
+
readonly required: true;
|
|
1513
|
+
readonly content: {
|
|
1514
|
+
readonly "application/json": {
|
|
1515
|
+
readonly schema: {
|
|
1516
|
+
readonly $ref: "#/components/schemas/FollowTargetRequest";
|
|
1517
|
+
};
|
|
1518
|
+
};
|
|
1519
|
+
};
|
|
1520
|
+
};
|
|
1521
|
+
readonly responses: {
|
|
1522
|
+
readonly "201": {
|
|
1523
|
+
readonly description: "Created following record.";
|
|
1524
|
+
readonly content: {
|
|
1525
|
+
readonly "application/json": {
|
|
1526
|
+
readonly schema: {
|
|
1527
|
+
readonly $ref: "#/components/schemas/FollowingResponse";
|
|
1528
|
+
};
|
|
1529
|
+
};
|
|
1530
|
+
};
|
|
1531
|
+
};
|
|
1532
|
+
readonly "401": {
|
|
1533
|
+
readonly description: "The API key is missing or invalid.";
|
|
1534
|
+
readonly content: {
|
|
1535
|
+
readonly "application/json": {
|
|
1536
|
+
readonly schema: {
|
|
1537
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
1538
|
+
};
|
|
1539
|
+
};
|
|
1540
|
+
};
|
|
1541
|
+
};
|
|
1542
|
+
readonly "409": {
|
|
1543
|
+
readonly description: "The request conflicts with an existing resource.";
|
|
1544
|
+
readonly content: {
|
|
1545
|
+
readonly "application/json": {
|
|
1546
|
+
readonly schema: {
|
|
1547
|
+
readonly $ref: "#/components/schemas/ConflictResponse";
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1550
|
+
};
|
|
1551
|
+
};
|
|
1552
|
+
readonly "422": {
|
|
1553
|
+
readonly description: "The request is invalid.";
|
|
1554
|
+
readonly content: {
|
|
1555
|
+
readonly "application/json": {
|
|
1556
|
+
readonly schema: {
|
|
1557
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
1558
|
+
};
|
|
1559
|
+
};
|
|
1560
|
+
};
|
|
1561
|
+
};
|
|
1562
|
+
readonly "501": {
|
|
1563
|
+
readonly description: "This site does not implement this operation.";
|
|
1564
|
+
readonly content: {
|
|
1565
|
+
readonly "application/json": {
|
|
1566
|
+
readonly schema: {
|
|
1567
|
+
readonly $ref: "#/components/schemas/NotImplementedResponse";
|
|
1568
|
+
};
|
|
1569
|
+
};
|
|
1570
|
+
};
|
|
1571
|
+
};
|
|
1572
|
+
};
|
|
1573
|
+
};
|
|
1574
|
+
};
|
|
1575
|
+
readonly "/following/{id}/unfollow": {
|
|
1576
|
+
readonly post: {
|
|
1577
|
+
readonly operationId: "following.unfollow";
|
|
1578
|
+
readonly summary: "Unfollow an accepted target or cancel a pending follow request";
|
|
1579
|
+
readonly security: readonly [{
|
|
1580
|
+
readonly bearerAuth: readonly [];
|
|
1581
|
+
}];
|
|
1582
|
+
readonly parameters: readonly [{
|
|
1583
|
+
readonly name: "id";
|
|
1584
|
+
readonly in: "path";
|
|
1585
|
+
readonly required: true;
|
|
1586
|
+
readonly schema: {
|
|
1587
|
+
readonly type: "integer";
|
|
1588
|
+
};
|
|
1589
|
+
}];
|
|
1590
|
+
readonly responses: {
|
|
1591
|
+
readonly "200": {
|
|
1592
|
+
readonly description: "Updated following status.";
|
|
1593
|
+
readonly content: {
|
|
1594
|
+
readonly "application/json": {
|
|
1595
|
+
readonly schema: {
|
|
1596
|
+
readonly $ref: "#/components/schemas/FollowingStatusResponse";
|
|
1597
|
+
};
|
|
1598
|
+
};
|
|
1599
|
+
};
|
|
1600
|
+
};
|
|
1601
|
+
readonly "401": {
|
|
1602
|
+
readonly description: "The API key is missing or invalid.";
|
|
1603
|
+
readonly content: {
|
|
1604
|
+
readonly "application/json": {
|
|
1605
|
+
readonly schema: {
|
|
1606
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
1607
|
+
};
|
|
1608
|
+
};
|
|
1609
|
+
};
|
|
1610
|
+
};
|
|
1611
|
+
readonly "404": {
|
|
1612
|
+
readonly description: "The requested resource was not found.";
|
|
1613
|
+
readonly content: {
|
|
1614
|
+
readonly "application/json": {
|
|
1615
|
+
readonly schema: {
|
|
1616
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
1617
|
+
};
|
|
1618
|
+
};
|
|
1619
|
+
};
|
|
1620
|
+
};
|
|
1621
|
+
readonly "409": {
|
|
1622
|
+
readonly description: "The request conflicts with an existing resource.";
|
|
1623
|
+
readonly content: {
|
|
1624
|
+
readonly "application/json": {
|
|
1625
|
+
readonly schema: {
|
|
1626
|
+
readonly $ref: "#/components/schemas/ConflictResponse";
|
|
1627
|
+
};
|
|
1628
|
+
};
|
|
1629
|
+
};
|
|
1630
|
+
};
|
|
1631
|
+
readonly "422": {
|
|
1632
|
+
readonly description: "The request is invalid.";
|
|
1633
|
+
readonly content: {
|
|
1634
|
+
readonly "application/json": {
|
|
1635
|
+
readonly schema: {
|
|
1636
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
1637
|
+
};
|
|
1638
|
+
};
|
|
1639
|
+
};
|
|
1640
|
+
};
|
|
1641
|
+
readonly "501": {
|
|
1642
|
+
readonly description: "This site does not implement this operation.";
|
|
1643
|
+
readonly content: {
|
|
1644
|
+
readonly "application/json": {
|
|
1645
|
+
readonly schema: {
|
|
1646
|
+
readonly $ref: "#/components/schemas/NotImplementedResponse";
|
|
1647
|
+
};
|
|
1648
|
+
};
|
|
1649
|
+
};
|
|
1650
|
+
};
|
|
1651
|
+
};
|
|
1652
|
+
};
|
|
1653
|
+
};
|
|
1654
|
+
readonly "/posts/{slug}": {
|
|
1655
|
+
readonly get: {
|
|
1656
|
+
readonly operationId: "posts.get";
|
|
1657
|
+
readonly summary: "Get a post by slug";
|
|
1658
|
+
readonly security: readonly [{
|
|
1659
|
+
readonly bearerAuth: readonly [];
|
|
1660
|
+
}];
|
|
1661
|
+
readonly parameters: readonly [{
|
|
1662
|
+
readonly name: "slug";
|
|
1663
|
+
readonly in: "path";
|
|
1664
|
+
readonly required: true;
|
|
1665
|
+
readonly schema: {
|
|
1666
|
+
readonly type: "string";
|
|
1667
|
+
};
|
|
1668
|
+
}];
|
|
1669
|
+
readonly responses: {
|
|
1670
|
+
readonly "200": {
|
|
1671
|
+
readonly description: "Post details.";
|
|
1672
|
+
readonly content: {
|
|
1673
|
+
readonly "application/json": {
|
|
1674
|
+
readonly schema: {
|
|
1675
|
+
readonly $ref: "#/components/schemas/PostResponse";
|
|
1676
|
+
};
|
|
1677
|
+
};
|
|
1678
|
+
};
|
|
1679
|
+
};
|
|
1680
|
+
readonly "401": {
|
|
1681
|
+
readonly description: "The API key is missing or invalid.";
|
|
1682
|
+
readonly content: {
|
|
1683
|
+
readonly "application/json": {
|
|
1684
|
+
readonly schema: {
|
|
1685
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
1686
|
+
};
|
|
1687
|
+
};
|
|
1688
|
+
};
|
|
1689
|
+
};
|
|
1690
|
+
readonly "404": {
|
|
1691
|
+
readonly description: "The requested resource was not found.";
|
|
1692
|
+
readonly content: {
|
|
1693
|
+
readonly "application/json": {
|
|
1694
|
+
readonly schema: {
|
|
1695
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
1696
|
+
};
|
|
1697
|
+
};
|
|
1698
|
+
};
|
|
1699
|
+
};
|
|
1700
|
+
};
|
|
1701
|
+
};
|
|
1702
|
+
readonly put: {
|
|
1703
|
+
readonly operationId: "posts.update";
|
|
1704
|
+
readonly summary: "Update a post by slug";
|
|
1705
|
+
readonly security: readonly [{
|
|
1706
|
+
readonly bearerAuth: readonly [];
|
|
1707
|
+
}];
|
|
1708
|
+
readonly parameters: readonly [{
|
|
1709
|
+
readonly name: "slug";
|
|
1710
|
+
readonly in: "path";
|
|
1711
|
+
readonly required: true;
|
|
1712
|
+
readonly schema: {
|
|
1713
|
+
readonly type: "string";
|
|
1714
|
+
};
|
|
1715
|
+
}];
|
|
1716
|
+
readonly requestBody: {
|
|
1717
|
+
readonly required: true;
|
|
1718
|
+
readonly content: {
|
|
1719
|
+
readonly "application/json": {
|
|
1720
|
+
readonly schema: {
|
|
1721
|
+
readonly $ref: "#/components/schemas/UpdatePostRequest";
|
|
1722
|
+
};
|
|
1723
|
+
};
|
|
1724
|
+
};
|
|
1725
|
+
};
|
|
1726
|
+
readonly responses: {
|
|
1727
|
+
readonly "200": {
|
|
1728
|
+
readonly description: "Updated post.";
|
|
1729
|
+
readonly content: {
|
|
1730
|
+
readonly "application/json": {
|
|
1731
|
+
readonly schema: {
|
|
1732
|
+
readonly $ref: "#/components/schemas/PostResponse";
|
|
1733
|
+
};
|
|
1734
|
+
};
|
|
1735
|
+
};
|
|
1736
|
+
};
|
|
1737
|
+
readonly "401": {
|
|
1738
|
+
readonly description: "The API key is missing or invalid.";
|
|
1739
|
+
readonly content: {
|
|
1740
|
+
readonly "application/json": {
|
|
1741
|
+
readonly schema: {
|
|
1742
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
1743
|
+
};
|
|
1744
|
+
};
|
|
1745
|
+
};
|
|
1746
|
+
};
|
|
1747
|
+
readonly "404": {
|
|
1748
|
+
readonly description: "The requested resource was not found.";
|
|
1749
|
+
readonly content: {
|
|
1750
|
+
readonly "application/json": {
|
|
1751
|
+
readonly schema: {
|
|
1752
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
1753
|
+
};
|
|
1754
|
+
};
|
|
1755
|
+
};
|
|
1756
|
+
};
|
|
1757
|
+
readonly "409": {
|
|
1758
|
+
readonly description: "The request conflicts with an existing resource.";
|
|
1759
|
+
readonly content: {
|
|
1760
|
+
readonly "application/json": {
|
|
1761
|
+
readonly schema: {
|
|
1762
|
+
readonly $ref: "#/components/schemas/ConflictResponse";
|
|
1763
|
+
};
|
|
1764
|
+
};
|
|
1765
|
+
};
|
|
1766
|
+
};
|
|
1767
|
+
readonly "422": {
|
|
1768
|
+
readonly description: "The request is invalid.";
|
|
1769
|
+
readonly content: {
|
|
1770
|
+
readonly "application/json": {
|
|
1771
|
+
readonly schema: {
|
|
1772
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
1773
|
+
};
|
|
1774
|
+
};
|
|
1775
|
+
};
|
|
1776
|
+
};
|
|
1777
|
+
};
|
|
1778
|
+
};
|
|
1779
|
+
readonly delete: {
|
|
1780
|
+
readonly operationId: "posts.delete";
|
|
1781
|
+
readonly summary: "Delete a post by slug";
|
|
1782
|
+
readonly security: readonly [{
|
|
1783
|
+
readonly bearerAuth: readonly [];
|
|
1784
|
+
}];
|
|
1785
|
+
readonly parameters: readonly [{
|
|
1786
|
+
readonly name: "slug";
|
|
1787
|
+
readonly in: "path";
|
|
1788
|
+
readonly required: true;
|
|
1789
|
+
readonly schema: {
|
|
1790
|
+
readonly type: "string";
|
|
1791
|
+
};
|
|
1792
|
+
}];
|
|
1793
|
+
readonly responses: {
|
|
1794
|
+
readonly "204": {
|
|
1795
|
+
readonly description: "Post deleted.";
|
|
1796
|
+
};
|
|
1797
|
+
readonly "401": {
|
|
1798
|
+
readonly description: "The API key is missing or invalid.";
|
|
1799
|
+
readonly content: {
|
|
1800
|
+
readonly "application/json": {
|
|
1801
|
+
readonly schema: {
|
|
1802
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
1803
|
+
};
|
|
1804
|
+
};
|
|
1805
|
+
};
|
|
1806
|
+
};
|
|
1807
|
+
readonly "404": {
|
|
1808
|
+
readonly description: "The requested resource was not found.";
|
|
1809
|
+
readonly content: {
|
|
1810
|
+
readonly "application/json": {
|
|
1811
|
+
readonly schema: {
|
|
1812
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
1813
|
+
};
|
|
1814
|
+
};
|
|
1815
|
+
};
|
|
1816
|
+
};
|
|
1817
|
+
};
|
|
1818
|
+
};
|
|
1819
|
+
};
|
|
1820
|
+
readonly "/posts/{slug}/engagement": {
|
|
1821
|
+
readonly get: {
|
|
1822
|
+
readonly operationId: "posts.engagement.get";
|
|
1823
|
+
readonly summary: "Get post engagement summary";
|
|
1824
|
+
readonly security: readonly [{
|
|
1825
|
+
readonly bearerAuth: readonly [];
|
|
1826
|
+
}];
|
|
1827
|
+
readonly parameters: readonly [{
|
|
1828
|
+
readonly name: "slug";
|
|
1829
|
+
readonly in: "path";
|
|
1830
|
+
readonly required: true;
|
|
1831
|
+
readonly schema: {
|
|
1832
|
+
readonly type: "string";
|
|
1833
|
+
};
|
|
1834
|
+
}];
|
|
1835
|
+
readonly responses: {
|
|
1836
|
+
readonly "200": {
|
|
1837
|
+
readonly description: "Post engagement summary.";
|
|
1838
|
+
readonly content: {
|
|
1839
|
+
readonly "application/json": {
|
|
1840
|
+
readonly schema: {
|
|
1841
|
+
readonly $ref: "#/components/schemas/EngagementSummaryResponse";
|
|
1842
|
+
};
|
|
1843
|
+
};
|
|
1844
|
+
};
|
|
1845
|
+
};
|
|
1846
|
+
readonly "401": {
|
|
1847
|
+
readonly description: "The API key is missing or invalid.";
|
|
1848
|
+
readonly content: {
|
|
1849
|
+
readonly "application/json": {
|
|
1850
|
+
readonly schema: {
|
|
1851
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
1852
|
+
};
|
|
1853
|
+
};
|
|
1854
|
+
};
|
|
1855
|
+
};
|
|
1856
|
+
readonly "404": {
|
|
1857
|
+
readonly description: "The requested resource was not found.";
|
|
1858
|
+
readonly content: {
|
|
1859
|
+
readonly "application/json": {
|
|
1860
|
+
readonly schema: {
|
|
1861
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
1862
|
+
};
|
|
1863
|
+
};
|
|
1864
|
+
};
|
|
1865
|
+
};
|
|
1866
|
+
readonly "501": {
|
|
1867
|
+
readonly description: "This site does not implement this operation.";
|
|
1868
|
+
readonly content: {
|
|
1869
|
+
readonly "application/json": {
|
|
1870
|
+
readonly schema: {
|
|
1871
|
+
readonly $ref: "#/components/schemas/NotImplementedResponse";
|
|
1872
|
+
};
|
|
1873
|
+
};
|
|
1874
|
+
};
|
|
1875
|
+
};
|
|
1876
|
+
};
|
|
1877
|
+
};
|
|
1878
|
+
};
|
|
1879
|
+
readonly "/posts/{slug}/likes": {
|
|
1880
|
+
readonly get: {
|
|
1881
|
+
readonly operationId: "posts.likes.list";
|
|
1882
|
+
readonly summary: "List post likes";
|
|
1883
|
+
readonly security: readonly [{
|
|
1884
|
+
readonly bearerAuth: readonly [];
|
|
1885
|
+
}];
|
|
1886
|
+
readonly parameters: readonly [{
|
|
1887
|
+
readonly name: "slug";
|
|
1888
|
+
readonly in: "path";
|
|
1889
|
+
readonly required: true;
|
|
1890
|
+
readonly schema: {
|
|
1891
|
+
readonly type: "string";
|
|
1892
|
+
};
|
|
1893
|
+
}];
|
|
1894
|
+
readonly responses: {
|
|
1895
|
+
readonly "200": {
|
|
1896
|
+
readonly description: "Post like actors.";
|
|
1897
|
+
readonly content: {
|
|
1898
|
+
readonly "application/json": {
|
|
1899
|
+
readonly schema: {
|
|
1900
|
+
readonly $ref: "#/components/schemas/EngagementActorListResponse";
|
|
1901
|
+
};
|
|
1902
|
+
};
|
|
1903
|
+
};
|
|
1904
|
+
};
|
|
1905
|
+
readonly "401": {
|
|
1906
|
+
readonly description: "The API key is missing or invalid.";
|
|
1907
|
+
readonly content: {
|
|
1908
|
+
readonly "application/json": {
|
|
1909
|
+
readonly schema: {
|
|
1910
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
1911
|
+
};
|
|
1912
|
+
};
|
|
1913
|
+
};
|
|
1914
|
+
};
|
|
1915
|
+
readonly "404": {
|
|
1916
|
+
readonly description: "The requested resource was not found.";
|
|
1917
|
+
readonly content: {
|
|
1918
|
+
readonly "application/json": {
|
|
1919
|
+
readonly schema: {
|
|
1920
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
1921
|
+
};
|
|
1922
|
+
};
|
|
1923
|
+
};
|
|
1924
|
+
};
|
|
1925
|
+
readonly "501": {
|
|
1926
|
+
readonly description: "This site does not implement this operation.";
|
|
1927
|
+
readonly content: {
|
|
1928
|
+
readonly "application/json": {
|
|
1929
|
+
readonly schema: {
|
|
1930
|
+
readonly $ref: "#/components/schemas/NotImplementedResponse";
|
|
1931
|
+
};
|
|
1932
|
+
};
|
|
1933
|
+
};
|
|
1934
|
+
};
|
|
1935
|
+
};
|
|
1936
|
+
};
|
|
1937
|
+
};
|
|
1938
|
+
readonly "/posts/{slug}/boosts": {
|
|
1939
|
+
readonly get: {
|
|
1940
|
+
readonly operationId: "posts.boosts.list";
|
|
1941
|
+
readonly summary: "List post boosts";
|
|
1942
|
+
readonly security: readonly [{
|
|
1943
|
+
readonly bearerAuth: readonly [];
|
|
1944
|
+
}];
|
|
1945
|
+
readonly parameters: readonly [{
|
|
1946
|
+
readonly name: "slug";
|
|
1947
|
+
readonly in: "path";
|
|
1948
|
+
readonly required: true;
|
|
1949
|
+
readonly schema: {
|
|
1950
|
+
readonly type: "string";
|
|
1951
|
+
};
|
|
1952
|
+
}];
|
|
1953
|
+
readonly responses: {
|
|
1954
|
+
readonly "200": {
|
|
1955
|
+
readonly description: "Post boost actors.";
|
|
1956
|
+
readonly content: {
|
|
1957
|
+
readonly "application/json": {
|
|
1958
|
+
readonly schema: {
|
|
1959
|
+
readonly $ref: "#/components/schemas/EngagementActorListResponse";
|
|
1960
|
+
};
|
|
1961
|
+
};
|
|
1962
|
+
};
|
|
1963
|
+
};
|
|
1964
|
+
readonly "401": {
|
|
1965
|
+
readonly description: "The API key is missing or invalid.";
|
|
1966
|
+
readonly content: {
|
|
1967
|
+
readonly "application/json": {
|
|
1968
|
+
readonly schema: {
|
|
1969
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
1970
|
+
};
|
|
1971
|
+
};
|
|
1972
|
+
};
|
|
1973
|
+
};
|
|
1974
|
+
readonly "404": {
|
|
1975
|
+
readonly description: "The requested resource was not found.";
|
|
1976
|
+
readonly content: {
|
|
1977
|
+
readonly "application/json": {
|
|
1978
|
+
readonly schema: {
|
|
1979
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
1980
|
+
};
|
|
1981
|
+
};
|
|
1982
|
+
};
|
|
1983
|
+
};
|
|
1984
|
+
readonly "501": {
|
|
1985
|
+
readonly description: "This site does not implement this operation.";
|
|
1986
|
+
readonly content: {
|
|
1987
|
+
readonly "application/json": {
|
|
1988
|
+
readonly schema: {
|
|
1989
|
+
readonly $ref: "#/components/schemas/NotImplementedResponse";
|
|
1990
|
+
};
|
|
1991
|
+
};
|
|
1992
|
+
};
|
|
1993
|
+
};
|
|
1994
|
+
};
|
|
1995
|
+
};
|
|
1996
|
+
};
|
|
1997
|
+
readonly "/posts/{slug}/publish": {
|
|
1998
|
+
readonly post: {
|
|
1999
|
+
readonly operationId: "posts.publish";
|
|
2000
|
+
readonly summary: "Publish a draft post";
|
|
2001
|
+
readonly security: readonly [{
|
|
2002
|
+
readonly bearerAuth: readonly [];
|
|
2003
|
+
}];
|
|
2004
|
+
readonly parameters: readonly [{
|
|
2005
|
+
readonly name: "slug";
|
|
2006
|
+
readonly in: "path";
|
|
2007
|
+
readonly required: true;
|
|
2008
|
+
readonly schema: {
|
|
2009
|
+
readonly type: "string";
|
|
2010
|
+
};
|
|
2011
|
+
}];
|
|
2012
|
+
readonly requestBody: {
|
|
2013
|
+
readonly required: false;
|
|
2014
|
+
readonly content: {
|
|
2015
|
+
readonly "application/json": {
|
|
2016
|
+
readonly schema: {
|
|
2017
|
+
readonly $ref: "#/components/schemas/PublishPostRequest";
|
|
2018
|
+
};
|
|
2019
|
+
};
|
|
2020
|
+
};
|
|
2021
|
+
};
|
|
2022
|
+
readonly responses: {
|
|
2023
|
+
readonly "200": {
|
|
2024
|
+
readonly description: "Published post.";
|
|
2025
|
+
readonly content: {
|
|
2026
|
+
readonly "application/json": {
|
|
2027
|
+
readonly schema: {
|
|
2028
|
+
readonly $ref: "#/components/schemas/PostResponse";
|
|
2029
|
+
};
|
|
2030
|
+
};
|
|
2031
|
+
};
|
|
2032
|
+
};
|
|
2033
|
+
readonly "401": {
|
|
2034
|
+
readonly description: "The API key is missing or invalid.";
|
|
2035
|
+
readonly content: {
|
|
2036
|
+
readonly "application/json": {
|
|
2037
|
+
readonly schema: {
|
|
2038
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
2039
|
+
};
|
|
2040
|
+
};
|
|
2041
|
+
};
|
|
2042
|
+
};
|
|
2043
|
+
readonly "404": {
|
|
2044
|
+
readonly description: "The requested resource was not found.";
|
|
2045
|
+
readonly content: {
|
|
2046
|
+
readonly "application/json": {
|
|
2047
|
+
readonly schema: {
|
|
2048
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
2049
|
+
};
|
|
2050
|
+
};
|
|
2051
|
+
};
|
|
2052
|
+
};
|
|
2053
|
+
};
|
|
2054
|
+
};
|
|
2055
|
+
};
|
|
2056
|
+
readonly "/posts/{slug}/unpublish": {
|
|
2057
|
+
readonly post: {
|
|
2058
|
+
readonly operationId: "posts.unpublish";
|
|
2059
|
+
readonly summary: "Unpublish a post";
|
|
2060
|
+
readonly security: readonly [{
|
|
2061
|
+
readonly bearerAuth: readonly [];
|
|
2062
|
+
}];
|
|
2063
|
+
readonly parameters: readonly [{
|
|
2064
|
+
readonly name: "slug";
|
|
2065
|
+
readonly in: "path";
|
|
2066
|
+
readonly required: true;
|
|
2067
|
+
readonly schema: {
|
|
2068
|
+
readonly type: "string";
|
|
2069
|
+
};
|
|
2070
|
+
}];
|
|
2071
|
+
readonly responses: {
|
|
2072
|
+
readonly "200": {
|
|
2073
|
+
readonly description: "Unpublished post.";
|
|
2074
|
+
readonly content: {
|
|
2075
|
+
readonly "application/json": {
|
|
2076
|
+
readonly schema: {
|
|
2077
|
+
readonly $ref: "#/components/schemas/PostResponse";
|
|
2078
|
+
};
|
|
2079
|
+
};
|
|
2080
|
+
};
|
|
2081
|
+
};
|
|
2082
|
+
readonly "401": {
|
|
2083
|
+
readonly description: "The API key is missing or invalid.";
|
|
2084
|
+
readonly content: {
|
|
2085
|
+
readonly "application/json": {
|
|
2086
|
+
readonly schema: {
|
|
2087
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
2088
|
+
};
|
|
2089
|
+
};
|
|
2090
|
+
};
|
|
2091
|
+
};
|
|
2092
|
+
readonly "404": {
|
|
2093
|
+
readonly description: "The requested resource was not found.";
|
|
2094
|
+
readonly content: {
|
|
2095
|
+
readonly "application/json": {
|
|
2096
|
+
readonly schema: {
|
|
2097
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
2098
|
+
};
|
|
2099
|
+
};
|
|
2100
|
+
};
|
|
2101
|
+
};
|
|
2102
|
+
};
|
|
2103
|
+
};
|
|
2104
|
+
};
|
|
2105
|
+
readonly "/posts/{slug}/comments": {
|
|
2106
|
+
readonly get: {
|
|
2107
|
+
readonly operationId: "posts.comments.list";
|
|
2108
|
+
readonly summary: "List comments on a post";
|
|
2109
|
+
readonly security: readonly [{
|
|
2110
|
+
readonly bearerAuth: readonly [];
|
|
2111
|
+
}];
|
|
2112
|
+
readonly parameters: readonly [{
|
|
2113
|
+
readonly name: "slug";
|
|
2114
|
+
readonly in: "path";
|
|
2115
|
+
readonly required: true;
|
|
2116
|
+
readonly schema: {
|
|
2117
|
+
readonly type: "string";
|
|
2118
|
+
};
|
|
2119
|
+
}, {
|
|
2120
|
+
readonly name: "status";
|
|
2121
|
+
readonly in: "query";
|
|
2122
|
+
readonly required: false;
|
|
2123
|
+
readonly schema: {
|
|
2124
|
+
readonly type: "string";
|
|
2125
|
+
readonly enum: readonly ["pending", "approved", "hidden", "all"];
|
|
2126
|
+
readonly default: "approved";
|
|
2127
|
+
};
|
|
2128
|
+
}];
|
|
2129
|
+
readonly responses: {
|
|
2130
|
+
readonly "200": {
|
|
2131
|
+
readonly description: "Post comment list.";
|
|
2132
|
+
readonly content: {
|
|
2133
|
+
readonly "application/json": {
|
|
2134
|
+
readonly schema: {
|
|
2135
|
+
readonly $ref: "#/components/schemas/CommentListResponse";
|
|
2136
|
+
};
|
|
2137
|
+
};
|
|
2138
|
+
};
|
|
2139
|
+
};
|
|
2140
|
+
readonly "401": {
|
|
2141
|
+
readonly description: "The API key is missing or invalid.";
|
|
2142
|
+
readonly content: {
|
|
2143
|
+
readonly "application/json": {
|
|
2144
|
+
readonly schema: {
|
|
2145
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
2146
|
+
};
|
|
2147
|
+
};
|
|
2148
|
+
};
|
|
2149
|
+
};
|
|
2150
|
+
readonly "404": {
|
|
2151
|
+
readonly description: "The requested resource was not found.";
|
|
2152
|
+
readonly content: {
|
|
2153
|
+
readonly "application/json": {
|
|
2154
|
+
readonly schema: {
|
|
2155
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
2156
|
+
};
|
|
2157
|
+
};
|
|
2158
|
+
};
|
|
2159
|
+
};
|
|
2160
|
+
readonly "422": {
|
|
2161
|
+
readonly description: "The request is invalid.";
|
|
2162
|
+
readonly content: {
|
|
2163
|
+
readonly "application/json": {
|
|
2164
|
+
readonly schema: {
|
|
2165
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
2166
|
+
};
|
|
2167
|
+
};
|
|
2168
|
+
};
|
|
2169
|
+
};
|
|
2170
|
+
readonly "501": {
|
|
2171
|
+
readonly description: "This site does not implement this operation.";
|
|
2172
|
+
readonly content: {
|
|
2173
|
+
readonly "application/json": {
|
|
2174
|
+
readonly schema: {
|
|
2175
|
+
readonly $ref: "#/components/schemas/NotImplementedResponse";
|
|
2176
|
+
};
|
|
2177
|
+
};
|
|
2178
|
+
};
|
|
2179
|
+
};
|
|
2180
|
+
};
|
|
2181
|
+
};
|
|
2182
|
+
readonly post: {
|
|
2183
|
+
readonly operationId: "posts.comments.create";
|
|
2184
|
+
readonly summary: "Create a comment on a post";
|
|
2185
|
+
readonly security: readonly [{
|
|
2186
|
+
readonly bearerAuth: readonly [];
|
|
2187
|
+
}];
|
|
2188
|
+
readonly parameters: readonly [{
|
|
2189
|
+
readonly name: "slug";
|
|
2190
|
+
readonly in: "path";
|
|
2191
|
+
readonly required: true;
|
|
2192
|
+
readonly schema: {
|
|
2193
|
+
readonly type: "string";
|
|
2194
|
+
};
|
|
2195
|
+
}];
|
|
2196
|
+
readonly requestBody: {
|
|
2197
|
+
readonly required: true;
|
|
2198
|
+
readonly content: {
|
|
2199
|
+
readonly "application/json": {
|
|
2200
|
+
readonly schema: {
|
|
2201
|
+
readonly $ref: "#/components/schemas/CreatePostCommentRequest";
|
|
2202
|
+
};
|
|
2203
|
+
};
|
|
2204
|
+
};
|
|
2205
|
+
};
|
|
2206
|
+
readonly responses: {
|
|
2207
|
+
readonly "201": {
|
|
2208
|
+
readonly description: "Created comment.";
|
|
2209
|
+
readonly content: {
|
|
2210
|
+
readonly "application/json": {
|
|
2211
|
+
readonly schema: {
|
|
2212
|
+
readonly $ref: "#/components/schemas/CommentResponse";
|
|
2213
|
+
};
|
|
2214
|
+
};
|
|
2215
|
+
};
|
|
2216
|
+
};
|
|
2217
|
+
readonly "401": {
|
|
2218
|
+
readonly description: "The API key is missing or invalid.";
|
|
2219
|
+
readonly content: {
|
|
2220
|
+
readonly "application/json": {
|
|
2221
|
+
readonly schema: {
|
|
2222
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
2223
|
+
};
|
|
2224
|
+
};
|
|
2225
|
+
};
|
|
2226
|
+
};
|
|
2227
|
+
readonly "404": {
|
|
2228
|
+
readonly description: "The requested resource was not found.";
|
|
2229
|
+
readonly content: {
|
|
2230
|
+
readonly "application/json": {
|
|
2231
|
+
readonly schema: {
|
|
2232
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
2233
|
+
};
|
|
2234
|
+
};
|
|
2235
|
+
};
|
|
2236
|
+
};
|
|
2237
|
+
readonly "422": {
|
|
2238
|
+
readonly description: "The request is invalid.";
|
|
2239
|
+
readonly content: {
|
|
2240
|
+
readonly "application/json": {
|
|
2241
|
+
readonly schema: {
|
|
2242
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
2243
|
+
};
|
|
2244
|
+
};
|
|
2245
|
+
};
|
|
2246
|
+
};
|
|
2247
|
+
readonly "501": {
|
|
2248
|
+
readonly description: "This site does not implement this operation.";
|
|
2249
|
+
readonly content: {
|
|
2250
|
+
readonly "application/json": {
|
|
2251
|
+
readonly schema: {
|
|
2252
|
+
readonly $ref: "#/components/schemas/NotImplementedResponse";
|
|
2253
|
+
};
|
|
2254
|
+
};
|
|
2255
|
+
};
|
|
2256
|
+
};
|
|
2257
|
+
};
|
|
2258
|
+
};
|
|
2259
|
+
};
|
|
2260
|
+
readonly "/comments": {
|
|
2261
|
+
readonly get: {
|
|
2262
|
+
readonly operationId: "comments.list";
|
|
2263
|
+
readonly summary: "List comments across posts";
|
|
2264
|
+
readonly security: readonly [{
|
|
2265
|
+
readonly bearerAuth: readonly [];
|
|
2266
|
+
}];
|
|
2267
|
+
readonly parameters: readonly [{
|
|
2268
|
+
readonly name: "status";
|
|
2269
|
+
readonly in: "query";
|
|
2270
|
+
readonly required: false;
|
|
2271
|
+
readonly schema: {
|
|
2272
|
+
readonly type: "string";
|
|
2273
|
+
readonly enum: readonly ["pending", "approved", "hidden", "all"];
|
|
2274
|
+
readonly default: "all";
|
|
2275
|
+
};
|
|
2276
|
+
}, {
|
|
2277
|
+
readonly name: "postSlug";
|
|
2278
|
+
readonly in: "query";
|
|
2279
|
+
readonly required: false;
|
|
2280
|
+
readonly schema: {
|
|
2281
|
+
readonly type: "string";
|
|
2282
|
+
};
|
|
2283
|
+
}, {
|
|
2284
|
+
readonly name: "author";
|
|
2285
|
+
readonly in: "query";
|
|
2286
|
+
readonly required: false;
|
|
2287
|
+
readonly schema: {
|
|
2288
|
+
readonly type: "string";
|
|
2289
|
+
};
|
|
2290
|
+
}, {
|
|
2291
|
+
readonly name: "receivedFrom";
|
|
2292
|
+
readonly in: "query";
|
|
2293
|
+
readonly required: false;
|
|
2294
|
+
readonly schema: {
|
|
2295
|
+
readonly type: "string";
|
|
2296
|
+
readonly format: "date-time";
|
|
2297
|
+
};
|
|
2298
|
+
}, {
|
|
2299
|
+
readonly name: "receivedTo";
|
|
2300
|
+
readonly in: "query";
|
|
2301
|
+
readonly required: false;
|
|
2302
|
+
readonly schema: {
|
|
2303
|
+
readonly type: "string";
|
|
2304
|
+
readonly format: "date-time";
|
|
2305
|
+
};
|
|
2306
|
+
}];
|
|
2307
|
+
readonly responses: {
|
|
2308
|
+
readonly "200": {
|
|
2309
|
+
readonly description: "Comment list.";
|
|
2310
|
+
readonly content: {
|
|
2311
|
+
readonly "application/json": {
|
|
2312
|
+
readonly schema: {
|
|
2313
|
+
readonly $ref: "#/components/schemas/CommentListResponse";
|
|
2314
|
+
};
|
|
2315
|
+
};
|
|
2316
|
+
};
|
|
2317
|
+
};
|
|
2318
|
+
readonly "401": {
|
|
2319
|
+
readonly description: "The API key is missing or invalid.";
|
|
2320
|
+
readonly content: {
|
|
2321
|
+
readonly "application/json": {
|
|
2322
|
+
readonly schema: {
|
|
2323
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
2324
|
+
};
|
|
2325
|
+
};
|
|
2326
|
+
};
|
|
2327
|
+
};
|
|
2328
|
+
readonly "422": {
|
|
2329
|
+
readonly description: "The request is invalid.";
|
|
2330
|
+
readonly content: {
|
|
2331
|
+
readonly "application/json": {
|
|
2332
|
+
readonly schema: {
|
|
2333
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
2334
|
+
};
|
|
2335
|
+
};
|
|
2336
|
+
};
|
|
2337
|
+
};
|
|
2338
|
+
readonly "501": {
|
|
2339
|
+
readonly description: "This site does not implement this operation.";
|
|
2340
|
+
readonly content: {
|
|
2341
|
+
readonly "application/json": {
|
|
2342
|
+
readonly schema: {
|
|
2343
|
+
readonly $ref: "#/components/schemas/NotImplementedResponse";
|
|
2344
|
+
};
|
|
2345
|
+
};
|
|
2346
|
+
};
|
|
2347
|
+
};
|
|
2348
|
+
};
|
|
2349
|
+
};
|
|
2350
|
+
};
|
|
2351
|
+
readonly "/comments/{id}/approve": {
|
|
2352
|
+
readonly post: {
|
|
2353
|
+
readonly operationId: "comments.approve";
|
|
2354
|
+
readonly summary: "Approve a comment";
|
|
2355
|
+
readonly security: readonly [{
|
|
2356
|
+
readonly bearerAuth: readonly [];
|
|
2357
|
+
}];
|
|
2358
|
+
readonly parameters: readonly [{
|
|
2359
|
+
readonly name: "id";
|
|
2360
|
+
readonly in: "path";
|
|
2361
|
+
readonly required: true;
|
|
2362
|
+
readonly schema: {
|
|
2363
|
+
readonly type: "integer";
|
|
2364
|
+
};
|
|
2365
|
+
}];
|
|
2366
|
+
readonly responses: {
|
|
2367
|
+
readonly "200": {
|
|
2368
|
+
readonly description: "Approved comment moderation state.";
|
|
2369
|
+
readonly content: {
|
|
2370
|
+
readonly "application/json": {
|
|
2371
|
+
readonly schema: {
|
|
2372
|
+
readonly $ref: "#/components/schemas/CommentModerationResponse";
|
|
2373
|
+
};
|
|
2374
|
+
};
|
|
2375
|
+
};
|
|
2376
|
+
};
|
|
2377
|
+
readonly "401": {
|
|
2378
|
+
readonly description: "The API key is missing or invalid.";
|
|
2379
|
+
readonly content: {
|
|
2380
|
+
readonly "application/json": {
|
|
2381
|
+
readonly schema: {
|
|
2382
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
2383
|
+
};
|
|
2384
|
+
};
|
|
2385
|
+
};
|
|
2386
|
+
};
|
|
2387
|
+
readonly "404": {
|
|
2388
|
+
readonly description: "The requested resource was not found.";
|
|
2389
|
+
readonly content: {
|
|
2390
|
+
readonly "application/json": {
|
|
2391
|
+
readonly schema: {
|
|
2392
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
2393
|
+
};
|
|
2394
|
+
};
|
|
2395
|
+
};
|
|
2396
|
+
};
|
|
2397
|
+
readonly "422": {
|
|
2398
|
+
readonly description: "The request is invalid.";
|
|
2399
|
+
readonly content: {
|
|
2400
|
+
readonly "application/json": {
|
|
2401
|
+
readonly schema: {
|
|
2402
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
2403
|
+
};
|
|
2404
|
+
};
|
|
2405
|
+
};
|
|
2406
|
+
};
|
|
2407
|
+
readonly "501": {
|
|
2408
|
+
readonly description: "This site does not implement this operation.";
|
|
2409
|
+
readonly content: {
|
|
2410
|
+
readonly "application/json": {
|
|
2411
|
+
readonly schema: {
|
|
2412
|
+
readonly $ref: "#/components/schemas/NotImplementedResponse";
|
|
2413
|
+
};
|
|
2414
|
+
};
|
|
2415
|
+
};
|
|
2416
|
+
};
|
|
2417
|
+
};
|
|
2418
|
+
};
|
|
2419
|
+
};
|
|
2420
|
+
readonly "/comments/{id}/hide": {
|
|
2421
|
+
readonly post: {
|
|
2422
|
+
readonly operationId: "comments.hide";
|
|
2423
|
+
readonly summary: "Hide a comment";
|
|
2424
|
+
readonly security: readonly [{
|
|
2425
|
+
readonly bearerAuth: readonly [];
|
|
2426
|
+
}];
|
|
2427
|
+
readonly parameters: readonly [{
|
|
2428
|
+
readonly name: "id";
|
|
2429
|
+
readonly in: "path";
|
|
2430
|
+
readonly required: true;
|
|
2431
|
+
readonly schema: {
|
|
2432
|
+
readonly type: "integer";
|
|
2433
|
+
};
|
|
2434
|
+
}];
|
|
2435
|
+
readonly responses: {
|
|
2436
|
+
readonly "200": {
|
|
2437
|
+
readonly description: "Hidden comment moderation state.";
|
|
2438
|
+
readonly content: {
|
|
2439
|
+
readonly "application/json": {
|
|
2440
|
+
readonly schema: {
|
|
2441
|
+
readonly $ref: "#/components/schemas/CommentModerationResponse";
|
|
2442
|
+
};
|
|
2443
|
+
};
|
|
2444
|
+
};
|
|
2445
|
+
};
|
|
2446
|
+
readonly "401": {
|
|
2447
|
+
readonly description: "The API key is missing or invalid.";
|
|
2448
|
+
readonly content: {
|
|
2449
|
+
readonly "application/json": {
|
|
2450
|
+
readonly schema: {
|
|
2451
|
+
readonly $ref: "#/components/schemas/AuthenticationErrorResponse";
|
|
2452
|
+
};
|
|
2453
|
+
};
|
|
2454
|
+
};
|
|
2455
|
+
};
|
|
2456
|
+
readonly "404": {
|
|
2457
|
+
readonly description: "The requested resource was not found.";
|
|
2458
|
+
readonly content: {
|
|
2459
|
+
readonly "application/json": {
|
|
2460
|
+
readonly schema: {
|
|
2461
|
+
readonly $ref: "#/components/schemas/NotFoundResponse";
|
|
2462
|
+
};
|
|
2463
|
+
};
|
|
2464
|
+
};
|
|
2465
|
+
};
|
|
2466
|
+
readonly "422": {
|
|
2467
|
+
readonly description: "The request is invalid.";
|
|
2468
|
+
readonly content: {
|
|
2469
|
+
readonly "application/json": {
|
|
2470
|
+
readonly schema: {
|
|
2471
|
+
readonly $ref: "#/components/schemas/ValidationErrorResponse";
|
|
2472
|
+
};
|
|
2473
|
+
};
|
|
2474
|
+
};
|
|
2475
|
+
};
|
|
2476
|
+
readonly "501": {
|
|
2477
|
+
readonly description: "This site does not implement this operation.";
|
|
2478
|
+
readonly content: {
|
|
2479
|
+
readonly "application/json": {
|
|
2480
|
+
readonly schema: {
|
|
2481
|
+
readonly $ref: "#/components/schemas/NotImplementedResponse";
|
|
2482
|
+
};
|
|
2483
|
+
};
|
|
2484
|
+
};
|
|
2485
|
+
};
|
|
2486
|
+
};
|
|
2487
|
+
};
|
|
2488
|
+
};
|
|
2489
|
+
};
|
|
2490
|
+
readonly components: {
|
|
2491
|
+
readonly securitySchemes: {
|
|
2492
|
+
readonly bearerAuth: {
|
|
2493
|
+
readonly type: "http";
|
|
2494
|
+
readonly scheme: "bearer";
|
|
2495
|
+
};
|
|
2496
|
+
};
|
|
2497
|
+
readonly schemas: {
|
|
2498
|
+
readonly AuthCheckResponse: {
|
|
2499
|
+
readonly type: "object";
|
|
2500
|
+
readonly required: readonly ["data"];
|
|
2501
|
+
readonly properties: {
|
|
2502
|
+
readonly data: {
|
|
2503
|
+
readonly type: "object";
|
|
2504
|
+
readonly required: readonly ["authenticated"];
|
|
2505
|
+
readonly properties: {
|
|
2506
|
+
readonly authenticated: {
|
|
2507
|
+
readonly type: "boolean";
|
|
2508
|
+
readonly const: true;
|
|
2509
|
+
};
|
|
2510
|
+
};
|
|
2511
|
+
};
|
|
2512
|
+
};
|
|
2513
|
+
};
|
|
2514
|
+
readonly HealthResponse: {
|
|
2515
|
+
readonly type: "object";
|
|
2516
|
+
readonly required: readonly ["status", "service", "version", "time"];
|
|
2517
|
+
readonly properties: {
|
|
2518
|
+
readonly status: {
|
|
2519
|
+
readonly type: "string";
|
|
2520
|
+
readonly const: "ok";
|
|
2521
|
+
};
|
|
2522
|
+
readonly service: {
|
|
2523
|
+
readonly type: "string";
|
|
2524
|
+
readonly const: "slugkit-api";
|
|
2525
|
+
};
|
|
2526
|
+
readonly version: {
|
|
2527
|
+
readonly type: "string";
|
|
2528
|
+
};
|
|
2529
|
+
readonly time: {
|
|
2530
|
+
readonly type: "string";
|
|
2531
|
+
readonly format: "date-time";
|
|
2532
|
+
};
|
|
2533
|
+
};
|
|
2534
|
+
};
|
|
2535
|
+
readonly MetaResponse: {
|
|
2536
|
+
readonly type: "object";
|
|
2537
|
+
readonly required: readonly ["site", "api", "software"];
|
|
2538
|
+
readonly properties: {
|
|
2539
|
+
readonly site: {
|
|
2540
|
+
readonly type: "object";
|
|
2541
|
+
readonly required: readonly ["name", "url"];
|
|
2542
|
+
readonly properties: {
|
|
2543
|
+
readonly name: {
|
|
2544
|
+
readonly type: "string";
|
|
2545
|
+
};
|
|
2546
|
+
readonly url: {
|
|
2547
|
+
readonly type: "string";
|
|
2548
|
+
readonly format: "uri";
|
|
2549
|
+
};
|
|
2550
|
+
};
|
|
2551
|
+
};
|
|
2552
|
+
readonly api: {
|
|
2553
|
+
readonly type: "object";
|
|
2554
|
+
readonly required: readonly ["name", "version", "baseUrl", "openapiUrl"];
|
|
2555
|
+
readonly properties: {
|
|
2556
|
+
readonly name: {
|
|
2557
|
+
readonly type: "string";
|
|
2558
|
+
readonly const: "slugkit";
|
|
2559
|
+
};
|
|
2560
|
+
readonly version: {
|
|
2561
|
+
readonly type: "string";
|
|
2562
|
+
};
|
|
2563
|
+
readonly baseUrl: {
|
|
2564
|
+
readonly type: "string";
|
|
2565
|
+
readonly format: "uri";
|
|
2566
|
+
};
|
|
2567
|
+
readonly openapiUrl: {
|
|
2568
|
+
readonly type: "string";
|
|
2569
|
+
readonly format: "uri";
|
|
2570
|
+
};
|
|
2571
|
+
readonly contract: {
|
|
2572
|
+
readonly type: "object";
|
|
2573
|
+
readonly required: readonly ["id", "version"];
|
|
2574
|
+
readonly properties: {
|
|
2575
|
+
readonly id: {
|
|
2576
|
+
readonly type: "string";
|
|
2577
|
+
readonly const: "slugkit-management-api";
|
|
2578
|
+
};
|
|
2579
|
+
readonly version: {
|
|
2580
|
+
readonly type: "string";
|
|
2581
|
+
readonly const: "1.1.0";
|
|
2582
|
+
};
|
|
2583
|
+
};
|
|
2584
|
+
};
|
|
2585
|
+
};
|
|
2586
|
+
};
|
|
2587
|
+
readonly software: {
|
|
2588
|
+
readonly type: "object";
|
|
2589
|
+
readonly required: readonly ["name", "version"];
|
|
2590
|
+
readonly properties: {
|
|
2591
|
+
readonly name: {
|
|
2592
|
+
readonly type: "string";
|
|
2593
|
+
readonly const: "slugkit-template";
|
|
2594
|
+
};
|
|
2595
|
+
readonly version: {
|
|
2596
|
+
readonly type: "string";
|
|
2597
|
+
};
|
|
2598
|
+
};
|
|
2599
|
+
};
|
|
2600
|
+
readonly packageMetadata: {
|
|
2601
|
+
readonly type: "object";
|
|
2602
|
+
readonly required: readonly ["packages", "advisoryOnly"];
|
|
2603
|
+
readonly properties: {
|
|
2604
|
+
readonly template: {
|
|
2605
|
+
readonly type: "object";
|
|
2606
|
+
readonly required: readonly ["packageName", "name", "version"];
|
|
2607
|
+
readonly properties: {
|
|
2608
|
+
readonly packageName: {
|
|
2609
|
+
readonly type: "string";
|
|
2610
|
+
};
|
|
2611
|
+
readonly name: {
|
|
2612
|
+
readonly type: "string";
|
|
2613
|
+
};
|
|
2614
|
+
readonly version: {
|
|
2615
|
+
readonly type: "string";
|
|
2616
|
+
};
|
|
2617
|
+
readonly generatedAt: {
|
|
2618
|
+
readonly type: "string";
|
|
2619
|
+
readonly format: "date-time";
|
|
2620
|
+
};
|
|
2621
|
+
};
|
|
2622
|
+
};
|
|
2623
|
+
readonly packages: {
|
|
2624
|
+
readonly type: "object";
|
|
2625
|
+
readonly additionalProperties: {
|
|
2626
|
+
readonly type: "string";
|
|
2627
|
+
};
|
|
2628
|
+
};
|
|
2629
|
+
readonly advisoryOnly: {
|
|
2630
|
+
readonly type: "boolean";
|
|
2631
|
+
readonly const: true;
|
|
2632
|
+
};
|
|
2633
|
+
readonly migrationNotesUrl: {
|
|
2634
|
+
readonly type: "string";
|
|
2635
|
+
readonly format: "uri";
|
|
2636
|
+
};
|
|
2637
|
+
};
|
|
2638
|
+
};
|
|
2639
|
+
};
|
|
2640
|
+
};
|
|
2641
|
+
readonly JsonValue: {
|
|
2642
|
+
readonly oneOf: readonly [{
|
|
2643
|
+
readonly type: "string";
|
|
2644
|
+
}, {
|
|
2645
|
+
readonly type: "number";
|
|
2646
|
+
}, {
|
|
2647
|
+
readonly type: "boolean";
|
|
2648
|
+
}, {
|
|
2649
|
+
readonly type: "null";
|
|
2650
|
+
}, {
|
|
2651
|
+
readonly type: "array";
|
|
2652
|
+
readonly items: {
|
|
2653
|
+
readonly $ref: "#/components/schemas/JsonValue";
|
|
2654
|
+
};
|
|
2655
|
+
}, {
|
|
2656
|
+
readonly type: "object";
|
|
2657
|
+
readonly additionalProperties: {
|
|
2658
|
+
readonly $ref: "#/components/schemas/JsonValue";
|
|
2659
|
+
};
|
|
2660
|
+
}];
|
|
2661
|
+
};
|
|
2662
|
+
readonly SiteConfigCore: {
|
|
2663
|
+
readonly type: "object";
|
|
2664
|
+
readonly required: readonly ["name", "url", "tagline", "description", "homepage"];
|
|
2665
|
+
readonly properties: {
|
|
2666
|
+
readonly name: {
|
|
2667
|
+
readonly type: "string";
|
|
2668
|
+
};
|
|
2669
|
+
readonly url: {
|
|
2670
|
+
readonly type: "string";
|
|
2671
|
+
readonly format: "uri";
|
|
2672
|
+
};
|
|
2673
|
+
readonly tagline: {
|
|
2674
|
+
readonly type: "string";
|
|
2675
|
+
};
|
|
2676
|
+
readonly description: {
|
|
2677
|
+
readonly type: "string";
|
|
2678
|
+
};
|
|
2679
|
+
readonly homepage: {
|
|
2680
|
+
readonly type: "object";
|
|
2681
|
+
readonly required: readonly ["intro", "body"];
|
|
2682
|
+
readonly properties: {
|
|
2683
|
+
readonly intro: {
|
|
2684
|
+
readonly type: "string";
|
|
2685
|
+
};
|
|
2686
|
+
readonly body: {
|
|
2687
|
+
readonly type: "string";
|
|
2688
|
+
};
|
|
2689
|
+
};
|
|
2690
|
+
};
|
|
2691
|
+
};
|
|
2692
|
+
};
|
|
2693
|
+
readonly SiteConfig: {
|
|
2694
|
+
readonly type: "object";
|
|
2695
|
+
readonly required: readonly ["core", "custom"];
|
|
2696
|
+
readonly properties: {
|
|
2697
|
+
readonly core: {
|
|
2698
|
+
readonly $ref: "#/components/schemas/SiteConfigCore";
|
|
2699
|
+
};
|
|
2700
|
+
readonly custom: {
|
|
2701
|
+
readonly type: "object";
|
|
2702
|
+
readonly additionalProperties: {
|
|
2703
|
+
readonly $ref: "#/components/schemas/JsonValue";
|
|
2704
|
+
};
|
|
2705
|
+
};
|
|
2706
|
+
};
|
|
2707
|
+
};
|
|
2708
|
+
readonly SiteConfigResponse: {
|
|
2709
|
+
readonly type: "object";
|
|
2710
|
+
readonly required: readonly ["data"];
|
|
2711
|
+
readonly properties: {
|
|
2712
|
+
readonly data: {
|
|
2713
|
+
readonly $ref: "#/components/schemas/SiteConfig";
|
|
2714
|
+
};
|
|
2715
|
+
};
|
|
2716
|
+
};
|
|
2717
|
+
readonly SiteConfigUpdateRequest: {
|
|
2718
|
+
readonly type: "object";
|
|
2719
|
+
readonly minProperties: 1;
|
|
2720
|
+
readonly additionalProperties: false;
|
|
2721
|
+
readonly properties: {
|
|
2722
|
+
readonly core: {
|
|
2723
|
+
readonly type: "object";
|
|
2724
|
+
readonly minProperties: 1;
|
|
2725
|
+
readonly additionalProperties: false;
|
|
2726
|
+
readonly properties: {
|
|
2727
|
+
readonly name: {
|
|
2728
|
+
readonly type: "string";
|
|
2729
|
+
readonly minLength: 1;
|
|
2730
|
+
};
|
|
2731
|
+
readonly url: {
|
|
2732
|
+
readonly type: "string";
|
|
2733
|
+
readonly format: "uri";
|
|
2734
|
+
};
|
|
2735
|
+
readonly tagline: {
|
|
2736
|
+
readonly type: "string";
|
|
2737
|
+
readonly minLength: 1;
|
|
2738
|
+
};
|
|
2739
|
+
readonly description: {
|
|
2740
|
+
readonly type: "string";
|
|
2741
|
+
readonly minLength: 1;
|
|
2742
|
+
};
|
|
2743
|
+
readonly homepage: {
|
|
2744
|
+
readonly type: "object";
|
|
2745
|
+
readonly minProperties: 1;
|
|
2746
|
+
readonly additionalProperties: false;
|
|
2747
|
+
readonly properties: {
|
|
2748
|
+
readonly intro: {
|
|
2749
|
+
readonly type: "string";
|
|
2750
|
+
readonly minLength: 1;
|
|
2751
|
+
};
|
|
2752
|
+
readonly body: {
|
|
2753
|
+
readonly type: "string";
|
|
2754
|
+
readonly minLength: 1;
|
|
2755
|
+
};
|
|
2756
|
+
};
|
|
2757
|
+
};
|
|
2758
|
+
};
|
|
2759
|
+
};
|
|
2760
|
+
readonly custom: {
|
|
2761
|
+
readonly type: "object";
|
|
2762
|
+
readonly additionalProperties: {
|
|
2763
|
+
readonly $ref: "#/components/schemas/JsonValue";
|
|
2764
|
+
};
|
|
2765
|
+
};
|
|
2766
|
+
};
|
|
2767
|
+
};
|
|
2768
|
+
readonly ContactSummary: {
|
|
2769
|
+
readonly type: "object";
|
|
2770
|
+
readonly required: readonly ["id", "name", "url"];
|
|
2771
|
+
readonly properties: {
|
|
2772
|
+
readonly id: {
|
|
2773
|
+
readonly type: "integer";
|
|
2774
|
+
};
|
|
2775
|
+
readonly name: {
|
|
2776
|
+
readonly type: "string";
|
|
2777
|
+
};
|
|
2778
|
+
readonly url: {
|
|
2779
|
+
readonly type: readonly ["string", "null"];
|
|
2780
|
+
readonly format: "uri";
|
|
2781
|
+
};
|
|
2782
|
+
};
|
|
2783
|
+
};
|
|
2784
|
+
readonly Contact: {
|
|
2785
|
+
readonly type: "object";
|
|
2786
|
+
readonly required: readonly ["id", "name", "url"];
|
|
2787
|
+
readonly properties: {
|
|
2788
|
+
readonly id: {
|
|
2789
|
+
readonly type: "integer";
|
|
2790
|
+
};
|
|
2791
|
+
readonly name: {
|
|
2792
|
+
readonly type: "string";
|
|
2793
|
+
};
|
|
2794
|
+
readonly url: {
|
|
2795
|
+
readonly type: readonly ["string", "null"];
|
|
2796
|
+
readonly format: "uri";
|
|
2797
|
+
};
|
|
2798
|
+
};
|
|
2799
|
+
};
|
|
2800
|
+
readonly ContactResponse: {
|
|
2801
|
+
readonly type: "object";
|
|
2802
|
+
readonly required: readonly ["data"];
|
|
2803
|
+
readonly properties: {
|
|
2804
|
+
readonly data: {
|
|
2805
|
+
readonly $ref: "#/components/schemas/Contact";
|
|
2806
|
+
};
|
|
2807
|
+
};
|
|
2808
|
+
};
|
|
2809
|
+
readonly ContactListResponse: {
|
|
2810
|
+
readonly type: "object";
|
|
2811
|
+
readonly required: readonly ["data"];
|
|
2812
|
+
readonly properties: {
|
|
2813
|
+
readonly data: {
|
|
2814
|
+
readonly type: "array";
|
|
2815
|
+
readonly items: {
|
|
2816
|
+
readonly $ref: "#/components/schemas/Contact";
|
|
2817
|
+
};
|
|
2818
|
+
};
|
|
2819
|
+
};
|
|
2820
|
+
};
|
|
2821
|
+
readonly CreateContactRequest: {
|
|
2822
|
+
readonly type: "object";
|
|
2823
|
+
readonly required: readonly ["name"];
|
|
2824
|
+
readonly additionalProperties: false;
|
|
2825
|
+
readonly properties: {
|
|
2826
|
+
readonly name: {
|
|
2827
|
+
readonly type: "string";
|
|
2828
|
+
readonly minLength: 1;
|
|
2829
|
+
};
|
|
2830
|
+
readonly url: {
|
|
2831
|
+
readonly type: readonly ["string", "null"];
|
|
2832
|
+
readonly format: "uri";
|
|
2833
|
+
};
|
|
2834
|
+
};
|
|
2835
|
+
};
|
|
2836
|
+
readonly UpdateContactRequest: {
|
|
2837
|
+
readonly type: "object";
|
|
2838
|
+
readonly minProperties: 1;
|
|
2839
|
+
readonly additionalProperties: false;
|
|
2840
|
+
readonly properties: {
|
|
2841
|
+
readonly name: {
|
|
2842
|
+
readonly type: "string";
|
|
2843
|
+
readonly minLength: 1;
|
|
2844
|
+
};
|
|
2845
|
+
readonly url: {
|
|
2846
|
+
readonly type: readonly ["string", "null"];
|
|
2847
|
+
readonly format: "uri";
|
|
2848
|
+
};
|
|
2849
|
+
};
|
|
2850
|
+
};
|
|
2851
|
+
readonly AccountSummary: {
|
|
2852
|
+
readonly type: "object";
|
|
2853
|
+
readonly required: readonly ["id", "ownerType", "ownerId", "label", "url", "kind", "protocol", "isDefault", "sortOrder"];
|
|
2854
|
+
readonly properties: {
|
|
2855
|
+
readonly id: {
|
|
2856
|
+
readonly type: "integer";
|
|
2857
|
+
};
|
|
2858
|
+
readonly ownerType: {
|
|
2859
|
+
readonly type: "string";
|
|
2860
|
+
readonly enum: readonly ["contact", "source", "site"];
|
|
2861
|
+
};
|
|
2862
|
+
readonly ownerId: {
|
|
2863
|
+
readonly type: readonly ["integer", "null"];
|
|
2864
|
+
};
|
|
2865
|
+
readonly label: {
|
|
2866
|
+
readonly type: "string";
|
|
2867
|
+
};
|
|
2868
|
+
readonly url: {
|
|
2869
|
+
readonly type: "string";
|
|
2870
|
+
readonly format: "uri";
|
|
2871
|
+
};
|
|
2872
|
+
readonly kind: {
|
|
2873
|
+
readonly type: readonly ["string", "null"];
|
|
2874
|
+
};
|
|
2875
|
+
readonly protocol: {
|
|
2876
|
+
readonly type: readonly ["string", "null"];
|
|
2877
|
+
};
|
|
2878
|
+
readonly isDefault: {
|
|
2879
|
+
readonly type: "boolean";
|
|
2880
|
+
};
|
|
2881
|
+
readonly sortOrder: {
|
|
2882
|
+
readonly type: "integer";
|
|
2883
|
+
};
|
|
2884
|
+
};
|
|
2885
|
+
};
|
|
2886
|
+
readonly Account: {
|
|
2887
|
+
readonly type: "object";
|
|
2888
|
+
readonly required: readonly ["id", "ownerType", "ownerId", "label", "url", "avatarUrl", "kind", "protocol", "isDefault", "sortOrder"];
|
|
2889
|
+
readonly properties: {
|
|
2890
|
+
readonly id: {
|
|
2891
|
+
readonly type: "integer";
|
|
2892
|
+
};
|
|
2893
|
+
readonly ownerType: {
|
|
2894
|
+
readonly type: "string";
|
|
2895
|
+
readonly enum: readonly ["contact", "source", "site"];
|
|
2896
|
+
};
|
|
2897
|
+
readonly ownerId: {
|
|
2898
|
+
readonly type: readonly ["integer", "null"];
|
|
2899
|
+
};
|
|
2900
|
+
readonly label: {
|
|
2901
|
+
readonly type: "string";
|
|
2902
|
+
};
|
|
2903
|
+
readonly url: {
|
|
2904
|
+
readonly type: "string";
|
|
2905
|
+
readonly format: "uri";
|
|
2906
|
+
};
|
|
2907
|
+
readonly avatarUrl: {
|
|
2908
|
+
readonly type: readonly ["string", "null"];
|
|
2909
|
+
readonly format: "uri";
|
|
2910
|
+
};
|
|
2911
|
+
readonly kind: {
|
|
2912
|
+
readonly type: readonly ["string", "null"];
|
|
2913
|
+
};
|
|
2914
|
+
readonly protocol: {
|
|
2915
|
+
readonly type: readonly ["string", "null"];
|
|
2916
|
+
};
|
|
2917
|
+
readonly isDefault: {
|
|
2918
|
+
readonly type: "boolean";
|
|
2919
|
+
};
|
|
2920
|
+
readonly sortOrder: {
|
|
2921
|
+
readonly type: "integer";
|
|
2922
|
+
};
|
|
2923
|
+
};
|
|
2924
|
+
};
|
|
2925
|
+
readonly AccountResponse: {
|
|
2926
|
+
readonly type: "object";
|
|
2927
|
+
readonly required: readonly ["data"];
|
|
2928
|
+
readonly properties: {
|
|
2929
|
+
readonly data: {
|
|
2930
|
+
readonly $ref: "#/components/schemas/Account";
|
|
2931
|
+
};
|
|
2932
|
+
};
|
|
2933
|
+
};
|
|
2934
|
+
readonly AccountListResponse: {
|
|
2935
|
+
readonly type: "object";
|
|
2936
|
+
readonly required: readonly ["data"];
|
|
2937
|
+
readonly properties: {
|
|
2938
|
+
readonly data: {
|
|
2939
|
+
readonly type: "array";
|
|
2940
|
+
readonly items: {
|
|
2941
|
+
readonly $ref: "#/components/schemas/Account";
|
|
2942
|
+
};
|
|
2943
|
+
};
|
|
2944
|
+
};
|
|
2945
|
+
};
|
|
2946
|
+
readonly CreateAccountRequest: {
|
|
2947
|
+
readonly type: "object";
|
|
2948
|
+
readonly required: readonly ["ownerType", "label", "url"];
|
|
2949
|
+
readonly additionalProperties: false;
|
|
2950
|
+
readonly properties: {
|
|
2951
|
+
readonly ownerType: {
|
|
2952
|
+
readonly type: "string";
|
|
2953
|
+
readonly enum: readonly ["contact", "source", "site"];
|
|
2954
|
+
};
|
|
2955
|
+
readonly ownerId: {
|
|
2956
|
+
readonly type: "integer";
|
|
2957
|
+
readonly minimum: 1;
|
|
2958
|
+
};
|
|
2959
|
+
readonly label: {
|
|
2960
|
+
readonly type: "string";
|
|
2961
|
+
readonly minLength: 1;
|
|
2962
|
+
};
|
|
2963
|
+
readonly url: {
|
|
2964
|
+
readonly type: "string";
|
|
2965
|
+
readonly format: "uri";
|
|
2966
|
+
};
|
|
2967
|
+
readonly avatarUrl: {
|
|
2968
|
+
readonly type: readonly ["string", "null"];
|
|
2969
|
+
readonly format: "uri";
|
|
2970
|
+
};
|
|
2971
|
+
readonly kind: {
|
|
2972
|
+
readonly type: readonly ["string", "null"];
|
|
2973
|
+
};
|
|
2974
|
+
readonly protocol: {
|
|
2975
|
+
readonly type: readonly ["string", "null"];
|
|
2976
|
+
};
|
|
2977
|
+
readonly isDefault: {
|
|
2978
|
+
readonly type: "boolean";
|
|
2979
|
+
};
|
|
2980
|
+
readonly sortOrder: {
|
|
2981
|
+
readonly type: "integer";
|
|
2982
|
+
};
|
|
2983
|
+
};
|
|
2984
|
+
};
|
|
2985
|
+
readonly UpdateAccountRequest: {
|
|
2986
|
+
readonly type: "object";
|
|
2987
|
+
readonly minProperties: 1;
|
|
2988
|
+
readonly additionalProperties: false;
|
|
2989
|
+
readonly properties: {
|
|
2990
|
+
readonly label: {
|
|
2991
|
+
readonly type: "string";
|
|
2992
|
+
readonly minLength: 1;
|
|
2993
|
+
};
|
|
2994
|
+
readonly url: {
|
|
2995
|
+
readonly type: "string";
|
|
2996
|
+
readonly format: "uri";
|
|
2997
|
+
};
|
|
2998
|
+
readonly avatarUrl: {
|
|
2999
|
+
readonly type: readonly ["string", "null"];
|
|
3000
|
+
readonly format: "uri";
|
|
3001
|
+
};
|
|
3002
|
+
readonly kind: {
|
|
3003
|
+
readonly type: readonly ["string", "null"];
|
|
3004
|
+
};
|
|
3005
|
+
readonly protocol: {
|
|
3006
|
+
readonly type: readonly ["string", "null"];
|
|
3007
|
+
};
|
|
3008
|
+
readonly isDefault: {
|
|
3009
|
+
readonly type: "boolean";
|
|
3010
|
+
};
|
|
3011
|
+
readonly sortOrder: {
|
|
3012
|
+
readonly type: "integer";
|
|
3013
|
+
};
|
|
3014
|
+
};
|
|
3015
|
+
};
|
|
3016
|
+
readonly Source: {
|
|
3017
|
+
readonly type: "object";
|
|
3018
|
+
readonly required: readonly ["id", "name", "url", "description", "imageUrl", "faviconUrl", "contacts", "accounts"];
|
|
3019
|
+
readonly properties: {
|
|
3020
|
+
readonly id: {
|
|
3021
|
+
readonly type: "integer";
|
|
3022
|
+
};
|
|
3023
|
+
readonly name: {
|
|
3024
|
+
readonly type: "string";
|
|
3025
|
+
};
|
|
3026
|
+
readonly url: {
|
|
3027
|
+
readonly type: readonly ["string", "null"];
|
|
3028
|
+
readonly format: "uri";
|
|
3029
|
+
};
|
|
3030
|
+
readonly description: {
|
|
3031
|
+
readonly type: readonly ["string", "null"];
|
|
3032
|
+
};
|
|
3033
|
+
readonly imageUrl: {
|
|
3034
|
+
readonly type: readonly ["string", "null"];
|
|
3035
|
+
readonly format: "uri";
|
|
3036
|
+
};
|
|
3037
|
+
readonly faviconUrl: {
|
|
3038
|
+
readonly type: readonly ["string", "null"];
|
|
3039
|
+
readonly format: "uri";
|
|
3040
|
+
};
|
|
3041
|
+
readonly contacts: {
|
|
3042
|
+
readonly type: "array";
|
|
3043
|
+
readonly items: {
|
|
3044
|
+
readonly $ref: "#/components/schemas/ContactSummary";
|
|
3045
|
+
};
|
|
3046
|
+
};
|
|
3047
|
+
readonly accounts: {
|
|
3048
|
+
readonly type: "array";
|
|
3049
|
+
readonly items: {
|
|
3050
|
+
readonly $ref: "#/components/schemas/AccountSummary";
|
|
3051
|
+
};
|
|
3052
|
+
};
|
|
3053
|
+
};
|
|
3054
|
+
};
|
|
3055
|
+
readonly SourceResponse: {
|
|
3056
|
+
readonly type: "object";
|
|
3057
|
+
readonly required: readonly ["data"];
|
|
3058
|
+
readonly properties: {
|
|
3059
|
+
readonly data: {
|
|
3060
|
+
readonly $ref: "#/components/schemas/Source";
|
|
3061
|
+
};
|
|
3062
|
+
};
|
|
3063
|
+
};
|
|
3064
|
+
readonly SourceListResponse: {
|
|
3065
|
+
readonly type: "object";
|
|
3066
|
+
readonly required: readonly ["data"];
|
|
3067
|
+
readonly properties: {
|
|
3068
|
+
readonly data: {
|
|
3069
|
+
readonly type: "array";
|
|
3070
|
+
readonly items: {
|
|
3071
|
+
readonly $ref: "#/components/schemas/Source";
|
|
3072
|
+
};
|
|
3073
|
+
};
|
|
3074
|
+
};
|
|
3075
|
+
};
|
|
3076
|
+
readonly CreateSourceRequest: {
|
|
3077
|
+
readonly type: "object";
|
|
3078
|
+
readonly required: readonly ["name"];
|
|
3079
|
+
readonly additionalProperties: false;
|
|
3080
|
+
readonly properties: {
|
|
3081
|
+
readonly name: {
|
|
3082
|
+
readonly type: "string";
|
|
3083
|
+
readonly minLength: 1;
|
|
3084
|
+
};
|
|
3085
|
+
readonly url: {
|
|
3086
|
+
readonly type: readonly ["string", "null"];
|
|
3087
|
+
readonly format: "uri";
|
|
3088
|
+
};
|
|
3089
|
+
readonly description: {
|
|
3090
|
+
readonly type: readonly ["string", "null"];
|
|
3091
|
+
};
|
|
3092
|
+
readonly imageUrl: {
|
|
3093
|
+
readonly type: readonly ["string", "null"];
|
|
3094
|
+
readonly format: "uri";
|
|
3095
|
+
};
|
|
3096
|
+
readonly faviconUrl: {
|
|
3097
|
+
readonly type: readonly ["string", "null"];
|
|
3098
|
+
readonly format: "uri";
|
|
3099
|
+
};
|
|
3100
|
+
readonly contactIds: {
|
|
3101
|
+
readonly type: "array";
|
|
3102
|
+
readonly items: {
|
|
3103
|
+
readonly type: "integer";
|
|
3104
|
+
readonly minimum: 1;
|
|
3105
|
+
};
|
|
3106
|
+
};
|
|
3107
|
+
};
|
|
3108
|
+
};
|
|
3109
|
+
readonly UpdateSourceRequest: {
|
|
3110
|
+
readonly type: "object";
|
|
3111
|
+
readonly minProperties: 1;
|
|
3112
|
+
readonly additionalProperties: false;
|
|
3113
|
+
readonly properties: {
|
|
3114
|
+
readonly name: {
|
|
3115
|
+
readonly type: "string";
|
|
3116
|
+
readonly minLength: 1;
|
|
3117
|
+
};
|
|
3118
|
+
readonly url: {
|
|
3119
|
+
readonly type: readonly ["string", "null"];
|
|
3120
|
+
readonly format: "uri";
|
|
3121
|
+
};
|
|
3122
|
+
readonly description: {
|
|
3123
|
+
readonly type: readonly ["string", "null"];
|
|
3124
|
+
};
|
|
3125
|
+
readonly imageUrl: {
|
|
3126
|
+
readonly type: readonly ["string", "null"];
|
|
3127
|
+
readonly format: "uri";
|
|
3128
|
+
};
|
|
3129
|
+
readonly faviconUrl: {
|
|
3130
|
+
readonly type: readonly ["string", "null"];
|
|
3131
|
+
readonly format: "uri";
|
|
3132
|
+
};
|
|
3133
|
+
readonly contactIds: {
|
|
3134
|
+
readonly type: "array";
|
|
3135
|
+
readonly items: {
|
|
3136
|
+
readonly type: "integer";
|
|
3137
|
+
readonly minimum: 1;
|
|
3138
|
+
};
|
|
3139
|
+
};
|
|
3140
|
+
};
|
|
3141
|
+
};
|
|
3142
|
+
readonly TagSummary: {
|
|
3143
|
+
readonly type: "object";
|
|
3144
|
+
readonly required: readonly ["id", "name", "slug"];
|
|
3145
|
+
readonly properties: {
|
|
3146
|
+
readonly id: {
|
|
3147
|
+
readonly type: "integer";
|
|
3148
|
+
};
|
|
3149
|
+
readonly name: {
|
|
3150
|
+
readonly type: "string";
|
|
3151
|
+
};
|
|
3152
|
+
readonly slug: {
|
|
3153
|
+
readonly type: "string";
|
|
3154
|
+
};
|
|
3155
|
+
};
|
|
3156
|
+
};
|
|
3157
|
+
readonly Tag: {
|
|
3158
|
+
readonly type: "object";
|
|
3159
|
+
readonly required: readonly ["id", "name", "slug", "count"];
|
|
3160
|
+
readonly properties: {
|
|
3161
|
+
readonly id: {
|
|
3162
|
+
readonly type: "integer";
|
|
3163
|
+
};
|
|
3164
|
+
readonly name: {
|
|
3165
|
+
readonly type: "string";
|
|
3166
|
+
};
|
|
3167
|
+
readonly slug: {
|
|
3168
|
+
readonly type: "string";
|
|
3169
|
+
};
|
|
3170
|
+
readonly count: {
|
|
3171
|
+
readonly type: "integer";
|
|
3172
|
+
};
|
|
3173
|
+
};
|
|
3174
|
+
};
|
|
3175
|
+
readonly TagListResponse: {
|
|
3176
|
+
readonly type: "object";
|
|
3177
|
+
readonly required: readonly ["data"];
|
|
3178
|
+
readonly properties: {
|
|
3179
|
+
readonly data: {
|
|
3180
|
+
readonly type: "array";
|
|
3181
|
+
readonly items: {
|
|
3182
|
+
readonly $ref: "#/components/schemas/Tag";
|
|
3183
|
+
};
|
|
3184
|
+
};
|
|
3185
|
+
};
|
|
3186
|
+
};
|
|
3187
|
+
readonly Follower: {
|
|
3188
|
+
readonly type: "object";
|
|
3189
|
+
readonly required: readonly ["id", "profileUrl", "displayName", "handle", "inboxUrl", "followedAt"];
|
|
3190
|
+
readonly properties: {
|
|
3191
|
+
readonly id: {
|
|
3192
|
+
readonly type: "integer";
|
|
3193
|
+
};
|
|
3194
|
+
readonly profileUrl: {
|
|
3195
|
+
readonly type: "string";
|
|
3196
|
+
readonly format: "uri";
|
|
3197
|
+
};
|
|
3198
|
+
readonly displayName: {
|
|
3199
|
+
readonly type: "string";
|
|
3200
|
+
};
|
|
3201
|
+
readonly handle: {
|
|
3202
|
+
readonly type: "string";
|
|
3203
|
+
};
|
|
3204
|
+
readonly inboxUrl: {
|
|
3205
|
+
readonly type: "string";
|
|
3206
|
+
readonly format: "uri";
|
|
3207
|
+
};
|
|
3208
|
+
readonly followedAt: {
|
|
3209
|
+
readonly type: "string";
|
|
3210
|
+
readonly format: "date-time";
|
|
3211
|
+
};
|
|
3212
|
+
};
|
|
3213
|
+
};
|
|
3214
|
+
readonly FollowerListResponse: {
|
|
3215
|
+
readonly type: "object";
|
|
3216
|
+
readonly required: readonly ["data"];
|
|
3217
|
+
readonly properties: {
|
|
3218
|
+
readonly data: {
|
|
3219
|
+
readonly type: "array";
|
|
3220
|
+
readonly items: {
|
|
3221
|
+
readonly $ref: "#/components/schemas/Follower";
|
|
3222
|
+
};
|
|
3223
|
+
};
|
|
3224
|
+
};
|
|
3225
|
+
};
|
|
3226
|
+
readonly Following: {
|
|
3227
|
+
readonly type: "object";
|
|
3228
|
+
readonly required: readonly ["id", "contactId", "profileUrl", "displayName", "handle", "inboxUrl", "avatarUrl", "status", "lastError", "followedAt", "acceptedAt", "rejectedAt", "unfollowedAt"];
|
|
3229
|
+
readonly properties: {
|
|
3230
|
+
readonly id: {
|
|
3231
|
+
readonly type: "integer";
|
|
3232
|
+
};
|
|
3233
|
+
readonly contactId: {
|
|
3234
|
+
readonly type: "integer";
|
|
3235
|
+
};
|
|
3236
|
+
readonly profileUrl: {
|
|
3237
|
+
readonly type: "string";
|
|
3238
|
+
readonly format: "uri";
|
|
3239
|
+
};
|
|
3240
|
+
readonly displayName: {
|
|
3241
|
+
readonly type: "string";
|
|
3242
|
+
};
|
|
3243
|
+
readonly handle: {
|
|
3244
|
+
readonly type: "string";
|
|
3245
|
+
};
|
|
3246
|
+
readonly inboxUrl: {
|
|
3247
|
+
readonly type: "string";
|
|
3248
|
+
readonly format: "uri";
|
|
3249
|
+
};
|
|
3250
|
+
readonly avatarUrl: {
|
|
3251
|
+
readonly type: readonly ["string", "null"];
|
|
3252
|
+
readonly format: "uri";
|
|
3253
|
+
};
|
|
3254
|
+
readonly status: {
|
|
3255
|
+
readonly type: "string";
|
|
3256
|
+
readonly enum: readonly ["pending", "accepted", "rejected", "failed", "cancelled", "unfollowed"];
|
|
3257
|
+
};
|
|
3258
|
+
readonly lastError: {
|
|
3259
|
+
readonly type: readonly ["string", "null"];
|
|
3260
|
+
};
|
|
3261
|
+
readonly followedAt: {
|
|
3262
|
+
readonly type: "string";
|
|
3263
|
+
readonly format: "date-time";
|
|
3264
|
+
};
|
|
3265
|
+
readonly acceptedAt: {
|
|
3266
|
+
readonly type: readonly ["string", "null"];
|
|
3267
|
+
readonly format: "date-time";
|
|
3268
|
+
};
|
|
3269
|
+
readonly rejectedAt: {
|
|
3270
|
+
readonly type: readonly ["string", "null"];
|
|
3271
|
+
readonly format: "date-time";
|
|
3272
|
+
};
|
|
3273
|
+
readonly unfollowedAt: {
|
|
3274
|
+
readonly type: readonly ["string", "null"];
|
|
3275
|
+
readonly format: "date-time";
|
|
3276
|
+
};
|
|
3277
|
+
};
|
|
3278
|
+
};
|
|
3279
|
+
readonly FollowingResponse: {
|
|
3280
|
+
readonly type: "object";
|
|
3281
|
+
readonly required: readonly ["data"];
|
|
3282
|
+
readonly properties: {
|
|
3283
|
+
readonly data: {
|
|
3284
|
+
readonly $ref: "#/components/schemas/Following";
|
|
3285
|
+
};
|
|
3286
|
+
};
|
|
3287
|
+
};
|
|
3288
|
+
readonly FollowingListResponse: {
|
|
3289
|
+
readonly type: "object";
|
|
3290
|
+
readonly required: readonly ["data"];
|
|
3291
|
+
readonly properties: {
|
|
3292
|
+
readonly data: {
|
|
3293
|
+
readonly type: "array";
|
|
3294
|
+
readonly items: {
|
|
3295
|
+
readonly $ref: "#/components/schemas/Following";
|
|
3296
|
+
};
|
|
3297
|
+
};
|
|
3298
|
+
};
|
|
3299
|
+
};
|
|
3300
|
+
readonly FollowTargetRequest: {
|
|
3301
|
+
readonly type: "object";
|
|
3302
|
+
readonly required: readonly ["target"];
|
|
3303
|
+
readonly additionalProperties: false;
|
|
3304
|
+
readonly properties: {
|
|
3305
|
+
readonly target: {
|
|
3306
|
+
readonly type: "string";
|
|
3307
|
+
readonly minLength: 1;
|
|
3308
|
+
};
|
|
3309
|
+
};
|
|
3310
|
+
};
|
|
3311
|
+
readonly FollowingStatus: {
|
|
3312
|
+
readonly type: "object";
|
|
3313
|
+
readonly required: readonly ["id", "status", "unfollowedAt"];
|
|
3314
|
+
readonly properties: {
|
|
3315
|
+
readonly id: {
|
|
3316
|
+
readonly type: "integer";
|
|
3317
|
+
};
|
|
3318
|
+
readonly status: {
|
|
3319
|
+
readonly type: "string";
|
|
3320
|
+
readonly enum: readonly ["cancelled", "unfollowed"];
|
|
3321
|
+
};
|
|
3322
|
+
readonly unfollowedAt: {
|
|
3323
|
+
readonly type: readonly ["string", "null"];
|
|
3324
|
+
readonly format: "date-time";
|
|
3325
|
+
};
|
|
3326
|
+
};
|
|
3327
|
+
};
|
|
3328
|
+
readonly FollowingStatusResponse: {
|
|
3329
|
+
readonly type: "object";
|
|
3330
|
+
readonly required: readonly ["data"];
|
|
3331
|
+
readonly properties: {
|
|
3332
|
+
readonly data: {
|
|
3333
|
+
readonly $ref: "#/components/schemas/FollowingStatus";
|
|
3334
|
+
};
|
|
3335
|
+
};
|
|
3336
|
+
};
|
|
3337
|
+
readonly EngagementSummary: {
|
|
3338
|
+
readonly type: "object";
|
|
3339
|
+
readonly required: readonly ["postSlug", "likes", "boosts", "comments"];
|
|
3340
|
+
readonly properties: {
|
|
3341
|
+
readonly postSlug: {
|
|
3342
|
+
readonly type: "string";
|
|
3343
|
+
};
|
|
3344
|
+
readonly likes: {
|
|
3345
|
+
readonly type: "object";
|
|
3346
|
+
readonly required: readonly ["count"];
|
|
3347
|
+
readonly properties: {
|
|
3348
|
+
readonly count: {
|
|
3349
|
+
readonly type: "integer";
|
|
3350
|
+
};
|
|
3351
|
+
};
|
|
3352
|
+
};
|
|
3353
|
+
readonly boosts: {
|
|
3354
|
+
readonly type: "object";
|
|
3355
|
+
readonly required: readonly ["count"];
|
|
3356
|
+
readonly properties: {
|
|
3357
|
+
readonly count: {
|
|
3358
|
+
readonly type: "integer";
|
|
3359
|
+
};
|
|
3360
|
+
};
|
|
3361
|
+
};
|
|
3362
|
+
readonly comments: {
|
|
3363
|
+
readonly type: "object";
|
|
3364
|
+
readonly required: readonly ["count", "pendingCount"];
|
|
3365
|
+
readonly properties: {
|
|
3366
|
+
readonly count: {
|
|
3367
|
+
readonly type: "integer";
|
|
3368
|
+
};
|
|
3369
|
+
readonly pendingCount: {
|
|
3370
|
+
readonly type: "integer";
|
|
3371
|
+
};
|
|
3372
|
+
};
|
|
3373
|
+
};
|
|
3374
|
+
};
|
|
3375
|
+
};
|
|
3376
|
+
readonly EngagementSummaryResponse: {
|
|
3377
|
+
readonly type: "object";
|
|
3378
|
+
readonly required: readonly ["data"];
|
|
3379
|
+
readonly properties: {
|
|
3380
|
+
readonly data: {
|
|
3381
|
+
readonly $ref: "#/components/schemas/EngagementSummary";
|
|
3382
|
+
};
|
|
3383
|
+
};
|
|
3384
|
+
};
|
|
3385
|
+
readonly EngagementActor: {
|
|
3386
|
+
readonly type: "object";
|
|
3387
|
+
readonly required: readonly ["profileUrl", "displayName", "handle", "activityUrl", "objectUrl", "receivedAt"];
|
|
3388
|
+
readonly properties: {
|
|
3389
|
+
readonly profileUrl: {
|
|
3390
|
+
readonly type: "string";
|
|
3391
|
+
readonly format: "uri";
|
|
3392
|
+
};
|
|
3393
|
+
readonly displayName: {
|
|
3394
|
+
readonly type: "string";
|
|
3395
|
+
};
|
|
3396
|
+
readonly handle: {
|
|
3397
|
+
readonly type: "string";
|
|
3398
|
+
};
|
|
3399
|
+
readonly activityUrl: {
|
|
3400
|
+
readonly type: "string";
|
|
3401
|
+
readonly format: "uri";
|
|
3402
|
+
};
|
|
3403
|
+
readonly objectUrl: {
|
|
3404
|
+
readonly type: "string";
|
|
3405
|
+
readonly format: "uri";
|
|
3406
|
+
};
|
|
3407
|
+
readonly receivedAt: {
|
|
3408
|
+
readonly type: "string";
|
|
3409
|
+
readonly format: "date-time";
|
|
3410
|
+
};
|
|
3411
|
+
};
|
|
3412
|
+
};
|
|
3413
|
+
readonly EngagementActorListResponse: {
|
|
3414
|
+
readonly type: "object";
|
|
3415
|
+
readonly required: readonly ["data"];
|
|
3416
|
+
readonly properties: {
|
|
3417
|
+
readonly data: {
|
|
3418
|
+
readonly type: "array";
|
|
3419
|
+
readonly items: {
|
|
3420
|
+
readonly $ref: "#/components/schemas/EngagementActor";
|
|
3421
|
+
};
|
|
3422
|
+
};
|
|
3423
|
+
};
|
|
3424
|
+
};
|
|
3425
|
+
readonly Media: {
|
|
3426
|
+
readonly type: "object";
|
|
3427
|
+
readonly required: readonly ["id", "filename", "mimeType", "key", "altText", "url", "createdAt"];
|
|
3428
|
+
readonly properties: {
|
|
3429
|
+
readonly id: {
|
|
3430
|
+
readonly type: "integer";
|
|
3431
|
+
};
|
|
3432
|
+
readonly filename: {
|
|
3433
|
+
readonly type: "string";
|
|
3434
|
+
};
|
|
3435
|
+
readonly mimeType: {
|
|
3436
|
+
readonly type: "string";
|
|
3437
|
+
};
|
|
3438
|
+
readonly key: {
|
|
3439
|
+
readonly type: "string";
|
|
3440
|
+
};
|
|
3441
|
+
readonly altText: {
|
|
3442
|
+
readonly type: readonly ["string", "null"];
|
|
3443
|
+
};
|
|
3444
|
+
readonly url: {
|
|
3445
|
+
readonly type: "string";
|
|
3446
|
+
readonly format: "uri";
|
|
3447
|
+
};
|
|
3448
|
+
readonly createdAt: {
|
|
3449
|
+
readonly type: "string";
|
|
3450
|
+
readonly format: "date-time";
|
|
3451
|
+
};
|
|
3452
|
+
};
|
|
3453
|
+
};
|
|
3454
|
+
readonly MediaResponse: {
|
|
3455
|
+
readonly type: "object";
|
|
3456
|
+
readonly required: readonly ["data"];
|
|
3457
|
+
readonly properties: {
|
|
3458
|
+
readonly data: {
|
|
3459
|
+
readonly $ref: "#/components/schemas/Media";
|
|
3460
|
+
};
|
|
3461
|
+
};
|
|
3462
|
+
};
|
|
3463
|
+
readonly UploadMediaRequest: {
|
|
3464
|
+
readonly type: "object";
|
|
3465
|
+
readonly required: readonly ["file"];
|
|
3466
|
+
readonly properties: {
|
|
3467
|
+
readonly file: {
|
|
3468
|
+
readonly type: "string";
|
|
3469
|
+
readonly format: "binary";
|
|
3470
|
+
};
|
|
3471
|
+
readonly altText: {
|
|
3472
|
+
readonly type: "string";
|
|
3473
|
+
};
|
|
3474
|
+
readonly key: {
|
|
3475
|
+
readonly type: "string";
|
|
3476
|
+
};
|
|
3477
|
+
};
|
|
3478
|
+
};
|
|
3479
|
+
readonly Post: {
|
|
3480
|
+
readonly type: "object";
|
|
3481
|
+
readonly required: readonly ["id", "slug", "type", "title", "content", "excerpt", "url", "bannerUrl", "sourceId", "source", "creditContactIds", "creditedContacts", "tags", "publishedAt", "createdAt", "updatedAt"];
|
|
3482
|
+
readonly properties: {
|
|
3483
|
+
readonly id: {
|
|
3484
|
+
readonly type: "integer";
|
|
3485
|
+
};
|
|
3486
|
+
readonly slug: {
|
|
3487
|
+
readonly type: "string";
|
|
3488
|
+
};
|
|
3489
|
+
readonly type: {
|
|
3490
|
+
readonly type: "string";
|
|
3491
|
+
readonly enum: readonly ["article", "link", "note"];
|
|
3492
|
+
};
|
|
3493
|
+
readonly title: {
|
|
3494
|
+
readonly type: readonly ["string", "null"];
|
|
3495
|
+
};
|
|
3496
|
+
readonly content: {
|
|
3497
|
+
readonly type: "string";
|
|
3498
|
+
};
|
|
3499
|
+
readonly excerpt: {
|
|
3500
|
+
readonly type: readonly ["string", "null"];
|
|
3501
|
+
};
|
|
3502
|
+
readonly url: {
|
|
3503
|
+
readonly type: readonly ["string", "null"];
|
|
3504
|
+
readonly format: "uri";
|
|
3505
|
+
};
|
|
3506
|
+
readonly bannerUrl: {
|
|
3507
|
+
readonly type: readonly ["string", "null"];
|
|
3508
|
+
readonly format: "uri";
|
|
3509
|
+
};
|
|
3510
|
+
readonly sourceId: {
|
|
3511
|
+
readonly type: readonly ["integer", "null"];
|
|
3512
|
+
};
|
|
3513
|
+
readonly source: {
|
|
3514
|
+
readonly oneOf: readonly [{
|
|
3515
|
+
readonly $ref: "#/components/schemas/Source";
|
|
3516
|
+
}, {
|
|
3517
|
+
readonly type: "null";
|
|
3518
|
+
}];
|
|
3519
|
+
};
|
|
3520
|
+
readonly creditContactIds: {
|
|
3521
|
+
readonly type: "array";
|
|
3522
|
+
readonly description: "Contact IDs credited for external, source, or linked-content context. These are not local post authors.";
|
|
3523
|
+
readonly items: {
|
|
3524
|
+
readonly type: "integer";
|
|
3525
|
+
};
|
|
3526
|
+
};
|
|
3527
|
+
readonly creditedContacts: {
|
|
3528
|
+
readonly type: "array";
|
|
3529
|
+
readonly description: "Contacts credited for external, source, or linked-content context. These are not local post authors.";
|
|
3530
|
+
readonly items: {
|
|
3531
|
+
readonly $ref: "#/components/schemas/ContactSummary";
|
|
3532
|
+
};
|
|
3533
|
+
};
|
|
3534
|
+
readonly tags: {
|
|
3535
|
+
readonly type: "array";
|
|
3536
|
+
readonly items: {
|
|
3537
|
+
readonly $ref: "#/components/schemas/TagSummary";
|
|
3538
|
+
};
|
|
3539
|
+
};
|
|
3540
|
+
readonly publishedAt: {
|
|
3541
|
+
readonly type: readonly ["string", "null"];
|
|
3542
|
+
readonly format: "date-time";
|
|
3543
|
+
};
|
|
3544
|
+
readonly createdAt: {
|
|
3545
|
+
readonly type: "string";
|
|
3546
|
+
readonly format: "date-time";
|
|
3547
|
+
};
|
|
3548
|
+
readonly updatedAt: {
|
|
3549
|
+
readonly type: "string";
|
|
3550
|
+
readonly format: "date-time";
|
|
3551
|
+
};
|
|
3552
|
+
};
|
|
3553
|
+
};
|
|
3554
|
+
readonly PostListItem: {
|
|
3555
|
+
readonly type: "object";
|
|
3556
|
+
readonly required: readonly ["id", "slug", "type", "title", "excerpt", "url", "bannerUrl", "sourceId", "source", "creditContactIds", "creditedContacts", "tags", "publishedAt", "createdAt", "updatedAt"];
|
|
3557
|
+
readonly properties: {
|
|
3558
|
+
readonly id: {
|
|
3559
|
+
readonly type: "integer";
|
|
3560
|
+
};
|
|
3561
|
+
readonly slug: {
|
|
3562
|
+
readonly type: "string";
|
|
3563
|
+
};
|
|
3564
|
+
readonly type: {
|
|
3565
|
+
readonly type: "string";
|
|
3566
|
+
readonly enum: readonly ["article", "link", "note"];
|
|
3567
|
+
};
|
|
3568
|
+
readonly title: {
|
|
3569
|
+
readonly type: readonly ["string", "null"];
|
|
3570
|
+
};
|
|
3571
|
+
readonly excerpt: {
|
|
3572
|
+
readonly type: readonly ["string", "null"];
|
|
3573
|
+
};
|
|
3574
|
+
readonly url: {
|
|
3575
|
+
readonly type: readonly ["string", "null"];
|
|
3576
|
+
readonly format: "uri";
|
|
3577
|
+
};
|
|
3578
|
+
readonly bannerUrl: {
|
|
3579
|
+
readonly type: readonly ["string", "null"];
|
|
3580
|
+
readonly format: "uri";
|
|
3581
|
+
};
|
|
3582
|
+
readonly sourceId: {
|
|
3583
|
+
readonly type: readonly ["integer", "null"];
|
|
3584
|
+
};
|
|
3585
|
+
readonly source: {
|
|
3586
|
+
readonly oneOf: readonly [{
|
|
3587
|
+
readonly $ref: "#/components/schemas/Source";
|
|
3588
|
+
}, {
|
|
3589
|
+
readonly type: "null";
|
|
3590
|
+
}];
|
|
3591
|
+
};
|
|
3592
|
+
readonly creditContactIds: {
|
|
3593
|
+
readonly type: "array";
|
|
3594
|
+
readonly description: "Contact IDs credited for external, source, or linked-content context. These are not local post authors.";
|
|
3595
|
+
readonly items: {
|
|
3596
|
+
readonly type: "integer";
|
|
3597
|
+
};
|
|
3598
|
+
};
|
|
3599
|
+
readonly creditedContacts: {
|
|
3600
|
+
readonly type: "array";
|
|
3601
|
+
readonly description: "Contacts credited for external, source, or linked-content context. These are not local post authors.";
|
|
3602
|
+
readonly items: {
|
|
3603
|
+
readonly $ref: "#/components/schemas/ContactSummary";
|
|
3604
|
+
};
|
|
3605
|
+
};
|
|
3606
|
+
readonly tags: {
|
|
3607
|
+
readonly type: "array";
|
|
3608
|
+
readonly items: {
|
|
3609
|
+
readonly $ref: "#/components/schemas/TagSummary";
|
|
3610
|
+
};
|
|
3611
|
+
};
|
|
3612
|
+
readonly publishedAt: {
|
|
3613
|
+
readonly type: readonly ["string", "null"];
|
|
3614
|
+
readonly format: "date-time";
|
|
3615
|
+
};
|
|
3616
|
+
readonly createdAt: {
|
|
3617
|
+
readonly type: "string";
|
|
3618
|
+
readonly format: "date-time";
|
|
3619
|
+
};
|
|
3620
|
+
readonly updatedAt: {
|
|
3621
|
+
readonly type: "string";
|
|
3622
|
+
readonly format: "date-time";
|
|
3623
|
+
};
|
|
3624
|
+
};
|
|
3625
|
+
};
|
|
3626
|
+
readonly PostResponse: {
|
|
3627
|
+
readonly type: "object";
|
|
3628
|
+
readonly required: readonly ["data"];
|
|
3629
|
+
readonly properties: {
|
|
3630
|
+
readonly data: {
|
|
3631
|
+
readonly $ref: "#/components/schemas/Post";
|
|
3632
|
+
};
|
|
3633
|
+
};
|
|
3634
|
+
};
|
|
3635
|
+
readonly PostListResponse: {
|
|
3636
|
+
readonly type: "object";
|
|
3637
|
+
readonly required: readonly ["data", "meta"];
|
|
3638
|
+
readonly properties: {
|
|
3639
|
+
readonly data: {
|
|
3640
|
+
readonly type: "array";
|
|
3641
|
+
readonly items: {
|
|
3642
|
+
readonly $ref: "#/components/schemas/PostListItem";
|
|
3643
|
+
};
|
|
3644
|
+
};
|
|
3645
|
+
readonly meta: {
|
|
3646
|
+
readonly type: "object";
|
|
3647
|
+
readonly required: readonly ["limit", "offset"];
|
|
3648
|
+
readonly properties: {
|
|
3649
|
+
readonly limit: {
|
|
3650
|
+
readonly type: "integer";
|
|
3651
|
+
};
|
|
3652
|
+
readonly offset: {
|
|
3653
|
+
readonly type: "integer";
|
|
3654
|
+
};
|
|
3655
|
+
};
|
|
3656
|
+
};
|
|
3657
|
+
};
|
|
3658
|
+
};
|
|
3659
|
+
readonly Comment: {
|
|
3660
|
+
readonly type: "object";
|
|
3661
|
+
readonly required: readonly ["id", "postSlug", "activityUrl", "objectUrl", "authorProfileUrl", "authorName", "authorHandle", "contentHtml", "contentText", "inReplyToUrl", "moderationStatus", "publishedAt", "receivedAt", "moderatedAt"];
|
|
3662
|
+
readonly properties: {
|
|
3663
|
+
readonly id: {
|
|
3664
|
+
readonly type: "integer";
|
|
3665
|
+
};
|
|
3666
|
+
readonly postSlug: {
|
|
3667
|
+
readonly type: "string";
|
|
3668
|
+
};
|
|
3669
|
+
readonly activityUrl: {
|
|
3670
|
+
readonly type: "string";
|
|
3671
|
+
readonly format: "uri";
|
|
3672
|
+
};
|
|
3673
|
+
readonly objectUrl: {
|
|
3674
|
+
readonly type: "string";
|
|
3675
|
+
readonly format: "uri";
|
|
3676
|
+
};
|
|
3677
|
+
readonly authorProfileUrl: {
|
|
3678
|
+
readonly type: "string";
|
|
3679
|
+
readonly format: "uri";
|
|
3680
|
+
};
|
|
3681
|
+
readonly authorName: {
|
|
3682
|
+
readonly type: "string";
|
|
3683
|
+
};
|
|
3684
|
+
readonly authorHandle: {
|
|
3685
|
+
readonly type: "string";
|
|
3686
|
+
};
|
|
3687
|
+
readonly contentHtml: {
|
|
3688
|
+
readonly type: "string";
|
|
3689
|
+
};
|
|
3690
|
+
readonly contentText: {
|
|
3691
|
+
readonly type: "string";
|
|
3692
|
+
};
|
|
3693
|
+
readonly inReplyToUrl: {
|
|
3694
|
+
readonly type: "string";
|
|
3695
|
+
readonly format: "uri";
|
|
3696
|
+
};
|
|
3697
|
+
readonly moderationStatus: {
|
|
3698
|
+
readonly type: "string";
|
|
3699
|
+
readonly enum: readonly ["pending", "approved", "hidden"];
|
|
3700
|
+
};
|
|
3701
|
+
readonly publishedAt: {
|
|
3702
|
+
readonly type: "string";
|
|
3703
|
+
readonly format: "date-time";
|
|
3704
|
+
};
|
|
3705
|
+
readonly receivedAt: {
|
|
3706
|
+
readonly type: "string";
|
|
3707
|
+
readonly format: "date-time";
|
|
3708
|
+
};
|
|
3709
|
+
readonly moderatedAt: {
|
|
3710
|
+
readonly type: readonly ["string", "null"];
|
|
3711
|
+
readonly format: "date-time";
|
|
3712
|
+
};
|
|
3713
|
+
};
|
|
3714
|
+
};
|
|
3715
|
+
readonly CommentListItem: {
|
|
3716
|
+
readonly type: "object";
|
|
3717
|
+
readonly required: readonly ["id", "postSlug", "authorProfileUrl", "authorName", "authorHandle", "contentText", "moderationStatus", "receivedAt"];
|
|
3718
|
+
readonly properties: {
|
|
3719
|
+
readonly id: {
|
|
3720
|
+
readonly type: "integer";
|
|
3721
|
+
};
|
|
3722
|
+
readonly postSlug: {
|
|
3723
|
+
readonly type: "string";
|
|
3724
|
+
};
|
|
3725
|
+
readonly authorProfileUrl: {
|
|
3726
|
+
readonly type: "string";
|
|
3727
|
+
readonly format: "uri";
|
|
3728
|
+
};
|
|
3729
|
+
readonly authorName: {
|
|
3730
|
+
readonly type: "string";
|
|
3731
|
+
};
|
|
3732
|
+
readonly authorHandle: {
|
|
3733
|
+
readonly type: "string";
|
|
3734
|
+
};
|
|
3735
|
+
readonly contentText: {
|
|
3736
|
+
readonly type: "string";
|
|
3737
|
+
};
|
|
3738
|
+
readonly moderationStatus: {
|
|
3739
|
+
readonly type: "string";
|
|
3740
|
+
readonly enum: readonly ["pending", "approved", "hidden"];
|
|
3741
|
+
};
|
|
3742
|
+
readonly receivedAt: {
|
|
3743
|
+
readonly type: "string";
|
|
3744
|
+
readonly format: "date-time";
|
|
3745
|
+
};
|
|
3746
|
+
};
|
|
3747
|
+
};
|
|
3748
|
+
readonly CommentListResponse: {
|
|
3749
|
+
readonly type: "object";
|
|
3750
|
+
readonly required: readonly ["data"];
|
|
3751
|
+
readonly properties: {
|
|
3752
|
+
readonly data: {
|
|
3753
|
+
readonly type: "array";
|
|
3754
|
+
readonly items: {
|
|
3755
|
+
readonly $ref: "#/components/schemas/CommentListItem";
|
|
3756
|
+
};
|
|
3757
|
+
};
|
|
3758
|
+
};
|
|
3759
|
+
};
|
|
3760
|
+
readonly CommentResponse: {
|
|
3761
|
+
readonly type: "object";
|
|
3762
|
+
readonly required: readonly ["data"];
|
|
3763
|
+
readonly properties: {
|
|
3764
|
+
readonly data: {
|
|
3765
|
+
readonly $ref: "#/components/schemas/Comment";
|
|
3766
|
+
};
|
|
3767
|
+
};
|
|
3768
|
+
};
|
|
3769
|
+
readonly CreatePostCommentRequest: {
|
|
3770
|
+
readonly type: "object";
|
|
3771
|
+
readonly required: readonly ["content"];
|
|
3772
|
+
readonly additionalProperties: false;
|
|
3773
|
+
readonly properties: {
|
|
3774
|
+
readonly content: {
|
|
3775
|
+
readonly type: "string";
|
|
3776
|
+
readonly minLength: 1;
|
|
3777
|
+
};
|
|
3778
|
+
};
|
|
3779
|
+
};
|
|
3780
|
+
readonly CommentModeration: {
|
|
3781
|
+
readonly type: "object";
|
|
3782
|
+
readonly required: readonly ["id", "moderationStatus", "moderatedAt"];
|
|
3783
|
+
readonly properties: {
|
|
3784
|
+
readonly id: {
|
|
3785
|
+
readonly type: "integer";
|
|
3786
|
+
};
|
|
3787
|
+
readonly moderationStatus: {
|
|
3788
|
+
readonly type: "string";
|
|
3789
|
+
readonly enum: readonly ["approved", "hidden"];
|
|
3790
|
+
};
|
|
3791
|
+
readonly moderatedAt: {
|
|
3792
|
+
readonly type: "string";
|
|
3793
|
+
readonly format: "date-time";
|
|
3794
|
+
};
|
|
3795
|
+
};
|
|
3796
|
+
};
|
|
3797
|
+
readonly CommentModerationResponse: {
|
|
3798
|
+
readonly type: "object";
|
|
3799
|
+
readonly required: readonly ["data"];
|
|
3800
|
+
readonly properties: {
|
|
3801
|
+
readonly data: {
|
|
3802
|
+
readonly $ref: "#/components/schemas/CommentModeration";
|
|
3803
|
+
};
|
|
3804
|
+
};
|
|
3805
|
+
};
|
|
3806
|
+
readonly CreatePostRequest: {
|
|
3807
|
+
readonly type: "object";
|
|
3808
|
+
readonly required: readonly ["type", "slug", "content"];
|
|
3809
|
+
readonly properties: {
|
|
3810
|
+
readonly type: {
|
|
3811
|
+
readonly type: "string";
|
|
3812
|
+
readonly enum: readonly ["article", "link", "note"];
|
|
3813
|
+
};
|
|
3814
|
+
readonly slug: {
|
|
3815
|
+
readonly type: "string";
|
|
3816
|
+
};
|
|
3817
|
+
readonly title: {
|
|
3818
|
+
readonly type: readonly ["string", "null"];
|
|
3819
|
+
};
|
|
3820
|
+
readonly content: {
|
|
3821
|
+
readonly type: "string";
|
|
3822
|
+
};
|
|
3823
|
+
readonly excerpt: {
|
|
3824
|
+
readonly type: readonly ["string", "null"];
|
|
3825
|
+
};
|
|
3826
|
+
readonly url: {
|
|
3827
|
+
readonly type: readonly ["string", "null"];
|
|
3828
|
+
readonly format: "uri";
|
|
3829
|
+
};
|
|
3830
|
+
readonly bannerUrl: {
|
|
3831
|
+
readonly type: readonly ["string", "null"];
|
|
3832
|
+
readonly format: "uri";
|
|
3833
|
+
};
|
|
3834
|
+
readonly sourceId: {
|
|
3835
|
+
readonly type: readonly ["integer", "null"];
|
|
3836
|
+
};
|
|
3837
|
+
readonly creditContactIds: {
|
|
3838
|
+
readonly type: "array";
|
|
3839
|
+
readonly description: "Contact IDs credited for external, source, or linked-content context. These are not local post authors.";
|
|
3840
|
+
readonly items: {
|
|
3841
|
+
readonly type: "integer";
|
|
3842
|
+
};
|
|
3843
|
+
};
|
|
3844
|
+
readonly tagSlugs: {
|
|
3845
|
+
readonly type: "array";
|
|
3846
|
+
readonly items: {
|
|
3847
|
+
readonly type: "string";
|
|
3848
|
+
};
|
|
3849
|
+
};
|
|
3850
|
+
readonly publishedAt: {
|
|
3851
|
+
readonly type: readonly ["string", "null"];
|
|
3852
|
+
readonly format: "date-time";
|
|
3853
|
+
readonly description: "Optional original publish timestamp for migration/import workflows. When supplied on create, the post is created as already published without ActivityPub follower delivery.";
|
|
3854
|
+
};
|
|
3855
|
+
};
|
|
3856
|
+
};
|
|
3857
|
+
readonly UpdatePostRequest: {
|
|
3858
|
+
readonly type: "object";
|
|
3859
|
+
readonly minProperties: 1;
|
|
3860
|
+
readonly properties: {
|
|
3861
|
+
readonly slug: {
|
|
3862
|
+
readonly type: "string";
|
|
3863
|
+
};
|
|
3864
|
+
readonly title: {
|
|
3865
|
+
readonly type: readonly ["string", "null"];
|
|
3866
|
+
};
|
|
3867
|
+
readonly content: {
|
|
3868
|
+
readonly type: "string";
|
|
3869
|
+
};
|
|
3870
|
+
readonly excerpt: {
|
|
3871
|
+
readonly type: readonly ["string", "null"];
|
|
3872
|
+
};
|
|
3873
|
+
readonly url: {
|
|
3874
|
+
readonly type: readonly ["string", "null"];
|
|
3875
|
+
readonly format: "uri";
|
|
3876
|
+
};
|
|
3877
|
+
readonly bannerUrl: {
|
|
3878
|
+
readonly type: readonly ["string", "null"];
|
|
3879
|
+
readonly format: "uri";
|
|
3880
|
+
};
|
|
3881
|
+
readonly sourceId: {
|
|
3882
|
+
readonly type: readonly ["integer", "null"];
|
|
3883
|
+
};
|
|
3884
|
+
readonly creditContactIds: {
|
|
3885
|
+
readonly type: "array";
|
|
3886
|
+
readonly description: "Contact IDs credited for external, source, or linked-content context. These are not local post authors.";
|
|
3887
|
+
readonly items: {
|
|
3888
|
+
readonly type: "integer";
|
|
3889
|
+
};
|
|
3890
|
+
};
|
|
3891
|
+
readonly tagSlugs: {
|
|
3892
|
+
readonly type: "array";
|
|
3893
|
+
readonly items: {
|
|
3894
|
+
readonly type: "string";
|
|
3895
|
+
};
|
|
3896
|
+
};
|
|
3897
|
+
readonly publishedAt: {
|
|
3898
|
+
readonly type: readonly ["string", "null"];
|
|
3899
|
+
readonly format: "date-time";
|
|
3900
|
+
readonly description: "Optional explicit publish timestamp for migration/import corrections.";
|
|
3901
|
+
};
|
|
3902
|
+
};
|
|
3903
|
+
};
|
|
3904
|
+
readonly PublishPostRequest: {
|
|
3905
|
+
readonly type: "object";
|
|
3906
|
+
readonly properties: {
|
|
3907
|
+
readonly publishedAt: {
|
|
3908
|
+
readonly type: readonly ["string", "null"];
|
|
3909
|
+
readonly format: "date-time";
|
|
3910
|
+
readonly description: "Optional explicit publish timestamp. When omitted, publishing uses the current server time and normal follower delivery behavior.";
|
|
3911
|
+
};
|
|
3912
|
+
};
|
|
3913
|
+
};
|
|
3914
|
+
readonly SuccessResponse: {
|
|
3915
|
+
readonly type: "object";
|
|
3916
|
+
readonly required: readonly ["data"];
|
|
3917
|
+
readonly properties: {
|
|
3918
|
+
readonly data: true;
|
|
3919
|
+
};
|
|
3920
|
+
};
|
|
3921
|
+
readonly FieldError: {
|
|
3922
|
+
readonly type: "object";
|
|
3923
|
+
readonly required: readonly ["field", "message"];
|
|
3924
|
+
readonly properties: {
|
|
3925
|
+
readonly field: {
|
|
3926
|
+
readonly type: "string";
|
|
3927
|
+
};
|
|
3928
|
+
readonly message: {
|
|
3929
|
+
readonly type: "string";
|
|
3930
|
+
};
|
|
3931
|
+
};
|
|
3932
|
+
};
|
|
3933
|
+
readonly ErrorResponse: {
|
|
3934
|
+
readonly type: "object";
|
|
3935
|
+
readonly required: readonly ["error"];
|
|
3936
|
+
readonly properties: {
|
|
3937
|
+
readonly error: {
|
|
3938
|
+
readonly type: "object";
|
|
3939
|
+
readonly required: readonly ["code", "message", "operation"];
|
|
3940
|
+
readonly properties: {
|
|
3941
|
+
readonly code: {
|
|
3942
|
+
readonly type: "string";
|
|
3943
|
+
readonly enum: readonly ["AUTHENTICATION_ERROR", "CONFLICT", "NOT_FOUND", "NOT_IMPLEMENTED", "PAYLOAD_TOO_LARGE", "STORAGE_ERROR", "UNSUPPORTED_MEDIA_TYPE", "VALIDATION_ERROR"];
|
|
3944
|
+
};
|
|
3945
|
+
readonly message: {
|
|
3946
|
+
readonly type: "string";
|
|
3947
|
+
};
|
|
3948
|
+
readonly operation: {
|
|
3949
|
+
readonly type: "string";
|
|
3950
|
+
};
|
|
3951
|
+
readonly fields: {
|
|
3952
|
+
readonly type: "array";
|
|
3953
|
+
readonly items: {
|
|
3954
|
+
readonly type: "object";
|
|
3955
|
+
readonly required: readonly ["field", "message"];
|
|
3956
|
+
readonly properties: {
|
|
3957
|
+
readonly field: {
|
|
3958
|
+
readonly type: "string";
|
|
3959
|
+
};
|
|
3960
|
+
readonly message: {
|
|
3961
|
+
readonly type: "string";
|
|
3962
|
+
};
|
|
3963
|
+
};
|
|
3964
|
+
};
|
|
3965
|
+
};
|
|
3966
|
+
};
|
|
3967
|
+
};
|
|
3968
|
+
};
|
|
3969
|
+
};
|
|
3970
|
+
readonly ValidationErrorResponse: {
|
|
3971
|
+
readonly type: "object";
|
|
3972
|
+
readonly required: readonly ["error"];
|
|
3973
|
+
readonly properties: {
|
|
3974
|
+
readonly error: {
|
|
3975
|
+
readonly type: "object";
|
|
3976
|
+
readonly required: readonly ["code", "message", "operation"];
|
|
3977
|
+
readonly properties: {
|
|
3978
|
+
readonly code: {
|
|
3979
|
+
readonly type: "string";
|
|
3980
|
+
readonly enum: readonly ["AUTHENTICATION_ERROR", "CONFLICT", "NOT_FOUND", "NOT_IMPLEMENTED", "PAYLOAD_TOO_LARGE", "STORAGE_ERROR", "UNSUPPORTED_MEDIA_TYPE", "VALIDATION_ERROR"];
|
|
3981
|
+
};
|
|
3982
|
+
readonly message: {
|
|
3983
|
+
readonly type: "string";
|
|
3984
|
+
};
|
|
3985
|
+
readonly operation: {
|
|
3986
|
+
readonly type: "string";
|
|
3987
|
+
};
|
|
3988
|
+
readonly fields: {
|
|
3989
|
+
readonly type: "array";
|
|
3990
|
+
readonly items: {
|
|
3991
|
+
readonly type: "object";
|
|
3992
|
+
readonly required: readonly ["field", "message"];
|
|
3993
|
+
readonly properties: {
|
|
3994
|
+
readonly field: {
|
|
3995
|
+
readonly type: "string";
|
|
3996
|
+
};
|
|
3997
|
+
readonly message: {
|
|
3998
|
+
readonly type: "string";
|
|
3999
|
+
};
|
|
4000
|
+
};
|
|
4001
|
+
};
|
|
4002
|
+
};
|
|
4003
|
+
};
|
|
4004
|
+
};
|
|
4005
|
+
};
|
|
4006
|
+
};
|
|
4007
|
+
readonly NotFoundResponse: {
|
|
4008
|
+
readonly type: "object";
|
|
4009
|
+
readonly required: readonly ["error"];
|
|
4010
|
+
readonly properties: {
|
|
4011
|
+
readonly error: {
|
|
4012
|
+
readonly type: "object";
|
|
4013
|
+
readonly required: readonly ["code", "message", "operation"];
|
|
4014
|
+
readonly properties: {
|
|
4015
|
+
readonly code: {
|
|
4016
|
+
readonly type: "string";
|
|
4017
|
+
readonly enum: readonly ["AUTHENTICATION_ERROR", "CONFLICT", "NOT_FOUND", "NOT_IMPLEMENTED", "PAYLOAD_TOO_LARGE", "STORAGE_ERROR", "UNSUPPORTED_MEDIA_TYPE", "VALIDATION_ERROR"];
|
|
4018
|
+
};
|
|
4019
|
+
readonly message: {
|
|
4020
|
+
readonly type: "string";
|
|
4021
|
+
};
|
|
4022
|
+
readonly operation: {
|
|
4023
|
+
readonly type: "string";
|
|
4024
|
+
};
|
|
4025
|
+
readonly fields: {
|
|
4026
|
+
readonly type: "array";
|
|
4027
|
+
readonly items: {
|
|
4028
|
+
readonly type: "object";
|
|
4029
|
+
readonly required: readonly ["field", "message"];
|
|
4030
|
+
readonly properties: {
|
|
4031
|
+
readonly field: {
|
|
4032
|
+
readonly type: "string";
|
|
4033
|
+
};
|
|
4034
|
+
readonly message: {
|
|
4035
|
+
readonly type: "string";
|
|
4036
|
+
};
|
|
4037
|
+
};
|
|
4038
|
+
};
|
|
4039
|
+
};
|
|
4040
|
+
};
|
|
4041
|
+
};
|
|
4042
|
+
};
|
|
4043
|
+
};
|
|
4044
|
+
readonly ConflictResponse: {
|
|
4045
|
+
readonly type: "object";
|
|
4046
|
+
readonly required: readonly ["error"];
|
|
4047
|
+
readonly properties: {
|
|
4048
|
+
readonly error: {
|
|
4049
|
+
readonly type: "object";
|
|
4050
|
+
readonly required: readonly ["code", "message", "operation"];
|
|
4051
|
+
readonly properties: {
|
|
4052
|
+
readonly code: {
|
|
4053
|
+
readonly type: "string";
|
|
4054
|
+
readonly enum: readonly ["AUTHENTICATION_ERROR", "CONFLICT", "NOT_FOUND", "NOT_IMPLEMENTED", "PAYLOAD_TOO_LARGE", "STORAGE_ERROR", "UNSUPPORTED_MEDIA_TYPE", "VALIDATION_ERROR"];
|
|
4055
|
+
};
|
|
4056
|
+
readonly message: {
|
|
4057
|
+
readonly type: "string";
|
|
4058
|
+
};
|
|
4059
|
+
readonly operation: {
|
|
4060
|
+
readonly type: "string";
|
|
4061
|
+
};
|
|
4062
|
+
readonly fields: {
|
|
4063
|
+
readonly type: "array";
|
|
4064
|
+
readonly items: {
|
|
4065
|
+
readonly type: "object";
|
|
4066
|
+
readonly required: readonly ["field", "message"];
|
|
4067
|
+
readonly properties: {
|
|
4068
|
+
readonly field: {
|
|
4069
|
+
readonly type: "string";
|
|
4070
|
+
};
|
|
4071
|
+
readonly message: {
|
|
4072
|
+
readonly type: "string";
|
|
4073
|
+
};
|
|
4074
|
+
};
|
|
4075
|
+
};
|
|
4076
|
+
};
|
|
4077
|
+
};
|
|
4078
|
+
};
|
|
4079
|
+
};
|
|
4080
|
+
};
|
|
4081
|
+
readonly AuthenticationErrorResponse: {
|
|
4082
|
+
readonly type: "object";
|
|
4083
|
+
readonly required: readonly ["error"];
|
|
4084
|
+
readonly properties: {
|
|
4085
|
+
readonly error: {
|
|
4086
|
+
readonly type: "object";
|
|
4087
|
+
readonly required: readonly ["code", "message", "operation"];
|
|
4088
|
+
readonly properties: {
|
|
4089
|
+
readonly code: {
|
|
4090
|
+
readonly type: "string";
|
|
4091
|
+
readonly enum: readonly ["AUTHENTICATION_ERROR", "CONFLICT", "NOT_FOUND", "NOT_IMPLEMENTED", "PAYLOAD_TOO_LARGE", "STORAGE_ERROR", "UNSUPPORTED_MEDIA_TYPE", "VALIDATION_ERROR"];
|
|
4092
|
+
};
|
|
4093
|
+
readonly message: {
|
|
4094
|
+
readonly type: "string";
|
|
4095
|
+
};
|
|
4096
|
+
readonly operation: {
|
|
4097
|
+
readonly type: "string";
|
|
4098
|
+
};
|
|
4099
|
+
readonly fields: {
|
|
4100
|
+
readonly type: "array";
|
|
4101
|
+
readonly items: {
|
|
4102
|
+
readonly type: "object";
|
|
4103
|
+
readonly required: readonly ["field", "message"];
|
|
4104
|
+
readonly properties: {
|
|
4105
|
+
readonly field: {
|
|
4106
|
+
readonly type: "string";
|
|
4107
|
+
};
|
|
4108
|
+
readonly message: {
|
|
4109
|
+
readonly type: "string";
|
|
4110
|
+
};
|
|
4111
|
+
};
|
|
4112
|
+
};
|
|
4113
|
+
};
|
|
4114
|
+
};
|
|
4115
|
+
};
|
|
4116
|
+
};
|
|
4117
|
+
};
|
|
4118
|
+
readonly PayloadTooLargeResponse: {
|
|
4119
|
+
readonly type: "object";
|
|
4120
|
+
readonly required: readonly ["error"];
|
|
4121
|
+
readonly properties: {
|
|
4122
|
+
readonly error: {
|
|
4123
|
+
readonly type: "object";
|
|
4124
|
+
readonly required: readonly ["code", "message", "operation"];
|
|
4125
|
+
readonly properties: {
|
|
4126
|
+
readonly code: {
|
|
4127
|
+
readonly type: "string";
|
|
4128
|
+
readonly enum: readonly ["AUTHENTICATION_ERROR", "CONFLICT", "NOT_FOUND", "NOT_IMPLEMENTED", "PAYLOAD_TOO_LARGE", "STORAGE_ERROR", "UNSUPPORTED_MEDIA_TYPE", "VALIDATION_ERROR"];
|
|
4129
|
+
};
|
|
4130
|
+
readonly message: {
|
|
4131
|
+
readonly type: "string";
|
|
4132
|
+
};
|
|
4133
|
+
readonly operation: {
|
|
4134
|
+
readonly type: "string";
|
|
4135
|
+
};
|
|
4136
|
+
readonly fields: {
|
|
4137
|
+
readonly type: "array";
|
|
4138
|
+
readonly items: {
|
|
4139
|
+
readonly type: "object";
|
|
4140
|
+
readonly required: readonly ["field", "message"];
|
|
4141
|
+
readonly properties: {
|
|
4142
|
+
readonly field: {
|
|
4143
|
+
readonly type: "string";
|
|
4144
|
+
};
|
|
4145
|
+
readonly message: {
|
|
4146
|
+
readonly type: "string";
|
|
4147
|
+
};
|
|
4148
|
+
};
|
|
4149
|
+
};
|
|
4150
|
+
};
|
|
4151
|
+
};
|
|
4152
|
+
};
|
|
4153
|
+
};
|
|
4154
|
+
};
|
|
4155
|
+
readonly StorageErrorResponse: {
|
|
4156
|
+
readonly type: "object";
|
|
4157
|
+
readonly required: readonly ["error"];
|
|
4158
|
+
readonly properties: {
|
|
4159
|
+
readonly error: {
|
|
4160
|
+
readonly type: "object";
|
|
4161
|
+
readonly required: readonly ["code", "message", "operation"];
|
|
4162
|
+
readonly properties: {
|
|
4163
|
+
readonly code: {
|
|
4164
|
+
readonly type: "string";
|
|
4165
|
+
readonly enum: readonly ["AUTHENTICATION_ERROR", "CONFLICT", "NOT_FOUND", "NOT_IMPLEMENTED", "PAYLOAD_TOO_LARGE", "STORAGE_ERROR", "UNSUPPORTED_MEDIA_TYPE", "VALIDATION_ERROR"];
|
|
4166
|
+
};
|
|
4167
|
+
readonly message: {
|
|
4168
|
+
readonly type: "string";
|
|
4169
|
+
};
|
|
4170
|
+
readonly operation: {
|
|
4171
|
+
readonly type: "string";
|
|
4172
|
+
};
|
|
4173
|
+
readonly fields: {
|
|
4174
|
+
readonly type: "array";
|
|
4175
|
+
readonly items: {
|
|
4176
|
+
readonly type: "object";
|
|
4177
|
+
readonly required: readonly ["field", "message"];
|
|
4178
|
+
readonly properties: {
|
|
4179
|
+
readonly field: {
|
|
4180
|
+
readonly type: "string";
|
|
4181
|
+
};
|
|
4182
|
+
readonly message: {
|
|
4183
|
+
readonly type: "string";
|
|
4184
|
+
};
|
|
4185
|
+
};
|
|
4186
|
+
};
|
|
4187
|
+
};
|
|
4188
|
+
};
|
|
4189
|
+
};
|
|
4190
|
+
};
|
|
4191
|
+
};
|
|
4192
|
+
readonly UnsupportedMediaTypeResponse: {
|
|
4193
|
+
readonly type: "object";
|
|
4194
|
+
readonly required: readonly ["error"];
|
|
4195
|
+
readonly properties: {
|
|
4196
|
+
readonly error: {
|
|
4197
|
+
readonly type: "object";
|
|
4198
|
+
readonly required: readonly ["code", "message", "operation"];
|
|
4199
|
+
readonly properties: {
|
|
4200
|
+
readonly code: {
|
|
4201
|
+
readonly type: "string";
|
|
4202
|
+
readonly enum: readonly ["AUTHENTICATION_ERROR", "CONFLICT", "NOT_FOUND", "NOT_IMPLEMENTED", "PAYLOAD_TOO_LARGE", "STORAGE_ERROR", "UNSUPPORTED_MEDIA_TYPE", "VALIDATION_ERROR"];
|
|
4203
|
+
};
|
|
4204
|
+
readonly message: {
|
|
4205
|
+
readonly type: "string";
|
|
4206
|
+
};
|
|
4207
|
+
readonly operation: {
|
|
4208
|
+
readonly type: "string";
|
|
4209
|
+
};
|
|
4210
|
+
readonly fields: {
|
|
4211
|
+
readonly type: "array";
|
|
4212
|
+
readonly items: {
|
|
4213
|
+
readonly type: "object";
|
|
4214
|
+
readonly required: readonly ["field", "message"];
|
|
4215
|
+
readonly properties: {
|
|
4216
|
+
readonly field: {
|
|
4217
|
+
readonly type: "string";
|
|
4218
|
+
};
|
|
4219
|
+
readonly message: {
|
|
4220
|
+
readonly type: "string";
|
|
4221
|
+
};
|
|
4222
|
+
};
|
|
4223
|
+
};
|
|
4224
|
+
};
|
|
4225
|
+
};
|
|
4226
|
+
};
|
|
4227
|
+
};
|
|
4228
|
+
};
|
|
4229
|
+
readonly NotImplementedResponse: {
|
|
4230
|
+
readonly type: "object";
|
|
4231
|
+
readonly required: readonly ["error"];
|
|
4232
|
+
readonly properties: {
|
|
4233
|
+
readonly error: {
|
|
4234
|
+
readonly type: "object";
|
|
4235
|
+
readonly required: readonly ["code", "message", "operation"];
|
|
4236
|
+
readonly properties: {
|
|
4237
|
+
readonly code: {
|
|
4238
|
+
readonly type: "string";
|
|
4239
|
+
readonly const: "NOT_IMPLEMENTED";
|
|
4240
|
+
};
|
|
4241
|
+
readonly message: {
|
|
4242
|
+
readonly type: "string";
|
|
4243
|
+
readonly const: "This site does not implement this operation.";
|
|
4244
|
+
};
|
|
4245
|
+
readonly operation: {
|
|
4246
|
+
readonly type: "string";
|
|
4247
|
+
};
|
|
4248
|
+
};
|
|
4249
|
+
};
|
|
4250
|
+
};
|
|
4251
|
+
};
|
|
4252
|
+
};
|
|
4253
|
+
};
|
|
4254
|
+
};
|