@productcraft/social 0.4.0 → 0.5.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/dist/index.d.cts +3366 -253
- package/dist/index.d.ts +3366 -253
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -94,6 +94,43 @@ interface paths {
|
|
|
94
94
|
patch: operations["ActorController_update"];
|
|
95
95
|
trace?: never;
|
|
96
96
|
};
|
|
97
|
+
"/v1/communities/{communityId}/actors/{actorId}/archived": {
|
|
98
|
+
parameters: {
|
|
99
|
+
query?: never;
|
|
100
|
+
header?: never;
|
|
101
|
+
path?: never;
|
|
102
|
+
cookie?: never;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* List the actor's archived posts (status='archived'), newest-first. Cursor-paginated.
|
|
106
|
+
* @description Archived posts keep their engagement (reaction / comment counts intact) but fall out of every public surface, and `getById` treats them as author-only. Restore one with PATCH `{ status: 'published' }`. Same end-user authorization rules as drafts: the PAK lane trusts the customer-backend to gate the caller.
|
|
107
|
+
*/
|
|
108
|
+
get: operations["DraftController_listArchived"];
|
|
109
|
+
put?: never;
|
|
110
|
+
post?: never;
|
|
111
|
+
delete?: never;
|
|
112
|
+
options?: never;
|
|
113
|
+
head?: never;
|
|
114
|
+
patch?: never;
|
|
115
|
+
trace?: never;
|
|
116
|
+
};
|
|
117
|
+
"/v1/communities/{communityId}/actors/{actorId}/assets": {
|
|
118
|
+
parameters: {
|
|
119
|
+
query?: never;
|
|
120
|
+
header?: never;
|
|
121
|
+
path?: never;
|
|
122
|
+
cookie?: never;
|
|
123
|
+
};
|
|
124
|
+
/** List an actor's uploaded assets — the "your uploads" surface + GDPR export walk. 50/page (max 200), cursor-paginated newest-first. */
|
|
125
|
+
get: operations["AssetController_listByActor"];
|
|
126
|
+
put?: never;
|
|
127
|
+
post?: never;
|
|
128
|
+
delete?: never;
|
|
129
|
+
options?: never;
|
|
130
|
+
head?: never;
|
|
131
|
+
patch?: never;
|
|
132
|
+
trace?: never;
|
|
133
|
+
};
|
|
97
134
|
"/v1/communities/{communityId}/actors/{actorId}/blocks": {
|
|
98
135
|
parameters: {
|
|
99
136
|
query?: never;
|
|
@@ -168,6 +205,23 @@ interface paths {
|
|
|
168
205
|
patch?: never;
|
|
169
206
|
trace?: never;
|
|
170
207
|
};
|
|
208
|
+
"/v1/communities/{communityId}/actors/{actorId}/dismissed-suggestions": {
|
|
209
|
+
parameters: {
|
|
210
|
+
query?: never;
|
|
211
|
+
header?: never;
|
|
212
|
+
path?: never;
|
|
213
|
+
cookie?: never;
|
|
214
|
+
};
|
|
215
|
+
/** List actors this actor has dismissed from suggestions. Pass `?expand=dst_actor` to nest each actor's full row. */
|
|
216
|
+
get: operations["EdgeController_listDismissedSuggestions"];
|
|
217
|
+
put?: never;
|
|
218
|
+
post?: never;
|
|
219
|
+
delete?: never;
|
|
220
|
+
options?: never;
|
|
221
|
+
head?: never;
|
|
222
|
+
patch?: never;
|
|
223
|
+
trace?: never;
|
|
224
|
+
};
|
|
171
225
|
"/v1/communities/{communityId}/actors/{actorId}/drafts": {
|
|
172
226
|
parameters: {
|
|
173
227
|
query?: never;
|
|
@@ -205,6 +259,23 @@ interface paths {
|
|
|
205
259
|
patch?: never;
|
|
206
260
|
trace?: never;
|
|
207
261
|
};
|
|
262
|
+
"/v1/communities/{communityId}/actors/{actorId}/follow-requests": {
|
|
263
|
+
parameters: {
|
|
264
|
+
query?: never;
|
|
265
|
+
header?: never;
|
|
266
|
+
path?: never;
|
|
267
|
+
cookie?: never;
|
|
268
|
+
};
|
|
269
|
+
/** List incoming follow requests for a (private) actor, newest-first (task 014). */
|
|
270
|
+
get: operations["EdgeController_listIncomingRequests"];
|
|
271
|
+
put?: never;
|
|
272
|
+
post?: never;
|
|
273
|
+
delete?: never;
|
|
274
|
+
options?: never;
|
|
275
|
+
head?: never;
|
|
276
|
+
patch?: never;
|
|
277
|
+
trace?: never;
|
|
278
|
+
};
|
|
208
279
|
"/v1/communities/{communityId}/actors/{actorId}/followers": {
|
|
209
280
|
parameters: {
|
|
210
281
|
query?: never;
|
|
@@ -274,6 +345,23 @@ interface paths {
|
|
|
274
345
|
patch?: never;
|
|
275
346
|
trace?: never;
|
|
276
347
|
};
|
|
348
|
+
"/v1/communities/{communityId}/actors/{actorId}/hides": {
|
|
349
|
+
parameters: {
|
|
350
|
+
query?: never;
|
|
351
|
+
header?: never;
|
|
352
|
+
path?: never;
|
|
353
|
+
cookie?: never;
|
|
354
|
+
};
|
|
355
|
+
/** List the posts an actor has hidden, newest-first. */
|
|
356
|
+
get: operations["EdgeController_listHides"];
|
|
357
|
+
put?: never;
|
|
358
|
+
post?: never;
|
|
359
|
+
delete?: never;
|
|
360
|
+
options?: never;
|
|
361
|
+
head?: never;
|
|
362
|
+
patch?: never;
|
|
363
|
+
trace?: never;
|
|
364
|
+
};
|
|
277
365
|
"/v1/communities/{communityId}/actors/{actorId}/highlights": {
|
|
278
366
|
parameters: {
|
|
279
367
|
query?: never;
|
|
@@ -294,6 +382,23 @@ interface paths {
|
|
|
294
382
|
patch?: never;
|
|
295
383
|
trace?: never;
|
|
296
384
|
};
|
|
385
|
+
"/v1/communities/{communityId}/actors/{actorId}/insights": {
|
|
386
|
+
parameters: {
|
|
387
|
+
query?: never;
|
|
388
|
+
header?: never;
|
|
389
|
+
path?: never;
|
|
390
|
+
cookie?: never;
|
|
391
|
+
};
|
|
392
|
+
/** An actor's follower time series: live follower_count plus a nightly-snapshot daily series over ?from/?to (default trailing 30 days). */
|
|
393
|
+
get: operations["InsightsController_actorInsights"];
|
|
394
|
+
put?: never;
|
|
395
|
+
post?: never;
|
|
396
|
+
delete?: never;
|
|
397
|
+
options?: never;
|
|
398
|
+
head?: never;
|
|
399
|
+
patch?: never;
|
|
400
|
+
trace?: never;
|
|
401
|
+
};
|
|
297
402
|
"/v1/communities/{communityId}/actors/{actorId}/mentions": {
|
|
298
403
|
parameters: {
|
|
299
404
|
query?: never;
|
|
@@ -583,6 +688,26 @@ interface paths {
|
|
|
583
688
|
patch?: never;
|
|
584
689
|
trace?: never;
|
|
585
690
|
};
|
|
691
|
+
"/v1/communities/{communityId}/actors/{actorId}/tagged": {
|
|
692
|
+
parameters: {
|
|
693
|
+
query?: never;
|
|
694
|
+
header?: never;
|
|
695
|
+
path?: never;
|
|
696
|
+
cookie?: never;
|
|
697
|
+
};
|
|
698
|
+
/**
|
|
699
|
+
* List posts an actor is tagged in.
|
|
700
|
+
* @description Approved tags only, on published + unexpired posts, newest-tag-first. Visibility- and block-aware: pass the viewer via `requester_id` to surface followers / close-friends posts they may read; without it only public posts appear. Pages may be short (post-visibility filtering) but never skip or duplicate.
|
|
701
|
+
*/
|
|
702
|
+
get: operations["PostTagController_listTagged"];
|
|
703
|
+
put?: never;
|
|
704
|
+
post?: never;
|
|
705
|
+
delete?: never;
|
|
706
|
+
options?: never;
|
|
707
|
+
head?: never;
|
|
708
|
+
patch?: never;
|
|
709
|
+
trace?: never;
|
|
710
|
+
};
|
|
586
711
|
"/v1/communities/{communityId}/actors/{srcActorId}/relationships": {
|
|
587
712
|
parameters: {
|
|
588
713
|
query?: never;
|
|
@@ -603,6 +728,41 @@ interface paths {
|
|
|
603
728
|
patch?: never;
|
|
604
729
|
trace?: never;
|
|
605
730
|
};
|
|
731
|
+
"/v1/communities/{communityId}/assets": {
|
|
732
|
+
parameters: {
|
|
733
|
+
query?: never;
|
|
734
|
+
header?: never;
|
|
735
|
+
path?: never;
|
|
736
|
+
cookie?: never;
|
|
737
|
+
};
|
|
738
|
+
get?: never;
|
|
739
|
+
put?: never;
|
|
740
|
+
/** Upload an image. Processed synchronously (EXIF stripped, renditions generated) and stored in a private bucket. Returns the asset id + status. */
|
|
741
|
+
post: operations["AssetController_upload"];
|
|
742
|
+
delete?: never;
|
|
743
|
+
options?: never;
|
|
744
|
+
head?: never;
|
|
745
|
+
patch?: never;
|
|
746
|
+
trace?: never;
|
|
747
|
+
};
|
|
748
|
+
"/v1/communities/{communityId}/assets/{assetId}": {
|
|
749
|
+
parameters: {
|
|
750
|
+
query?: never;
|
|
751
|
+
header?: never;
|
|
752
|
+
path?: never;
|
|
753
|
+
cookie?: never;
|
|
754
|
+
};
|
|
755
|
+
/** Fetch one asset with freshly-minted presigned rendition URLs. */
|
|
756
|
+
get: operations["AssetController_get"];
|
|
757
|
+
put?: never;
|
|
758
|
+
post?: never;
|
|
759
|
+
/** Delete an asset — removes every stored rendition object, then the row. */
|
|
760
|
+
delete: operations["AssetController_delete"];
|
|
761
|
+
options?: never;
|
|
762
|
+
head?: never;
|
|
763
|
+
patch?: never;
|
|
764
|
+
trace?: never;
|
|
765
|
+
};
|
|
606
766
|
"/v1/communities/{communityId}/blocks": {
|
|
607
767
|
parameters: {
|
|
608
768
|
query?: never;
|
|
@@ -677,6 +837,79 @@ interface paths {
|
|
|
677
837
|
patch?: never;
|
|
678
838
|
trace?: never;
|
|
679
839
|
};
|
|
840
|
+
"/v1/communities/{communityId}/collections": {
|
|
841
|
+
parameters: {
|
|
842
|
+
query?: never;
|
|
843
|
+
header?: never;
|
|
844
|
+
path?: never;
|
|
845
|
+
cookie?: never;
|
|
846
|
+
};
|
|
847
|
+
/** List collections. Public ones are visible to anyone; private ones surface only to their owner via actor_id. Filter by owner_actor_id / kind. */
|
|
848
|
+
get: operations["CollectionController_list"];
|
|
849
|
+
put?: never;
|
|
850
|
+
/** Create a collection. Default kind `bookmark`, visibility `private`. Pass an Idempotency-Key so retries are safe. */
|
|
851
|
+
post: operations["CollectionController_create"];
|
|
852
|
+
delete?: never;
|
|
853
|
+
options?: never;
|
|
854
|
+
head?: never;
|
|
855
|
+
patch?: never;
|
|
856
|
+
trace?: never;
|
|
857
|
+
};
|
|
858
|
+
"/v1/communities/{communityId}/collections/{collectionId}": {
|
|
859
|
+
parameters: {
|
|
860
|
+
query?: never;
|
|
861
|
+
header?: never;
|
|
862
|
+
path?: never;
|
|
863
|
+
cookie?: never;
|
|
864
|
+
};
|
|
865
|
+
/** Fetch one collection. Private collections resolve only for their owner (via actor_id). */
|
|
866
|
+
get: operations["CollectionController_getById"];
|
|
867
|
+
put?: never;
|
|
868
|
+
post?: never;
|
|
869
|
+
/** Delete a collection (owner only). Items cascade; the posts themselves are untouched. */
|
|
870
|
+
delete: operations["CollectionController_delete"];
|
|
871
|
+
options?: never;
|
|
872
|
+
head?: never;
|
|
873
|
+
/** Update a collection (owner only) — rename, cover, visibility, reorder position. */
|
|
874
|
+
patch: operations["CollectionController_update"];
|
|
875
|
+
trace?: never;
|
|
876
|
+
};
|
|
877
|
+
"/v1/communities/{communityId}/collections/{collectionId}/items": {
|
|
878
|
+
parameters: {
|
|
879
|
+
query?: never;
|
|
880
|
+
header?: never;
|
|
881
|
+
path?: never;
|
|
882
|
+
cookie?: never;
|
|
883
|
+
};
|
|
884
|
+
/** List a collection's posts in curator order. Highlight collections bypass story expiry; bookmark collections drop expired posts. 50/page (max 200). */
|
|
885
|
+
get: operations["CollectionController_listItems"];
|
|
886
|
+
put?: never;
|
|
887
|
+
/** Add a post to a collection (owner only). Idempotent per (collection, post). */
|
|
888
|
+
post: operations["CollectionController_addItem"];
|
|
889
|
+
delete?: never;
|
|
890
|
+
options?: never;
|
|
891
|
+
head?: never;
|
|
892
|
+
patch?: never;
|
|
893
|
+
trace?: never;
|
|
894
|
+
};
|
|
895
|
+
"/v1/communities/{communityId}/collections/{collectionId}/items/{postId}": {
|
|
896
|
+
parameters: {
|
|
897
|
+
query?: never;
|
|
898
|
+
header?: never;
|
|
899
|
+
path?: never;
|
|
900
|
+
cookie?: never;
|
|
901
|
+
};
|
|
902
|
+
get?: never;
|
|
903
|
+
put?: never;
|
|
904
|
+
post?: never;
|
|
905
|
+
/** Remove a post from a collection (owner only). */
|
|
906
|
+
delete: operations["CollectionController_removeItem"];
|
|
907
|
+
options?: never;
|
|
908
|
+
head?: never;
|
|
909
|
+
/** Reorder a post within a collection (owner only). */
|
|
910
|
+
patch: operations["CollectionController_reorderItem"];
|
|
911
|
+
trace?: never;
|
|
912
|
+
};
|
|
680
913
|
"/v1/communities/{communityId}/conversations": {
|
|
681
914
|
parameters: {
|
|
682
915
|
query?: never;
|
|
@@ -727,7 +960,7 @@ interface paths {
|
|
|
727
960
|
delete: operations["ConversationController_leave"];
|
|
728
961
|
options?: never;
|
|
729
962
|
head?: never;
|
|
730
|
-
/**
|
|
963
|
+
/** Conversation-level update (task 025). Pass `name` to rename a group (admin-only) — the canonical rename home. The participant fields (muted / muted_until / pinned) are the DEPRECATED alias for PATCH /:id/members/:actorId. */
|
|
731
964
|
patch: operations["ConversationController_update"];
|
|
732
965
|
trace?: never;
|
|
733
966
|
};
|
|
@@ -762,8 +995,8 @@ interface paths {
|
|
|
762
995
|
delete: operations["ConversationController_removeMember"];
|
|
763
996
|
options?: never;
|
|
764
997
|
head?: never;
|
|
765
|
-
/**
|
|
766
|
-
patch: operations["
|
|
998
|
+
/** Update a participant (task 025). Field-level authz: `role` is admin-only; `muted` / `muted_until` / `pinned` are self-only (the caller must be the path actor). The canonical home for participant state — the participant fields on PATCH /conversations/:id are the deprecated alias. */
|
|
999
|
+
patch: operations["ConversationController_updateMember"];
|
|
767
1000
|
trace?: never;
|
|
768
1001
|
};
|
|
769
1002
|
"/v1/communities/{communityId}/conversations/{conversationId}/messages": {
|
|
@@ -791,7 +1024,8 @@ interface paths {
|
|
|
791
1024
|
path?: never;
|
|
792
1025
|
cookie?: never;
|
|
793
1026
|
};
|
|
794
|
-
|
|
1027
|
+
/** Fetch a single message (task 024) — resolves a reply target without paging the whole thread. Participant-gated. */
|
|
1028
|
+
get: operations["ConversationController_getMessage"];
|
|
795
1029
|
put?: never;
|
|
796
1030
|
post?: never;
|
|
797
1031
|
/** Soft-delete a message. Reserved to the sender; the row stays so the conversation timeline doesn't orphan replies. Reads return body `"(deleted)"`. Pass the sender via `?actor_id=` (task 008 / G12 — the request body is deprecated). */
|
|
@@ -850,7 +1084,10 @@ interface paths {
|
|
|
850
1084
|
delete?: never;
|
|
851
1085
|
options?: never;
|
|
852
1086
|
head?: never;
|
|
853
|
-
/**
|
|
1087
|
+
/**
|
|
1088
|
+
* DEPRECATED (task 025) — rename via PATCH /conversations/:id with `name`. Rename a group conversation. Admin-only.
|
|
1089
|
+
* @deprecated
|
|
1090
|
+
*/
|
|
854
1091
|
patch: operations["ConversationController_renameGroup"];
|
|
855
1092
|
trace?: never;
|
|
856
1093
|
};
|
|
@@ -905,7 +1142,7 @@ interface paths {
|
|
|
905
1142
|
patch?: never;
|
|
906
1143
|
trace?: never;
|
|
907
1144
|
};
|
|
908
|
-
"/v1/communities/{communityId}/
|
|
1145
|
+
"/v1/communities/{communityId}/dismissed-suggestions": {
|
|
909
1146
|
parameters: {
|
|
910
1147
|
query?: never;
|
|
911
1148
|
header?: never;
|
|
@@ -914,15 +1151,15 @@ interface paths {
|
|
|
914
1151
|
};
|
|
915
1152
|
get?: never;
|
|
916
1153
|
put?: never;
|
|
917
|
-
/**
|
|
918
|
-
post: operations["
|
|
1154
|
+
/** Dismiss an actor from your follow suggestions ("don't suggest"). Idempotent. The actor never re-appears in your suggestions. */
|
|
1155
|
+
post: operations["EdgeController_dismissSuggestion"];
|
|
919
1156
|
delete?: never;
|
|
920
1157
|
options?: never;
|
|
921
1158
|
head?: never;
|
|
922
1159
|
patch?: never;
|
|
923
1160
|
trace?: never;
|
|
924
1161
|
};
|
|
925
|
-
"/v1/communities/{communityId}/
|
|
1162
|
+
"/v1/communities/{communityId}/dismissed-suggestions/{srcActorId}/{dstActorId}": {
|
|
926
1163
|
parameters: {
|
|
927
1164
|
query?: never;
|
|
928
1165
|
header?: never;
|
|
@@ -931,32 +1168,33 @@ interface paths {
|
|
|
931
1168
|
};
|
|
932
1169
|
get?: never;
|
|
933
1170
|
put?: never;
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
delete
|
|
1171
|
+
post?: never;
|
|
1172
|
+
/** Un-dismiss a suggestion. Idempotent — 204 either way. The actor becomes eligible for suggestions again. */
|
|
1173
|
+
delete: operations["EdgeController_undismissSuggestion"];
|
|
937
1174
|
options?: never;
|
|
938
1175
|
head?: never;
|
|
939
1176
|
patch?: never;
|
|
940
1177
|
trace?: never;
|
|
941
1178
|
};
|
|
942
|
-
"/v1/communities/{communityId}/
|
|
1179
|
+
"/v1/communities/{communityId}/flags": {
|
|
943
1180
|
parameters: {
|
|
944
1181
|
query?: never;
|
|
945
1182
|
header?: never;
|
|
946
1183
|
path?: never;
|
|
947
1184
|
cookie?: never;
|
|
948
1185
|
};
|
|
949
|
-
|
|
1186
|
+
/** List a reporter's own flags (task 017). Requires `reporter_actor_id` — the customer lane sees only that reporter's reports ("was my report reviewed?"), never other reporters' flags. Cursor-paginated newest-first. */
|
|
1187
|
+
get: operations["FlagController_listMine"];
|
|
950
1188
|
put?: never;
|
|
951
|
-
/**
|
|
952
|
-
post: operations["
|
|
1189
|
+
/** File a moderation report against a post or comment. Idempotent per (reporter, target) while open. */
|
|
1190
|
+
post: operations["FlagController_create"];
|
|
953
1191
|
delete?: never;
|
|
954
1192
|
options?: never;
|
|
955
1193
|
head?: never;
|
|
956
1194
|
patch?: never;
|
|
957
1195
|
trace?: never;
|
|
958
1196
|
};
|
|
959
|
-
"/v1/communities/{communityId}/
|
|
1197
|
+
"/v1/communities/{communityId}/follow-requests/{dstActorId}/{srcActorId}": {
|
|
960
1198
|
parameters: {
|
|
961
1199
|
query?: never;
|
|
962
1200
|
header?: never;
|
|
@@ -966,110 +1204,107 @@ interface paths {
|
|
|
966
1204
|
get?: never;
|
|
967
1205
|
put?: never;
|
|
968
1206
|
post?: never;
|
|
969
|
-
/**
|
|
970
|
-
delete: operations["
|
|
1207
|
+
/** Decline a pending follow request (task 014). Deletes the request; no edge, no notification. */
|
|
1208
|
+
delete: operations["EdgeController_declineFollowRequest"];
|
|
971
1209
|
options?: never;
|
|
972
1210
|
head?: never;
|
|
973
1211
|
patch?: never;
|
|
974
1212
|
trace?: never;
|
|
975
1213
|
};
|
|
976
|
-
"/v1/communities/{communityId}/
|
|
1214
|
+
"/v1/communities/{communityId}/follow-requests/{dstActorId}/{srcActorId}/approve": {
|
|
977
1215
|
parameters: {
|
|
978
1216
|
query?: never;
|
|
979
1217
|
header?: never;
|
|
980
1218
|
path?: never;
|
|
981
1219
|
cookie?: never;
|
|
982
1220
|
};
|
|
983
|
-
|
|
984
|
-
get: operations["HashtagController_list"];
|
|
1221
|
+
get?: never;
|
|
985
1222
|
put?: never;
|
|
986
|
-
|
|
1223
|
+
/** Approve a pending follow request (task 014). The destination (private) actor approves the requesting actor; a follow edge is created. */
|
|
1224
|
+
post: operations["EdgeController_approveFollowRequest"];
|
|
987
1225
|
delete?: never;
|
|
988
1226
|
options?: never;
|
|
989
1227
|
head?: never;
|
|
990
1228
|
patch?: never;
|
|
991
1229
|
trace?: never;
|
|
992
1230
|
};
|
|
993
|
-
"/v1/communities/{communityId}/
|
|
1231
|
+
"/v1/communities/{communityId}/follows": {
|
|
994
1232
|
parameters: {
|
|
995
1233
|
query?: never;
|
|
996
1234
|
header?: never;
|
|
997
1235
|
path?: never;
|
|
998
1236
|
cookie?: never;
|
|
999
1237
|
};
|
|
1000
|
-
|
|
1001
|
-
get: operations["HashtagController_getOne"];
|
|
1238
|
+
get?: never;
|
|
1002
1239
|
put?: never;
|
|
1003
|
-
|
|
1240
|
+
/** Follow another actor. Idempotent. If the destination is private (task 014), a follow request is created instead and the response is `{ status: "pending", edge: null }`; approve/decline it via the follow-request routes. Refused if either side has a block. */
|
|
1241
|
+
post: operations["EdgeController_follow"];
|
|
1004
1242
|
delete?: never;
|
|
1005
1243
|
options?: never;
|
|
1006
1244
|
head?: never;
|
|
1007
1245
|
patch?: never;
|
|
1008
1246
|
trace?: never;
|
|
1009
1247
|
};
|
|
1010
|
-
"/v1/communities/{communityId}/
|
|
1248
|
+
"/v1/communities/{communityId}/follows/batch": {
|
|
1011
1249
|
parameters: {
|
|
1012
1250
|
query?: never;
|
|
1013
1251
|
header?: never;
|
|
1014
1252
|
path?: never;
|
|
1015
1253
|
cookie?: never;
|
|
1016
1254
|
};
|
|
1017
|
-
|
|
1018
|
-
get: operations["HashtagFeedController_list"];
|
|
1255
|
+
get?: never;
|
|
1019
1256
|
put?: never;
|
|
1020
|
-
|
|
1257
|
+
/** Bulk follow creation (max 200 per call) — the graph-import lane. Each item runs the exact single-follow path (block checks, counters, idempotency), so a blocked pair fails ITS item with a 409 in `error` while the rest of the batch proceeds. `201` even with failures — inspect per-item results. Set `suppress_notifications: true` when importing an existing graph. */
|
|
1258
|
+
post: operations["EdgeController_batchFollows"];
|
|
1021
1259
|
delete?: never;
|
|
1022
1260
|
options?: never;
|
|
1023
1261
|
head?: never;
|
|
1024
1262
|
patch?: never;
|
|
1025
1263
|
trace?: never;
|
|
1026
1264
|
};
|
|
1027
|
-
"/v1/communities/{communityId}/
|
|
1265
|
+
"/v1/communities/{communityId}/follows/{srcActorId}/{dstActorId}": {
|
|
1028
1266
|
parameters: {
|
|
1029
1267
|
query?: never;
|
|
1030
1268
|
header?: never;
|
|
1031
1269
|
path?: never;
|
|
1032
1270
|
cookie?: never;
|
|
1033
1271
|
};
|
|
1034
|
-
|
|
1035
|
-
get: operations["ActorListController_list"];
|
|
1272
|
+
get?: never;
|
|
1036
1273
|
put?: never;
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
delete
|
|
1274
|
+
post?: never;
|
|
1275
|
+
/** Unfollow. Idempotent — 204 even if the follow didn't exist. */
|
|
1276
|
+
delete: operations["EdgeController_unfollow"];
|
|
1040
1277
|
options?: never;
|
|
1041
1278
|
head?: never;
|
|
1042
1279
|
patch?: never;
|
|
1043
1280
|
trace?: never;
|
|
1044
1281
|
};
|
|
1045
|
-
"/v1/communities/{communityId}/
|
|
1282
|
+
"/v1/communities/{communityId}/hashtags": {
|
|
1046
1283
|
parameters: {
|
|
1047
1284
|
query?: never;
|
|
1048
1285
|
header?: never;
|
|
1049
1286
|
path?: never;
|
|
1050
1287
|
cookie?: never;
|
|
1051
1288
|
};
|
|
1052
|
-
/**
|
|
1053
|
-
get: operations["
|
|
1289
|
+
/** List hashtags in this community. Default order is `first_used_at` desc; `order=trending` ranks by windowed post count (task 023) — pass `window=24h|7d`. `window_post_count` is populated only when trending. */
|
|
1290
|
+
get: operations["HashtagController_list"];
|
|
1054
1291
|
put?: never;
|
|
1055
1292
|
post?: never;
|
|
1056
|
-
|
|
1057
|
-
delete: operations["ActorListController_delete"];
|
|
1293
|
+
delete?: never;
|
|
1058
1294
|
options?: never;
|
|
1059
1295
|
head?: never;
|
|
1060
|
-
|
|
1061
|
-
patch: operations["ActorListController_update"];
|
|
1296
|
+
patch?: never;
|
|
1062
1297
|
trace?: never;
|
|
1063
1298
|
};
|
|
1064
|
-
"/v1/communities/{communityId}/
|
|
1299
|
+
"/v1/communities/{communityId}/hashtags/{tag}": {
|
|
1065
1300
|
parameters: {
|
|
1066
1301
|
query?: never;
|
|
1067
1302
|
header?: never;
|
|
1068
1303
|
path?: never;
|
|
1069
1304
|
cookie?: never;
|
|
1070
1305
|
};
|
|
1071
|
-
/**
|
|
1072
|
-
get: operations["
|
|
1306
|
+
/** Get a single hashtag with its current published post count. */
|
|
1307
|
+
get: operations["HashtagController_getOne"];
|
|
1073
1308
|
put?: never;
|
|
1074
1309
|
post?: never;
|
|
1075
1310
|
delete?: never;
|
|
@@ -1078,25 +1313,130 @@ interface paths {
|
|
|
1078
1313
|
patch?: never;
|
|
1079
1314
|
trace?: never;
|
|
1080
1315
|
};
|
|
1081
|
-
"/v1/communities/{communityId}/
|
|
1316
|
+
"/v1/communities/{communityId}/hashtags/{tag}/posts": {
|
|
1082
1317
|
parameters: {
|
|
1083
1318
|
query?: never;
|
|
1084
1319
|
header?: never;
|
|
1085
1320
|
path?: never;
|
|
1086
1321
|
cookie?: never;
|
|
1087
1322
|
};
|
|
1088
|
-
/** List
|
|
1089
|
-
get: operations["
|
|
1323
|
+
/** List posts using a hashtag. `order=chronological` (default) or `order=ranked` (task 023) — ranked reuses the discover recency+engagement scoring, paginated on a (score, id) cursor. Same wire shape as the regular post list. */
|
|
1324
|
+
get: operations["HashtagFeedController_list"];
|
|
1090
1325
|
put?: never;
|
|
1091
|
-
|
|
1092
|
-
post: operations["ActorListController_addMember"];
|
|
1326
|
+
post?: never;
|
|
1093
1327
|
delete?: never;
|
|
1094
1328
|
options?: never;
|
|
1095
1329
|
head?: never;
|
|
1096
1330
|
patch?: never;
|
|
1097
1331
|
trace?: never;
|
|
1098
1332
|
};
|
|
1099
|
-
"/v1/communities/{communityId}/
|
|
1333
|
+
"/v1/communities/{communityId}/hides": {
|
|
1334
|
+
parameters: {
|
|
1335
|
+
query?: never;
|
|
1336
|
+
header?: never;
|
|
1337
|
+
path?: never;
|
|
1338
|
+
cookie?: never;
|
|
1339
|
+
};
|
|
1340
|
+
get?: never;
|
|
1341
|
+
put?: never;
|
|
1342
|
+
/** Hide a post from the actor's feeds ("not interested"). Idempotent. A hard filter — the post drops out of home + discover for that actor only. */
|
|
1343
|
+
post: operations["EdgeController_hidePost"];
|
|
1344
|
+
delete?: never;
|
|
1345
|
+
options?: never;
|
|
1346
|
+
head?: never;
|
|
1347
|
+
patch?: never;
|
|
1348
|
+
trace?: never;
|
|
1349
|
+
};
|
|
1350
|
+
"/v1/communities/{communityId}/hides/{srcActorId}/{postId}": {
|
|
1351
|
+
parameters: {
|
|
1352
|
+
query?: never;
|
|
1353
|
+
header?: never;
|
|
1354
|
+
path?: never;
|
|
1355
|
+
cookie?: never;
|
|
1356
|
+
};
|
|
1357
|
+
get?: never;
|
|
1358
|
+
put?: never;
|
|
1359
|
+
post?: never;
|
|
1360
|
+
/** Un-hide a post. Idempotent — 204 either way. */
|
|
1361
|
+
delete: operations["EdgeController_unhidePost"];
|
|
1362
|
+
options?: never;
|
|
1363
|
+
head?: never;
|
|
1364
|
+
patch?: never;
|
|
1365
|
+
trace?: never;
|
|
1366
|
+
};
|
|
1367
|
+
"/v1/communities/{communityId}/lists": {
|
|
1368
|
+
parameters: {
|
|
1369
|
+
query?: never;
|
|
1370
|
+
header?: never;
|
|
1371
|
+
path?: never;
|
|
1372
|
+
cookie?: never;
|
|
1373
|
+
};
|
|
1374
|
+
/** List discoverable lists in this community. Public lists are visible to anyone; private lists surface only when `viewer_actor_id` is their owner. */
|
|
1375
|
+
get: operations["ActorListController_list"];
|
|
1376
|
+
put?: never;
|
|
1377
|
+
/** Create a new list. Default visibility `private`. List creation has no natural key (an owner can hold many same-named lists), so pass an `Idempotency-Key` header to make retries safe. */
|
|
1378
|
+
post: operations["ActorListController_create"];
|
|
1379
|
+
delete?: never;
|
|
1380
|
+
options?: never;
|
|
1381
|
+
head?: never;
|
|
1382
|
+
patch?: never;
|
|
1383
|
+
trace?: never;
|
|
1384
|
+
};
|
|
1385
|
+
"/v1/communities/{communityId}/lists/{listId}": {
|
|
1386
|
+
parameters: {
|
|
1387
|
+
query?: never;
|
|
1388
|
+
header?: never;
|
|
1389
|
+
path?: never;
|
|
1390
|
+
cookie?: never;
|
|
1391
|
+
};
|
|
1392
|
+
/** Get one list by id. */
|
|
1393
|
+
get: operations["ActorListController_getById"];
|
|
1394
|
+
put?: never;
|
|
1395
|
+
post?: never;
|
|
1396
|
+
/** Delete a list. Owner-only. Pass the caller via `?actor_id=` (task 008 / G12 — the request body is deprecated). */
|
|
1397
|
+
delete: operations["ActorListController_delete"];
|
|
1398
|
+
options?: never;
|
|
1399
|
+
head?: never;
|
|
1400
|
+
/** Update list name / description / visibility. Owner-only. */
|
|
1401
|
+
patch: operations["ActorListController_update"];
|
|
1402
|
+
trace?: never;
|
|
1403
|
+
};
|
|
1404
|
+
"/v1/communities/{communityId}/lists/{listId}/feed": {
|
|
1405
|
+
parameters: {
|
|
1406
|
+
query?: never;
|
|
1407
|
+
header?: never;
|
|
1408
|
+
path?: never;
|
|
1409
|
+
cookie?: never;
|
|
1410
|
+
};
|
|
1411
|
+
/** List-scoped feed (task 018). Returns posts authored by members of the list, filtered by what the viewer can see. Default order is `chronological`; pass `order=ranked` for the same engagement-blended scoring used by the actor feed. */
|
|
1412
|
+
get: operations["FeedController_getListFeed"];
|
|
1413
|
+
put?: never;
|
|
1414
|
+
post?: never;
|
|
1415
|
+
delete?: never;
|
|
1416
|
+
options?: never;
|
|
1417
|
+
head?: never;
|
|
1418
|
+
patch?: never;
|
|
1419
|
+
trace?: never;
|
|
1420
|
+
};
|
|
1421
|
+
"/v1/communities/{communityId}/lists/{listId}/members": {
|
|
1422
|
+
parameters: {
|
|
1423
|
+
query?: never;
|
|
1424
|
+
header?: never;
|
|
1425
|
+
path?: never;
|
|
1426
|
+
cookie?: never;
|
|
1427
|
+
};
|
|
1428
|
+
/** List members of a list. Public lists are visible to anyone; private lists surface only when viewer_actor_id is the owner. */
|
|
1429
|
+
get: operations["ActorListController_listMembers"];
|
|
1430
|
+
put?: never;
|
|
1431
|
+
/** Add a member to a list. Owner-only. */
|
|
1432
|
+
post: operations["ActorListController_addMember"];
|
|
1433
|
+
delete?: never;
|
|
1434
|
+
options?: never;
|
|
1435
|
+
head?: never;
|
|
1436
|
+
patch?: never;
|
|
1437
|
+
trace?: never;
|
|
1438
|
+
};
|
|
1439
|
+
"/v1/communities/{communityId}/lists/{listId}/members/{actorId}": {
|
|
1100
1440
|
parameters: {
|
|
1101
1441
|
query?: never;
|
|
1102
1442
|
header?: never;
|
|
@@ -1299,6 +1639,30 @@ interface paths {
|
|
|
1299
1639
|
patch?: never;
|
|
1300
1640
|
trace?: never;
|
|
1301
1641
|
};
|
|
1642
|
+
"/v1/communities/{communityId}/posts/{postId}/comments/{commentId}/pin": {
|
|
1643
|
+
parameters: {
|
|
1644
|
+
query?: never;
|
|
1645
|
+
header?: never;
|
|
1646
|
+
path?: never;
|
|
1647
|
+
cookie?: never;
|
|
1648
|
+
};
|
|
1649
|
+
get?: never;
|
|
1650
|
+
put?: never;
|
|
1651
|
+
/**
|
|
1652
|
+
* Pin a top-level comment (post-author only).
|
|
1653
|
+
* @description Pins a published top-level comment so it leads the top-level listing. Reserved to the post author (403 otherwise). 409 on a reply, a non-published comment, or when the per-post pin cap (community.settings.max_pinned_comments, default 3) is reached. Idempotent.
|
|
1654
|
+
*/
|
|
1655
|
+
post: operations["CommentController_pin"];
|
|
1656
|
+
/**
|
|
1657
|
+
* Unpin a comment (post-author only).
|
|
1658
|
+
* @description Clears the pin; the comment returns to its chronological position. Reserved to the post author (403). Idempotent. Pass the acting actor via the request body.
|
|
1659
|
+
*/
|
|
1660
|
+
delete: operations["CommentController_unpin"];
|
|
1661
|
+
options?: never;
|
|
1662
|
+
head?: never;
|
|
1663
|
+
patch?: never;
|
|
1664
|
+
trace?: never;
|
|
1665
|
+
};
|
|
1302
1666
|
"/v1/communities/{communityId}/posts/{postId}/comments/{commentId}/reactions": {
|
|
1303
1667
|
parameters: {
|
|
1304
1668
|
query?: never;
|
|
@@ -1334,6 +1698,23 @@ interface paths {
|
|
|
1334
1698
|
patch?: never;
|
|
1335
1699
|
trace?: never;
|
|
1336
1700
|
};
|
|
1701
|
+
"/v1/communities/{communityId}/posts/{postId}/insights": {
|
|
1702
|
+
parameters: {
|
|
1703
|
+
query?: never;
|
|
1704
|
+
header?: never;
|
|
1705
|
+
path?: never;
|
|
1706
|
+
cookie?: never;
|
|
1707
|
+
};
|
|
1708
|
+
/** Aggregate insights for a post: total views, unique reach, engagement counts, and a daily views/reach series over ?from/?to (default trailing 30 days). */
|
|
1709
|
+
get: operations["InsightsController_postInsights"];
|
|
1710
|
+
put?: never;
|
|
1711
|
+
post?: never;
|
|
1712
|
+
delete?: never;
|
|
1713
|
+
options?: never;
|
|
1714
|
+
head?: never;
|
|
1715
|
+
patch?: never;
|
|
1716
|
+
trace?: never;
|
|
1717
|
+
};
|
|
1337
1718
|
"/v1/communities/{communityId}/posts/{postId}/poll-results": {
|
|
1338
1719
|
parameters: {
|
|
1339
1720
|
query?: never;
|
|
@@ -1467,6 +1848,46 @@ interface paths {
|
|
|
1467
1848
|
patch?: never;
|
|
1468
1849
|
trace?: never;
|
|
1469
1850
|
};
|
|
1851
|
+
"/v1/communities/{communityId}/posts/{postId}/tags/{actorId}/approve": {
|
|
1852
|
+
parameters: {
|
|
1853
|
+
query?: never;
|
|
1854
|
+
header?: never;
|
|
1855
|
+
path?: never;
|
|
1856
|
+
cookie?: never;
|
|
1857
|
+
};
|
|
1858
|
+
get?: never;
|
|
1859
|
+
put?: never;
|
|
1860
|
+
/**
|
|
1861
|
+
* Approve a pending tag (tagged actor only).
|
|
1862
|
+
* @description The tagged actor accepts being tagged; the tag flips `pending → approved` and the post starts surfacing on their `/tagged` listing. 403 if the acting actor is not the tagged actor. 409 if the tag was already removed.
|
|
1863
|
+
*/
|
|
1864
|
+
post: operations["PostTagController_approve"];
|
|
1865
|
+
delete?: never;
|
|
1866
|
+
options?: never;
|
|
1867
|
+
head?: never;
|
|
1868
|
+
patch?: never;
|
|
1869
|
+
trace?: never;
|
|
1870
|
+
};
|
|
1871
|
+
"/v1/communities/{communityId}/posts/{postId}/tags/{actorId}/remove": {
|
|
1872
|
+
parameters: {
|
|
1873
|
+
query?: never;
|
|
1874
|
+
header?: never;
|
|
1875
|
+
path?: never;
|
|
1876
|
+
cookie?: never;
|
|
1877
|
+
};
|
|
1878
|
+
get?: never;
|
|
1879
|
+
put?: never;
|
|
1880
|
+
/**
|
|
1881
|
+
* Remove a tag (tagged actor or post author).
|
|
1882
|
+
* @description Flips the tag to `removed`. Removable by either the tagged actor or the post author (403 otherwise). Idempotent on an already-removed tag.
|
|
1883
|
+
*/
|
|
1884
|
+
post: operations["PostTagController_remove"];
|
|
1885
|
+
delete?: never;
|
|
1886
|
+
options?: never;
|
|
1887
|
+
head?: never;
|
|
1888
|
+
patch?: never;
|
|
1889
|
+
trace?: never;
|
|
1890
|
+
};
|
|
1470
1891
|
"/v1/communities/{communityId}/posts/{postId}/viewers": {
|
|
1471
1892
|
parameters: {
|
|
1472
1893
|
query?: never;
|
|
@@ -1507,6 +1928,26 @@ interface paths {
|
|
|
1507
1928
|
patch?: never;
|
|
1508
1929
|
trace?: never;
|
|
1509
1930
|
};
|
|
1931
|
+
"/v1/communities/{communityId}/posts/{postId}/voters": {
|
|
1932
|
+
parameters: {
|
|
1933
|
+
query?: never;
|
|
1934
|
+
header?: never;
|
|
1935
|
+
path?: never;
|
|
1936
|
+
cookie?: never;
|
|
1937
|
+
};
|
|
1938
|
+
/**
|
|
1939
|
+
* List voters of a poll (author-only).
|
|
1940
|
+
* @description Only the poll author can list voters. Pass the author via `actor_id`; a requester whose id != post.actor_id gets 403. Each entry carries the voter and their `option_index`. Optionally filter to a single option with `option`. Ordered newest-first.
|
|
1941
|
+
*/
|
|
1942
|
+
get: operations["StoryController_listVoters"];
|
|
1943
|
+
put?: never;
|
|
1944
|
+
post?: never;
|
|
1945
|
+
delete?: never;
|
|
1946
|
+
options?: never;
|
|
1947
|
+
head?: never;
|
|
1948
|
+
patch?: never;
|
|
1949
|
+
trace?: never;
|
|
1950
|
+
};
|
|
1510
1951
|
"/v1/communities/{communityId}/posts/{postId}/votes": {
|
|
1511
1952
|
parameters: {
|
|
1512
1953
|
query?: never;
|
|
@@ -1527,6 +1968,30 @@ interface paths {
|
|
|
1527
1968
|
patch?: never;
|
|
1528
1969
|
trace?: never;
|
|
1529
1970
|
};
|
|
1971
|
+
"/v1/communities/{communityId}/posts/{postId}/votes/{actorId}": {
|
|
1972
|
+
parameters: {
|
|
1973
|
+
query?: never;
|
|
1974
|
+
header?: never;
|
|
1975
|
+
path?: never;
|
|
1976
|
+
cookie?: never;
|
|
1977
|
+
};
|
|
1978
|
+
/**
|
|
1979
|
+
* Read an actor's vote on a poll.
|
|
1980
|
+
* @description Returns the actor's chosen `option_index` and when it was cast. 404 when the post is gone or the actor has not voted. Naturally idempotent — no Idempotency-Key.
|
|
1981
|
+
*/
|
|
1982
|
+
get: operations["StoryController_getVote"];
|
|
1983
|
+
put?: never;
|
|
1984
|
+
post?: never;
|
|
1985
|
+
/**
|
|
1986
|
+
* Retract an actor's vote on a poll.
|
|
1987
|
+
* @description Deletes the vote edge. Idempotent — 204 whether or not a vote existed. No tally decrement: results are computed from surviving votes.
|
|
1988
|
+
*/
|
|
1989
|
+
delete: operations["StoryController_deleteVote"];
|
|
1990
|
+
options?: never;
|
|
1991
|
+
head?: never;
|
|
1992
|
+
patch?: never;
|
|
1993
|
+
trace?: never;
|
|
1994
|
+
};
|
|
1530
1995
|
"/v1/communities/{communityId}/restricts": {
|
|
1531
1996
|
parameters: {
|
|
1532
1997
|
query?: never;
|
|
@@ -1780,15 +2245,15 @@ interface paths {
|
|
|
1780
2245
|
patch: operations["CommunityController_update"];
|
|
1781
2246
|
trace?: never;
|
|
1782
2247
|
};
|
|
1783
|
-
"/v1/workspaces/{workspaceId}/communities/{communityId}/
|
|
2248
|
+
"/v1/workspaces/{workspaceId}/communities/{communityId}/actors/{actorId}/comments": {
|
|
1784
2249
|
parameters: {
|
|
1785
2250
|
query?: never;
|
|
1786
2251
|
header?: never;
|
|
1787
2252
|
path?: never;
|
|
1788
2253
|
cookie?: never;
|
|
1789
2254
|
};
|
|
1790
|
-
/**
|
|
1791
|
-
get: operations["
|
|
2255
|
+
/** Every comment an actor authored, all statuses (published / hidden / removed) — the GDPR-export view. 50/page (max 200), cursor-paginated newest-first. */
|
|
2256
|
+
get: operations["ExportController_comments"];
|
|
1792
2257
|
put?: never;
|
|
1793
2258
|
post?: never;
|
|
1794
2259
|
delete?: never;
|
|
@@ -1797,33 +2262,32 @@ interface paths {
|
|
|
1797
2262
|
patch?: never;
|
|
1798
2263
|
trace?: never;
|
|
1799
2264
|
};
|
|
1800
|
-
"/v1/workspaces/{workspaceId}/communities/{communityId}/
|
|
2265
|
+
"/v1/workspaces/{workspaceId}/communities/{communityId}/actors/{actorId}/reactions": {
|
|
1801
2266
|
parameters: {
|
|
1802
2267
|
query?: never;
|
|
1803
2268
|
header?: never;
|
|
1804
2269
|
path?: never;
|
|
1805
2270
|
cookie?: never;
|
|
1806
2271
|
};
|
|
1807
|
-
|
|
2272
|
+
/** Every reaction an actor has given — post reactions and comment reactions unified into one stream, discriminated by `target_type`. The GDPR-export view. 50/page (max 200), cursor-paginated newest-first. */
|
|
2273
|
+
get: operations["ExportController_reactions"];
|
|
1808
2274
|
put?: never;
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
/** Remove a shadow ban. No-op if not currently shadow-banned. */
|
|
1812
|
-
delete: operations["ModerationAdminController_unshadow"];
|
|
2275
|
+
post?: never;
|
|
2276
|
+
delete?: never;
|
|
1813
2277
|
options?: never;
|
|
1814
2278
|
head?: never;
|
|
1815
2279
|
patch?: never;
|
|
1816
2280
|
trace?: never;
|
|
1817
2281
|
};
|
|
1818
|
-
"/v1/workspaces/{workspaceId}/communities/{communityId}/
|
|
2282
|
+
"/v1/workspaces/{workspaceId}/communities/{communityId}/analytics": {
|
|
1819
2283
|
parameters: {
|
|
1820
2284
|
query?: never;
|
|
1821
2285
|
header?: never;
|
|
1822
2286
|
path?: never;
|
|
1823
2287
|
cookie?: never;
|
|
1824
2288
|
};
|
|
1825
|
-
/**
|
|
1826
|
-
get: operations["
|
|
2289
|
+
/** Community-level analytics rollup: total active actors, published posts, published comments, open flags, and last-7-day windows for each. */
|
|
2290
|
+
get: operations["AnalyticsController_getCommunityAnalytics"];
|
|
1827
2291
|
put?: never;
|
|
1828
2292
|
post?: never;
|
|
1829
2293
|
delete?: never;
|
|
@@ -1832,49 +2296,50 @@ interface paths {
|
|
|
1832
2296
|
patch?: never;
|
|
1833
2297
|
trace?: never;
|
|
1834
2298
|
};
|
|
1835
|
-
"/v1/workspaces/{workspaceId}/communities/{communityId}/moderation/
|
|
2299
|
+
"/v1/workspaces/{workspaceId}/communities/{communityId}/moderation/actions": {
|
|
1836
2300
|
parameters: {
|
|
1837
2301
|
query?: never;
|
|
1838
2302
|
header?: never;
|
|
1839
2303
|
path?: never;
|
|
1840
2304
|
cookie?: never;
|
|
1841
2305
|
};
|
|
1842
|
-
|
|
1843
|
-
get: operations["ConversationModerationController_listConversations"];
|
|
2306
|
+
get?: never;
|
|
1844
2307
|
put?: never;
|
|
1845
|
-
post
|
|
2308
|
+
/** Apply a moderation action directly, without a preceding flag (task 017). Acts on any target — post/comment (status), direct_message (moderator soft-delete), or actor (ban=suspend / restore=reinstate). Writes a flag_id=null audit row. */
|
|
2309
|
+
post: operations["ModerationAdminController_actDirect"];
|
|
1846
2310
|
delete?: never;
|
|
1847
2311
|
options?: never;
|
|
1848
2312
|
head?: never;
|
|
1849
2313
|
patch?: never;
|
|
1850
2314
|
trace?: never;
|
|
1851
2315
|
};
|
|
1852
|
-
"/v1/workspaces/{workspaceId}/communities/{communityId}/moderation/
|
|
2316
|
+
"/v1/workspaces/{workspaceId}/communities/{communityId}/moderation/actors/{actorId}/shadow-ban": {
|
|
1853
2317
|
parameters: {
|
|
1854
2318
|
query?: never;
|
|
1855
2319
|
header?: never;
|
|
1856
2320
|
path?: never;
|
|
1857
2321
|
cookie?: never;
|
|
1858
2322
|
};
|
|
1859
|
-
|
|
1860
|
-
get: operations["ConversationModerationController_listMessages"];
|
|
2323
|
+
get?: never;
|
|
1861
2324
|
put?: never;
|
|
1862
|
-
|
|
1863
|
-
|
|
2325
|
+
/** Apply a shadow ban to an actor. The actor sees their own content normally; everyone else sees nothing from them. Pass `duration_hours` for a timed ban or omit for indefinite. Pass an `Idempotency-Key` header so a retried timed ban doesn't restart the clock. */
|
|
2326
|
+
post: operations["ModerationAdminController_shadowBan"];
|
|
2327
|
+
/** Remove a shadow ban. No-op if not currently shadow-banned. */
|
|
2328
|
+
delete: operations["ModerationAdminController_unshadow"];
|
|
1864
2329
|
options?: never;
|
|
1865
2330
|
head?: never;
|
|
1866
2331
|
patch?: never;
|
|
1867
2332
|
trace?: never;
|
|
1868
2333
|
};
|
|
1869
|
-
"/v1/workspaces/{workspaceId}/communities/{communityId}/moderation/
|
|
2334
|
+
"/v1/workspaces/{workspaceId}/communities/{communityId}/moderation/audit": {
|
|
1870
2335
|
parameters: {
|
|
1871
2336
|
query?: never;
|
|
1872
2337
|
header?: never;
|
|
1873
2338
|
path?: never;
|
|
1874
2339
|
cookie?: never;
|
|
1875
2340
|
};
|
|
1876
|
-
/**
|
|
1877
|
-
get: operations["
|
|
2341
|
+
/** Append-only audit of moderator actions in this community. 50/page (max 200), cursor-paginated. */
|
|
2342
|
+
get: operations["ModerationAdminController_listAudit"];
|
|
1878
2343
|
put?: never;
|
|
1879
2344
|
post?: never;
|
|
1880
2345
|
delete?: never;
|
|
@@ -1883,51 +2348,148 @@ interface paths {
|
|
|
1883
2348
|
patch?: never;
|
|
1884
2349
|
trace?: never;
|
|
1885
2350
|
};
|
|
1886
|
-
"/v1/workspaces/{workspaceId}/communities/{communityId}/moderation/
|
|
2351
|
+
"/v1/workspaces/{workspaceId}/communities/{communityId}/moderation/blocked-terms": {
|
|
1887
2352
|
parameters: {
|
|
1888
2353
|
query?: never;
|
|
1889
2354
|
header?: never;
|
|
1890
2355
|
path?: never;
|
|
1891
2356
|
cookie?: never;
|
|
1892
2357
|
};
|
|
1893
|
-
|
|
2358
|
+
/** List the community hidden-words lexicon, newest-first. Cursor-paginated (50/page, max 200). */
|
|
2359
|
+
get: operations["ModerationAdminController_listBlockedTerms"];
|
|
1894
2360
|
put?: never;
|
|
1895
|
-
/**
|
|
1896
|
-
post: operations["
|
|
2361
|
+
/** Add a hidden word to the community lexicon. A comment whose body contains the term is routed to `action`: `hide` → lands hidden; `pending_approval` → lands in the approve lane. Re-adding a term updates its action. Case-insensitive. */
|
|
2362
|
+
post: operations["ModerationAdminController_addBlockedTerm"];
|
|
1897
2363
|
delete?: never;
|
|
1898
2364
|
options?: never;
|
|
1899
2365
|
head?: never;
|
|
1900
2366
|
patch?: never;
|
|
1901
2367
|
trace?: never;
|
|
1902
2368
|
};
|
|
1903
|
-
"/v1/workspaces/{workspaceId}/communities/{communityId}/moderation/
|
|
2369
|
+
"/v1/workspaces/{workspaceId}/communities/{communityId}/moderation/blocked-terms/{term}": {
|
|
1904
2370
|
parameters: {
|
|
1905
2371
|
query?: never;
|
|
1906
2372
|
header?: never;
|
|
1907
2373
|
path?: never;
|
|
1908
2374
|
cookie?: never;
|
|
1909
2375
|
};
|
|
1910
|
-
|
|
1911
|
-
get: operations["ModerationAdminController_listShadowBanned"];
|
|
2376
|
+
get?: never;
|
|
1912
2377
|
put?: never;
|
|
1913
2378
|
post?: never;
|
|
1914
|
-
|
|
2379
|
+
/** Remove a hidden word. Idempotent — 204 whether or not it existed. */
|
|
2380
|
+
delete: operations["ModerationAdminController_removeBlockedTerm"];
|
|
1915
2381
|
options?: never;
|
|
1916
2382
|
head?: never;
|
|
1917
2383
|
patch?: never;
|
|
1918
2384
|
trace?: never;
|
|
1919
2385
|
};
|
|
1920
|
-
}
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
2386
|
+
"/v1/workspaces/{workspaceId}/communities/{communityId}/moderation/conversations": {
|
|
2387
|
+
parameters: {
|
|
2388
|
+
query?: never;
|
|
2389
|
+
header?: never;
|
|
2390
|
+
path?: never;
|
|
2391
|
+
cookie?: never;
|
|
2392
|
+
};
|
|
2393
|
+
/** List every conversation in the community, most-recent-activity first. Moderation-only. */
|
|
2394
|
+
get: operations["ConversationModerationController_listConversations"];
|
|
2395
|
+
put?: never;
|
|
2396
|
+
post?: never;
|
|
2397
|
+
delete?: never;
|
|
2398
|
+
options?: never;
|
|
2399
|
+
head?: never;
|
|
2400
|
+
patch?: never;
|
|
2401
|
+
trace?: never;
|
|
2402
|
+
};
|
|
2403
|
+
"/v1/workspaces/{workspaceId}/communities/{communityId}/moderation/conversations/{conversationId}/messages": {
|
|
2404
|
+
parameters: {
|
|
2405
|
+
query?: never;
|
|
2406
|
+
header?: never;
|
|
2407
|
+
path?: never;
|
|
2408
|
+
cookie?: never;
|
|
2409
|
+
};
|
|
2410
|
+
/** List every message in a conversation. Moderation-only. */
|
|
2411
|
+
get: operations["ConversationModerationController_listMessages"];
|
|
2412
|
+
put?: never;
|
|
2413
|
+
post?: never;
|
|
2414
|
+
delete?: never;
|
|
2415
|
+
options?: never;
|
|
2416
|
+
head?: never;
|
|
2417
|
+
patch?: never;
|
|
2418
|
+
trace?: never;
|
|
2419
|
+
};
|
|
2420
|
+
"/v1/workspaces/{workspaceId}/communities/{communityId}/moderation/flags": {
|
|
2421
|
+
parameters: {
|
|
2422
|
+
query?: never;
|
|
2423
|
+
header?: never;
|
|
2424
|
+
path?: never;
|
|
2425
|
+
cookie?: never;
|
|
2426
|
+
};
|
|
2427
|
+
/** List flags in this community. Filter by ?status=open|dismissed|actioned. 50/page (max 200), cursor-paginated. */
|
|
2428
|
+
get: operations["ModerationAdminController_listFlags"];
|
|
2429
|
+
put?: never;
|
|
2430
|
+
post?: never;
|
|
2431
|
+
delete?: never;
|
|
2432
|
+
options?: never;
|
|
2433
|
+
head?: never;
|
|
2434
|
+
patch?: never;
|
|
2435
|
+
trace?: never;
|
|
2436
|
+
};
|
|
2437
|
+
"/v1/workspaces/{workspaceId}/communities/{communityId}/moderation/flags/{flagId}/actions": {
|
|
2438
|
+
parameters: {
|
|
2439
|
+
query?: never;
|
|
2440
|
+
header?: never;
|
|
2441
|
+
path?: never;
|
|
2442
|
+
cookie?: never;
|
|
2443
|
+
};
|
|
2444
|
+
get?: never;
|
|
2445
|
+
put?: never;
|
|
2446
|
+
/** Apply a moderation action to a flag. Records an audit entry and updates the target post/comment status. Pass an `Idempotency-Key` header so a retried request records ONE audit entry, not two. */
|
|
2447
|
+
post: operations["ModerationAdminController_act"];
|
|
2448
|
+
delete?: never;
|
|
2449
|
+
options?: never;
|
|
2450
|
+
head?: never;
|
|
2451
|
+
patch?: never;
|
|
2452
|
+
trace?: never;
|
|
2453
|
+
};
|
|
2454
|
+
"/v1/workspaces/{workspaceId}/communities/{communityId}/moderation/shadow-banned": {
|
|
2455
|
+
parameters: {
|
|
2456
|
+
query?: never;
|
|
2457
|
+
header?: never;
|
|
2458
|
+
path?: never;
|
|
2459
|
+
cookie?: never;
|
|
2460
|
+
};
|
|
2461
|
+
/** List currently shadow-banned actors in this community. 50/page (max 200), cursor-paginated newest-ban first. */
|
|
2462
|
+
get: operations["ModerationAdminController_listShadowBanned"];
|
|
2463
|
+
put?: never;
|
|
2464
|
+
post?: never;
|
|
2465
|
+
delete?: never;
|
|
2466
|
+
options?: never;
|
|
2467
|
+
head?: never;
|
|
2468
|
+
patch?: never;
|
|
2469
|
+
trace?: never;
|
|
2470
|
+
};
|
|
2471
|
+
}
|
|
2472
|
+
interface components {
|
|
2473
|
+
schemas: {
|
|
2474
|
+
ActOnFlagResponseDto: {
|
|
2475
|
+
/** @description The flag after the action (status flipped to actioned/dismissed for punitive/dismiss actions; reversals re-resolve it too). */
|
|
2476
|
+
flag: components["schemas"]["FlagResponseDto"];
|
|
2477
|
+
/** @description The audit row this action recorded. */
|
|
2478
|
+
moderation_action: components["schemas"]["ModerationActionResponseDto"];
|
|
2479
|
+
};
|
|
2480
|
+
ActingActorDto: {
|
|
2481
|
+
/**
|
|
2482
|
+
* @description The actor performing the action (approve: the tagged actor; remove: the tagged actor or the post author).
|
|
2483
|
+
* @example aaaaaaaa-0000-0000-0000-000000000002
|
|
2484
|
+
*/
|
|
2485
|
+
actor_id: string;
|
|
2486
|
+
};
|
|
2487
|
+
ActorCommentsResponseDto: {
|
|
2488
|
+
data: components["schemas"]["CommentResponseDto"][];
|
|
2489
|
+
pagination: components["schemas"]["PaginationResponseDto"];
|
|
2490
|
+
};
|
|
2491
|
+
ActorCountersResponseDto: {
|
|
2492
|
+
/**
|
|
1931
2493
|
* @description Actor UUID.
|
|
1932
2494
|
* @example aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
|
|
1933
2495
|
*/
|
|
@@ -1988,6 +2550,24 @@ interface components {
|
|
|
1988
2550
|
*/
|
|
1989
2551
|
src_actor_id?: string;
|
|
1990
2552
|
};
|
|
2553
|
+
ActorFollowerPointDto: {
|
|
2554
|
+
/** @example 2026-05-01 */
|
|
2555
|
+
day: string;
|
|
2556
|
+
/** @example 1240 */
|
|
2557
|
+
follower_count: number;
|
|
2558
|
+
};
|
|
2559
|
+
ActorInsightsResponseDto: {
|
|
2560
|
+
/** @example aaaaaaaa-0000-0000-0000-000000000001 */
|
|
2561
|
+
actor_id: string;
|
|
2562
|
+
/** @example cccccccc-cccc-cccc-cccc-cccccccccccc */
|
|
2563
|
+
community_id: string;
|
|
2564
|
+
daily: components["schemas"]["ActorFollowerPointDto"][];
|
|
2565
|
+
/**
|
|
2566
|
+
* @description Live follower count.
|
|
2567
|
+
* @example 1240
|
|
2568
|
+
*/
|
|
2569
|
+
follower_count: number;
|
|
2570
|
+
};
|
|
1991
2571
|
ActorListListResponseDto: {
|
|
1992
2572
|
data: components["schemas"]["ActorListResponseDto"][];
|
|
1993
2573
|
pagination: components["schemas"]["PaginationResponseDto"];
|
|
@@ -2070,6 +2650,33 @@ interface components {
|
|
|
2070
2650
|
data: components["schemas"]["ActorResponseDto"][];
|
|
2071
2651
|
pagination: components["schemas"]["PaginationResponseDto"];
|
|
2072
2652
|
};
|
|
2653
|
+
ActorReactionEntryDto: {
|
|
2654
|
+
/**
|
|
2655
|
+
* @description ISO timestamp the reaction was recorded.
|
|
2656
|
+
* @example 2026-05-01T12:00:00.000Z
|
|
2657
|
+
*/
|
|
2658
|
+
created_at: string;
|
|
2659
|
+
/**
|
|
2660
|
+
* @description UUID of the reacted-to post or comment (per `target_type`).
|
|
2661
|
+
* @example pppppppp-pppp-pppp-pppp-pppppppppppp
|
|
2662
|
+
*/
|
|
2663
|
+
target_id: string;
|
|
2664
|
+
/**
|
|
2665
|
+
* @description What the reaction is on.
|
|
2666
|
+
* @example post
|
|
2667
|
+
* @enum {string}
|
|
2668
|
+
*/
|
|
2669
|
+
target_type: "post" | "comment";
|
|
2670
|
+
/**
|
|
2671
|
+
* @description Reaction type (e.g. `like`).
|
|
2672
|
+
* @example like
|
|
2673
|
+
*/
|
|
2674
|
+
type: string;
|
|
2675
|
+
};
|
|
2676
|
+
ActorReactionsResponseDto: {
|
|
2677
|
+
data: components["schemas"]["ActorReactionEntryDto"][];
|
|
2678
|
+
pagination: components["schemas"]["PaginationResponseDto"];
|
|
2679
|
+
};
|
|
2073
2680
|
ActorResponseDto: {
|
|
2074
2681
|
/**
|
|
2075
2682
|
* @description Avatar URL.
|
|
@@ -2101,6 +2708,11 @@ interface components {
|
|
|
2101
2708
|
* @example aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
|
|
2102
2709
|
*/
|
|
2103
2710
|
id: string;
|
|
2711
|
+
/**
|
|
2712
|
+
* @description When true, the actor is private (task 014): effective post visibility is capped at `followers` and following requires an approved follow request.
|
|
2713
|
+
* @example false
|
|
2714
|
+
*/
|
|
2715
|
+
is_private: boolean;
|
|
2104
2716
|
/**
|
|
2105
2717
|
* @description Free-form metadata blob.
|
|
2106
2718
|
* @example {
|
|
@@ -2160,6 +2772,20 @@ interface components {
|
|
|
2160
2772
|
*/
|
|
2161
2773
|
reaction_counts: Record<string, never>;
|
|
2162
2774
|
};
|
|
2775
|
+
AddItemDto: {
|
|
2776
|
+
/**
|
|
2777
|
+
* @description The caller — must be the owner.
|
|
2778
|
+
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
2779
|
+
*/
|
|
2780
|
+
caller_actor_id: string;
|
|
2781
|
+
/** @description Curator ordering position. */
|
|
2782
|
+
position?: number;
|
|
2783
|
+
/**
|
|
2784
|
+
* @description The post to add.
|
|
2785
|
+
* @example bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb
|
|
2786
|
+
*/
|
|
2787
|
+
post_id: string;
|
|
2788
|
+
};
|
|
2163
2789
|
AddListMemberDto: {
|
|
2164
2790
|
/**
|
|
2165
2791
|
* @description New member — social actor UUID.
|
|
@@ -2206,6 +2832,81 @@ interface components {
|
|
|
2206
2832
|
*/
|
|
2207
2833
|
approver_actor_id: string;
|
|
2208
2834
|
};
|
|
2835
|
+
AssetAttachmentDto: {
|
|
2836
|
+
/**
|
|
2837
|
+
* @description Per-attachment alt text for accessibility; null when unset.
|
|
2838
|
+
* @example A golden retriever on a beach
|
|
2839
|
+
*/
|
|
2840
|
+
alt_text: string | null;
|
|
2841
|
+
/**
|
|
2842
|
+
* @description The attached asset UUID.
|
|
2843
|
+
* @example eeeeeeee-0000-0000-0000-000000000001
|
|
2844
|
+
*/
|
|
2845
|
+
asset_id: string;
|
|
2846
|
+
};
|
|
2847
|
+
AssetAttachmentInputDto: {
|
|
2848
|
+
/** @description Per-attachment alt text (≤1000 chars). */
|
|
2849
|
+
alt_text?: string;
|
|
2850
|
+
/**
|
|
2851
|
+
* @description An uploaded asset UUID (status must be `ready`).
|
|
2852
|
+
* @example eeeeeeee-0000-0000-0000-000000000001
|
|
2853
|
+
*/
|
|
2854
|
+
asset_id: string;
|
|
2855
|
+
};
|
|
2856
|
+
AssetListResponseDto: {
|
|
2857
|
+
data: components["schemas"]["AssetResponseDto"][];
|
|
2858
|
+
pagination: components["schemas"]["PaginationResponseDto"];
|
|
2859
|
+
};
|
|
2860
|
+
AssetRenditionDto: {
|
|
2861
|
+
/** @example 184320 */
|
|
2862
|
+
byte_size: number;
|
|
2863
|
+
/** @example image/jpeg */
|
|
2864
|
+
content_type: string;
|
|
2865
|
+
/** @example 960 */
|
|
2866
|
+
height: number;
|
|
2867
|
+
/**
|
|
2868
|
+
* @description Ladder rung.
|
|
2869
|
+
* @example medium
|
|
2870
|
+
* @enum {string}
|
|
2871
|
+
*/
|
|
2872
|
+
name: "original" | "medium" | "thumb";
|
|
2873
|
+
/**
|
|
2874
|
+
* @description Short-lived presigned GET URL (re-minted each read).
|
|
2875
|
+
* @example https://…r2.cloudflarestorage.com/…?X-Amz-Signature=…
|
|
2876
|
+
*/
|
|
2877
|
+
url: string;
|
|
2878
|
+
/** @example 1280 */
|
|
2879
|
+
width: number;
|
|
2880
|
+
};
|
|
2881
|
+
AssetResponseDto: {
|
|
2882
|
+
/**
|
|
2883
|
+
* @description Size of the original upload in bytes.
|
|
2884
|
+
* @example 512000
|
|
2885
|
+
*/
|
|
2886
|
+
byte_size: number;
|
|
2887
|
+
/** @example cccccccc-cccc-cccc-cccc-cccccccccccc */
|
|
2888
|
+
community_id: string;
|
|
2889
|
+
/** @example image/jpeg */
|
|
2890
|
+
content_type: string;
|
|
2891
|
+
/** @example 2026-05-01T12:00:00.000Z */
|
|
2892
|
+
created_at: string;
|
|
2893
|
+
/** @example 4032 */
|
|
2894
|
+
height: number | null;
|
|
2895
|
+
/** @example eeeeeeee-0000-0000-0000-000000000001 */
|
|
2896
|
+
id: string;
|
|
2897
|
+
/** @example aaaaaaaa-0000-0000-0000-000000000001 */
|
|
2898
|
+
owner_actor_id: string;
|
|
2899
|
+
renditions: components["schemas"]["AssetRenditionDto"][];
|
|
2900
|
+
/**
|
|
2901
|
+
* @example ready
|
|
2902
|
+
* @enum {string}
|
|
2903
|
+
*/
|
|
2904
|
+
status: "processing" | "ready" | "failed";
|
|
2905
|
+
/** @example 2026-05-01T12:00:00.000Z */
|
|
2906
|
+
updated_at: string;
|
|
2907
|
+
/** @example 3024 */
|
|
2908
|
+
width: number | null;
|
|
2909
|
+
};
|
|
2209
2910
|
AuditListResponseDto: {
|
|
2210
2911
|
data: components["schemas"]["ModerationActionResponseDto"][];
|
|
2211
2912
|
pagination: components["schemas"]["PaginationResponseDto"];
|
|
@@ -2313,6 +3014,38 @@ interface components {
|
|
|
2313
3014
|
/** @description Actors to upsert, in order. 1–200 items; each item follows the single-upsert body exactly. */
|
|
2314
3015
|
actors: components["schemas"]["UpsertActorDto"][];
|
|
2315
3016
|
};
|
|
3017
|
+
BlockedTermListResponseDto: {
|
|
3018
|
+
data: components["schemas"]["BlockedTermResponseDto"][];
|
|
3019
|
+
pagination: components["schemas"]["PaginationResponseDto"];
|
|
3020
|
+
};
|
|
3021
|
+
BlockedTermResponseDto: {
|
|
3022
|
+
/**
|
|
3023
|
+
* @description What a match does.
|
|
3024
|
+
* @example hide
|
|
3025
|
+
* @enum {string}
|
|
3026
|
+
*/
|
|
3027
|
+
action: "hide" | "pending_approval";
|
|
3028
|
+
/**
|
|
3029
|
+
* @description Owning community UUID.
|
|
3030
|
+
* @example cccccccc-cccc-cccc-cccc-cccccccccccc
|
|
3031
|
+
*/
|
|
3032
|
+
community_id: string;
|
|
3033
|
+
/**
|
|
3034
|
+
* @description ISO timestamp the term was added.
|
|
3035
|
+
* @example 2026-05-01T12:00:00.000Z
|
|
3036
|
+
*/
|
|
3037
|
+
created_at: string;
|
|
3038
|
+
/**
|
|
3039
|
+
* @description Blocked term UUID.
|
|
3040
|
+
* @example ffffffff-2222-0000-0000-000000000001
|
|
3041
|
+
*/
|
|
3042
|
+
id: string;
|
|
3043
|
+
/**
|
|
3044
|
+
* @description The blocked term (lowercased).
|
|
3045
|
+
* @example spoiler
|
|
3046
|
+
*/
|
|
3047
|
+
term: string;
|
|
3048
|
+
};
|
|
2316
3049
|
BookmarkListResponseDto: {
|
|
2317
3050
|
data: components["schemas"]["BookmarkResponseDto"][];
|
|
2318
3051
|
pagination: components["schemas"]["PaginationResponseDto"];
|
|
@@ -2395,6 +3128,64 @@ interface components {
|
|
|
2395
3128
|
data: components["schemas"]["CloseFriendResponse"][];
|
|
2396
3129
|
pagination: components["schemas"]["PaginationResponseDto"];
|
|
2397
3130
|
};
|
|
3131
|
+
CollectionItemListResponseDto: {
|
|
3132
|
+
data: components["schemas"]["CollectionItemResponseDto"][];
|
|
3133
|
+
pagination: components["schemas"]["PaginationResponseDto"];
|
|
3134
|
+
};
|
|
3135
|
+
CollectionItemResponseDto: {
|
|
3136
|
+
/** @example 2026-05-01T12:00:00.000Z */
|
|
3137
|
+
added_at: string;
|
|
3138
|
+
/** @example 99999999-0000-0000-0000-000000000001 */
|
|
3139
|
+
collection_id: string;
|
|
3140
|
+
/** @example cccccccc-cccc-cccc-cccc-cccccccccccc */
|
|
3141
|
+
community_id: string;
|
|
3142
|
+
/** @example 0 */
|
|
3143
|
+
position: number;
|
|
3144
|
+
/** @example bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb */
|
|
3145
|
+
post_id: string;
|
|
3146
|
+
};
|
|
3147
|
+
CollectionListResponseDto: {
|
|
3148
|
+
data: components["schemas"]["CollectionResponseDto"][];
|
|
3149
|
+
pagination: components["schemas"]["PaginationResponseDto"];
|
|
3150
|
+
};
|
|
3151
|
+
CollectionResponseDto: {
|
|
3152
|
+
/** @example cccccccc-cccc-cccc-cccc-cccccccccccc */
|
|
3153
|
+
community_id: string;
|
|
3154
|
+
/** @example null */
|
|
3155
|
+
cover_asset_id: string | null;
|
|
3156
|
+
/** @example null */
|
|
3157
|
+
cover_url: string | null;
|
|
3158
|
+
/** @example 2026-05-01T12:00:00.000Z */
|
|
3159
|
+
created_at: string;
|
|
3160
|
+
/** @example 99999999-0000-0000-0000-000000000001 */
|
|
3161
|
+
id: string;
|
|
3162
|
+
/**
|
|
3163
|
+
* @description Number of posts in the collection.
|
|
3164
|
+
* @example 12
|
|
3165
|
+
*/
|
|
3166
|
+
item_count: number;
|
|
3167
|
+
/**
|
|
3168
|
+
* @example bookmark
|
|
3169
|
+
* @enum {string}
|
|
3170
|
+
*/
|
|
3171
|
+
kind: "bookmark" | "highlight";
|
|
3172
|
+
/** @example Travel */
|
|
3173
|
+
name: string;
|
|
3174
|
+
/** @example aaaaaaaa-0000-0000-0000-000000000001 */
|
|
3175
|
+
owner_actor_id: string;
|
|
3176
|
+
/**
|
|
3177
|
+
* @description Owner-defined ordering position.
|
|
3178
|
+
* @example 0
|
|
3179
|
+
*/
|
|
3180
|
+
position: number;
|
|
3181
|
+
/** @example 2026-05-01T12:00:00.000Z */
|
|
3182
|
+
updated_at: string;
|
|
3183
|
+
/**
|
|
3184
|
+
* @example private
|
|
3185
|
+
* @enum {string}
|
|
3186
|
+
*/
|
|
3187
|
+
visibility: "public" | "private";
|
|
3188
|
+
};
|
|
2398
3189
|
CommentListResponseDto: {
|
|
2399
3190
|
data: components["schemas"]["CommentResponseDto"][];
|
|
2400
3191
|
pagination: components["schemas"]["PaginationResponseDto"];
|
|
@@ -2445,6 +3236,8 @@ interface components {
|
|
|
2445
3236
|
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
2446
3237
|
*/
|
|
2447
3238
|
actor_id: string;
|
|
3239
|
+
/** @description Ordered image attachments (task 019). Ref-only; resolve renditions via GET /assets/:id. */
|
|
3240
|
+
assets: components["schemas"]["AssetAttachmentDto"][];
|
|
2448
3241
|
/**
|
|
2449
3242
|
* @description Comment body.
|
|
2450
3243
|
* @example Looks great, shipping today.
|
|
@@ -2475,6 +3268,16 @@ interface components {
|
|
|
2475
3268
|
* @example null
|
|
2476
3269
|
*/
|
|
2477
3270
|
parent_id: string | null;
|
|
3271
|
+
/**
|
|
3272
|
+
* @description True when the post author has pinned this top-level comment (task 012). Pinned comments lead the top-level listing.
|
|
3273
|
+
* @example false
|
|
3274
|
+
*/
|
|
3275
|
+
pinned: boolean;
|
|
3276
|
+
/**
|
|
3277
|
+
* @description ISO timestamp the comment was pinned; null when not pinned.
|
|
3278
|
+
* @example null
|
|
3279
|
+
*/
|
|
3280
|
+
pinned_at: string | null;
|
|
2478
3281
|
/**
|
|
2479
3282
|
* @description Post the comment threads under.
|
|
2480
3283
|
* @example bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb
|
|
@@ -2683,6 +3486,12 @@ interface components {
|
|
|
2683
3486
|
* @example 50
|
|
2684
3487
|
*/
|
|
2685
3488
|
max_group_conversation_size: number;
|
|
3489
|
+
/**
|
|
3490
|
+
* @description Maximum pinned top-level comments per post (task 012). Integer 0..100; floored. Exceeding it returns 409 `PIN_CAP_REACHED`.
|
|
3491
|
+
* @default 3
|
|
3492
|
+
* @example 3
|
|
3493
|
+
*/
|
|
3494
|
+
max_pinned_comments: number;
|
|
2686
3495
|
/** @description Ranked-feed tuning (weights, half-life, candidate window). Read at query time by the actor feed, list feeds, and the discover feed. */
|
|
2687
3496
|
ranking?: components["schemas"]["CommunityRankingSettingsDto"];
|
|
2688
3497
|
};
|
|
@@ -2744,10 +3553,20 @@ interface components {
|
|
|
2744
3553
|
*/
|
|
2745
3554
|
last_read_at: string | null;
|
|
2746
3555
|
/**
|
|
2747
|
-
* @description When true, dm_new_message notifications are suppressed for this participant.
|
|
3556
|
+
* @description When true, dm_new_message notifications are suppressed indefinitely for this participant.
|
|
2748
3557
|
* @example false
|
|
2749
3558
|
*/
|
|
2750
3559
|
muted: boolean;
|
|
3560
|
+
/**
|
|
3561
|
+
* @description Timed mute (task 024): dm_new_message is suppressed while this is in the future. Additive beside `muted`; a past value is inert. Null when no timed mute.
|
|
3562
|
+
* @example null
|
|
3563
|
+
*/
|
|
3564
|
+
muted_until: string | null;
|
|
3565
|
+
/**
|
|
3566
|
+
* @description When true, the thread is pinned to the top of this actor's inbox (task 024).
|
|
3567
|
+
* @example false
|
|
3568
|
+
*/
|
|
3569
|
+
pinned: boolean;
|
|
2751
3570
|
/**
|
|
2752
3571
|
* @description Role on this conversation. `admin` for groups can add / remove members and rename.
|
|
2753
3572
|
* @example member
|
|
@@ -2794,6 +3613,11 @@ interface components {
|
|
|
2794
3613
|
name: string | null;
|
|
2795
3614
|
/** @description Participants, joined-at ascending. */
|
|
2796
3615
|
participants: components["schemas"]["ConversationParticipantDto"][];
|
|
3616
|
+
/**
|
|
3617
|
+
* @description Unread messages for the requesting actor (task 024) — messages from others created after the requester's last_read_at. Embedded on list + single GET for inbox badges.
|
|
3618
|
+
* @example 0
|
|
3619
|
+
*/
|
|
3620
|
+
unread_count: number;
|
|
2797
3621
|
/**
|
|
2798
3622
|
* @description ISO timestamp.
|
|
2799
3623
|
* @example 2026-05-01T12:00:00.000Z
|
|
@@ -2820,13 +3644,33 @@ interface components {
|
|
|
2820
3644
|
*/
|
|
2821
3645
|
visibility?: "public" | "private";
|
|
2822
3646
|
};
|
|
3647
|
+
CreateBlockedTermDto: {
|
|
3648
|
+
/**
|
|
3649
|
+
* @description What a match does. Default `hide`.
|
|
3650
|
+
* @example hide
|
|
3651
|
+
* @enum {string}
|
|
3652
|
+
*/
|
|
3653
|
+
action?: "hide" | "pending_approval";
|
|
3654
|
+
/**
|
|
3655
|
+
* @description The word/phrase to block (case-insensitive substring). Max 128 chars.
|
|
3656
|
+
* @example spoiler
|
|
3657
|
+
*/
|
|
3658
|
+
term: string;
|
|
3659
|
+
};
|
|
2823
3660
|
CreateBookmarkDto: {
|
|
2824
3661
|
/**
|
|
2825
3662
|
* @description Social actor UUID who is bookmarking — the customer-backend supplies the end-user identity here.
|
|
2826
3663
|
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
2827
3664
|
*/
|
|
2828
3665
|
actor_id: string;
|
|
2829
|
-
|
|
3666
|
+
/**
|
|
3667
|
+
* @description Optional collection UUIDs (task 020) to file this post into alongside the flat bookmark. Only the actor's own collections are written; unknown/other-owner ids are silently skipped. Max 20.
|
|
3668
|
+
* @example [
|
|
3669
|
+
* "99999999-0000-0000-0000-000000000001"
|
|
3670
|
+
* ]
|
|
3671
|
+
*/
|
|
3672
|
+
collection_ids?: string[];
|
|
3673
|
+
};
|
|
2830
3674
|
CreateCloseFriendDto: {
|
|
2831
3675
|
/**
|
|
2832
3676
|
* @description Member social actor UUID (the actor being added).
|
|
@@ -2839,12 +3683,45 @@ interface components {
|
|
|
2839
3683
|
*/
|
|
2840
3684
|
owner_actor_id: string;
|
|
2841
3685
|
};
|
|
3686
|
+
CreateCollectionDto: {
|
|
3687
|
+
/**
|
|
3688
|
+
* Format: uuid
|
|
3689
|
+
* @description Cover image — a ready asset (task 019) owned by the collection owner.
|
|
3690
|
+
*/
|
|
3691
|
+
cover_asset_id?: string;
|
|
3692
|
+
/** @description Cover image URL (alternative to cover_asset_id). */
|
|
3693
|
+
cover_url?: string;
|
|
3694
|
+
/**
|
|
3695
|
+
* @description Default `bookmark` (owner-scoped). `highlight` is profile-public and bypasses story expiry.
|
|
3696
|
+
* @enum {string}
|
|
3697
|
+
*/
|
|
3698
|
+
kind?: "bookmark" | "highlight";
|
|
3699
|
+
/**
|
|
3700
|
+
* @description Collection name (1-200 chars).
|
|
3701
|
+
* @example Travel
|
|
3702
|
+
*/
|
|
3703
|
+
name: string;
|
|
3704
|
+
/**
|
|
3705
|
+
* @description The owning actor UUID.
|
|
3706
|
+
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
3707
|
+
*/
|
|
3708
|
+
owner_actor_id: string;
|
|
3709
|
+
/** @description Owner-defined ordering position. */
|
|
3710
|
+
position?: number;
|
|
3711
|
+
/**
|
|
3712
|
+
* @description Default `private`.
|
|
3713
|
+
* @enum {string}
|
|
3714
|
+
*/
|
|
3715
|
+
visibility?: "public" | "private";
|
|
3716
|
+
};
|
|
2842
3717
|
CreateCommentDto: {
|
|
2843
3718
|
/**
|
|
2844
3719
|
* @description Social actor UUID who authors the comment.
|
|
2845
3720
|
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
2846
3721
|
*/
|
|
2847
3722
|
actor_id: string;
|
|
3723
|
+
/** @description Ordered image attachments (task 019). Each references a `ready` asset in this community owned by the author. Max 20. */
|
|
3724
|
+
assets?: components["schemas"]["AssetAttachmentInputDto"][];
|
|
2848
3725
|
/**
|
|
2849
3726
|
* @description Comment body (1-10000 chars after trim).
|
|
2850
3727
|
* @example Looks great, shipping today.
|
|
@@ -2970,16 +3847,16 @@ interface components {
|
|
|
2970
3847
|
*/
|
|
2971
3848
|
reporter_actor_id: string;
|
|
2972
3849
|
/**
|
|
2973
|
-
* @description UUID of the post
|
|
3850
|
+
* @description UUID of the target (post / comment / actor / message id per target_kind).
|
|
2974
3851
|
* @example pppppppp-pppp-pppp-pppp-pppppppppppp
|
|
2975
3852
|
*/
|
|
2976
3853
|
target_id: string;
|
|
2977
3854
|
/**
|
|
2978
|
-
* @description What kind of object is being flagged.
|
|
3855
|
+
* @description What kind of object is being flagged (task 017 adds actor + direct_message). A direct_message flag requires the reporter to be a participant in the conversation.
|
|
2979
3856
|
* @example post
|
|
2980
3857
|
* @enum {string}
|
|
2981
3858
|
*/
|
|
2982
|
-
target_kind: "post" | "comment";
|
|
3859
|
+
target_kind: "post" | "comment" | "actor" | "direct_message";
|
|
2983
3860
|
};
|
|
2984
3861
|
CreateFlagResponseDto: {
|
|
2985
3862
|
/**
|
|
@@ -3003,6 +3880,11 @@ interface components {
|
|
|
3003
3880
|
tag: string;
|
|
3004
3881
|
};
|
|
3005
3882
|
CreateMutedTermDto: {
|
|
3883
|
+
/**
|
|
3884
|
+
* @description What matching does. `mute` (default) or `pending_approval` (task 015).
|
|
3885
|
+
* @enum {string}
|
|
3886
|
+
*/
|
|
3887
|
+
action?: "mute" | "pending_approval";
|
|
3006
3888
|
/** @description Optional expiry (ISO timestamp in the future). */
|
|
3007
3889
|
expires_at?: string | null;
|
|
3008
3890
|
/**
|
|
@@ -3022,6 +3904,8 @@ interface components {
|
|
|
3022
3904
|
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
3023
3905
|
*/
|
|
3024
3906
|
actor_id: string;
|
|
3907
|
+
/** @description Ordered image attachments (task 019). Each references a `ready` asset in this community owned by the author. Max 20. */
|
|
3908
|
+
assets?: components["schemas"]["AssetAttachmentInputDto"][];
|
|
3025
3909
|
/**
|
|
3026
3910
|
* @description Free-form attributes blob. Polls live here at `attributes.poll`.
|
|
3027
3911
|
* @example {
|
|
@@ -3046,6 +3930,8 @@ interface components {
|
|
|
3046
3930
|
kind?: string;
|
|
3047
3931
|
/** @description Required when status='scheduled'. ISO timestamp at least 30 seconds in the future. The PostSchedulerCron promotes scheduled posts to published once now() >= scheduled_for. */
|
|
3048
3932
|
scheduled_for?: string | null;
|
|
3933
|
+
/** @description Per-post interaction settings (comment policy, hide reaction counts, allow repost/quote). Omitted keys default to the open shape. Enforced server-side. */
|
|
3934
|
+
settings?: components["schemas"]["PostSettingsInputDto"];
|
|
3049
3935
|
/**
|
|
3050
3936
|
* @description For `kind='quote'` ONLY: the source post being quoted. Reposts use the dedicated POST /posts/:postId/repost route instead. Validation: when `kind='quote'`, both `source_post_id` and a non-empty `body` are required.
|
|
3051
3937
|
* @example bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb
|
|
@@ -3056,6 +3942,13 @@ interface components {
|
|
|
3056
3942
|
* @enum {string}
|
|
3057
3943
|
*/
|
|
3058
3944
|
status?: "published" | "draft" | "scheduled";
|
|
3945
|
+
/**
|
|
3946
|
+
* @description Actor UUIDs to tag in the post (task 011). Each lands as a pending tag the actor approves. Non-actors and blocked pairs are skipped. Max 30.
|
|
3947
|
+
* @example [
|
|
3948
|
+
* "aaaaaaaa-0000-0000-0000-000000000002"
|
|
3949
|
+
* ]
|
|
3950
|
+
*/
|
|
3951
|
+
tags?: string[];
|
|
3059
3952
|
/**
|
|
3060
3953
|
* @description Optional title (1-240 chars).
|
|
3061
3954
|
* @example Shipping Phase 8
|
|
@@ -3117,7 +4010,7 @@ interface components {
|
|
|
3117
4010
|
* "comment.created"
|
|
3118
4011
|
* ]
|
|
3119
4012
|
*/
|
|
3120
|
-
event_types: ("post.created" | "post.updated" | "post.deleted" | "post.reaction.created" | "repost.created" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.created" | "edge.follow.created" | "edge.follow.deleted" | "flag.created" | "flag.updated" | "moderation.action.applied" | "actor.updated" | "dm.message.created")[];
|
|
4013
|
+
event_types: ("post.created" | "post.updated" | "post.deleted" | "post.reaction.created" | "repost.created" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.created" | "edge.follow.created" | "edge.follow.deleted" | "edge.follow.requested" | "edge.follow.request_approved" | "flag.created" | "flag.updated" | "moderation.action.applied" | "actor.updated" | "dm.message.created" | "tag.created" | "asset.ready" | "asset.failed")[];
|
|
3121
4014
|
/**
|
|
3122
4015
|
* @description Subscriber URL. Must be `https://`.
|
|
3123
4016
|
* @example https://example.com/webhooks/social
|
|
@@ -3157,7 +4050,7 @@ interface components {
|
|
|
3157
4050
|
* "comment.created"
|
|
3158
4051
|
* ]
|
|
3159
4052
|
*/
|
|
3160
|
-
event_types: ("post.created" | "post.updated" | "post.deleted" | "post.reaction.created" | "repost.created" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.created" | "edge.follow.created" | "edge.follow.deleted" | "flag.created" | "flag.updated" | "moderation.action.applied" | "actor.updated" | "dm.message.created")[];
|
|
4053
|
+
event_types: ("post.created" | "post.updated" | "post.deleted" | "post.reaction.created" | "repost.created" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.created" | "edge.follow.created" | "edge.follow.deleted" | "edge.follow.requested" | "edge.follow.request_approved" | "flag.created" | "flag.updated" | "moderation.action.applied" | "actor.updated" | "dm.message.created" | "tag.created" | "asset.ready" | "asset.failed")[];
|
|
3161
4054
|
/**
|
|
3162
4055
|
* @description Webhook UUID.
|
|
3163
4056
|
* @example wwwwwwww-0000-0000-0000-000000000001
|
|
@@ -3220,6 +4113,10 @@ interface components {
|
|
|
3220
4113
|
*/
|
|
3221
4114
|
sender_id?: string;
|
|
3222
4115
|
};
|
|
4116
|
+
DeleteWithCallerDto: {
|
|
4117
|
+
/** @example aaaaaaaa-0000-0000-0000-000000000001 */
|
|
4118
|
+
caller_actor_id: string;
|
|
4119
|
+
};
|
|
3223
4120
|
DeliveryJobResponseDto: {
|
|
3224
4121
|
/**
|
|
3225
4122
|
* @description Delivery attempts made so far.
|
|
@@ -3340,6 +4237,11 @@ interface components {
|
|
|
3340
4237
|
pagination: components["schemas"]["PaginationResponseDto"];
|
|
3341
4238
|
};
|
|
3342
4239
|
DirectMessageAdminResponseDto: {
|
|
4240
|
+
/**
|
|
4241
|
+
* @description Ordered image attachments (task 019); ref-only.
|
|
4242
|
+
* @example []
|
|
4243
|
+
*/
|
|
4244
|
+
assets: string[];
|
|
3343
4245
|
/**
|
|
3344
4246
|
* @description Attachments.
|
|
3345
4247
|
* @example []
|
|
@@ -3476,6 +4378,8 @@ interface components {
|
|
|
3476
4378
|
type: string;
|
|
3477
4379
|
};
|
|
3478
4380
|
DirectMessageResponseDto: {
|
|
4381
|
+
/** @description Ordered image attachments (task 019). Ref-only; resolve renditions via GET /assets/:id. */
|
|
4382
|
+
assets: components["schemas"]["AssetAttachmentDto"][];
|
|
3479
4383
|
attachments: components["schemas"]["DirectMessageAttachmentDto"][];
|
|
3480
4384
|
/**
|
|
3481
4385
|
* @description Message body. Returns `"(deleted)"` when soft-deleted.
|
|
@@ -3535,6 +4439,27 @@ interface components {
|
|
|
3535
4439
|
*/
|
|
3536
4440
|
sender_id: string;
|
|
3537
4441
|
};
|
|
4442
|
+
DirectModerationActionDto: {
|
|
4443
|
+
/**
|
|
4444
|
+
* @description Action. hide/remove act on the target; ban/restore suspend/reinstate an actor; warn is audit-only. The audit row has flag_id=null (unsolicited action).
|
|
4445
|
+
* @example remove
|
|
4446
|
+
* @enum {string}
|
|
4447
|
+
*/
|
|
4448
|
+
action: "hide" | "remove" | "warn" | "ban" | "dismiss" | "unhide" | "restore";
|
|
4449
|
+
/** @description Optional moderator notes (up to 2000 chars). */
|
|
4450
|
+
notes?: string;
|
|
4451
|
+
/**
|
|
4452
|
+
* @description The target UUID (post/comment/actor/message id per target_kind).
|
|
4453
|
+
* @example bbbbbbbb-0000-0000-0000-000000000001
|
|
4454
|
+
*/
|
|
4455
|
+
target_id: string;
|
|
4456
|
+
/**
|
|
4457
|
+
* @description What the action targets (task 017). post/comment → status transition; direct_message → moderator soft-delete; actor → ban=suspend / restore=reinstate.
|
|
4458
|
+
* @example direct_message
|
|
4459
|
+
* @enum {string}
|
|
4460
|
+
*/
|
|
4461
|
+
target_kind: "post" | "comment" | "actor" | "direct_message";
|
|
4462
|
+
};
|
|
3538
4463
|
DraftListResponseDto: {
|
|
3539
4464
|
/** @description Draft post rows — status is always 'draft' on this endpoint. */
|
|
3540
4465
|
data: components["schemas"]["PostResponseDto"][];
|
|
@@ -3651,13 +4576,64 @@ interface components {
|
|
|
3651
4576
|
* @example post
|
|
3652
4577
|
* @enum {string}
|
|
3653
4578
|
*/
|
|
3654
|
-
target_kind: "post" | "comment";
|
|
4579
|
+
target_kind: "post" | "comment" | "actor" | "direct_message";
|
|
3655
4580
|
/**
|
|
3656
4581
|
* @description ISO timestamp of the last update.
|
|
3657
4582
|
* @example 2026-05-01T12:00:00.000Z
|
|
3658
4583
|
*/
|
|
3659
4584
|
updated_at: string;
|
|
3660
4585
|
};
|
|
4586
|
+
FollowRequestEntryDto: {
|
|
4587
|
+
/**
|
|
4588
|
+
* @description When the request was created.
|
|
4589
|
+
* @example 2026-05-01T12:00:00.000Z
|
|
4590
|
+
*/
|
|
4591
|
+
created_at: string;
|
|
4592
|
+
/**
|
|
4593
|
+
* @description Follow request UUID.
|
|
4594
|
+
* @example ffffffff-1111-0000-0000-000000000001
|
|
4595
|
+
*/
|
|
4596
|
+
request_id: string;
|
|
4597
|
+
/**
|
|
4598
|
+
* @description Requesting actor UUID.
|
|
4599
|
+
* @example aaaaaaaa-0000-0000-0000-000000000002
|
|
4600
|
+
*/
|
|
4601
|
+
src_actor_id: string;
|
|
4602
|
+
/**
|
|
4603
|
+
* @description Requesting actor avatar URL.
|
|
4604
|
+
* @example null
|
|
4605
|
+
*/
|
|
4606
|
+
src_avatar_url: string | null;
|
|
4607
|
+
/**
|
|
4608
|
+
* @description Requesting actor display name.
|
|
4609
|
+
* @example Bob
|
|
4610
|
+
*/
|
|
4611
|
+
src_display_name: string | null;
|
|
4612
|
+
/**
|
|
4613
|
+
* @description Requesting actor's external_id.
|
|
4614
|
+
* @example bob
|
|
4615
|
+
*/
|
|
4616
|
+
src_external_id: string;
|
|
4617
|
+
};
|
|
4618
|
+
FollowRequestListResponseDto: {
|
|
4619
|
+
data: components["schemas"]["FollowRequestEntryDto"][];
|
|
4620
|
+
pagination: components["schemas"]["PaginationResponseDto"];
|
|
4621
|
+
};
|
|
4622
|
+
FollowResultDto: {
|
|
4623
|
+
/**
|
|
4624
|
+
* @description `true` if the edge / request was created on this call; `false` on idempotent retry.
|
|
4625
|
+
* @example true
|
|
4626
|
+
*/
|
|
4627
|
+
created: boolean;
|
|
4628
|
+
/** @description The follow edge when `status=followed`; null when `pending`. */
|
|
4629
|
+
edge: components["schemas"]["EdgeResponseDto"] | null;
|
|
4630
|
+
/**
|
|
4631
|
+
* @description `followed` = an edge exists; `pending` = a follow request was created (private dst).
|
|
4632
|
+
* @example followed
|
|
4633
|
+
* @enum {string}
|
|
4634
|
+
*/
|
|
4635
|
+
status: "followed" | "pending";
|
|
4636
|
+
};
|
|
3661
4637
|
FollowerEdgeListResponseDto: {
|
|
3662
4638
|
data: components["schemas"]["FollowerEdgeResponseDto"][];
|
|
3663
4639
|
pagination: components["schemas"]["PaginationResponseDto"];
|
|
@@ -3733,6 +4709,11 @@ interface components {
|
|
|
3733
4709
|
* @example storymode
|
|
3734
4710
|
*/
|
|
3735
4711
|
tag: string;
|
|
4712
|
+
/**
|
|
4713
|
+
* @description Published posts using the tag inside the trending window; non-null only when `order=trending` (task 023).
|
|
4714
|
+
* @example null
|
|
4715
|
+
*/
|
|
4716
|
+
window_post_count: number | null;
|
|
3736
4717
|
};
|
|
3737
4718
|
HashtagFollowListResponseDto: {
|
|
3738
4719
|
data: components["schemas"]["HashtagFollowResponseDto"][];
|
|
@@ -3784,12 +4765,69 @@ interface components {
|
|
|
3784
4765
|
* @example storymode
|
|
3785
4766
|
*/
|
|
3786
4767
|
tag: string;
|
|
4768
|
+
/**
|
|
4769
|
+
* @description Published posts using the tag inside the trending window; non-null only when `order=trending` (task 023).
|
|
4770
|
+
* @example null
|
|
4771
|
+
*/
|
|
4772
|
+
window_post_count: number | null;
|
|
4773
|
+
};
|
|
4774
|
+
HideEntryDto: {
|
|
4775
|
+
/**
|
|
4776
|
+
* @description When the post was hidden.
|
|
4777
|
+
* @example 2026-05-01T12:00:00.000Z
|
|
4778
|
+
*/
|
|
4779
|
+
created_at: string;
|
|
4780
|
+
/**
|
|
4781
|
+
* @description The hidden post UUID.
|
|
4782
|
+
* @example bbbbbbbb-0000-0000-0000-000000000001
|
|
4783
|
+
*/
|
|
4784
|
+
post_id: string;
|
|
4785
|
+
};
|
|
4786
|
+
HideListResponseDto: {
|
|
4787
|
+
data: components["schemas"]["HideEntryDto"][];
|
|
4788
|
+
pagination: components["schemas"]["PaginationResponseDto"];
|
|
4789
|
+
};
|
|
4790
|
+
HidePostDto: {
|
|
4791
|
+
/**
|
|
4792
|
+
* @description The actor hiding the post.
|
|
4793
|
+
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
4794
|
+
*/
|
|
4795
|
+
actor_id: string;
|
|
4796
|
+
/**
|
|
4797
|
+
* @description The post to hide.
|
|
4798
|
+
* @example bbbbbbbb-0000-0000-0000-000000000001
|
|
4799
|
+
*/
|
|
4800
|
+
post_id: string;
|
|
4801
|
+
};
|
|
4802
|
+
HideResultDto: {
|
|
4803
|
+
/**
|
|
4804
|
+
* @description `true` if the hide was created on this call; `false` on idempotent retry.
|
|
4805
|
+
* @example true
|
|
4806
|
+
*/
|
|
4807
|
+
created: boolean;
|
|
3787
4808
|
};
|
|
3788
4809
|
HighlightsResponse: {
|
|
3789
4810
|
/** @description Page of pinned posts (full post rows; expiry is bypassed for pinned rows). */
|
|
3790
4811
|
data: components["schemas"]["PostResponseDto"][];
|
|
3791
4812
|
pagination: components["schemas"]["PaginationResponseDto"];
|
|
3792
4813
|
};
|
|
4814
|
+
InsightsDailyBucketDto: {
|
|
4815
|
+
/**
|
|
4816
|
+
* @description ISO date (YYYY-MM-DD).
|
|
4817
|
+
* @example 2026-05-01
|
|
4818
|
+
*/
|
|
4819
|
+
day: string;
|
|
4820
|
+
/**
|
|
4821
|
+
* @description Distinct viewers that day.
|
|
4822
|
+
* @example 210
|
|
4823
|
+
*/
|
|
4824
|
+
reach: number;
|
|
4825
|
+
/**
|
|
4826
|
+
* @description Total impressions that day (repeats + anonymous).
|
|
4827
|
+
* @example 340
|
|
4828
|
+
*/
|
|
4829
|
+
views: number;
|
|
4830
|
+
};
|
|
3793
4831
|
LeaveConversationDto: {
|
|
3794
4832
|
/**
|
|
3795
4833
|
* @deprecated
|
|
@@ -3916,7 +4954,7 @@ interface components {
|
|
|
3916
4954
|
* @example post
|
|
3917
4955
|
* @enum {string}
|
|
3918
4956
|
*/
|
|
3919
|
-
target_kind: "post" | "comment";
|
|
4957
|
+
target_kind: "post" | "comment" | "actor" | "direct_message";
|
|
3920
4958
|
};
|
|
3921
4959
|
ModerationActorListResponseDto: {
|
|
3922
4960
|
data: components["schemas"]["ModerationActorResponseDto"][];
|
|
@@ -3953,6 +4991,11 @@ interface components {
|
|
|
3953
4991
|
* @example aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
|
|
3954
4992
|
*/
|
|
3955
4993
|
id: string;
|
|
4994
|
+
/**
|
|
4995
|
+
* @description When true, the actor is private (task 014): effective post visibility is capped at `followers` and following requires an approved follow request.
|
|
4996
|
+
* @example false
|
|
4997
|
+
*/
|
|
4998
|
+
is_private: boolean;
|
|
3956
4999
|
/**
|
|
3957
5000
|
* @description Free-form metadata blob.
|
|
3958
5001
|
* @example {
|
|
@@ -3983,6 +5026,12 @@ interface components {
|
|
|
3983
5026
|
pagination: components["schemas"]["PaginationResponseDto"];
|
|
3984
5027
|
};
|
|
3985
5028
|
MutedTermResponseDto: {
|
|
5029
|
+
/**
|
|
5030
|
+
* @description What matching does (task 015). `mute` = feed-filter only; `pending_approval` = hold a stranger's comment on your post for review.
|
|
5031
|
+
* @example mute
|
|
5032
|
+
* @enum {string}
|
|
5033
|
+
*/
|
|
5034
|
+
action: "mute" | "pending_approval";
|
|
3986
5035
|
/**
|
|
3987
5036
|
* @description Owning actor UUID.
|
|
3988
5037
|
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
@@ -4040,7 +5089,7 @@ interface components {
|
|
|
4040
5089
|
* @example follow
|
|
4041
5090
|
* @enum {string}
|
|
4042
5091
|
*/
|
|
4043
|
-
kind: "follow" | "reaction" | "comment_on_post" | "reply_to_comment" | "mention" | "vote" | "repost" | "quote_post" | "dm_new_message" | "dm_added_to_group" | "dm_role_changed" | "dm_reaction";
|
|
5092
|
+
kind: "follow" | "reaction" | "comment_on_post" | "reply_to_comment" | "mention" | "vote" | "repost" | "quote_post" | "dm_new_message" | "dm_added_to_group" | "dm_role_changed" | "dm_reaction" | "tag" | "follow_request" | "follow_request_approved";
|
|
4044
5093
|
/**
|
|
4045
5094
|
* @description ISO timestamp of the last update. Synthesised entries (no explicit row) report epoch.
|
|
4046
5095
|
* @example 2026-05-01T12:00:00.000Z
|
|
@@ -4073,7 +5122,7 @@ interface components {
|
|
|
4073
5122
|
* @example reaction
|
|
4074
5123
|
* @enum {string}
|
|
4075
5124
|
*/
|
|
4076
|
-
kind: "follow" | "reaction" | "comment_on_post" | "reply_to_comment" | "mention" | "vote" | "repost" | "quote_post" | "dm_new_message" | "dm_added_to_group" | "dm_role_changed" | "dm_reaction";
|
|
5125
|
+
kind: "follow" | "reaction" | "comment_on_post" | "reply_to_comment" | "mention" | "vote" | "repost" | "quote_post" | "dm_new_message" | "dm_added_to_group" | "dm_role_changed" | "dm_reaction" | "tag" | "follow_request" | "follow_request_approved";
|
|
4077
5126
|
/**
|
|
4078
5127
|
* @description Kind-specific extras. `reaction`: `{type}` (+ `{post_id}` when the target is a comment). `comment_on_post` / `reply_to_comment`: `{comment_id}`. `mention`: `{post_id}` (+ `{comment_id}` for comment mentions).
|
|
4079
5128
|
* @example {
|
|
@@ -4191,6 +5240,13 @@ interface components {
|
|
|
4191
5240
|
*/
|
|
4192
5241
|
muted: boolean;
|
|
4193
5242
|
};
|
|
5243
|
+
PinCommentDto: {
|
|
5244
|
+
/**
|
|
5245
|
+
* @description The acting actor — must equal the post.actor_id (task 012).
|
|
5246
|
+
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
5247
|
+
*/
|
|
5248
|
+
actor_id: string;
|
|
5249
|
+
};
|
|
4194
5250
|
PollResultOptionResponse: {
|
|
4195
5251
|
/**
|
|
4196
5252
|
* @description Number of votes recorded for this option.
|
|
@@ -4226,6 +5282,79 @@ interface components {
|
|
|
4226
5282
|
*/
|
|
4227
5283
|
total_votes: number;
|
|
4228
5284
|
};
|
|
5285
|
+
PollVoteResponse: {
|
|
5286
|
+
/**
|
|
5287
|
+
* @description When the vote was cast (or last changed).
|
|
5288
|
+
* @example 2026-05-01T11:30:00.000Z
|
|
5289
|
+
*/
|
|
5290
|
+
created_at: string;
|
|
5291
|
+
/**
|
|
5292
|
+
* @description Zero-based index of the option the actor voted for.
|
|
5293
|
+
* @example 1
|
|
5294
|
+
*/
|
|
5295
|
+
option_index: number;
|
|
5296
|
+
};
|
|
5297
|
+
PollVoterResponse: {
|
|
5298
|
+
/**
|
|
5299
|
+
* @description The option this voter chose.
|
|
5300
|
+
* @example 1
|
|
5301
|
+
*/
|
|
5302
|
+
option_index: number;
|
|
5303
|
+
/**
|
|
5304
|
+
* @description When the vote was cast.
|
|
5305
|
+
* @example 2026-05-01T11:30:00.000Z
|
|
5306
|
+
*/
|
|
5307
|
+
voted_at: string;
|
|
5308
|
+
/**
|
|
5309
|
+
* @description Voter actor UUID.
|
|
5310
|
+
* @example aaaaaaaa-0000-0000-0000-000000000002
|
|
5311
|
+
*/
|
|
5312
|
+
voter_actor_id: string;
|
|
5313
|
+
/**
|
|
5314
|
+
* @description Voter avatar URL.
|
|
5315
|
+
* @example https://...
|
|
5316
|
+
*/
|
|
5317
|
+
voter_avatar_url: string | null;
|
|
5318
|
+
/**
|
|
5319
|
+
* @description Voter display name.
|
|
5320
|
+
* @example Bob
|
|
5321
|
+
*/
|
|
5322
|
+
voter_display_name: string | null;
|
|
5323
|
+
/**
|
|
5324
|
+
* @description Voter's external_id.
|
|
5325
|
+
* @example bob
|
|
5326
|
+
*/
|
|
5327
|
+
voter_external_id: string;
|
|
5328
|
+
};
|
|
5329
|
+
PollVotersResponse: {
|
|
5330
|
+
data: components["schemas"]["PollVoterResponse"][];
|
|
5331
|
+
pagination: components["schemas"]["PaginationResponseDto"];
|
|
5332
|
+
};
|
|
5333
|
+
PostInsightsResponseDto: {
|
|
5334
|
+
/** @example 34 */
|
|
5335
|
+
comment_count: number;
|
|
5336
|
+
/** @example cccccccc-cccc-cccc-cccc-cccccccccccc */
|
|
5337
|
+
community_id: string;
|
|
5338
|
+
daily: components["schemas"]["InsightsDailyBucketDto"][];
|
|
5339
|
+
/** @example bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb */
|
|
5340
|
+
post_id: string;
|
|
5341
|
+
/** @example 4 */
|
|
5342
|
+
quote_count: number;
|
|
5343
|
+
/** @example 128 */
|
|
5344
|
+
reaction_count: number;
|
|
5345
|
+
/** @example 9 */
|
|
5346
|
+
repost_count: number;
|
|
5347
|
+
/**
|
|
5348
|
+
* @description All-time distinct viewers.
|
|
5349
|
+
* @example 3110
|
|
5350
|
+
*/
|
|
5351
|
+
unique_reach: number;
|
|
5352
|
+
/**
|
|
5353
|
+
* @description All-time total impressions.
|
|
5354
|
+
* @example 4820
|
|
5355
|
+
*/
|
|
5356
|
+
views: number;
|
|
5357
|
+
};
|
|
4229
5358
|
PostListResponseDto: {
|
|
4230
5359
|
data: components["schemas"]["PostResponseDto"][];
|
|
4231
5360
|
pagination: components["schemas"]["PaginationResponseDto"];
|
|
@@ -4267,6 +5396,8 @@ interface components {
|
|
|
4267
5396
|
* @example aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
|
|
4268
5397
|
*/
|
|
4269
5398
|
actor_id: string;
|
|
5399
|
+
/** @description Ordered image attachments (task 019). Ref-only; resolve renditions via GET /assets/:id. */
|
|
5400
|
+
assets: components["schemas"]["AssetAttachmentDto"][];
|
|
4270
5401
|
/**
|
|
4271
5402
|
* @description Free-form attributes blob (polls live at `attributes.poll`).
|
|
4272
5403
|
* @example {}
|
|
@@ -4345,17 +5476,19 @@ interface components {
|
|
|
4345
5476
|
* @example null
|
|
4346
5477
|
*/
|
|
4347
5478
|
scheduled_for: string | null;
|
|
5479
|
+
/** @description Typed per-post interaction settings (comment policy, count hiding, repost/quote permission). Enforced server-side. */
|
|
5480
|
+
settings: components["schemas"]["PostSettingsDto"];
|
|
4348
5481
|
/**
|
|
4349
5482
|
* @description For kind='repost' / 'quote': the source post UUID.
|
|
4350
5483
|
* @example null
|
|
4351
5484
|
*/
|
|
4352
5485
|
source_post_id: string | null;
|
|
4353
5486
|
/**
|
|
4354
|
-
* @description Lifecycle status. Public list/feed surfaces only return `published`; `draft` and `
|
|
5487
|
+
* @description Lifecycle status. Public list/feed surfaces only return `published`; `draft`, `scheduled`, and `archived` rows surface exclusively on their author-scoped listings and author reads. `removed` rows are hidden from reads. `archived` keeps engagement but is author-only.
|
|
4355
5488
|
* @example published
|
|
4356
5489
|
* @enum {string}
|
|
4357
5490
|
*/
|
|
4358
|
-
status: "published" | "hidden" | "removed" | "draft" | "scheduled";
|
|
5491
|
+
status: "published" | "hidden" | "removed" | "draft" | "scheduled" | "archived";
|
|
4359
5492
|
/**
|
|
4360
5493
|
* @description Optional title (1-240 chars).
|
|
4361
5494
|
* @example Shipping Phase 8
|
|
@@ -4433,6 +5566,42 @@ interface components {
|
|
|
4433
5566
|
/** @description Always `null` — this lane returns a single bounded, ranked page (no cursor in v1). Present for envelope consistency. */
|
|
4434
5567
|
pagination: components["schemas"]["PaginationResponseDto"] | null;
|
|
4435
5568
|
};
|
|
5569
|
+
PostSettingsDto: {
|
|
5570
|
+
/**
|
|
5571
|
+
* @description When false, quoting this post (kind='quote') is refused (422 QUOTE_NOT_ALLOWED).
|
|
5572
|
+
* @example true
|
|
5573
|
+
*/
|
|
5574
|
+
allow_quote: boolean;
|
|
5575
|
+
/**
|
|
5576
|
+
* @description When false, reposting this post is refused (422 REPOST_NOT_ALLOWED).
|
|
5577
|
+
* @example true
|
|
5578
|
+
*/
|
|
5579
|
+
allow_repost: boolean;
|
|
5580
|
+
/**
|
|
5581
|
+
* @description Who may comment. `everyone` (default), `followers`, `mentioned` (actors mentioned in the post body), or `off` (author only). Enforced server-side on comment create.
|
|
5582
|
+
* @example everyone
|
|
5583
|
+
* @enum {string}
|
|
5584
|
+
*/
|
|
5585
|
+
comments: "everyone" | "followers" | "mentioned" | "off";
|
|
5586
|
+
/**
|
|
5587
|
+
* @description When true, `reaction_counts` is suppressed (emitted as `{}`) for everyone except the post author, on every read surface.
|
|
5588
|
+
* @example false
|
|
5589
|
+
*/
|
|
5590
|
+
hide_reaction_counts: boolean;
|
|
5591
|
+
};
|
|
5592
|
+
PostSettingsInputDto: {
|
|
5593
|
+
/** @description Allow this post to be quoted. Default true. */
|
|
5594
|
+
allow_quote?: boolean;
|
|
5595
|
+
/** @description Allow this post to be reposted. Default true. */
|
|
5596
|
+
allow_repost?: boolean;
|
|
5597
|
+
/**
|
|
5598
|
+
* @description Who may comment. `everyone` (default), `followers`, `mentioned`, or `off` (author only).
|
|
5599
|
+
* @enum {string}
|
|
5600
|
+
*/
|
|
5601
|
+
comments?: "everyone" | "followers" | "mentioned" | "off";
|
|
5602
|
+
/** @description Suppress reaction_counts for everyone except the author. Default false. */
|
|
5603
|
+
hide_reaction_counts?: boolean;
|
|
5604
|
+
};
|
|
4436
5605
|
PostStateRequestDto: {
|
|
4437
5606
|
/**
|
|
4438
5607
|
* @description UUIDs of the posts to hydrate viewer state for. Capped at 200 (matches the batch-views precedent); ids that are unknown, removed, or from another community resolve to the empty state instead of failing the batch.
|
|
@@ -4447,6 +5616,49 @@ interface components {
|
|
|
4447
5616
|
/** @description One entry per requested post id (de-duplicated, request order). Unknown / cross-community ids resolve to the empty state. */
|
|
4448
5617
|
data: components["schemas"]["PostViewerStateEntryDto"][];
|
|
4449
5618
|
};
|
|
5619
|
+
PostTagResponseDto: {
|
|
5620
|
+
/**
|
|
5621
|
+
* @description Owning community UUID.
|
|
5622
|
+
* @example cccccccc-cccc-cccc-cccc-cccccccccccc
|
|
5623
|
+
*/
|
|
5624
|
+
community_id: string;
|
|
5625
|
+
/**
|
|
5626
|
+
* @description ISO timestamp the tag was created.
|
|
5627
|
+
* @example 2026-05-01T12:00:00.000Z
|
|
5628
|
+
*/
|
|
5629
|
+
created_at: string;
|
|
5630
|
+
/**
|
|
5631
|
+
* @description Tag UUID.
|
|
5632
|
+
* @example ffffffff-0000-0000-0000-000000000001
|
|
5633
|
+
*/
|
|
5634
|
+
id: string;
|
|
5635
|
+
/**
|
|
5636
|
+
* @description Opaque customer-defined metadata blob.
|
|
5637
|
+
* @example null
|
|
5638
|
+
*/
|
|
5639
|
+
metadata: Record<string, never> | null;
|
|
5640
|
+
/**
|
|
5641
|
+
* @description Tagged post UUID.
|
|
5642
|
+
* @example bbbbbbbb-0000-0000-0000-000000000001
|
|
5643
|
+
*/
|
|
5644
|
+
post_id: string;
|
|
5645
|
+
/**
|
|
5646
|
+
* @description Lifecycle state.
|
|
5647
|
+
* @example approved
|
|
5648
|
+
* @enum {string}
|
|
5649
|
+
*/
|
|
5650
|
+
state: "pending" | "approved" | "removed";
|
|
5651
|
+
/**
|
|
5652
|
+
* @description Tagged actor UUID.
|
|
5653
|
+
* @example aaaaaaaa-0000-0000-0000-000000000002
|
|
5654
|
+
*/
|
|
5655
|
+
tagged_actor_id: string;
|
|
5656
|
+
/**
|
|
5657
|
+
* @description ISO timestamp of the last state change.
|
|
5658
|
+
* @example 2026-05-01T12:05:00.000Z
|
|
5659
|
+
*/
|
|
5660
|
+
updated_at: string;
|
|
5661
|
+
};
|
|
4450
5662
|
PostViewerStateEntryDto: {
|
|
4451
5663
|
/**
|
|
4452
5664
|
* @description The viewer has bookmarked the post.
|
|
@@ -4566,6 +5778,12 @@ interface components {
|
|
|
4566
5778
|
* ]
|
|
4567
5779
|
*/
|
|
4568
5780
|
post_ids: string[];
|
|
5781
|
+
/**
|
|
5782
|
+
* Format: uuid
|
|
5783
|
+
* @description Optional viewer actor UUID (task 021). When present, the impressions count toward the post's unique reach (deduped per viewer/day); omit for anonymous views (which count total views but not reach).
|
|
5784
|
+
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
5785
|
+
*/
|
|
5786
|
+
viewer_actor_id?: string;
|
|
4569
5787
|
};
|
|
4570
5788
|
RelationshipEntryDto: {
|
|
4571
5789
|
/**
|
|
@@ -4588,6 +5806,11 @@ interface components {
|
|
|
4588
5806
|
* @example aaaaaaaa-0000-0000-0000-000000000002
|
|
4589
5807
|
*/
|
|
4590
5808
|
dst_actor_id: string;
|
|
5809
|
+
/**
|
|
5810
|
+
* @description The source actor has a pending follow request against this (private) actor (task 014).
|
|
5811
|
+
* @example false
|
|
5812
|
+
*/
|
|
5813
|
+
follow_pending: boolean;
|
|
4591
5814
|
/**
|
|
4592
5815
|
* @description This actor follows the source actor.
|
|
4593
5816
|
* @example false
|
|
@@ -4648,6 +5871,15 @@ interface components {
|
|
|
4648
5871
|
/** @description New display name. Pass null or empty to clear. */
|
|
4649
5872
|
name: string | null;
|
|
4650
5873
|
};
|
|
5874
|
+
ReorderItemDto: {
|
|
5875
|
+
/** @example aaaaaaaa-0000-0000-0000-000000000001 */
|
|
5876
|
+
caller_actor_id: string;
|
|
5877
|
+
/**
|
|
5878
|
+
* @description New curator position.
|
|
5879
|
+
* @example 3
|
|
5880
|
+
*/
|
|
5881
|
+
position: number;
|
|
5882
|
+
};
|
|
4651
5883
|
RepostListResponseDto: {
|
|
4652
5884
|
/** @description Page of repost post rows, each carrying the reposting actor_id. */
|
|
4653
5885
|
data: components["schemas"]["PostResponseDto"][];
|
|
@@ -4659,6 +5891,8 @@ interface components {
|
|
|
4659
5891
|
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
4660
5892
|
*/
|
|
4661
5893
|
actor_id?: string;
|
|
5894
|
+
/** @description Ordered image attachments (task 019). Each references a `ready` asset in this community owned by the sender. Max 20. */
|
|
5895
|
+
assets?: components["schemas"]["AssetAttachmentInputDto"][];
|
|
4662
5896
|
attachments?: components["schemas"]["DirectMessageAttachmentDto"][];
|
|
4663
5897
|
/**
|
|
4664
5898
|
* @description Message body. Required when `kind="text"`. 1..10000 chars after trim.
|
|
@@ -4772,6 +6006,10 @@ interface components {
|
|
|
4772
6006
|
/** @description Always `null` — suggestions are a single bounded, scored page (no cursor in v1). Present for envelope consistency (task 008 / G13). */
|
|
4773
6007
|
pagination: components["schemas"]["PaginationResponseDto"] | null;
|
|
4774
6008
|
};
|
|
6009
|
+
TaggedPostsResponse: {
|
|
6010
|
+
data: components["schemas"]["PostResponseDto"][];
|
|
6011
|
+
pagination: components["schemas"]["PaginationResponseDto"];
|
|
6012
|
+
};
|
|
4775
6013
|
UnreadCountResponse: {
|
|
4776
6014
|
/**
|
|
4777
6015
|
* @description Number of unread notifications for the actor.
|
|
@@ -4789,6 +6027,8 @@ interface components {
|
|
|
4789
6027
|
UpdateActorDto: {
|
|
4790
6028
|
avatar_url?: string | null;
|
|
4791
6029
|
display_name?: string | null;
|
|
6030
|
+
/** @description Make the actor private (task 014). Caps effective post visibility at `followers`; following requires an approved request. Flipping back to public auto-approves pending requests. */
|
|
6031
|
+
is_private?: boolean;
|
|
4792
6032
|
metadata?: Record<string, never>;
|
|
4793
6033
|
/** @enum {string} */
|
|
4794
6034
|
status?: "active" | "suspended" | "deleted";
|
|
@@ -4809,6 +6049,20 @@ interface components {
|
|
|
4809
6049
|
*/
|
|
4810
6050
|
visibility?: "public" | "private";
|
|
4811
6051
|
};
|
|
6052
|
+
UpdateCollectionDto: {
|
|
6053
|
+
/**
|
|
6054
|
+
* @description The caller — must be the owner.
|
|
6055
|
+
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
6056
|
+
*/
|
|
6057
|
+
caller_actor_id: string;
|
|
6058
|
+
/** Format: uuid */
|
|
6059
|
+
cover_asset_id?: string | null;
|
|
6060
|
+
cover_url?: string | null;
|
|
6061
|
+
name?: string;
|
|
6062
|
+
position?: number;
|
|
6063
|
+
/** @enum {string} */
|
|
6064
|
+
visibility?: "public" | "private";
|
|
6065
|
+
};
|
|
4812
6066
|
UpdateCommentDto: {
|
|
4813
6067
|
/** @description Updated body. */
|
|
4814
6068
|
body?: string;
|
|
@@ -4835,27 +6089,60 @@ interface components {
|
|
|
4835
6089
|
*/
|
|
4836
6090
|
actor_id: string;
|
|
4837
6091
|
/**
|
|
4838
|
-
* @
|
|
6092
|
+
* @deprecated
|
|
6093
|
+
* @description DEPRECATED (task 025): use PATCH /:id/members/:actorId. Mute / unmute indefinitely on the caller's participant row.
|
|
4839
6094
|
* @example true
|
|
4840
6095
|
*/
|
|
4841
6096
|
muted?: boolean;
|
|
4842
|
-
};
|
|
4843
|
-
UpdateMemberRoleDto: {
|
|
4844
6097
|
/**
|
|
4845
|
-
* @
|
|
4846
|
-
* @
|
|
6098
|
+
* @deprecated
|
|
6099
|
+
* @description DEPRECATED (task 025): use PATCH /:id/members/:actorId. Timed mute until this ISO timestamp; pass `null` to clear.
|
|
6100
|
+
* @example 2026-05-02T12:00:00Z
|
|
4847
6101
|
*/
|
|
4848
|
-
|
|
6102
|
+
muted_until?: string | null;
|
|
4849
6103
|
/**
|
|
4850
|
-
* @description
|
|
4851
|
-
* @example
|
|
4852
|
-
* @enum {string}
|
|
6104
|
+
* @description Rename a group conversation (task 025) — group-only, admin-only. The canonical rename home, absorbing the deprecated PATCH /:id/name route.
|
|
6105
|
+
* @example Weekend plans
|
|
4853
6106
|
*/
|
|
4854
|
-
|
|
6107
|
+
name?: string | null;
|
|
6108
|
+
/**
|
|
6109
|
+
* @deprecated
|
|
6110
|
+
* @description DEPRECATED (task 025): use PATCH /:id/members/:actorId. Pin / unpin the thread in the caller's inbox.
|
|
6111
|
+
* @example true
|
|
6112
|
+
*/
|
|
6113
|
+
pinned?: boolean;
|
|
4855
6114
|
};
|
|
4856
|
-
|
|
6115
|
+
UpdateMemberDto: {
|
|
4857
6116
|
/**
|
|
4858
|
-
* @description The
|
|
6117
|
+
* @description The actor performing the change — social actor UUID.
|
|
6118
|
+
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
6119
|
+
*/
|
|
6120
|
+
caller_actor_id: string;
|
|
6121
|
+
/**
|
|
6122
|
+
* @description Mute the thread indefinitely (self-only — caller must be the path actor). Task 024/025.
|
|
6123
|
+
* @example true
|
|
6124
|
+
*/
|
|
6125
|
+
muted?: boolean;
|
|
6126
|
+
/**
|
|
6127
|
+
* @description Timed mute until this ISO timestamp (self-only). Pass null to clear.
|
|
6128
|
+
* @example 2026-05-02T12:00:00Z
|
|
6129
|
+
*/
|
|
6130
|
+
muted_until?: string | null;
|
|
6131
|
+
/**
|
|
6132
|
+
* @description Pin / unpin the thread in the caller's inbox (self-only).
|
|
6133
|
+
* @example true
|
|
6134
|
+
*/
|
|
6135
|
+
pinned?: boolean;
|
|
6136
|
+
/**
|
|
6137
|
+
* @description Target role (admin-only). Omit to leave unchanged.
|
|
6138
|
+
* @example admin
|
|
6139
|
+
* @enum {string}
|
|
6140
|
+
*/
|
|
6141
|
+
role?: "member" | "admin";
|
|
6142
|
+
};
|
|
6143
|
+
UpdateMessageDto: {
|
|
6144
|
+
/**
|
|
6145
|
+
* @description The sender — must match the message's sender_id. Standardized name (task 008 / G11).
|
|
4859
6146
|
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
4860
6147
|
*/
|
|
4861
6148
|
actor_id?: string;
|
|
@@ -4896,11 +6183,20 @@ interface components {
|
|
|
4896
6183
|
pinned?: boolean;
|
|
4897
6184
|
/** @description ISO-8601 publish-at timestamp. Updating only valid while the post is `status="scheduled"`. Pass null to clear (typically only the scheduler does this on promotion). */
|
|
4898
6185
|
scheduled_for?: string | null;
|
|
6186
|
+
/** @description Partial update of the per-post interaction settings. Only the keys you pass change; the rest keep their current value. */
|
|
6187
|
+
settings?: components["schemas"]["PostSettingsInputDto"];
|
|
4899
6188
|
/**
|
|
4900
|
-
* @description Direct status transition. Pass `published` to promote a `draft` or `
|
|
6189
|
+
* @description Direct status transition. Pass `published` to promote a `draft`/`scheduled` or restore an `archived` post; pass `archived` to hide-without-deleting (engagement kept). Prefer the moderation lane for `hidden`/`removed`.
|
|
4901
6190
|
* @enum {string}
|
|
4902
6191
|
*/
|
|
4903
|
-
status?: "published" | "hidden" | "removed" | "draft" | "scheduled";
|
|
6192
|
+
status?: "published" | "hidden" | "removed" | "draft" | "scheduled" | "archived";
|
|
6193
|
+
/**
|
|
6194
|
+
* @description Additional actor UUIDs to tag (task 011). Additive — creates new pending tags; never resets existing approved/removed tags. Max 30.
|
|
6195
|
+
* @example [
|
|
6196
|
+
* "aaaaaaaa-0000-0000-0000-000000000002"
|
|
6197
|
+
* ]
|
|
6198
|
+
*/
|
|
6199
|
+
tags?: string[];
|
|
4904
6200
|
/** @description Updated title. */
|
|
4905
6201
|
title?: string | null;
|
|
4906
6202
|
/** @description Updated URL. */
|
|
@@ -4915,10 +6211,19 @@ interface components {
|
|
|
4915
6211
|
*/
|
|
4916
6212
|
disabled?: boolean;
|
|
4917
6213
|
/** @description New subscription set. Unknown values are rejected with a 400 naming the valid set. */
|
|
4918
|
-
event_types?: ("post.created" | "post.updated" | "post.deleted" | "post.reaction.created" | "repost.created" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.created" | "edge.follow.created" | "edge.follow.deleted" | "flag.created" | "flag.updated" | "moderation.action.applied" | "actor.updated" | "dm.message.created")[];
|
|
6214
|
+
event_types?: ("post.created" | "post.updated" | "post.deleted" | "post.reaction.created" | "repost.created" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.created" | "edge.follow.created" | "edge.follow.deleted" | "edge.follow.requested" | "edge.follow.request_approved" | "flag.created" | "flag.updated" | "moderation.action.applied" | "actor.updated" | "dm.message.created" | "tag.created" | "asset.ready" | "asset.failed")[];
|
|
4919
6215
|
/** @description New subscriber URL. */
|
|
4920
6216
|
url?: string;
|
|
4921
6217
|
};
|
|
6218
|
+
UploadAssetResponseDto: {
|
|
6219
|
+
/** @example eeeeeeee-0000-0000-0000-000000000001 */
|
|
6220
|
+
id: string;
|
|
6221
|
+
/**
|
|
6222
|
+
* @example ready
|
|
6223
|
+
* @enum {string}
|
|
6224
|
+
*/
|
|
6225
|
+
status: "processing" | "ready" | "failed";
|
|
6226
|
+
};
|
|
4922
6227
|
UpsertActorDto: {
|
|
4923
6228
|
/**
|
|
4924
6229
|
* @description Avatar URL.
|
|
@@ -4960,7 +6265,7 @@ interface components {
|
|
|
4960
6265
|
* "comment.created"
|
|
4961
6266
|
* ]
|
|
4962
6267
|
*/
|
|
4963
|
-
data: ("post.created" | "post.updated" | "post.deleted" | "post.reaction.created" | "repost.created" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.created" | "edge.follow.created" | "edge.follow.deleted" | "flag.created" | "flag.updated" | "moderation.action.applied" | "actor.updated" | "dm.message.created")[];
|
|
6268
|
+
data: ("post.created" | "post.updated" | "post.deleted" | "post.reaction.created" | "repost.created" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.created" | "edge.follow.created" | "edge.follow.deleted" | "edge.follow.requested" | "edge.follow.request_approved" | "flag.created" | "flag.updated" | "moderation.action.applied" | "actor.updated" | "dm.message.created" | "tag.created" | "asset.ready" | "asset.failed")[];
|
|
4964
6269
|
};
|
|
4965
6270
|
WebhookListResponseDto: {
|
|
4966
6271
|
/** @description Every webhook on the community — disabled rows included, so auto-disabled subscribers stay discoverable. */
|
|
@@ -4999,7 +6304,7 @@ interface components {
|
|
|
4999
6304
|
* "comment.created"
|
|
5000
6305
|
* ]
|
|
5001
6306
|
*/
|
|
5002
|
-
event_types: ("post.created" | "post.updated" | "post.deleted" | "post.reaction.created" | "repost.created" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.created" | "edge.follow.created" | "edge.follow.deleted" | "flag.created" | "flag.updated" | "moderation.action.applied" | "actor.updated" | "dm.message.created")[];
|
|
6307
|
+
event_types: ("post.created" | "post.updated" | "post.deleted" | "post.reaction.created" | "repost.created" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.created" | "edge.follow.created" | "edge.follow.deleted" | "edge.follow.requested" | "edge.follow.request_approved" | "flag.created" | "flag.updated" | "moderation.action.applied" | "actor.updated" | "dm.message.created" | "tag.created" | "asset.ready" | "asset.failed")[];
|
|
5003
6308
|
/**
|
|
5004
6309
|
* @description Webhook UUID.
|
|
5005
6310
|
* @example wwwwwwww-0000-0000-0000-000000000001
|
|
@@ -5432,6 +6737,89 @@ interface operations {
|
|
|
5432
6737
|
};
|
|
5433
6738
|
};
|
|
5434
6739
|
};
|
|
6740
|
+
DraftController_listArchived: {
|
|
6741
|
+
parameters: {
|
|
6742
|
+
query?: {
|
|
6743
|
+
limit?: number;
|
|
6744
|
+
cursor?: string;
|
|
6745
|
+
};
|
|
6746
|
+
header?: never;
|
|
6747
|
+
path: {
|
|
6748
|
+
/** @description Social community UUID. Must belong to the PAK's workspace. */
|
|
6749
|
+
communityId: string;
|
|
6750
|
+
/** @description Social actor UUID whose archived posts to list. */
|
|
6751
|
+
actorId: string;
|
|
6752
|
+
};
|
|
6753
|
+
cookie?: never;
|
|
6754
|
+
};
|
|
6755
|
+
requestBody?: never;
|
|
6756
|
+
responses: {
|
|
6757
|
+
/** @description Page of archived posts. */
|
|
6758
|
+
200: {
|
|
6759
|
+
headers: {
|
|
6760
|
+
[name: string]: unknown;
|
|
6761
|
+
};
|
|
6762
|
+
content: {
|
|
6763
|
+
"application/json": components["schemas"]["DraftListResponseDto"];
|
|
6764
|
+
};
|
|
6765
|
+
};
|
|
6766
|
+
/** @description PAK lacks `social.list`. */
|
|
6767
|
+
403: {
|
|
6768
|
+
headers: {
|
|
6769
|
+
[name: string]: unknown;
|
|
6770
|
+
};
|
|
6771
|
+
content: {
|
|
6772
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
6773
|
+
};
|
|
6774
|
+
};
|
|
6775
|
+
/** @description Community or actor not found. */
|
|
6776
|
+
404: {
|
|
6777
|
+
headers: {
|
|
6778
|
+
[name: string]: unknown;
|
|
6779
|
+
};
|
|
6780
|
+
content: {
|
|
6781
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
6782
|
+
};
|
|
6783
|
+
};
|
|
6784
|
+
};
|
|
6785
|
+
};
|
|
6786
|
+
AssetController_listByActor: {
|
|
6787
|
+
parameters: {
|
|
6788
|
+
query?: {
|
|
6789
|
+
limit?: number;
|
|
6790
|
+
cursor?: string;
|
|
6791
|
+
};
|
|
6792
|
+
header?: never;
|
|
6793
|
+
path: {
|
|
6794
|
+
/** @description Community UUID. */
|
|
6795
|
+
communityId: string;
|
|
6796
|
+
/** @description Owner actor UUID. */
|
|
6797
|
+
actorId: string;
|
|
6798
|
+
};
|
|
6799
|
+
cookie?: never;
|
|
6800
|
+
};
|
|
6801
|
+
requestBody?: never;
|
|
6802
|
+
responses: {
|
|
6803
|
+
/** @description Page of the actor's assets. */
|
|
6804
|
+
200: {
|
|
6805
|
+
headers: {
|
|
6806
|
+
[name: string]: unknown;
|
|
6807
|
+
};
|
|
6808
|
+
content: {
|
|
6809
|
+
"application/json": components["schemas"]["AssetListResponseDto"];
|
|
6810
|
+
};
|
|
6811
|
+
};
|
|
6812
|
+
/** @description PAK lacks `social.assets.read`. */
|
|
6813
|
+
403: {
|
|
6814
|
+
headers: {
|
|
6815
|
+
[name: string]: unknown;
|
|
6816
|
+
};
|
|
6817
|
+
content: {
|
|
6818
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
6819
|
+
};
|
|
6820
|
+
};
|
|
6821
|
+
};
|
|
6822
|
+
};
|
|
5435
6823
|
EdgeController_listBlocks: {
|
|
5436
6824
|
parameters: {
|
|
5437
6825
|
query?: {
|
|
@@ -5634,6 +7022,36 @@ interface operations {
|
|
|
5634
7022
|
};
|
|
5635
7023
|
};
|
|
5636
7024
|
};
|
|
7025
|
+
EdgeController_listDismissedSuggestions: {
|
|
7026
|
+
parameters: {
|
|
7027
|
+
query?: {
|
|
7028
|
+
limit?: number;
|
|
7029
|
+
cursor?: string;
|
|
7030
|
+
/** @description Stripe-style expansion. Pass the response field to expand (supported here: `dst_actor`) and the full object is nested under that field on every item. Omit for the unexpanded (default) shape. Unsupported values return 400 `INVALID_EXPAND`. */
|
|
7031
|
+
expand?: "dst_actor";
|
|
7032
|
+
};
|
|
7033
|
+
header?: never;
|
|
7034
|
+
path: {
|
|
7035
|
+
/** @description Social community UUID. Must belong to the PAK's workspace. */
|
|
7036
|
+
communityId: string;
|
|
7037
|
+
/** @description Social actor UUID. */
|
|
7038
|
+
actorId: string;
|
|
7039
|
+
};
|
|
7040
|
+
cookie?: never;
|
|
7041
|
+
};
|
|
7042
|
+
requestBody?: never;
|
|
7043
|
+
responses: {
|
|
7044
|
+
/** @description Page of dismissed-suggestion edges. */
|
|
7045
|
+
200: {
|
|
7046
|
+
headers: {
|
|
7047
|
+
[name: string]: unknown;
|
|
7048
|
+
};
|
|
7049
|
+
content: {
|
|
7050
|
+
"application/json": components["schemas"]["OutboundEdgeListResponseDto"];
|
|
7051
|
+
};
|
|
7052
|
+
};
|
|
7053
|
+
};
|
|
7054
|
+
};
|
|
5637
7055
|
DraftController_listDrafts: {
|
|
5638
7056
|
parameters: {
|
|
5639
7057
|
query?: {
|
|
@@ -5738,6 +7156,43 @@ interface operations {
|
|
|
5738
7156
|
};
|
|
5739
7157
|
};
|
|
5740
7158
|
};
|
|
7159
|
+
EdgeController_listIncomingRequests: {
|
|
7160
|
+
parameters: {
|
|
7161
|
+
query?: {
|
|
7162
|
+
limit?: number;
|
|
7163
|
+
cursor?: string;
|
|
7164
|
+
};
|
|
7165
|
+
header?: never;
|
|
7166
|
+
path: {
|
|
7167
|
+
/** @description Social community UUID. Must belong to the PAK's workspace. */
|
|
7168
|
+
communityId: string;
|
|
7169
|
+
/** @description The private actor whose incoming requests to list. */
|
|
7170
|
+
actorId: string;
|
|
7171
|
+
};
|
|
7172
|
+
cookie?: never;
|
|
7173
|
+
};
|
|
7174
|
+
requestBody?: never;
|
|
7175
|
+
responses: {
|
|
7176
|
+
/** @description Page of incoming follow requests. */
|
|
7177
|
+
200: {
|
|
7178
|
+
headers: {
|
|
7179
|
+
[name: string]: unknown;
|
|
7180
|
+
};
|
|
7181
|
+
content: {
|
|
7182
|
+
"application/json": components["schemas"]["FollowRequestListResponseDto"];
|
|
7183
|
+
};
|
|
7184
|
+
};
|
|
7185
|
+
/** @description Community or actor not found. */
|
|
7186
|
+
404: {
|
|
7187
|
+
headers: {
|
|
7188
|
+
[name: string]: unknown;
|
|
7189
|
+
};
|
|
7190
|
+
content: {
|
|
7191
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7192
|
+
};
|
|
7193
|
+
};
|
|
7194
|
+
};
|
|
7195
|
+
};
|
|
5741
7196
|
EdgeController_listFollowers: {
|
|
5742
7197
|
parameters: {
|
|
5743
7198
|
query?: {
|
|
@@ -6006,6 +7461,34 @@ interface operations {
|
|
|
6006
7461
|
};
|
|
6007
7462
|
};
|
|
6008
7463
|
};
|
|
7464
|
+
EdgeController_listHides: {
|
|
7465
|
+
parameters: {
|
|
7466
|
+
query?: {
|
|
7467
|
+
limit?: number;
|
|
7468
|
+
cursor?: string;
|
|
7469
|
+
};
|
|
7470
|
+
header?: never;
|
|
7471
|
+
path: {
|
|
7472
|
+
/** @description Social community UUID. Must belong to the PAK's workspace. */
|
|
7473
|
+
communityId: string;
|
|
7474
|
+
/** @description Social actor UUID. */
|
|
7475
|
+
actorId: string;
|
|
7476
|
+
};
|
|
7477
|
+
cookie?: never;
|
|
7478
|
+
};
|
|
7479
|
+
requestBody?: never;
|
|
7480
|
+
responses: {
|
|
7481
|
+
/** @description Page of hidden posts. */
|
|
7482
|
+
200: {
|
|
7483
|
+
headers: {
|
|
7484
|
+
[name: string]: unknown;
|
|
7485
|
+
};
|
|
7486
|
+
content: {
|
|
7487
|
+
"application/json": components["schemas"]["HideListResponseDto"];
|
|
7488
|
+
};
|
|
7489
|
+
};
|
|
7490
|
+
};
|
|
7491
|
+
};
|
|
6009
7492
|
StoryController_getHighlights: {
|
|
6010
7493
|
parameters: {
|
|
6011
7494
|
query?: {
|
|
@@ -6061,6 +7544,60 @@ interface operations {
|
|
|
6061
7544
|
};
|
|
6062
7545
|
};
|
|
6063
7546
|
};
|
|
7547
|
+
InsightsController_actorInsights: {
|
|
7548
|
+
parameters: {
|
|
7549
|
+
query?: {
|
|
7550
|
+
from?: string;
|
|
7551
|
+
to?: string;
|
|
7552
|
+
};
|
|
7553
|
+
header?: never;
|
|
7554
|
+
path: {
|
|
7555
|
+
/** @description Social community UUID. */
|
|
7556
|
+
communityId: string;
|
|
7557
|
+
actorId: string;
|
|
7558
|
+
};
|
|
7559
|
+
cookie?: never;
|
|
7560
|
+
};
|
|
7561
|
+
requestBody?: never;
|
|
7562
|
+
responses: {
|
|
7563
|
+
/** @description Actor insights. */
|
|
7564
|
+
200: {
|
|
7565
|
+
headers: {
|
|
7566
|
+
[name: string]: unknown;
|
|
7567
|
+
};
|
|
7568
|
+
content: {
|
|
7569
|
+
"application/json": components["schemas"]["ActorInsightsResponseDto"];
|
|
7570
|
+
};
|
|
7571
|
+
};
|
|
7572
|
+
/** @description Invalid window. */
|
|
7573
|
+
400: {
|
|
7574
|
+
headers: {
|
|
7575
|
+
[name: string]: unknown;
|
|
7576
|
+
};
|
|
7577
|
+
content: {
|
|
7578
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7579
|
+
};
|
|
7580
|
+
};
|
|
7581
|
+
/** @description PAK lacks `social.analytics.read`. */
|
|
7582
|
+
403: {
|
|
7583
|
+
headers: {
|
|
7584
|
+
[name: string]: unknown;
|
|
7585
|
+
};
|
|
7586
|
+
content: {
|
|
7587
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7588
|
+
};
|
|
7589
|
+
};
|
|
7590
|
+
/** @description Actor not found in this community. */
|
|
7591
|
+
404: {
|
|
7592
|
+
headers: {
|
|
7593
|
+
[name: string]: unknown;
|
|
7594
|
+
};
|
|
7595
|
+
content: {
|
|
7596
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7597
|
+
};
|
|
7598
|
+
};
|
|
7599
|
+
};
|
|
7600
|
+
};
|
|
6064
7601
|
MentionController_list: {
|
|
6065
7602
|
parameters: {
|
|
6066
7603
|
query?: {
|
|
@@ -6365,7 +7902,7 @@ interface operations {
|
|
|
6365
7902
|
/** @description Social actor UUID. */
|
|
6366
7903
|
actorId: string;
|
|
6367
7904
|
/** @description NotificationKind label. */
|
|
6368
|
-
kind: "follow" | "reaction" | "comment_on_post" | "reply_to_comment" | "mention" | "vote" | "repost" | "quote_post" | "dm_new_message" | "dm_added_to_group" | "dm_role_changed" | "dm_reaction";
|
|
7905
|
+
kind: "follow" | "reaction" | "comment_on_post" | "reply_to_comment" | "mention" | "vote" | "repost" | "quote_post" | "dm_new_message" | "dm_added_to_group" | "dm_role_changed" | "dm_reaction" | "tag" | "follow_request" | "follow_request_approved";
|
|
6369
7906
|
};
|
|
6370
7907
|
cookie?: never;
|
|
6371
7908
|
};
|
|
@@ -6868,33 +8405,70 @@ interface operations {
|
|
|
6868
8405
|
};
|
|
6869
8406
|
};
|
|
6870
8407
|
};
|
|
6871
|
-
|
|
8408
|
+
PostTagController_listTagged: {
|
|
6872
8409
|
parameters: {
|
|
6873
|
-
query
|
|
6874
|
-
/** @description
|
|
6875
|
-
|
|
8410
|
+
query?: {
|
|
8411
|
+
/** @description Viewer actor UUID for visibility resolution. */
|
|
8412
|
+
requester_id?: string;
|
|
8413
|
+
limit?: number;
|
|
8414
|
+
cursor?: string;
|
|
6876
8415
|
};
|
|
6877
8416
|
header?: never;
|
|
6878
8417
|
path: {
|
|
6879
|
-
/** @description
|
|
8418
|
+
/** @description Community UUID. */
|
|
6880
8419
|
communityId: string;
|
|
6881
|
-
/** @description
|
|
6882
|
-
|
|
8420
|
+
/** @description The tagged actor UUID. */
|
|
8421
|
+
actorId: string;
|
|
6883
8422
|
};
|
|
6884
8423
|
cookie?: never;
|
|
6885
8424
|
};
|
|
6886
8425
|
requestBody?: never;
|
|
6887
8426
|
responses: {
|
|
6888
|
-
/** @description
|
|
8427
|
+
/** @description Page of tagged posts. */
|
|
6889
8428
|
200: {
|
|
6890
8429
|
headers: {
|
|
6891
8430
|
[name: string]: unknown;
|
|
6892
8431
|
};
|
|
6893
8432
|
content: {
|
|
6894
|
-
"application/json": components["schemas"]["
|
|
8433
|
+
"application/json": components["schemas"]["TaggedPostsResponse"];
|
|
6895
8434
|
};
|
|
6896
8435
|
};
|
|
6897
|
-
/** @description
|
|
8436
|
+
/** @description Community or actor not found. */
|
|
8437
|
+
404: {
|
|
8438
|
+
headers: {
|
|
8439
|
+
[name: string]: unknown;
|
|
8440
|
+
};
|
|
8441
|
+
content?: never;
|
|
8442
|
+
};
|
|
8443
|
+
};
|
|
8444
|
+
};
|
|
8445
|
+
EdgeController_relationships: {
|
|
8446
|
+
parameters: {
|
|
8447
|
+
query: {
|
|
8448
|
+
/** @description Comma-separated destination actor UUIDs (1-100). */
|
|
8449
|
+
with: string;
|
|
8450
|
+
};
|
|
8451
|
+
header?: never;
|
|
8452
|
+
path: {
|
|
8453
|
+
/** @description Social community UUID. Must belong to the PAK's workspace. */
|
|
8454
|
+
communityId: string;
|
|
8455
|
+
/** @description Source actor UUID — the perspective all flags are computed from. */
|
|
8456
|
+
srcActorId: string;
|
|
8457
|
+
};
|
|
8458
|
+
cookie?: never;
|
|
8459
|
+
};
|
|
8460
|
+
requestBody?: never;
|
|
8461
|
+
responses: {
|
|
8462
|
+
/** @description One relationship entry per requested id. */
|
|
8463
|
+
200: {
|
|
8464
|
+
headers: {
|
|
8465
|
+
[name: string]: unknown;
|
|
8466
|
+
};
|
|
8467
|
+
content: {
|
|
8468
|
+
"application/json": components["schemas"]["RelationshipListResponseDto"];
|
|
8469
|
+
};
|
|
8470
|
+
};
|
|
8471
|
+
/** @description Missing `with`, more than 100 ids, or a non-UUID value in the list. */
|
|
6898
8472
|
400: {
|
|
6899
8473
|
headers: {
|
|
6900
8474
|
[name: string]: unknown;
|
|
@@ -6923,6 +8497,159 @@ interface operations {
|
|
|
6923
8497
|
};
|
|
6924
8498
|
};
|
|
6925
8499
|
};
|
|
8500
|
+
AssetController_upload: {
|
|
8501
|
+
parameters: {
|
|
8502
|
+
query?: never;
|
|
8503
|
+
header?: never;
|
|
8504
|
+
path: {
|
|
8505
|
+
/** @description Community UUID. */
|
|
8506
|
+
communityId: string;
|
|
8507
|
+
};
|
|
8508
|
+
cookie?: never;
|
|
8509
|
+
};
|
|
8510
|
+
requestBody: {
|
|
8511
|
+
content: {
|
|
8512
|
+
"multipart/form-data": {
|
|
8513
|
+
/**
|
|
8514
|
+
* Format: binary
|
|
8515
|
+
* @description PNG / JPEG / WEBP, ≤10 MB.
|
|
8516
|
+
*/
|
|
8517
|
+
file: string;
|
|
8518
|
+
/** Format: uuid */
|
|
8519
|
+
owner_actor_id: string;
|
|
8520
|
+
};
|
|
8521
|
+
};
|
|
8522
|
+
};
|
|
8523
|
+
responses: {
|
|
8524
|
+
/** @description Asset stored and ready. */
|
|
8525
|
+
201: {
|
|
8526
|
+
headers: {
|
|
8527
|
+
[name: string]: unknown;
|
|
8528
|
+
};
|
|
8529
|
+
content: {
|
|
8530
|
+
"application/json": components["schemas"]["UploadAssetResponseDto"];
|
|
8531
|
+
};
|
|
8532
|
+
};
|
|
8533
|
+
/** @description Missing/oversize/wrong-type file, or the bytes do not match the declared image type. */
|
|
8534
|
+
400: {
|
|
8535
|
+
headers: {
|
|
8536
|
+
[name: string]: unknown;
|
|
8537
|
+
};
|
|
8538
|
+
content: {
|
|
8539
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8540
|
+
};
|
|
8541
|
+
};
|
|
8542
|
+
/** @description PAK lacks `social.assets.write`. */
|
|
8543
|
+
403: {
|
|
8544
|
+
headers: {
|
|
8545
|
+
[name: string]: unknown;
|
|
8546
|
+
};
|
|
8547
|
+
content: {
|
|
8548
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8549
|
+
};
|
|
8550
|
+
};
|
|
8551
|
+
/** @description Community or owner actor not found. */
|
|
8552
|
+
404: {
|
|
8553
|
+
headers: {
|
|
8554
|
+
[name: string]: unknown;
|
|
8555
|
+
};
|
|
8556
|
+
content: {
|
|
8557
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8558
|
+
};
|
|
8559
|
+
};
|
|
8560
|
+
/** @description The image could not be decoded/processed. */
|
|
8561
|
+
422: {
|
|
8562
|
+
headers: {
|
|
8563
|
+
[name: string]: unknown;
|
|
8564
|
+
};
|
|
8565
|
+
content: {
|
|
8566
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8567
|
+
};
|
|
8568
|
+
};
|
|
8569
|
+
};
|
|
8570
|
+
};
|
|
8571
|
+
AssetController_get: {
|
|
8572
|
+
parameters: {
|
|
8573
|
+
query?: never;
|
|
8574
|
+
header?: never;
|
|
8575
|
+
path: {
|
|
8576
|
+
/** @description Community UUID. */
|
|
8577
|
+
communityId: string;
|
|
8578
|
+
assetId: string;
|
|
8579
|
+
};
|
|
8580
|
+
cookie?: never;
|
|
8581
|
+
};
|
|
8582
|
+
requestBody?: never;
|
|
8583
|
+
responses: {
|
|
8584
|
+
/** @description The asset. */
|
|
8585
|
+
200: {
|
|
8586
|
+
headers: {
|
|
8587
|
+
[name: string]: unknown;
|
|
8588
|
+
};
|
|
8589
|
+
content: {
|
|
8590
|
+
"application/json": components["schemas"]["AssetResponseDto"];
|
|
8591
|
+
};
|
|
8592
|
+
};
|
|
8593
|
+
/** @description PAK lacks `social.assets.read`. */
|
|
8594
|
+
403: {
|
|
8595
|
+
headers: {
|
|
8596
|
+
[name: string]: unknown;
|
|
8597
|
+
};
|
|
8598
|
+
content: {
|
|
8599
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8600
|
+
};
|
|
8601
|
+
};
|
|
8602
|
+
/** @description Asset not found in this community. */
|
|
8603
|
+
404: {
|
|
8604
|
+
headers: {
|
|
8605
|
+
[name: string]: unknown;
|
|
8606
|
+
};
|
|
8607
|
+
content: {
|
|
8608
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8609
|
+
};
|
|
8610
|
+
};
|
|
8611
|
+
};
|
|
8612
|
+
};
|
|
8613
|
+
AssetController_delete: {
|
|
8614
|
+
parameters: {
|
|
8615
|
+
query?: never;
|
|
8616
|
+
header?: never;
|
|
8617
|
+
path: {
|
|
8618
|
+
/** @description Community UUID. */
|
|
8619
|
+
communityId: string;
|
|
8620
|
+
assetId: string;
|
|
8621
|
+
};
|
|
8622
|
+
cookie?: never;
|
|
8623
|
+
};
|
|
8624
|
+
requestBody?: never;
|
|
8625
|
+
responses: {
|
|
8626
|
+
/** @description Asset deleted. */
|
|
8627
|
+
204: {
|
|
8628
|
+
headers: {
|
|
8629
|
+
[name: string]: unknown;
|
|
8630
|
+
};
|
|
8631
|
+
content?: never;
|
|
8632
|
+
};
|
|
8633
|
+
/** @description PAK lacks `social.assets.write`. */
|
|
8634
|
+
403: {
|
|
8635
|
+
headers: {
|
|
8636
|
+
[name: string]: unknown;
|
|
8637
|
+
};
|
|
8638
|
+
content: {
|
|
8639
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8640
|
+
};
|
|
8641
|
+
};
|
|
8642
|
+
/** @description Asset not found in this community. */
|
|
8643
|
+
404: {
|
|
8644
|
+
headers: {
|
|
8645
|
+
[name: string]: unknown;
|
|
8646
|
+
};
|
|
8647
|
+
content: {
|
|
8648
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8649
|
+
};
|
|
8650
|
+
};
|
|
8651
|
+
};
|
|
8652
|
+
};
|
|
6926
8653
|
EdgeController_block: {
|
|
6927
8654
|
parameters: {
|
|
6928
8655
|
query?: never;
|
|
@@ -6972,11 +8699,434 @@ interface operations {
|
|
|
6972
8699
|
[name: string]: unknown;
|
|
6973
8700
|
};
|
|
6974
8701
|
content: {
|
|
6975
|
-
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8702
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8703
|
+
};
|
|
8704
|
+
};
|
|
8705
|
+
/** @description Cannot block yourself. */
|
|
8706
|
+
422: {
|
|
8707
|
+
headers: {
|
|
8708
|
+
[name: string]: unknown;
|
|
8709
|
+
};
|
|
8710
|
+
content: {
|
|
8711
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8712
|
+
};
|
|
8713
|
+
};
|
|
8714
|
+
};
|
|
8715
|
+
};
|
|
8716
|
+
EdgeController_unblock: {
|
|
8717
|
+
parameters: {
|
|
8718
|
+
query?: never;
|
|
8719
|
+
header?: never;
|
|
8720
|
+
path: {
|
|
8721
|
+
/** @description Social community UUID. Must belong to the PAK's workspace. */
|
|
8722
|
+
communityId: string;
|
|
8723
|
+
/** @description Blocker actor UUID. */
|
|
8724
|
+
srcActorId: string;
|
|
8725
|
+
/** @description Blockee actor UUID. */
|
|
8726
|
+
dstActorId: string;
|
|
8727
|
+
};
|
|
8728
|
+
cookie?: never;
|
|
8729
|
+
};
|
|
8730
|
+
requestBody?: never;
|
|
8731
|
+
responses: {
|
|
8732
|
+
/** @description Unblocked (or no edge to remove). */
|
|
8733
|
+
204: {
|
|
8734
|
+
headers: {
|
|
8735
|
+
[name: string]: unknown;
|
|
8736
|
+
};
|
|
8737
|
+
content?: never;
|
|
8738
|
+
};
|
|
8739
|
+
/** @description PAK lacks `social.delete`. */
|
|
8740
|
+
403: {
|
|
8741
|
+
headers: {
|
|
8742
|
+
[name: string]: unknown;
|
|
8743
|
+
};
|
|
8744
|
+
content: {
|
|
8745
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8746
|
+
};
|
|
8747
|
+
};
|
|
8748
|
+
/** @description Community or actor not found. */
|
|
8749
|
+
404: {
|
|
8750
|
+
headers: {
|
|
8751
|
+
[name: string]: unknown;
|
|
8752
|
+
};
|
|
8753
|
+
content: {
|
|
8754
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8755
|
+
};
|
|
8756
|
+
};
|
|
8757
|
+
};
|
|
8758
|
+
};
|
|
8759
|
+
StoryController_addCloseFriend: {
|
|
8760
|
+
parameters: {
|
|
8761
|
+
query?: never;
|
|
8762
|
+
header?: never;
|
|
8763
|
+
path: {
|
|
8764
|
+
/** @description Community UUID. */
|
|
8765
|
+
communityId: string;
|
|
8766
|
+
};
|
|
8767
|
+
cookie?: never;
|
|
8768
|
+
};
|
|
8769
|
+
requestBody: {
|
|
8770
|
+
content: {
|
|
8771
|
+
"application/json": components["schemas"]["CreateCloseFriendDto"];
|
|
8772
|
+
};
|
|
8773
|
+
};
|
|
8774
|
+
responses: {
|
|
8775
|
+
/** @description Member added (or already present). */
|
|
8776
|
+
204: {
|
|
8777
|
+
headers: {
|
|
8778
|
+
[name: string]: unknown;
|
|
8779
|
+
};
|
|
8780
|
+
content?: never;
|
|
8781
|
+
};
|
|
8782
|
+
/** @description Body validation failed. */
|
|
8783
|
+
400: {
|
|
8784
|
+
headers: {
|
|
8785
|
+
[name: string]: unknown;
|
|
8786
|
+
};
|
|
8787
|
+
content: {
|
|
8788
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8789
|
+
};
|
|
8790
|
+
};
|
|
8791
|
+
/** @description PAK lacks `social.close-friend.manage`. */
|
|
8792
|
+
403: {
|
|
8793
|
+
headers: {
|
|
8794
|
+
[name: string]: unknown;
|
|
8795
|
+
};
|
|
8796
|
+
content: {
|
|
8797
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8798
|
+
};
|
|
8799
|
+
};
|
|
8800
|
+
/** @description Community / owner / member not found. */
|
|
8801
|
+
404: {
|
|
8802
|
+
headers: {
|
|
8803
|
+
[name: string]: unknown;
|
|
8804
|
+
};
|
|
8805
|
+
content: {
|
|
8806
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8807
|
+
};
|
|
8808
|
+
};
|
|
8809
|
+
/** @description Block in place between owner and member. */
|
|
8810
|
+
409: {
|
|
8811
|
+
headers: {
|
|
8812
|
+
[name: string]: unknown;
|
|
8813
|
+
};
|
|
8814
|
+
content: {
|
|
8815
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8816
|
+
};
|
|
8817
|
+
};
|
|
8818
|
+
/** @description Cannot add yourself as a close friend. */
|
|
8819
|
+
422: {
|
|
8820
|
+
headers: {
|
|
8821
|
+
[name: string]: unknown;
|
|
8822
|
+
};
|
|
8823
|
+
content: {
|
|
8824
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8825
|
+
};
|
|
8826
|
+
};
|
|
8827
|
+
};
|
|
8828
|
+
};
|
|
8829
|
+
StoryController_removeCloseFriend: {
|
|
8830
|
+
parameters: {
|
|
8831
|
+
query?: never;
|
|
8832
|
+
header?: never;
|
|
8833
|
+
path: {
|
|
8834
|
+
/** @description Community UUID. */
|
|
8835
|
+
communityId: string;
|
|
8836
|
+
/** @description Owner social actor UUID. */
|
|
8837
|
+
ownerActorId: string;
|
|
8838
|
+
/** @description Member social actor UUID. */
|
|
8839
|
+
memberActorId: string;
|
|
8840
|
+
};
|
|
8841
|
+
cookie?: never;
|
|
8842
|
+
};
|
|
8843
|
+
requestBody?: never;
|
|
8844
|
+
responses: {
|
|
8845
|
+
/** @description Removed (or was not in the list). */
|
|
8846
|
+
204: {
|
|
8847
|
+
headers: {
|
|
8848
|
+
[name: string]: unknown;
|
|
8849
|
+
};
|
|
8850
|
+
content?: never;
|
|
8851
|
+
};
|
|
8852
|
+
/** @description PAK lacks `social.close-friend.manage`. */
|
|
8853
|
+
403: {
|
|
8854
|
+
headers: {
|
|
8855
|
+
[name: string]: unknown;
|
|
8856
|
+
};
|
|
8857
|
+
content: {
|
|
8858
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8859
|
+
};
|
|
8860
|
+
};
|
|
8861
|
+
/** @description Community not found. */
|
|
8862
|
+
404: {
|
|
8863
|
+
headers: {
|
|
8864
|
+
[name: string]: unknown;
|
|
8865
|
+
};
|
|
8866
|
+
content: {
|
|
8867
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8868
|
+
};
|
|
8869
|
+
};
|
|
8870
|
+
};
|
|
8871
|
+
};
|
|
8872
|
+
CollectionController_list: {
|
|
8873
|
+
parameters: {
|
|
8874
|
+
query?: {
|
|
8875
|
+
/** @description Viewer actor — surfaces their own private collections. */
|
|
8876
|
+
actor_id?: string;
|
|
8877
|
+
owner_actor_id?: string;
|
|
8878
|
+
kind?: "bookmark" | "highlight";
|
|
8879
|
+
limit?: number;
|
|
8880
|
+
cursor?: string;
|
|
8881
|
+
};
|
|
8882
|
+
header?: never;
|
|
8883
|
+
path: {
|
|
8884
|
+
/** @description Social community UUID. */
|
|
8885
|
+
communityId: string;
|
|
8886
|
+
};
|
|
8887
|
+
cookie?: never;
|
|
8888
|
+
};
|
|
8889
|
+
requestBody?: never;
|
|
8890
|
+
responses: {
|
|
8891
|
+
/** @description Page of collections. */
|
|
8892
|
+
200: {
|
|
8893
|
+
headers: {
|
|
8894
|
+
[name: string]: unknown;
|
|
8895
|
+
};
|
|
8896
|
+
content: {
|
|
8897
|
+
"application/json": components["schemas"]["CollectionListResponseDto"];
|
|
8898
|
+
};
|
|
8899
|
+
};
|
|
8900
|
+
};
|
|
8901
|
+
};
|
|
8902
|
+
CollectionController_create: {
|
|
8903
|
+
parameters: {
|
|
8904
|
+
query?: never;
|
|
8905
|
+
header?: {
|
|
8906
|
+
/** @description Opaque client string; replays return the original response. */
|
|
8907
|
+
"Idempotency-Key"?: string;
|
|
8908
|
+
};
|
|
8909
|
+
path: {
|
|
8910
|
+
/** @description Social community UUID. */
|
|
8911
|
+
communityId: string;
|
|
8912
|
+
};
|
|
8913
|
+
cookie?: never;
|
|
8914
|
+
};
|
|
8915
|
+
requestBody: {
|
|
8916
|
+
content: {
|
|
8917
|
+
"application/json": components["schemas"]["CreateCollectionDto"];
|
|
8918
|
+
};
|
|
8919
|
+
};
|
|
8920
|
+
responses: {
|
|
8921
|
+
/** @description Collection created. */
|
|
8922
|
+
201: {
|
|
8923
|
+
headers: {
|
|
8924
|
+
[name: string]: unknown;
|
|
8925
|
+
};
|
|
8926
|
+
content: {
|
|
8927
|
+
"application/json": components["schemas"]["CollectionResponseDto"];
|
|
8928
|
+
};
|
|
8929
|
+
};
|
|
8930
|
+
/** @description Validation failure. */
|
|
8931
|
+
400: {
|
|
8932
|
+
headers: {
|
|
8933
|
+
[name: string]: unknown;
|
|
8934
|
+
};
|
|
8935
|
+
content: {
|
|
8936
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8937
|
+
};
|
|
8938
|
+
};
|
|
8939
|
+
/** @description PAK lacks `social.create`, owner suspended, or cover asset not owned. */
|
|
8940
|
+
403: {
|
|
8941
|
+
headers: {
|
|
8942
|
+
[name: string]: unknown;
|
|
8943
|
+
};
|
|
8944
|
+
content: {
|
|
8945
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8946
|
+
};
|
|
8947
|
+
};
|
|
8948
|
+
/** @description Community, owner, or cover asset not found. */
|
|
8949
|
+
404: {
|
|
8950
|
+
headers: {
|
|
8951
|
+
[name: string]: unknown;
|
|
8952
|
+
};
|
|
8953
|
+
content: {
|
|
8954
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8955
|
+
};
|
|
8956
|
+
};
|
|
8957
|
+
/** @description Cover asset is not ready. */
|
|
8958
|
+
422: {
|
|
8959
|
+
headers: {
|
|
8960
|
+
[name: string]: unknown;
|
|
8961
|
+
};
|
|
8962
|
+
content: {
|
|
8963
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8964
|
+
};
|
|
8965
|
+
};
|
|
8966
|
+
};
|
|
8967
|
+
};
|
|
8968
|
+
CollectionController_getById: {
|
|
8969
|
+
parameters: {
|
|
8970
|
+
query?: {
|
|
8971
|
+
actor_id?: string;
|
|
8972
|
+
};
|
|
8973
|
+
header?: never;
|
|
8974
|
+
path: {
|
|
8975
|
+
/** @description Social community UUID. */
|
|
8976
|
+
communityId: string;
|
|
8977
|
+
collectionId: string;
|
|
8978
|
+
};
|
|
8979
|
+
cookie?: never;
|
|
8980
|
+
};
|
|
8981
|
+
requestBody?: never;
|
|
8982
|
+
responses: {
|
|
8983
|
+
/** @description The collection. */
|
|
8984
|
+
200: {
|
|
8985
|
+
headers: {
|
|
8986
|
+
[name: string]: unknown;
|
|
8987
|
+
};
|
|
8988
|
+
content: {
|
|
8989
|
+
"application/json": components["schemas"]["CollectionResponseDto"];
|
|
8990
|
+
};
|
|
8991
|
+
};
|
|
8992
|
+
/** @description Not found (or private and not the owner). */
|
|
8993
|
+
404: {
|
|
8994
|
+
headers: {
|
|
8995
|
+
[name: string]: unknown;
|
|
8996
|
+
};
|
|
8997
|
+
content: {
|
|
8998
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8999
|
+
};
|
|
9000
|
+
};
|
|
9001
|
+
};
|
|
9002
|
+
};
|
|
9003
|
+
CollectionController_delete: {
|
|
9004
|
+
parameters: {
|
|
9005
|
+
query?: never;
|
|
9006
|
+
header?: never;
|
|
9007
|
+
path: {
|
|
9008
|
+
/** @description Social community UUID. */
|
|
9009
|
+
communityId: string;
|
|
9010
|
+
collectionId: string;
|
|
9011
|
+
};
|
|
9012
|
+
cookie?: never;
|
|
9013
|
+
};
|
|
9014
|
+
requestBody: {
|
|
9015
|
+
content: {
|
|
9016
|
+
"application/json": components["schemas"]["DeleteWithCallerDto"];
|
|
9017
|
+
};
|
|
9018
|
+
};
|
|
9019
|
+
responses: {
|
|
9020
|
+
/** @description Deleted. */
|
|
9021
|
+
204: {
|
|
9022
|
+
headers: {
|
|
9023
|
+
[name: string]: unknown;
|
|
9024
|
+
};
|
|
9025
|
+
content?: never;
|
|
9026
|
+
};
|
|
9027
|
+
/** @description Caller is not the owner. */
|
|
9028
|
+
403: {
|
|
9029
|
+
headers: {
|
|
9030
|
+
[name: string]: unknown;
|
|
9031
|
+
};
|
|
9032
|
+
content: {
|
|
9033
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
9034
|
+
};
|
|
9035
|
+
};
|
|
9036
|
+
/** @description Not found. */
|
|
9037
|
+
404: {
|
|
9038
|
+
headers: {
|
|
9039
|
+
[name: string]: unknown;
|
|
9040
|
+
};
|
|
9041
|
+
content: {
|
|
9042
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
9043
|
+
};
|
|
9044
|
+
};
|
|
9045
|
+
};
|
|
9046
|
+
};
|
|
9047
|
+
CollectionController_update: {
|
|
9048
|
+
parameters: {
|
|
9049
|
+
query?: never;
|
|
9050
|
+
header?: never;
|
|
9051
|
+
path: {
|
|
9052
|
+
/** @description Social community UUID. */
|
|
9053
|
+
communityId: string;
|
|
9054
|
+
collectionId: string;
|
|
9055
|
+
};
|
|
9056
|
+
cookie?: never;
|
|
9057
|
+
};
|
|
9058
|
+
requestBody: {
|
|
9059
|
+
content: {
|
|
9060
|
+
"application/json": components["schemas"]["UpdateCollectionDto"];
|
|
9061
|
+
};
|
|
9062
|
+
};
|
|
9063
|
+
responses: {
|
|
9064
|
+
/** @description Updated. */
|
|
9065
|
+
200: {
|
|
9066
|
+
headers: {
|
|
9067
|
+
[name: string]: unknown;
|
|
9068
|
+
};
|
|
9069
|
+
content: {
|
|
9070
|
+
"application/json": components["schemas"]["CollectionResponseDto"];
|
|
9071
|
+
};
|
|
9072
|
+
};
|
|
9073
|
+
/** @description Caller is not the owner, or PAK lacks `social.update`. */
|
|
9074
|
+
403: {
|
|
9075
|
+
headers: {
|
|
9076
|
+
[name: string]: unknown;
|
|
9077
|
+
};
|
|
9078
|
+
content: {
|
|
9079
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
9080
|
+
};
|
|
9081
|
+
};
|
|
9082
|
+
/** @description Not found. */
|
|
9083
|
+
404: {
|
|
9084
|
+
headers: {
|
|
9085
|
+
[name: string]: unknown;
|
|
9086
|
+
};
|
|
9087
|
+
content: {
|
|
9088
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
9089
|
+
};
|
|
9090
|
+
};
|
|
9091
|
+
/** @description Cover asset is not ready. */
|
|
9092
|
+
422: {
|
|
9093
|
+
headers: {
|
|
9094
|
+
[name: string]: unknown;
|
|
9095
|
+
};
|
|
9096
|
+
content: {
|
|
9097
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
9098
|
+
};
|
|
9099
|
+
};
|
|
9100
|
+
};
|
|
9101
|
+
};
|
|
9102
|
+
CollectionController_listItems: {
|
|
9103
|
+
parameters: {
|
|
9104
|
+
query?: {
|
|
9105
|
+
actor_id?: string;
|
|
9106
|
+
limit?: number;
|
|
9107
|
+
cursor?: string;
|
|
9108
|
+
};
|
|
9109
|
+
header?: never;
|
|
9110
|
+
path: {
|
|
9111
|
+
/** @description Social community UUID. */
|
|
9112
|
+
communityId: string;
|
|
9113
|
+
collectionId: string;
|
|
9114
|
+
};
|
|
9115
|
+
cookie?: never;
|
|
9116
|
+
};
|
|
9117
|
+
requestBody?: never;
|
|
9118
|
+
responses: {
|
|
9119
|
+
/** @description Page of items. */
|
|
9120
|
+
200: {
|
|
9121
|
+
headers: {
|
|
9122
|
+
[name: string]: unknown;
|
|
9123
|
+
};
|
|
9124
|
+
content: {
|
|
9125
|
+
"application/json": components["schemas"]["CollectionItemListResponseDto"];
|
|
6976
9126
|
};
|
|
6977
9127
|
};
|
|
6978
|
-
/** @description
|
|
6979
|
-
|
|
9128
|
+
/** @description Not found (or private and not the owner). */
|
|
9129
|
+
404: {
|
|
6980
9130
|
headers: {
|
|
6981
9131
|
[name: string]: unknown;
|
|
6982
9132
|
};
|
|
@@ -6986,30 +9136,33 @@ interface operations {
|
|
|
6986
9136
|
};
|
|
6987
9137
|
};
|
|
6988
9138
|
};
|
|
6989
|
-
|
|
9139
|
+
CollectionController_addItem: {
|
|
6990
9140
|
parameters: {
|
|
6991
9141
|
query?: never;
|
|
6992
9142
|
header?: never;
|
|
6993
9143
|
path: {
|
|
6994
|
-
/** @description Social community UUID.
|
|
9144
|
+
/** @description Social community UUID. */
|
|
6995
9145
|
communityId: string;
|
|
6996
|
-
|
|
6997
|
-
srcActorId: string;
|
|
6998
|
-
/** @description Blockee actor UUID. */
|
|
6999
|
-
dstActorId: string;
|
|
9146
|
+
collectionId: string;
|
|
7000
9147
|
};
|
|
7001
9148
|
cookie?: never;
|
|
7002
9149
|
};
|
|
7003
|
-
requestBody
|
|
9150
|
+
requestBody: {
|
|
9151
|
+
content: {
|
|
9152
|
+
"application/json": components["schemas"]["AddItemDto"];
|
|
9153
|
+
};
|
|
9154
|
+
};
|
|
7004
9155
|
responses: {
|
|
7005
|
-
/** @description
|
|
7006
|
-
|
|
9156
|
+
/** @description Item added (or already present). */
|
|
9157
|
+
201: {
|
|
7007
9158
|
headers: {
|
|
7008
9159
|
[name: string]: unknown;
|
|
7009
9160
|
};
|
|
7010
|
-
content
|
|
9161
|
+
content: {
|
|
9162
|
+
"application/json": components["schemas"]["CollectionItemResponseDto"];
|
|
9163
|
+
};
|
|
7011
9164
|
};
|
|
7012
|
-
/** @description
|
|
9165
|
+
/** @description Caller is not the owner. */
|
|
7013
9166
|
403: {
|
|
7014
9167
|
headers: {
|
|
7015
9168
|
[name: string]: unknown;
|
|
@@ -7018,7 +9171,7 @@ interface operations {
|
|
|
7018
9171
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7019
9172
|
};
|
|
7020
9173
|
};
|
|
7021
|
-
/** @description
|
|
9174
|
+
/** @description Collection or post not found. */
|
|
7022
9175
|
404: {
|
|
7023
9176
|
headers: {
|
|
7024
9177
|
[name: string]: unknown;
|
|
@@ -7029,39 +9182,32 @@ interface operations {
|
|
|
7029
9182
|
};
|
|
7030
9183
|
};
|
|
7031
9184
|
};
|
|
7032
|
-
|
|
9185
|
+
CollectionController_removeItem: {
|
|
7033
9186
|
parameters: {
|
|
7034
9187
|
query?: never;
|
|
7035
9188
|
header?: never;
|
|
7036
9189
|
path: {
|
|
7037
|
-
/** @description
|
|
9190
|
+
/** @description Social community UUID. */
|
|
7038
9191
|
communityId: string;
|
|
9192
|
+
collectionId: string;
|
|
9193
|
+
postId: string;
|
|
7039
9194
|
};
|
|
7040
9195
|
cookie?: never;
|
|
7041
9196
|
};
|
|
7042
9197
|
requestBody: {
|
|
7043
9198
|
content: {
|
|
7044
|
-
"application/json": components["schemas"]["
|
|
9199
|
+
"application/json": components["schemas"]["DeleteWithCallerDto"];
|
|
7045
9200
|
};
|
|
7046
9201
|
};
|
|
7047
9202
|
responses: {
|
|
7048
|
-
/** @description
|
|
9203
|
+
/** @description Item removed. */
|
|
7049
9204
|
204: {
|
|
7050
9205
|
headers: {
|
|
7051
9206
|
[name: string]: unknown;
|
|
7052
9207
|
};
|
|
7053
9208
|
content?: never;
|
|
7054
9209
|
};
|
|
7055
|
-
/** @description
|
|
7056
|
-
400: {
|
|
7057
|
-
headers: {
|
|
7058
|
-
[name: string]: unknown;
|
|
7059
|
-
};
|
|
7060
|
-
content: {
|
|
7061
|
-
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7062
|
-
};
|
|
7063
|
-
};
|
|
7064
|
-
/** @description PAK lacks `social.close-friend.manage`. */
|
|
9210
|
+
/** @description Caller is not the owner. */
|
|
7065
9211
|
403: {
|
|
7066
9212
|
headers: {
|
|
7067
9213
|
[name: string]: unknown;
|
|
@@ -7070,59 +9216,36 @@ interface operations {
|
|
|
7070
9216
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7071
9217
|
};
|
|
7072
9218
|
};
|
|
7073
|
-
/** @description Community / owner / member not found. */
|
|
7074
|
-
404: {
|
|
7075
|
-
headers: {
|
|
7076
|
-
[name: string]: unknown;
|
|
7077
|
-
};
|
|
7078
|
-
content: {
|
|
7079
|
-
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7080
|
-
};
|
|
7081
|
-
};
|
|
7082
|
-
/** @description Block in place between owner and member. */
|
|
7083
|
-
409: {
|
|
7084
|
-
headers: {
|
|
7085
|
-
[name: string]: unknown;
|
|
7086
|
-
};
|
|
7087
|
-
content: {
|
|
7088
|
-
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7089
|
-
};
|
|
7090
|
-
};
|
|
7091
|
-
/** @description Cannot add yourself as a close friend. */
|
|
7092
|
-
422: {
|
|
7093
|
-
headers: {
|
|
7094
|
-
[name: string]: unknown;
|
|
7095
|
-
};
|
|
7096
|
-
content: {
|
|
7097
|
-
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7098
|
-
};
|
|
7099
|
-
};
|
|
7100
9219
|
};
|
|
7101
9220
|
};
|
|
7102
|
-
|
|
9221
|
+
CollectionController_reorderItem: {
|
|
7103
9222
|
parameters: {
|
|
7104
9223
|
query?: never;
|
|
7105
9224
|
header?: never;
|
|
7106
9225
|
path: {
|
|
7107
|
-
/** @description
|
|
9226
|
+
/** @description Social community UUID. */
|
|
7108
9227
|
communityId: string;
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
/** @description Member social actor UUID. */
|
|
7112
|
-
memberActorId: string;
|
|
9228
|
+
collectionId: string;
|
|
9229
|
+
postId: string;
|
|
7113
9230
|
};
|
|
7114
9231
|
cookie?: never;
|
|
7115
9232
|
};
|
|
7116
|
-
requestBody
|
|
9233
|
+
requestBody: {
|
|
9234
|
+
content: {
|
|
9235
|
+
"application/json": components["schemas"]["ReorderItemDto"];
|
|
9236
|
+
};
|
|
9237
|
+
};
|
|
7117
9238
|
responses: {
|
|
7118
|
-
/** @description
|
|
7119
|
-
|
|
9239
|
+
/** @description Item repositioned. */
|
|
9240
|
+
200: {
|
|
7120
9241
|
headers: {
|
|
7121
9242
|
[name: string]: unknown;
|
|
7122
9243
|
};
|
|
7123
|
-
content
|
|
9244
|
+
content: {
|
|
9245
|
+
"application/json": components["schemas"]["CollectionItemResponseDto"];
|
|
9246
|
+
};
|
|
7124
9247
|
};
|
|
7125
|
-
/** @description
|
|
9248
|
+
/** @description Caller is not the owner. */
|
|
7126
9249
|
403: {
|
|
7127
9250
|
headers: {
|
|
7128
9251
|
[name: string]: unknown;
|
|
@@ -7131,7 +9254,7 @@ interface operations {
|
|
|
7131
9254
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7132
9255
|
};
|
|
7133
9256
|
};
|
|
7134
|
-
/** @description
|
|
9257
|
+
/** @description Collection or item not found. */
|
|
7135
9258
|
404: {
|
|
7136
9259
|
headers: {
|
|
7137
9260
|
[name: string]: unknown;
|
|
@@ -7421,7 +9544,7 @@ interface operations {
|
|
|
7421
9544
|
};
|
|
7422
9545
|
};
|
|
7423
9546
|
responses: {
|
|
7424
|
-
/** @description Conversation after update. */
|
|
9547
|
+
/** @description Conversation after update (with the caller's unread_count). */
|
|
7425
9548
|
200: {
|
|
7426
9549
|
headers: {
|
|
7427
9550
|
[name: string]: unknown;
|
|
@@ -7439,7 +9562,7 @@ interface operations {
|
|
|
7439
9562
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7440
9563
|
};
|
|
7441
9564
|
};
|
|
7442
|
-
/** @description PAK lacks `social.update`. */
|
|
9565
|
+
/** @description Not an admin (rename), or PAK lacks `social.update`. */
|
|
7443
9566
|
403: {
|
|
7444
9567
|
headers: {
|
|
7445
9568
|
[name: string]: unknown;
|
|
@@ -7457,6 +9580,15 @@ interface operations {
|
|
|
7457
9580
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7458
9581
|
};
|
|
7459
9582
|
};
|
|
9583
|
+
/** @description Rename on a non-group conversation. */
|
|
9584
|
+
409: {
|
|
9585
|
+
headers: {
|
|
9586
|
+
[name: string]: unknown;
|
|
9587
|
+
};
|
|
9588
|
+
content: {
|
|
9589
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
9590
|
+
};
|
|
9591
|
+
};
|
|
7460
9592
|
};
|
|
7461
9593
|
};
|
|
7462
9594
|
ConversationController_addMember: {
|
|
@@ -7592,7 +9724,7 @@ interface operations {
|
|
|
7592
9724
|
};
|
|
7593
9725
|
};
|
|
7594
9726
|
};
|
|
7595
|
-
|
|
9727
|
+
ConversationController_updateMember: {
|
|
7596
9728
|
parameters: {
|
|
7597
9729
|
query?: never;
|
|
7598
9730
|
header?: never;
|
|
@@ -7608,11 +9740,11 @@ interface operations {
|
|
|
7608
9740
|
};
|
|
7609
9741
|
requestBody: {
|
|
7610
9742
|
content: {
|
|
7611
|
-
"application/json": components["schemas"]["
|
|
9743
|
+
"application/json": components["schemas"]["UpdateMemberDto"];
|
|
7612
9744
|
};
|
|
7613
9745
|
};
|
|
7614
9746
|
responses: {
|
|
7615
|
-
/** @description
|
|
9747
|
+
/** @description Participant updated. */
|
|
7616
9748
|
200: {
|
|
7617
9749
|
headers: {
|
|
7618
9750
|
[name: string]: unknown;
|
|
@@ -7621,7 +9753,7 @@ interface operations {
|
|
|
7621
9753
|
"application/json": components["schemas"]["ConversationResponseDto"];
|
|
7622
9754
|
};
|
|
7623
9755
|
};
|
|
7624
|
-
/** @description
|
|
9756
|
+
/** @description Not an admin (role) or not the target (self-only fields). */
|
|
7625
9757
|
403: {
|
|
7626
9758
|
headers: {
|
|
7627
9759
|
[name: string]: unknown;
|
|
@@ -7768,6 +9900,54 @@ interface operations {
|
|
|
7768
9900
|
};
|
|
7769
9901
|
};
|
|
7770
9902
|
};
|
|
9903
|
+
ConversationController_getMessage: {
|
|
9904
|
+
parameters: {
|
|
9905
|
+
query: {
|
|
9906
|
+
/** @description The viewer actor UUID — must be a participant. */
|
|
9907
|
+
actor_id: string;
|
|
9908
|
+
};
|
|
9909
|
+
header?: never;
|
|
9910
|
+
path: {
|
|
9911
|
+
/** @description Social community UUID. Must belong to the PAK's workspace. */
|
|
9912
|
+
communityId: string;
|
|
9913
|
+
/** @description Conversation UUID. */
|
|
9914
|
+
conversationId: string;
|
|
9915
|
+
/** @description Message UUID. */
|
|
9916
|
+
messageId: string;
|
|
9917
|
+
};
|
|
9918
|
+
cookie?: never;
|
|
9919
|
+
};
|
|
9920
|
+
requestBody?: never;
|
|
9921
|
+
responses: {
|
|
9922
|
+
/** @description The message. */
|
|
9923
|
+
200: {
|
|
9924
|
+
headers: {
|
|
9925
|
+
[name: string]: unknown;
|
|
9926
|
+
};
|
|
9927
|
+
content: {
|
|
9928
|
+
"application/json": components["schemas"]["DirectMessageResponseDto"];
|
|
9929
|
+
};
|
|
9930
|
+
};
|
|
9931
|
+
/** @description PAK lacks `social.read`. */
|
|
9932
|
+
403: {
|
|
9933
|
+
headers: {
|
|
9934
|
+
[name: string]: unknown;
|
|
9935
|
+
};
|
|
9936
|
+
content: {
|
|
9937
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
9938
|
+
};
|
|
9939
|
+
};
|
|
9940
|
+
/** @description Conversation/message not found, or caller not a participant. */
|
|
9941
|
+
404: {
|
|
9942
|
+
headers: {
|
|
9943
|
+
[name: string]: unknown;
|
|
9944
|
+
};
|
|
9945
|
+
content: {
|
|
9946
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
9947
|
+
};
|
|
9948
|
+
};
|
|
9949
|
+
};
|
|
9950
|
+
};
|
|
7771
9951
|
ConversationController_deleteMessage: {
|
|
7772
9952
|
parameters: {
|
|
7773
9953
|
query: {
|
|
@@ -8226,24 +10406,143 @@ interface operations {
|
|
|
8226
10406
|
headers: {
|
|
8227
10407
|
[name: string]: unknown;
|
|
8228
10408
|
};
|
|
8229
|
-
content: {
|
|
8230
|
-
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8231
|
-
};
|
|
10409
|
+
content: {
|
|
10410
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
10411
|
+
};
|
|
10412
|
+
};
|
|
10413
|
+
};
|
|
10414
|
+
};
|
|
10415
|
+
FeedController_getDiscoverFeed: {
|
|
10416
|
+
parameters: {
|
|
10417
|
+
query?: {
|
|
10418
|
+
/** @description Viewer actor UUID. */
|
|
10419
|
+
actor_id?: string;
|
|
10420
|
+
/**
|
|
10421
|
+
* @deprecated
|
|
10422
|
+
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
10423
|
+
*/
|
|
10424
|
+
viewer_actor_id?: string;
|
|
10425
|
+
limit?: number;
|
|
10426
|
+
/** @description Opaque ranked cursor; encodes (score, id). */
|
|
10427
|
+
cursor?: string;
|
|
10428
|
+
/** @description Optional post-kind filter (task 023) — e.g. `image`, `link`. Restricts discovery to that kind. */
|
|
10429
|
+
kind?: string;
|
|
10430
|
+
};
|
|
10431
|
+
header?: never;
|
|
10432
|
+
path: {
|
|
10433
|
+
/** @description Social community UUID. Must belong to the PAK's workspace. */
|
|
10434
|
+
communityId: string;
|
|
10435
|
+
};
|
|
10436
|
+
cookie?: never;
|
|
10437
|
+
};
|
|
10438
|
+
requestBody?: never;
|
|
10439
|
+
responses: {
|
|
10440
|
+
/** @description Page of posts. */
|
|
10441
|
+
200: {
|
|
10442
|
+
headers: {
|
|
10443
|
+
[name: string]: unknown;
|
|
10444
|
+
};
|
|
10445
|
+
content: {
|
|
10446
|
+
"application/json": components["schemas"]["FeedResponseDto"];
|
|
10447
|
+
};
|
|
10448
|
+
};
|
|
10449
|
+
/** @description PAK lacks `social.list`. */
|
|
10450
|
+
403: {
|
|
10451
|
+
headers: {
|
|
10452
|
+
[name: string]: unknown;
|
|
10453
|
+
};
|
|
10454
|
+
content: {
|
|
10455
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
10456
|
+
};
|
|
10457
|
+
};
|
|
10458
|
+
/** @description Community or viewer actor not found. */
|
|
10459
|
+
404: {
|
|
10460
|
+
headers: {
|
|
10461
|
+
[name: string]: unknown;
|
|
10462
|
+
};
|
|
10463
|
+
content: {
|
|
10464
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
10465
|
+
};
|
|
10466
|
+
};
|
|
10467
|
+
};
|
|
10468
|
+
};
|
|
10469
|
+
EdgeController_dismissSuggestion: {
|
|
10470
|
+
parameters: {
|
|
10471
|
+
query?: never;
|
|
10472
|
+
header?: never;
|
|
10473
|
+
path: {
|
|
10474
|
+
/** @description Social community UUID. Must belong to the PAK's workspace. */
|
|
10475
|
+
communityId: string;
|
|
10476
|
+
};
|
|
10477
|
+
cookie?: never;
|
|
10478
|
+
};
|
|
10479
|
+
requestBody: {
|
|
10480
|
+
content: {
|
|
10481
|
+
"application/json": components["schemas"]["ActorEdgeDto"];
|
|
10482
|
+
};
|
|
10483
|
+
};
|
|
10484
|
+
responses: {
|
|
10485
|
+
/** @description Suggestion dismissed. */
|
|
10486
|
+
201: {
|
|
10487
|
+
headers: {
|
|
10488
|
+
[name: string]: unknown;
|
|
10489
|
+
};
|
|
10490
|
+
content: {
|
|
10491
|
+
"application/json": components["schemas"]["CreateEdgeResponseDto"];
|
|
10492
|
+
};
|
|
10493
|
+
};
|
|
10494
|
+
/** @description Community or actor not found. */
|
|
10495
|
+
404: {
|
|
10496
|
+
headers: {
|
|
10497
|
+
[name: string]: unknown;
|
|
10498
|
+
};
|
|
10499
|
+
content: {
|
|
10500
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
10501
|
+
};
|
|
10502
|
+
};
|
|
10503
|
+
/** @description Cannot dismiss yourself. */
|
|
10504
|
+
422: {
|
|
10505
|
+
headers: {
|
|
10506
|
+
[name: string]: unknown;
|
|
10507
|
+
};
|
|
10508
|
+
content: {
|
|
10509
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
10510
|
+
};
|
|
10511
|
+
};
|
|
10512
|
+
};
|
|
10513
|
+
};
|
|
10514
|
+
EdgeController_undismissSuggestion: {
|
|
10515
|
+
parameters: {
|
|
10516
|
+
query?: never;
|
|
10517
|
+
header?: never;
|
|
10518
|
+
path: {
|
|
10519
|
+
/** @description Social community UUID. Must belong to the PAK's workspace. */
|
|
10520
|
+
communityId: string;
|
|
10521
|
+
/** @description The dismissing actor UUID. */
|
|
10522
|
+
srcActorId: string;
|
|
10523
|
+
/** @description The dismissed actor UUID. */
|
|
10524
|
+
dstActorId: string;
|
|
10525
|
+
};
|
|
10526
|
+
cookie?: never;
|
|
10527
|
+
};
|
|
10528
|
+
requestBody?: never;
|
|
10529
|
+
responses: {
|
|
10530
|
+
/** @description Un-dismissed (or no-op). */
|
|
10531
|
+
204: {
|
|
10532
|
+
headers: {
|
|
10533
|
+
[name: string]: unknown;
|
|
10534
|
+
};
|
|
10535
|
+
content?: never;
|
|
8232
10536
|
};
|
|
8233
10537
|
};
|
|
8234
10538
|
};
|
|
8235
|
-
|
|
10539
|
+
FlagController_listMine: {
|
|
8236
10540
|
parameters: {
|
|
8237
|
-
query
|
|
8238
|
-
/** @description
|
|
8239
|
-
|
|
8240
|
-
|
|
8241
|
-
* @deprecated
|
|
8242
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
8243
|
-
*/
|
|
8244
|
-
viewer_actor_id?: string;
|
|
10541
|
+
query: {
|
|
10542
|
+
/** @description The reporter whose flags to list. */
|
|
10543
|
+
reporter_actor_id: string;
|
|
10544
|
+
status?: "open" | "dismissed" | "actioned";
|
|
8245
10545
|
limit?: number;
|
|
8246
|
-
/** @description Opaque ranked cursor; encodes (score, id). */
|
|
8247
10546
|
cursor?: string;
|
|
8248
10547
|
};
|
|
8249
10548
|
header?: never;
|
|
@@ -8255,26 +10554,17 @@ interface operations {
|
|
|
8255
10554
|
};
|
|
8256
10555
|
requestBody?: never;
|
|
8257
10556
|
responses: {
|
|
8258
|
-
/** @description Page of
|
|
10557
|
+
/** @description Page of the reporter's flags. */
|
|
8259
10558
|
200: {
|
|
8260
10559
|
headers: {
|
|
8261
10560
|
[name: string]: unknown;
|
|
8262
10561
|
};
|
|
8263
10562
|
content: {
|
|
8264
|
-
"application/json": components["schemas"]["
|
|
8265
|
-
};
|
|
8266
|
-
};
|
|
8267
|
-
/** @description PAK lacks `social.list`. */
|
|
8268
|
-
403: {
|
|
8269
|
-
headers: {
|
|
8270
|
-
[name: string]: unknown;
|
|
8271
|
-
};
|
|
8272
|
-
content: {
|
|
8273
|
-
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
10563
|
+
"application/json": components["schemas"]["FlagListResponseDto"];
|
|
8274
10564
|
};
|
|
8275
10565
|
};
|
|
8276
|
-
/** @description
|
|
8277
|
-
|
|
10566
|
+
/** @description Missing reporter_actor_id or invalid status. */
|
|
10567
|
+
400: {
|
|
8278
10568
|
headers: {
|
|
8279
10569
|
[name: string]: unknown;
|
|
8280
10570
|
};
|
|
@@ -8356,6 +10646,76 @@ interface operations {
|
|
|
8356
10646
|
};
|
|
8357
10647
|
};
|
|
8358
10648
|
};
|
|
10649
|
+
EdgeController_declineFollowRequest: {
|
|
10650
|
+
parameters: {
|
|
10651
|
+
query?: never;
|
|
10652
|
+
header?: never;
|
|
10653
|
+
path: {
|
|
10654
|
+
/** @description Social community UUID. Must belong to the PAK's workspace. */
|
|
10655
|
+
communityId: string;
|
|
10656
|
+
/** @description The private actor (decliner). */
|
|
10657
|
+
dstActorId: string;
|
|
10658
|
+
/** @description The requesting actor. */
|
|
10659
|
+
srcActorId: string;
|
|
10660
|
+
};
|
|
10661
|
+
cookie?: never;
|
|
10662
|
+
};
|
|
10663
|
+
requestBody?: never;
|
|
10664
|
+
responses: {
|
|
10665
|
+
/** @description Request declined. */
|
|
10666
|
+
204: {
|
|
10667
|
+
headers: {
|
|
10668
|
+
[name: string]: unknown;
|
|
10669
|
+
};
|
|
10670
|
+
content?: never;
|
|
10671
|
+
};
|
|
10672
|
+
/** @description No pending request for this pair. */
|
|
10673
|
+
404: {
|
|
10674
|
+
headers: {
|
|
10675
|
+
[name: string]: unknown;
|
|
10676
|
+
};
|
|
10677
|
+
content: {
|
|
10678
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
10679
|
+
};
|
|
10680
|
+
};
|
|
10681
|
+
};
|
|
10682
|
+
};
|
|
10683
|
+
EdgeController_approveFollowRequest: {
|
|
10684
|
+
parameters: {
|
|
10685
|
+
query?: never;
|
|
10686
|
+
header?: never;
|
|
10687
|
+
path: {
|
|
10688
|
+
/** @description Social community UUID. Must belong to the PAK's workspace. */
|
|
10689
|
+
communityId: string;
|
|
10690
|
+
/** @description The private actor being followed (approver). */
|
|
10691
|
+
dstActorId: string;
|
|
10692
|
+
/** @description The requesting actor. */
|
|
10693
|
+
srcActorId: string;
|
|
10694
|
+
};
|
|
10695
|
+
cookie?: never;
|
|
10696
|
+
};
|
|
10697
|
+
requestBody?: never;
|
|
10698
|
+
responses: {
|
|
10699
|
+
/** @description Request approved; follow edge created. */
|
|
10700
|
+
201: {
|
|
10701
|
+
headers: {
|
|
10702
|
+
[name: string]: unknown;
|
|
10703
|
+
};
|
|
10704
|
+
content: {
|
|
10705
|
+
"application/json": components["schemas"]["CreateEdgeResponseDto"];
|
|
10706
|
+
};
|
|
10707
|
+
};
|
|
10708
|
+
/** @description No pending request for this pair. */
|
|
10709
|
+
404: {
|
|
10710
|
+
headers: {
|
|
10711
|
+
[name: string]: unknown;
|
|
10712
|
+
};
|
|
10713
|
+
content: {
|
|
10714
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
10715
|
+
};
|
|
10716
|
+
};
|
|
10717
|
+
};
|
|
10718
|
+
};
|
|
8359
10719
|
EdgeController_follow: {
|
|
8360
10720
|
parameters: {
|
|
8361
10721
|
query?: never;
|
|
@@ -8372,13 +10732,13 @@ interface operations {
|
|
|
8372
10732
|
};
|
|
8373
10733
|
};
|
|
8374
10734
|
responses: {
|
|
8375
|
-
/** @description Follow edge created (or
|
|
10735
|
+
/** @description Follow edge created / exists (`status: followed`), or a follow request created (`status: pending`). */
|
|
8376
10736
|
201: {
|
|
8377
10737
|
headers: {
|
|
8378
10738
|
[name: string]: unknown;
|
|
8379
10739
|
};
|
|
8380
10740
|
content: {
|
|
8381
|
-
"application/json": components["schemas"]["
|
|
10741
|
+
"application/json": components["schemas"]["FollowResultDto"];
|
|
8382
10742
|
};
|
|
8383
10743
|
};
|
|
8384
10744
|
/** @description Missing / invalid src_actor_id / dst_actor_id. */
|
|
@@ -8528,6 +10888,10 @@ interface operations {
|
|
|
8528
10888
|
HashtagController_list: {
|
|
8529
10889
|
parameters: {
|
|
8530
10890
|
query?: {
|
|
10891
|
+
/** @description `recent` (default) = newest tags first; `trending` = most posts in the window. */
|
|
10892
|
+
order?: "recent" | "trending";
|
|
10893
|
+
/** @description Trending window (only meaningful with `order=trending`). */
|
|
10894
|
+
window?: "24h" | "7d";
|
|
8531
10895
|
limit?: number;
|
|
8532
10896
|
cursor?: string;
|
|
8533
10897
|
};
|
|
@@ -8549,6 +10913,15 @@ interface operations {
|
|
|
8549
10913
|
"application/json": components["schemas"]["HashtagListResponseDto"];
|
|
8550
10914
|
};
|
|
8551
10915
|
};
|
|
10916
|
+
/** @description Invalid order / window. */
|
|
10917
|
+
400: {
|
|
10918
|
+
headers: {
|
|
10919
|
+
[name: string]: unknown;
|
|
10920
|
+
};
|
|
10921
|
+
content: {
|
|
10922
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
10923
|
+
};
|
|
10924
|
+
};
|
|
8552
10925
|
/** @description PAK lacks `social.list`. */
|
|
8553
10926
|
403: {
|
|
8554
10927
|
headers: {
|
|
@@ -8624,7 +10997,9 @@ interface operations {
|
|
|
8624
10997
|
HashtagFeedController_list: {
|
|
8625
10998
|
parameters: {
|
|
8626
10999
|
query?: {
|
|
11000
|
+
order?: "chronological" | "ranked";
|
|
8627
11001
|
limit?: number;
|
|
11002
|
+
/** @description Chronological pages on (created_at, id); ranked on (score, id). A cursor is not portable across orders. */
|
|
8628
11003
|
cursor?: string;
|
|
8629
11004
|
};
|
|
8630
11005
|
header?: never;
|
|
@@ -8647,7 +11022,7 @@ interface operations {
|
|
|
8647
11022
|
"application/json": components["schemas"]["HashtagPostListResponseDto"];
|
|
8648
11023
|
};
|
|
8649
11024
|
};
|
|
8650
|
-
/** @description Invalid tag
|
|
11025
|
+
/** @description Invalid tag or order value. */
|
|
8651
11026
|
400: {
|
|
8652
11027
|
headers: {
|
|
8653
11028
|
[name: string]: unknown;
|
|
@@ -8676,6 +11051,67 @@ interface operations {
|
|
|
8676
11051
|
};
|
|
8677
11052
|
};
|
|
8678
11053
|
};
|
|
11054
|
+
EdgeController_hidePost: {
|
|
11055
|
+
parameters: {
|
|
11056
|
+
query?: never;
|
|
11057
|
+
header?: never;
|
|
11058
|
+
path: {
|
|
11059
|
+
/** @description Social community UUID. Must belong to the PAK's workspace. */
|
|
11060
|
+
communityId: string;
|
|
11061
|
+
};
|
|
11062
|
+
cookie?: never;
|
|
11063
|
+
};
|
|
11064
|
+
requestBody: {
|
|
11065
|
+
content: {
|
|
11066
|
+
"application/json": components["schemas"]["HidePostDto"];
|
|
11067
|
+
};
|
|
11068
|
+
};
|
|
11069
|
+
responses: {
|
|
11070
|
+
/** @description Post hidden. */
|
|
11071
|
+
201: {
|
|
11072
|
+
headers: {
|
|
11073
|
+
[name: string]: unknown;
|
|
11074
|
+
};
|
|
11075
|
+
content: {
|
|
11076
|
+
"application/json": components["schemas"]["HideResultDto"];
|
|
11077
|
+
};
|
|
11078
|
+
};
|
|
11079
|
+
/** @description Community, actor, or post not found. */
|
|
11080
|
+
404: {
|
|
11081
|
+
headers: {
|
|
11082
|
+
[name: string]: unknown;
|
|
11083
|
+
};
|
|
11084
|
+
content: {
|
|
11085
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
11086
|
+
};
|
|
11087
|
+
};
|
|
11088
|
+
};
|
|
11089
|
+
};
|
|
11090
|
+
EdgeController_unhidePost: {
|
|
11091
|
+
parameters: {
|
|
11092
|
+
query?: never;
|
|
11093
|
+
header?: never;
|
|
11094
|
+
path: {
|
|
11095
|
+
/** @description Social community UUID. Must belong to the PAK's workspace. */
|
|
11096
|
+
communityId: string;
|
|
11097
|
+
/** @description The actor who hid the post. */
|
|
11098
|
+
srcActorId: string;
|
|
11099
|
+
/** @description The hidden post UUID. */
|
|
11100
|
+
postId: string;
|
|
11101
|
+
};
|
|
11102
|
+
cookie?: never;
|
|
11103
|
+
};
|
|
11104
|
+
requestBody?: never;
|
|
11105
|
+
responses: {
|
|
11106
|
+
/** @description Un-hidden (or no-op). */
|
|
11107
|
+
204: {
|
|
11108
|
+
headers: {
|
|
11109
|
+
[name: string]: unknown;
|
|
11110
|
+
};
|
|
11111
|
+
content?: never;
|
|
11112
|
+
};
|
|
11113
|
+
};
|
|
11114
|
+
};
|
|
8679
11115
|
ActorListController_list: {
|
|
8680
11116
|
parameters: {
|
|
8681
11117
|
query?: {
|
|
@@ -10101,8 +12537,115 @@ interface operations {
|
|
|
10101
12537
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
10102
12538
|
};
|
|
10103
12539
|
};
|
|
10104
|
-
/** @description Comment is in a status that cannot be approved (hidden / removed). */
|
|
10105
|
-
409: {
|
|
12540
|
+
/** @description Comment is in a status that cannot be approved (hidden / removed). */
|
|
12541
|
+
409: {
|
|
12542
|
+
headers: {
|
|
12543
|
+
[name: string]: unknown;
|
|
12544
|
+
};
|
|
12545
|
+
content: {
|
|
12546
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
12547
|
+
};
|
|
12548
|
+
};
|
|
12549
|
+
};
|
|
12550
|
+
};
|
|
12551
|
+
CommentController_pin: {
|
|
12552
|
+
parameters: {
|
|
12553
|
+
query?: never;
|
|
12554
|
+
header?: never;
|
|
12555
|
+
path: {
|
|
12556
|
+
/** @description Social community UUID. Must belong to the PAK's workspace. */
|
|
12557
|
+
communityId: string;
|
|
12558
|
+
/** @description Social post UUID the comments thread under. */
|
|
12559
|
+
postId: string;
|
|
12560
|
+
/** @description Social comment UUID. */
|
|
12561
|
+
commentId: string;
|
|
12562
|
+
};
|
|
12563
|
+
cookie?: never;
|
|
12564
|
+
};
|
|
12565
|
+
requestBody: {
|
|
12566
|
+
content: {
|
|
12567
|
+
"application/json": components["schemas"]["PinCommentDto"];
|
|
12568
|
+
};
|
|
12569
|
+
};
|
|
12570
|
+
responses: {
|
|
12571
|
+
/** @description Comment pinned. */
|
|
12572
|
+
201: {
|
|
12573
|
+
headers: {
|
|
12574
|
+
[name: string]: unknown;
|
|
12575
|
+
};
|
|
12576
|
+
content: {
|
|
12577
|
+
"application/json": components["schemas"]["CommentResponseDto"];
|
|
12578
|
+
};
|
|
12579
|
+
};
|
|
12580
|
+
/** @description Caller is not the post-author. */
|
|
12581
|
+
403: {
|
|
12582
|
+
headers: {
|
|
12583
|
+
[name: string]: unknown;
|
|
12584
|
+
};
|
|
12585
|
+
content: {
|
|
12586
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
12587
|
+
};
|
|
12588
|
+
};
|
|
12589
|
+
/** @description Post or comment not found. */
|
|
12590
|
+
404: {
|
|
12591
|
+
headers: {
|
|
12592
|
+
[name: string]: unknown;
|
|
12593
|
+
};
|
|
12594
|
+
content: {
|
|
12595
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
12596
|
+
};
|
|
12597
|
+
};
|
|
12598
|
+
/** @description Reply / non-published comment, or pin cap reached (`PIN_CAP_REACHED`). */
|
|
12599
|
+
409: {
|
|
12600
|
+
headers: {
|
|
12601
|
+
[name: string]: unknown;
|
|
12602
|
+
};
|
|
12603
|
+
content: {
|
|
12604
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
12605
|
+
};
|
|
12606
|
+
};
|
|
12607
|
+
};
|
|
12608
|
+
};
|
|
12609
|
+
CommentController_unpin: {
|
|
12610
|
+
parameters: {
|
|
12611
|
+
query?: never;
|
|
12612
|
+
header?: never;
|
|
12613
|
+
path: {
|
|
12614
|
+
/** @description Social community UUID. Must belong to the PAK's workspace. */
|
|
12615
|
+
communityId: string;
|
|
12616
|
+
/** @description Social post UUID the comments thread under. */
|
|
12617
|
+
postId: string;
|
|
12618
|
+
/** @description Social comment UUID. */
|
|
12619
|
+
commentId: string;
|
|
12620
|
+
};
|
|
12621
|
+
cookie?: never;
|
|
12622
|
+
};
|
|
12623
|
+
requestBody: {
|
|
12624
|
+
content: {
|
|
12625
|
+
"application/json": components["schemas"]["PinCommentDto"];
|
|
12626
|
+
};
|
|
12627
|
+
};
|
|
12628
|
+
responses: {
|
|
12629
|
+
/** @description Comment unpinned. */
|
|
12630
|
+
200: {
|
|
12631
|
+
headers: {
|
|
12632
|
+
[name: string]: unknown;
|
|
12633
|
+
};
|
|
12634
|
+
content: {
|
|
12635
|
+
"application/json": components["schemas"]["CommentResponseDto"];
|
|
12636
|
+
};
|
|
12637
|
+
};
|
|
12638
|
+
/** @description Caller is not the post-author. */
|
|
12639
|
+
403: {
|
|
12640
|
+
headers: {
|
|
12641
|
+
[name: string]: unknown;
|
|
12642
|
+
};
|
|
12643
|
+
content: {
|
|
12644
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
12645
|
+
};
|
|
12646
|
+
};
|
|
12647
|
+
/** @description Post or comment not found. */
|
|
12648
|
+
404: {
|
|
10106
12649
|
headers: {
|
|
10107
12650
|
[name: string]: unknown;
|
|
10108
12651
|
};
|
|
@@ -10285,6 +12828,62 @@ interface operations {
|
|
|
10285
12828
|
};
|
|
10286
12829
|
};
|
|
10287
12830
|
};
|
|
12831
|
+
InsightsController_postInsights: {
|
|
12832
|
+
parameters: {
|
|
12833
|
+
query?: {
|
|
12834
|
+
/** @description Window start (YYYY-MM-DD). */
|
|
12835
|
+
from?: string;
|
|
12836
|
+
/** @description Window end (YYYY-MM-DD). */
|
|
12837
|
+
to?: string;
|
|
12838
|
+
};
|
|
12839
|
+
header?: never;
|
|
12840
|
+
path: {
|
|
12841
|
+
/** @description Social community UUID. */
|
|
12842
|
+
communityId: string;
|
|
12843
|
+
postId: string;
|
|
12844
|
+
};
|
|
12845
|
+
cookie?: never;
|
|
12846
|
+
};
|
|
12847
|
+
requestBody?: never;
|
|
12848
|
+
responses: {
|
|
12849
|
+
/** @description Post insights. */
|
|
12850
|
+
200: {
|
|
12851
|
+
headers: {
|
|
12852
|
+
[name: string]: unknown;
|
|
12853
|
+
};
|
|
12854
|
+
content: {
|
|
12855
|
+
"application/json": components["schemas"]["PostInsightsResponseDto"];
|
|
12856
|
+
};
|
|
12857
|
+
};
|
|
12858
|
+
/** @description Invalid window (inverted or > 366 days). */
|
|
12859
|
+
400: {
|
|
12860
|
+
headers: {
|
|
12861
|
+
[name: string]: unknown;
|
|
12862
|
+
};
|
|
12863
|
+
content: {
|
|
12864
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
12865
|
+
};
|
|
12866
|
+
};
|
|
12867
|
+
/** @description PAK lacks `social.analytics.read`. */
|
|
12868
|
+
403: {
|
|
12869
|
+
headers: {
|
|
12870
|
+
[name: string]: unknown;
|
|
12871
|
+
};
|
|
12872
|
+
content: {
|
|
12873
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
12874
|
+
};
|
|
12875
|
+
};
|
|
12876
|
+
/** @description Post not found in this community. */
|
|
12877
|
+
404: {
|
|
12878
|
+
headers: {
|
|
12879
|
+
[name: string]: unknown;
|
|
12880
|
+
};
|
|
12881
|
+
content: {
|
|
12882
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
12883
|
+
};
|
|
12884
|
+
};
|
|
12885
|
+
};
|
|
12886
|
+
};
|
|
10288
12887
|
StoryController_getPollResults: {
|
|
10289
12888
|
parameters: {
|
|
10290
12889
|
query?: never;
|
|
@@ -10773,6 +13372,103 @@ interface operations {
|
|
|
10773
13372
|
};
|
|
10774
13373
|
};
|
|
10775
13374
|
};
|
|
13375
|
+
PostTagController_approve: {
|
|
13376
|
+
parameters: {
|
|
13377
|
+
query?: never;
|
|
13378
|
+
header?: never;
|
|
13379
|
+
path: {
|
|
13380
|
+
/** @description Community UUID. */
|
|
13381
|
+
communityId: string;
|
|
13382
|
+
/** @description Post UUID. */
|
|
13383
|
+
postId: string;
|
|
13384
|
+
/** @description Tagged actor UUID. */
|
|
13385
|
+
actorId: string;
|
|
13386
|
+
};
|
|
13387
|
+
cookie?: never;
|
|
13388
|
+
};
|
|
13389
|
+
requestBody: {
|
|
13390
|
+
content: {
|
|
13391
|
+
"application/json": components["schemas"]["ActingActorDto"];
|
|
13392
|
+
};
|
|
13393
|
+
};
|
|
13394
|
+
responses: {
|
|
13395
|
+
/** @description Tag approved. */
|
|
13396
|
+
201: {
|
|
13397
|
+
headers: {
|
|
13398
|
+
[name: string]: unknown;
|
|
13399
|
+
};
|
|
13400
|
+
content: {
|
|
13401
|
+
"application/json": components["schemas"]["PostTagResponseDto"];
|
|
13402
|
+
};
|
|
13403
|
+
};
|
|
13404
|
+
/** @description Acting actor is not the tagged actor. */
|
|
13405
|
+
403: {
|
|
13406
|
+
headers: {
|
|
13407
|
+
[name: string]: unknown;
|
|
13408
|
+
};
|
|
13409
|
+
content?: never;
|
|
13410
|
+
};
|
|
13411
|
+
/** @description Post or tag not found. */
|
|
13412
|
+
404: {
|
|
13413
|
+
headers: {
|
|
13414
|
+
[name: string]: unknown;
|
|
13415
|
+
};
|
|
13416
|
+
content?: never;
|
|
13417
|
+
};
|
|
13418
|
+
/** @description Tag already removed. */
|
|
13419
|
+
409: {
|
|
13420
|
+
headers: {
|
|
13421
|
+
[name: string]: unknown;
|
|
13422
|
+
};
|
|
13423
|
+
content?: never;
|
|
13424
|
+
};
|
|
13425
|
+
};
|
|
13426
|
+
};
|
|
13427
|
+
PostTagController_remove: {
|
|
13428
|
+
parameters: {
|
|
13429
|
+
query?: never;
|
|
13430
|
+
header?: never;
|
|
13431
|
+
path: {
|
|
13432
|
+
/** @description Community UUID. */
|
|
13433
|
+
communityId: string;
|
|
13434
|
+
/** @description Post UUID. */
|
|
13435
|
+
postId: string;
|
|
13436
|
+
/** @description Tagged actor UUID. */
|
|
13437
|
+
actorId: string;
|
|
13438
|
+
};
|
|
13439
|
+
cookie?: never;
|
|
13440
|
+
};
|
|
13441
|
+
requestBody: {
|
|
13442
|
+
content: {
|
|
13443
|
+
"application/json": components["schemas"]["ActingActorDto"];
|
|
13444
|
+
};
|
|
13445
|
+
};
|
|
13446
|
+
responses: {
|
|
13447
|
+
/** @description Tag removed. */
|
|
13448
|
+
201: {
|
|
13449
|
+
headers: {
|
|
13450
|
+
[name: string]: unknown;
|
|
13451
|
+
};
|
|
13452
|
+
content: {
|
|
13453
|
+
"application/json": components["schemas"]["PostTagResponseDto"];
|
|
13454
|
+
};
|
|
13455
|
+
};
|
|
13456
|
+
/** @description Acting actor is neither the tagged actor nor the post author. */
|
|
13457
|
+
403: {
|
|
13458
|
+
headers: {
|
|
13459
|
+
[name: string]: unknown;
|
|
13460
|
+
};
|
|
13461
|
+
content?: never;
|
|
13462
|
+
};
|
|
13463
|
+
/** @description Post or tag not found. */
|
|
13464
|
+
404: {
|
|
13465
|
+
headers: {
|
|
13466
|
+
[name: string]: unknown;
|
|
13467
|
+
};
|
|
13468
|
+
content?: never;
|
|
13469
|
+
};
|
|
13470
|
+
};
|
|
13471
|
+
};
|
|
10776
13472
|
StoryController_listViewers: {
|
|
10777
13473
|
parameters: {
|
|
10778
13474
|
query: {
|
|
@@ -10899,6 +13595,66 @@ interface operations {
|
|
|
10899
13595
|
};
|
|
10900
13596
|
};
|
|
10901
13597
|
};
|
|
13598
|
+
StoryController_listVoters: {
|
|
13599
|
+
parameters: {
|
|
13600
|
+
query: {
|
|
13601
|
+
/** @description Requester social actor UUID — must resolve to the poll author. */
|
|
13602
|
+
actor_id: string;
|
|
13603
|
+
/** @description Filter to voters who chose this option index. */
|
|
13604
|
+
option?: number;
|
|
13605
|
+
limit?: number;
|
|
13606
|
+
/** @description Cursor from the prior page. */
|
|
13607
|
+
cursor?: string;
|
|
13608
|
+
};
|
|
13609
|
+
header?: never;
|
|
13610
|
+
path: {
|
|
13611
|
+
/** @description Community UUID. */
|
|
13612
|
+
communityId: string;
|
|
13613
|
+
/** @description Post UUID containing the poll. */
|
|
13614
|
+
postId: string;
|
|
13615
|
+
};
|
|
13616
|
+
cookie?: never;
|
|
13617
|
+
};
|
|
13618
|
+
requestBody?: never;
|
|
13619
|
+
responses: {
|
|
13620
|
+
/** @description Page of voters. */
|
|
13621
|
+
200: {
|
|
13622
|
+
headers: {
|
|
13623
|
+
[name: string]: unknown;
|
|
13624
|
+
};
|
|
13625
|
+
content: {
|
|
13626
|
+
"application/json": components["schemas"]["PollVotersResponse"];
|
|
13627
|
+
};
|
|
13628
|
+
};
|
|
13629
|
+
/** @description Missing/invalid actor_id (author-only endpoint). */
|
|
13630
|
+
400: {
|
|
13631
|
+
headers: {
|
|
13632
|
+
[name: string]: unknown;
|
|
13633
|
+
};
|
|
13634
|
+
content: {
|
|
13635
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
13636
|
+
};
|
|
13637
|
+
};
|
|
13638
|
+
/** @description PAK lacks `social.list` OR requester is not the poll author. */
|
|
13639
|
+
403: {
|
|
13640
|
+
headers: {
|
|
13641
|
+
[name: string]: unknown;
|
|
13642
|
+
};
|
|
13643
|
+
content: {
|
|
13644
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
13645
|
+
};
|
|
13646
|
+
};
|
|
13647
|
+
/** @description Community or post not found. */
|
|
13648
|
+
404: {
|
|
13649
|
+
headers: {
|
|
13650
|
+
[name: string]: unknown;
|
|
13651
|
+
};
|
|
13652
|
+
content: {
|
|
13653
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
13654
|
+
};
|
|
13655
|
+
};
|
|
13656
|
+
};
|
|
13657
|
+
};
|
|
10902
13658
|
StoryController_castVote: {
|
|
10903
13659
|
parameters: {
|
|
10904
13660
|
query?: never;
|
|
@@ -10942,17 +13698,105 @@ interface operations {
|
|
|
10942
13698
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
10943
13699
|
};
|
|
10944
13700
|
};
|
|
10945
|
-
/** @description Community / post / voter not found, or post invisible. */
|
|
10946
|
-
404: {
|
|
13701
|
+
/** @description Community / post / voter not found, or post invisible. */
|
|
13702
|
+
404: {
|
|
13703
|
+
headers: {
|
|
13704
|
+
[name: string]: unknown;
|
|
13705
|
+
};
|
|
13706
|
+
content: {
|
|
13707
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
13708
|
+
};
|
|
13709
|
+
};
|
|
13710
|
+
/** @description Block in place between voter and poll author. */
|
|
13711
|
+
409: {
|
|
13712
|
+
headers: {
|
|
13713
|
+
[name: string]: unknown;
|
|
13714
|
+
};
|
|
13715
|
+
content: {
|
|
13716
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
13717
|
+
};
|
|
13718
|
+
};
|
|
13719
|
+
/** @description Self-vote / no poll / option_index out of range / `POLL_CLOSED` (past the poll `closes_at`). */
|
|
13720
|
+
422: {
|
|
13721
|
+
headers: {
|
|
13722
|
+
[name: string]: unknown;
|
|
13723
|
+
};
|
|
13724
|
+
content: {
|
|
13725
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
13726
|
+
};
|
|
13727
|
+
};
|
|
13728
|
+
};
|
|
13729
|
+
};
|
|
13730
|
+
StoryController_getVote: {
|
|
13731
|
+
parameters: {
|
|
13732
|
+
query?: never;
|
|
13733
|
+
header?: never;
|
|
13734
|
+
path: {
|
|
13735
|
+
/** @description Community UUID. */
|
|
13736
|
+
communityId: string;
|
|
13737
|
+
/** @description Post UUID containing the poll. */
|
|
13738
|
+
postId: string;
|
|
13739
|
+
/** @description Voter social actor UUID. */
|
|
13740
|
+
actorId: string;
|
|
13741
|
+
};
|
|
13742
|
+
cookie?: never;
|
|
13743
|
+
};
|
|
13744
|
+
requestBody?: never;
|
|
13745
|
+
responses: {
|
|
13746
|
+
/** @description The actor's vote. */
|
|
13747
|
+
200: {
|
|
13748
|
+
headers: {
|
|
13749
|
+
[name: string]: unknown;
|
|
13750
|
+
};
|
|
13751
|
+
content: {
|
|
13752
|
+
"application/json": components["schemas"]["PollVoteResponse"];
|
|
13753
|
+
};
|
|
13754
|
+
};
|
|
13755
|
+
/** @description PAK lacks `social.read`. */
|
|
13756
|
+
403: {
|
|
13757
|
+
headers: {
|
|
13758
|
+
[name: string]: unknown;
|
|
13759
|
+
};
|
|
13760
|
+
content: {
|
|
13761
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
13762
|
+
};
|
|
13763
|
+
};
|
|
13764
|
+
/** @description Post not found, or the actor has not voted. */
|
|
13765
|
+
404: {
|
|
13766
|
+
headers: {
|
|
13767
|
+
[name: string]: unknown;
|
|
13768
|
+
};
|
|
13769
|
+
content: {
|
|
13770
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
13771
|
+
};
|
|
13772
|
+
};
|
|
13773
|
+
};
|
|
13774
|
+
};
|
|
13775
|
+
StoryController_deleteVote: {
|
|
13776
|
+
parameters: {
|
|
13777
|
+
query?: never;
|
|
13778
|
+
header?: never;
|
|
13779
|
+
path: {
|
|
13780
|
+
/** @description Community UUID. */
|
|
13781
|
+
communityId: string;
|
|
13782
|
+
/** @description Post UUID containing the poll. */
|
|
13783
|
+
postId: string;
|
|
13784
|
+
/** @description Voter social actor UUID. */
|
|
13785
|
+
actorId: string;
|
|
13786
|
+
};
|
|
13787
|
+
cookie?: never;
|
|
13788
|
+
};
|
|
13789
|
+
requestBody?: never;
|
|
13790
|
+
responses: {
|
|
13791
|
+
/** @description Vote retracted (or no-op). */
|
|
13792
|
+
204: {
|
|
10947
13793
|
headers: {
|
|
10948
13794
|
[name: string]: unknown;
|
|
10949
13795
|
};
|
|
10950
|
-
content
|
|
10951
|
-
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
10952
|
-
};
|
|
13796
|
+
content?: never;
|
|
10953
13797
|
};
|
|
10954
|
-
/** @description
|
|
10955
|
-
|
|
13798
|
+
/** @description PAK lacks `social.vote`. */
|
|
13799
|
+
403: {
|
|
10956
13800
|
headers: {
|
|
10957
13801
|
[name: string]: unknown;
|
|
10958
13802
|
};
|
|
@@ -10960,8 +13804,8 @@ interface operations {
|
|
|
10960
13804
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
10961
13805
|
};
|
|
10962
13806
|
};
|
|
10963
|
-
/** @description
|
|
10964
|
-
|
|
13807
|
+
/** @description Post not found. */
|
|
13808
|
+
404: {
|
|
10965
13809
|
headers: {
|
|
10966
13810
|
[name: string]: unknown;
|
|
10967
13811
|
};
|
|
@@ -11100,6 +13944,8 @@ interface operations {
|
|
|
11100
13944
|
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
11101
13945
|
*/
|
|
11102
13946
|
requester_id?: string;
|
|
13947
|
+
/** @description Opaque pagination cursor from a prior response. Valid only for the same `q` (task 022). */
|
|
13948
|
+
cursor?: string;
|
|
11103
13949
|
};
|
|
11104
13950
|
header?: never;
|
|
11105
13951
|
path: {
|
|
@@ -11110,7 +13956,7 @@ interface operations {
|
|
|
11110
13956
|
};
|
|
11111
13957
|
requestBody?: never;
|
|
11112
13958
|
responses: {
|
|
11113
|
-
/** @description Ranked actor hits. */
|
|
13959
|
+
/** @description Ranked actor hits, cursor-paginated by (rank, id). */
|
|
11114
13960
|
200: {
|
|
11115
13961
|
headers: {
|
|
11116
13962
|
[name: string]: unknown;
|
|
@@ -11215,6 +14061,8 @@ interface operations {
|
|
|
11215
14061
|
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
11216
14062
|
*/
|
|
11217
14063
|
requester_id?: string;
|
|
14064
|
+
/** @description Opaque pagination cursor from a prior response. Valid only for the same `(q, order)` pair (task 022). */
|
|
14065
|
+
cursor?: string;
|
|
11218
14066
|
};
|
|
11219
14067
|
header?: never;
|
|
11220
14068
|
path: {
|
|
@@ -11225,7 +14073,7 @@ interface operations {
|
|
|
11225
14073
|
};
|
|
11226
14074
|
requestBody?: never;
|
|
11227
14075
|
responses: {
|
|
11228
|
-
/** @description Ranked post hits. */
|
|
14076
|
+
/** @description Ranked post hits, cursor-paginated by (rank, id) for relevance or (created_at, id) for recent. */
|
|
11229
14077
|
200: {
|
|
11230
14078
|
headers: {
|
|
11231
14079
|
[name: string]: unknown;
|
|
@@ -11927,6 +14775,102 @@ interface operations {
|
|
|
11927
14775
|
};
|
|
11928
14776
|
};
|
|
11929
14777
|
};
|
|
14778
|
+
ExportController_comments: {
|
|
14779
|
+
parameters: {
|
|
14780
|
+
query?: {
|
|
14781
|
+
limit?: number;
|
|
14782
|
+
cursor?: string;
|
|
14783
|
+
};
|
|
14784
|
+
header?: never;
|
|
14785
|
+
path: {
|
|
14786
|
+
/** @description Workspace UUID. */
|
|
14787
|
+
workspaceId: string;
|
|
14788
|
+
/** @description Community UUID (must belong to the workspace). */
|
|
14789
|
+
communityId: string;
|
|
14790
|
+
/** @description The data subject — social actor UUID. */
|
|
14791
|
+
actorId: string;
|
|
14792
|
+
};
|
|
14793
|
+
cookie?: never;
|
|
14794
|
+
};
|
|
14795
|
+
requestBody?: never;
|
|
14796
|
+
responses: {
|
|
14797
|
+
/** @description Page of the actor's comments. */
|
|
14798
|
+
200: {
|
|
14799
|
+
headers: {
|
|
14800
|
+
[name: string]: unknown;
|
|
14801
|
+
};
|
|
14802
|
+
content: {
|
|
14803
|
+
"application/json": components["schemas"]["ActorCommentsResponseDto"];
|
|
14804
|
+
};
|
|
14805
|
+
};
|
|
14806
|
+
/** @description Caller lacks `social.audit.read`. */
|
|
14807
|
+
403: {
|
|
14808
|
+
headers: {
|
|
14809
|
+
[name: string]: unknown;
|
|
14810
|
+
};
|
|
14811
|
+
content: {
|
|
14812
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
14813
|
+
};
|
|
14814
|
+
};
|
|
14815
|
+
/** @description Community not found in this workspace. */
|
|
14816
|
+
404: {
|
|
14817
|
+
headers: {
|
|
14818
|
+
[name: string]: unknown;
|
|
14819
|
+
};
|
|
14820
|
+
content: {
|
|
14821
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
14822
|
+
};
|
|
14823
|
+
};
|
|
14824
|
+
};
|
|
14825
|
+
};
|
|
14826
|
+
ExportController_reactions: {
|
|
14827
|
+
parameters: {
|
|
14828
|
+
query?: {
|
|
14829
|
+
limit?: number;
|
|
14830
|
+
cursor?: string;
|
|
14831
|
+
};
|
|
14832
|
+
header?: never;
|
|
14833
|
+
path: {
|
|
14834
|
+
/** @description Workspace UUID. */
|
|
14835
|
+
workspaceId: string;
|
|
14836
|
+
/** @description Community UUID (must belong to the workspace). */
|
|
14837
|
+
communityId: string;
|
|
14838
|
+
/** @description The data subject — social actor UUID. */
|
|
14839
|
+
actorId: string;
|
|
14840
|
+
};
|
|
14841
|
+
cookie?: never;
|
|
14842
|
+
};
|
|
14843
|
+
requestBody?: never;
|
|
14844
|
+
responses: {
|
|
14845
|
+
/** @description Page of the actor's reactions. */
|
|
14846
|
+
200: {
|
|
14847
|
+
headers: {
|
|
14848
|
+
[name: string]: unknown;
|
|
14849
|
+
};
|
|
14850
|
+
content: {
|
|
14851
|
+
"application/json": components["schemas"]["ActorReactionsResponseDto"];
|
|
14852
|
+
};
|
|
14853
|
+
};
|
|
14854
|
+
/** @description Caller lacks `social.audit.read`. */
|
|
14855
|
+
403: {
|
|
14856
|
+
headers: {
|
|
14857
|
+
[name: string]: unknown;
|
|
14858
|
+
};
|
|
14859
|
+
content: {
|
|
14860
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
14861
|
+
};
|
|
14862
|
+
};
|
|
14863
|
+
/** @description Community not found in this workspace. */
|
|
14864
|
+
404: {
|
|
14865
|
+
headers: {
|
|
14866
|
+
[name: string]: unknown;
|
|
14867
|
+
};
|
|
14868
|
+
content: {
|
|
14869
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
14870
|
+
};
|
|
14871
|
+
};
|
|
14872
|
+
};
|
|
14873
|
+
};
|
|
11930
14874
|
AnalyticsController_getCommunityAnalytics: {
|
|
11931
14875
|
parameters: {
|
|
11932
14876
|
query?: never;
|
|
@@ -11970,6 +14914,63 @@ interface operations {
|
|
|
11970
14914
|
};
|
|
11971
14915
|
};
|
|
11972
14916
|
};
|
|
14917
|
+
ModerationAdminController_actDirect: {
|
|
14918
|
+
parameters: {
|
|
14919
|
+
query?: never;
|
|
14920
|
+
header?: {
|
|
14921
|
+
/** @description Opaque client-generated string used to deduplicate retries within a 24h window. Replays return the original response; same key + different body returns 409 `IDEMPOTENCY_KEY_REUSE`. */
|
|
14922
|
+
"Idempotency-Key"?: string;
|
|
14923
|
+
};
|
|
14924
|
+
path: {
|
|
14925
|
+
workspaceId: string;
|
|
14926
|
+
communityId: string;
|
|
14927
|
+
};
|
|
14928
|
+
cookie?: never;
|
|
14929
|
+
};
|
|
14930
|
+
requestBody: {
|
|
14931
|
+
content: {
|
|
14932
|
+
"application/json": components["schemas"]["DirectModerationActionDto"];
|
|
14933
|
+
};
|
|
14934
|
+
};
|
|
14935
|
+
responses: {
|
|
14936
|
+
/** @description Action recorded (flag_id=null audit row); side-effect applied. */
|
|
14937
|
+
201: {
|
|
14938
|
+
headers: {
|
|
14939
|
+
[name: string]: unknown;
|
|
14940
|
+
};
|
|
14941
|
+
content: {
|
|
14942
|
+
"application/json": components["schemas"]["ModerationActionResponseDto"];
|
|
14943
|
+
};
|
|
14944
|
+
};
|
|
14945
|
+
/** @description Invalid target_kind / action / notes. */
|
|
14946
|
+
400: {
|
|
14947
|
+
headers: {
|
|
14948
|
+
[name: string]: unknown;
|
|
14949
|
+
};
|
|
14950
|
+
content: {
|
|
14951
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
14952
|
+
};
|
|
14953
|
+
};
|
|
14954
|
+
/** @description Caller lacks `social.moderate`. */
|
|
14955
|
+
403: {
|
|
14956
|
+
headers: {
|
|
14957
|
+
[name: string]: unknown;
|
|
14958
|
+
};
|
|
14959
|
+
content: {
|
|
14960
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
14961
|
+
};
|
|
14962
|
+
};
|
|
14963
|
+
/** @description Community or target not found. */
|
|
14964
|
+
404: {
|
|
14965
|
+
headers: {
|
|
14966
|
+
[name: string]: unknown;
|
|
14967
|
+
};
|
|
14968
|
+
content: {
|
|
14969
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
14970
|
+
};
|
|
14971
|
+
};
|
|
14972
|
+
};
|
|
14973
|
+
};
|
|
11973
14974
|
ModerationAdminController_shadowBan: {
|
|
11974
14975
|
parameters: {
|
|
11975
14976
|
query?: never;
|
|
@@ -12123,6 +15124,118 @@ interface operations {
|
|
|
12123
15124
|
};
|
|
12124
15125
|
};
|
|
12125
15126
|
};
|
|
15127
|
+
ModerationAdminController_listBlockedTerms: {
|
|
15128
|
+
parameters: {
|
|
15129
|
+
query?: {
|
|
15130
|
+
limit?: number;
|
|
15131
|
+
cursor?: string;
|
|
15132
|
+
};
|
|
15133
|
+
header?: never;
|
|
15134
|
+
path: {
|
|
15135
|
+
workspaceId: string;
|
|
15136
|
+
communityId: string;
|
|
15137
|
+
};
|
|
15138
|
+
cookie?: never;
|
|
15139
|
+
};
|
|
15140
|
+
requestBody?: never;
|
|
15141
|
+
responses: {
|
|
15142
|
+
/** @description Page of blocked terms. */
|
|
15143
|
+
200: {
|
|
15144
|
+
headers: {
|
|
15145
|
+
[name: string]: unknown;
|
|
15146
|
+
};
|
|
15147
|
+
content: {
|
|
15148
|
+
"application/json": components["schemas"]["BlockedTermListResponseDto"];
|
|
15149
|
+
};
|
|
15150
|
+
};
|
|
15151
|
+
/** @description Caller lacks `social.config.read`. */
|
|
15152
|
+
403: {
|
|
15153
|
+
headers: {
|
|
15154
|
+
[name: string]: unknown;
|
|
15155
|
+
};
|
|
15156
|
+
content: {
|
|
15157
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
15158
|
+
};
|
|
15159
|
+
};
|
|
15160
|
+
};
|
|
15161
|
+
};
|
|
15162
|
+
ModerationAdminController_addBlockedTerm: {
|
|
15163
|
+
parameters: {
|
|
15164
|
+
query?: never;
|
|
15165
|
+
header?: never;
|
|
15166
|
+
path: {
|
|
15167
|
+
workspaceId: string;
|
|
15168
|
+
communityId: string;
|
|
15169
|
+
};
|
|
15170
|
+
cookie?: never;
|
|
15171
|
+
};
|
|
15172
|
+
requestBody: {
|
|
15173
|
+
content: {
|
|
15174
|
+
"application/json": components["schemas"]["CreateBlockedTermDto"];
|
|
15175
|
+
};
|
|
15176
|
+
};
|
|
15177
|
+
responses: {
|
|
15178
|
+
/** @description Blocked term added. */
|
|
15179
|
+
201: {
|
|
15180
|
+
headers: {
|
|
15181
|
+
[name: string]: unknown;
|
|
15182
|
+
};
|
|
15183
|
+
content: {
|
|
15184
|
+
"application/json": components["schemas"]["BlockedTermResponseDto"];
|
|
15185
|
+
};
|
|
15186
|
+
};
|
|
15187
|
+
/** @description Empty or over-length term. */
|
|
15188
|
+
400: {
|
|
15189
|
+
headers: {
|
|
15190
|
+
[name: string]: unknown;
|
|
15191
|
+
};
|
|
15192
|
+
content: {
|
|
15193
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
15194
|
+
};
|
|
15195
|
+
};
|
|
15196
|
+
/** @description Caller lacks `social.config.update`. */
|
|
15197
|
+
403: {
|
|
15198
|
+
headers: {
|
|
15199
|
+
[name: string]: unknown;
|
|
15200
|
+
};
|
|
15201
|
+
content: {
|
|
15202
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
15203
|
+
};
|
|
15204
|
+
};
|
|
15205
|
+
};
|
|
15206
|
+
};
|
|
15207
|
+
ModerationAdminController_removeBlockedTerm: {
|
|
15208
|
+
parameters: {
|
|
15209
|
+
query?: never;
|
|
15210
|
+
header?: never;
|
|
15211
|
+
path: {
|
|
15212
|
+
workspaceId: string;
|
|
15213
|
+
communityId: string;
|
|
15214
|
+
/** @description The blocked term to remove (case-insensitive). */
|
|
15215
|
+
term: string;
|
|
15216
|
+
};
|
|
15217
|
+
cookie?: never;
|
|
15218
|
+
};
|
|
15219
|
+
requestBody?: never;
|
|
15220
|
+
responses: {
|
|
15221
|
+
/** @description Removed (or no-op). */
|
|
15222
|
+
204: {
|
|
15223
|
+
headers: {
|
|
15224
|
+
[name: string]: unknown;
|
|
15225
|
+
};
|
|
15226
|
+
content?: never;
|
|
15227
|
+
};
|
|
15228
|
+
/** @description Caller lacks `social.config.update`. */
|
|
15229
|
+
403: {
|
|
15230
|
+
headers: {
|
|
15231
|
+
[name: string]: unknown;
|
|
15232
|
+
};
|
|
15233
|
+
content: {
|
|
15234
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
15235
|
+
};
|
|
15236
|
+
};
|
|
15237
|
+
};
|
|
15238
|
+
};
|
|
12126
15239
|
ConversationModerationController_listConversations: {
|
|
12127
15240
|
parameters: {
|
|
12128
15241
|
query?: {
|