@f3liz/rescript-misskey-api 0.6.7 → 0.6.9
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/lib/es6/src/stream/StreamClient.mjs +2 -2
- package/package.json +2 -2
- package/src/bindings/{WebSocket.res → MisskeyWebSocket.res} +1 -1
- package/src/generated/kokonect-link/api/KokonectLinkAccount.res +144 -144
- package/src/generated/kokonect-link/api/KokonectLinkAdmin.res +300 -300
- package/src/generated/kokonect-link/api/KokonectLinkAntennas.res +18 -18
- package/src/generated/kokonect-link/api/KokonectLinkApp.res +12 -12
- package/src/generated/kokonect-link/api/KokonectLinkAuth.res +12 -12
- package/src/generated/kokonect-link/api/KokonectLinkChannels.res +36 -36
- package/src/generated/kokonect-link/api/KokonectLinkCharts.res +12 -12
- package/src/generated/kokonect-link/api/KokonectLinkChat.res +162 -162
- package/src/generated/kokonect-link/api/KokonectLinkClips.res +24 -24
- package/src/generated/kokonect-link/api/KokonectLinkDefault.res +64 -64
- package/src/generated/kokonect-link/api/KokonectLinkDrive.res +72 -72
- package/src/generated/kokonect-link/api/KokonectLinkFederation.res +36 -36
- package/src/generated/kokonect-link/api/KokonectLinkFlash.res +19 -19
- package/src/generated/kokonect-link/api/KokonectLinkFlashs.res +6 -6
- package/src/generated/kokonect-link/api/KokonectLinkFollowing.res +42 -42
- package/src/generated/kokonect-link/api/KokonectLinkGallery.res +24 -24
- package/src/generated/kokonect-link/api/KokonectLinkGroups.res +72 -72
- package/src/generated/kokonect-link/api/KokonectLinkHashtags.res +12 -12
- package/src/generated/kokonect-link/api/KokonectLinkLists.res +18 -18
- package/src/generated/kokonect-link/api/KokonectLinkMeta.res +54 -54
- package/src/generated/kokonect-link/api/KokonectLinkNotes.res +174 -174
- package/src/generated/kokonect-link/api/KokonectLinkNotifications.res +6 -6
- package/src/generated/kokonect-link/api/KokonectLinkPages.res +18 -18
- package/src/generated/kokonect-link/api/KokonectLinkRole.res +18 -18
- package/src/generated/kokonect-link/api/KokonectLinkUsers.res +72 -72
- package/src/generated/kokonect-link/api/KokonectLinkWebhooks.res +20 -20
- package/src/generated/kokonect-link/types/Account.d.ts +235 -177
- package/src/generated/kokonect-link/types/Admin.d.ts +640 -484
- package/src/generated/kokonect-link/types/Antennas.d.ts +36 -27
- package/src/generated/kokonect-link/types/App.d.ts +16 -12
- package/src/generated/kokonect-link/types/Auth.d.ts +30 -23
- package/src/generated/kokonect-link/types/Channels.d.ts +76 -57
- package/src/generated/kokonect-link/types/Charts.d.ts +104 -78
- package/src/generated/kokonect-link/types/Chat.d.ts +108 -81
- package/src/generated/kokonect-link/types/Clip.d.ts +8 -6
- package/src/generated/kokonect-link/types/Clips.d.ts +40 -30
- package/src/generated/kokonect-link/types/Default.d.ts +297 -232
- package/src/generated/kokonect-link/types/Drive.d.ts +120 -90
- package/src/generated/kokonect-link/types/Federation.d.ts +68 -51
- package/src/generated/kokonect-link/types/Flash.d.ts +33 -25
- package/src/generated/kokonect-link/types/Flashs.d.ts +12 -9
- package/src/generated/kokonect-link/types/Following.d.ts +68 -51
- package/src/generated/kokonect-link/types/Gallery.d.ts +52 -39
- package/src/generated/kokonect-link/types/Groups.d.ts +48 -36
- package/src/generated/kokonect-link/types/Hashtags.d.ts +32 -24
- package/src/generated/kokonect-link/types/Lists.d.ts +48 -36
- package/src/generated/kokonect-link/types/Meta.d.ts +133 -100
- package/src/generated/kokonect-link/types/NonProductive.d.ts +8 -6
- package/src/generated/kokonect-link/types/Notes.d.ts +256 -192
- package/src/generated/kokonect-link/types/Notifications.d.ts +20 -15
- package/src/generated/kokonect-link/types/Pages.d.ts +40 -30
- package/src/generated/kokonect-link/types/Reactions.d.ts +8 -6
- package/src/generated/kokonect-link/types/ResetPassword.d.ts +8 -6
- package/src/generated/kokonect-link/types/Role.d.ts +28 -21
- package/src/generated/kokonect-link/types/Users.d.ts +161 -121
- package/src/generated/kokonect-link/types/Webhooks.d.ts +44 -34
- package/src/generated/kokonect-link/types/index.d.ts +1 -2
- package/src/generated/kokonect-link/wrapper/index.d.ts +4813 -2131
- package/src/generated/kokonect-link/wrapper/index.mjs +2 -710
- package/src/generated/misskey-io/api/MisskeyIoAccount.res +207 -207
- package/src/generated/misskey-io/api/MisskeyIoAdmin.res +652 -652
- package/src/generated/misskey-io/api/MisskeyIoAntennas.res +36 -36
- package/src/generated/misskey-io/api/MisskeyIoApp.res +12 -12
- package/src/generated/misskey-io/api/MisskeyIoAuth.res +32 -32
- package/src/generated/misskey-io/api/MisskeyIoChannels.res +78 -78
- package/src/generated/misskey-io/api/MisskeyIoCharts.res +144 -144
- package/src/generated/misskey-io/api/MisskeyIoClip.res +12 -12
- package/src/generated/misskey-io/api/MisskeyIoClips.res +36 -36
- package/src/generated/misskey-io/api/MisskeyIoDefault.res +363 -363
- package/src/generated/misskey-io/api/MisskeyIoDrive.res +108 -108
- package/src/generated/misskey-io/api/MisskeyIoFederation.res +66 -66
- package/src/generated/misskey-io/api/MisskeyIoFlash.res +30 -30
- package/src/generated/misskey-io/api/MisskeyIoFlashs.res +12 -12
- package/src/generated/misskey-io/api/MisskeyIoFollowing.res +60 -60
- package/src/generated/misskey-io/api/MisskeyIoGallery.res +54 -54
- package/src/generated/misskey-io/api/MisskeyIoHashtags.res +36 -36
- package/src/generated/misskey-io/api/MisskeyIoLists.res +54 -54
- package/src/generated/misskey-io/api/MisskeyIoMeta.res +145 -145
- package/src/generated/misskey-io/api/MisskeyIoNonProductive.res +12 -12
- package/src/generated/misskey-io/api/MisskeyIoNotes.res +210 -210
- package/src/generated/misskey-io/api/MisskeyIoNotifications.res +24 -24
- package/src/generated/misskey-io/api/MisskeyIoPages.res +42 -42
- package/src/generated/misskey-io/api/MisskeyIoReactions.res +12 -12
- package/src/generated/misskey-io/api/MisskeyIoResetPassword.res +12 -12
- package/src/generated/misskey-io/api/MisskeyIoRole.res +24 -24
- package/src/generated/misskey-io/api/MisskeyIoUsers.res +169 -169
- package/src/generated/misskey-io/api/MisskeyIoWebhooks.res +44 -44
- package/src/generated/misskey-io/types/Account.d.ts +139 -105
- package/src/generated/misskey-io/types/Admin.d.ts +438 -331
- package/src/generated/misskey-io/types/Antennas.d.ts +24 -18
- package/src/generated/misskey-io/types/App.d.ts +8 -6
- package/src/generated/misskey-io/types/Auth.d.ts +22 -17
- package/src/generated/misskey-io/types/Channels.d.ts +52 -39
- package/src/generated/misskey-io/types/Charts.d.ts +96 -72
- package/src/generated/misskey-io/types/Clip.d.ts +8 -6
- package/src/generated/misskey-io/types/Clips.d.ts +24 -18
- package/src/generated/misskey-io/types/Default.d.ts +253 -198
- package/src/generated/misskey-io/types/Drive.d.ts +72 -54
- package/src/generated/misskey-io/types/Federation.d.ts +44 -33
- package/src/generated/misskey-io/types/Flash.d.ts +20 -15
- package/src/generated/misskey-io/types/Flashs.d.ts +8 -6
- package/src/generated/misskey-io/types/Following.d.ts +40 -30
- package/src/generated/misskey-io/types/Gallery.d.ts +36 -27
- package/src/generated/misskey-io/types/Hashtags.d.ts +24 -18
- package/src/generated/misskey-io/types/Lists.d.ts +36 -27
- package/src/generated/misskey-io/types/Meta.d.ts +97 -73
- package/src/generated/misskey-io/types/NonProductive.d.ts +8 -6
- package/src/generated/misskey-io/types/Notes.d.ts +140 -105
- package/src/generated/misskey-io/types/Notifications.d.ts +16 -12
- package/src/generated/misskey-io/types/Pages.d.ts +28 -21
- package/src/generated/misskey-io/types/Reactions.d.ts +8 -6
- package/src/generated/misskey-io/types/ResetPassword.d.ts +8 -6
- package/src/generated/misskey-io/types/Role.d.ts +16 -12
- package/src/generated/misskey-io/types/Users.d.ts +113 -85
- package/src/generated/misskey-io/types/Webhooks.d.ts +30 -23
- package/src/generated/misskey-io/types/index.d.ts +1 -2
- package/src/generated/misskey-io/wrapper/index.d.ts +3127 -1399
- package/src/generated/misskey-io/wrapper/index.mjs +2 -469
- package/src/stream/NativeStreamBindings.res +2 -2
- package/src/stream/StreamClient.res +1 -1
- /package/lib/es6/src/bindings/{WebSocket.mjs → MisskeyWebSocket.mjs} +0 -0
|
@@ -42,12 +42,12 @@ let postAdminAbuseReportResolverCreateResponseSchema = S.object(s => {
|
|
|
42
42
|
})
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
45
|
+
admin/abuse-report-resolver/create
|
|
46
|
+
|
|
47
|
+
No description provided.
|
|
48
|
+
|
|
49
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:abuse-report-resolvers*
|
|
50
|
+
*/
|
|
51
51
|
let postAdminAbuseReportResolverCreate = (~body: postAdminAbuseReportResolverCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAbuseReportResolverCreateResponse> => {
|
|
52
52
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAbuseReportResolverCreateRequestSchema)
|
|
53
53
|
fetch(
|
|
@@ -72,12 +72,12 @@ let postAdminAbuseReportResolverDeleteRequestSchema = S.object(s => {
|
|
|
72
72
|
type postAdminAbuseReportResolverDeleteResponse = unit
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
75
|
+
admin/abuse-report-resolver/delete
|
|
76
|
+
|
|
77
|
+
No description provided.
|
|
78
|
+
|
|
79
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:abuse-report-resolvers*
|
|
80
|
+
*/
|
|
81
81
|
let postAdminAbuseReportResolverDelete = (~body: postAdminAbuseReportResolverDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAbuseReportResolverDeleteResponse> => {
|
|
82
82
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAbuseReportResolverDeleteRequestSchema)
|
|
83
83
|
fetch(
|
|
@@ -126,12 +126,12 @@ let postAdminAbuseReportResolverListResponse_1Schema = S.object(s => {
|
|
|
126
126
|
let postAdminAbuseReportResolverListResponseSchema = S.array(postAdminAbuseReportResolverListResponse_1Schema)
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
129
|
+
admin/abuse-report-resolver/list
|
|
130
|
+
|
|
131
|
+
No description provided.
|
|
132
|
+
|
|
133
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:abuse-report-resolvers*
|
|
134
|
+
*/
|
|
135
135
|
let postAdminAbuseReportResolverList = (~body: postAdminAbuseReportResolverListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAbuseReportResolverListResponse> => {
|
|
136
136
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAbuseReportResolverListRequestSchema)
|
|
137
137
|
fetch(
|
|
@@ -168,12 +168,12 @@ let postAdminAbuseReportResolverUpdateRequestSchema = S.object(s => {
|
|
|
168
168
|
type postAdminAbuseReportResolverUpdateResponse = unit
|
|
169
169
|
|
|
170
170
|
/**
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
171
|
+
admin/abuse-report-resolver/update
|
|
172
|
+
|
|
173
|
+
No description provided.
|
|
174
|
+
|
|
175
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:abuse-report-resolvers*
|
|
176
|
+
*/
|
|
177
177
|
let postAdminAbuseReportResolverUpdate = (~body: postAdminAbuseReportResolverUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAbuseReportResolverUpdateResponse> => {
|
|
178
178
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAbuseReportResolverUpdateRequestSchema)
|
|
179
179
|
fetch(
|
|
@@ -208,13 +208,13 @@ type postAdminAbuseReportNotificationRecipientCreateResponse = MisskeyIoComponen
|
|
|
208
208
|
let postAdminAbuseReportNotificationRecipientCreateResponseSchema = MisskeyIoComponentSchemas.AbuseReportNotificationRecipient.schema
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
211
|
+
admin/abuse-report/notification-recipient/create
|
|
212
|
+
|
|
213
|
+
No description provided.
|
|
214
|
+
|
|
215
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
216
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:abuse-report:notification-recipient*
|
|
217
|
+
*/
|
|
218
218
|
let postAdminAbuseReportNotificationRecipientCreate = (~body: postAdminAbuseReportNotificationRecipientCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAbuseReportNotificationRecipientCreateResponse> => {
|
|
219
219
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAbuseReportNotificationRecipientCreateRequestSchema)
|
|
220
220
|
fetch(
|
|
@@ -239,13 +239,13 @@ let postAdminAbuseReportNotificationRecipientDeleteRequestSchema = S.object(s =>
|
|
|
239
239
|
type postAdminAbuseReportNotificationRecipientDeleteResponse = unit
|
|
240
240
|
|
|
241
241
|
/**
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
242
|
+
admin/abuse-report/notification-recipient/delete
|
|
243
|
+
|
|
244
|
+
No description provided.
|
|
245
|
+
|
|
246
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
247
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:abuse-report:notification-recipient*
|
|
248
|
+
*/
|
|
249
249
|
let postAdminAbuseReportNotificationRecipientDelete = (~body: postAdminAbuseReportNotificationRecipientDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAbuseReportNotificationRecipientDeleteResponse> => {
|
|
250
250
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAbuseReportNotificationRecipientDeleteRequestSchema)
|
|
251
251
|
fetch(
|
|
@@ -272,13 +272,13 @@ type postAdminAbuseReportNotificationRecipientListResponse = array<MisskeyIoComp
|
|
|
272
272
|
let postAdminAbuseReportNotificationRecipientListResponseSchema = S.array(MisskeyIoComponentSchemas.AbuseReportNotificationRecipient.schema)
|
|
273
273
|
|
|
274
274
|
/**
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
275
|
+
admin/abuse-report/notification-recipient/list
|
|
276
|
+
|
|
277
|
+
No description provided.
|
|
278
|
+
|
|
279
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
280
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:abuse-report:notification-recipient*
|
|
281
|
+
*/
|
|
282
282
|
let postAdminAbuseReportNotificationRecipientList = (~body: postAdminAbuseReportNotificationRecipientListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAbuseReportNotificationRecipientListResponse> => {
|
|
283
283
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAbuseReportNotificationRecipientListRequestSchema)
|
|
284
284
|
fetch(
|
|
@@ -305,13 +305,13 @@ type postAdminAbuseReportNotificationRecipientShowResponse = MisskeyIoComponentS
|
|
|
305
305
|
let postAdminAbuseReportNotificationRecipientShowResponseSchema = MisskeyIoComponentSchemas.AbuseReportNotificationRecipient.schema
|
|
306
306
|
|
|
307
307
|
/**
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
308
|
+
admin/abuse-report/notification-recipient/show
|
|
309
|
+
|
|
310
|
+
No description provided.
|
|
311
|
+
|
|
312
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
313
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:abuse-report:notification-recipient*
|
|
314
|
+
*/
|
|
315
315
|
let postAdminAbuseReportNotificationRecipientShow = (~body: postAdminAbuseReportNotificationRecipientShowRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAbuseReportNotificationRecipientShowResponse> => {
|
|
316
316
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAbuseReportNotificationRecipientShowRequestSchema)
|
|
317
317
|
fetch(
|
|
@@ -348,13 +348,13 @@ type postAdminAbuseReportNotificationRecipientUpdateResponse = MisskeyIoComponen
|
|
|
348
348
|
let postAdminAbuseReportNotificationRecipientUpdateResponseSchema = MisskeyIoComponentSchemas.AbuseReportNotificationRecipient.schema
|
|
349
349
|
|
|
350
350
|
/**
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
351
|
+
admin/abuse-report/notification-recipient/update
|
|
352
|
+
|
|
353
|
+
No description provided.
|
|
354
|
+
|
|
355
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
356
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:abuse-report:notification-recipient*
|
|
357
|
+
*/
|
|
358
358
|
let postAdminAbuseReportNotificationRecipientUpdate = (~body: postAdminAbuseReportNotificationRecipientUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAbuseReportNotificationRecipientUpdateResponse> => {
|
|
359
359
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAbuseReportNotificationRecipientUpdateRequestSchema)
|
|
360
360
|
fetch(
|
|
@@ -429,12 +429,12 @@ let postAdminAbuseUserReportsResponse_1Schema = S.object(s => {
|
|
|
429
429
|
let postAdminAbuseUserReportsResponseSchema = S.array(postAdminAbuseUserReportsResponse_1Schema)
|
|
430
430
|
|
|
431
431
|
/**
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
432
|
+
admin/abuse-user-reports
|
|
433
|
+
|
|
434
|
+
No description provided.
|
|
435
|
+
|
|
436
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:abuse-user-reports*
|
|
437
|
+
*/
|
|
438
438
|
let postAdminAbuseUserReports = (~body: postAdminAbuseUserReportsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAbuseUserReportsResponse> => {
|
|
439
439
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAbuseUserReportsRequestSchema)
|
|
440
440
|
fetch(
|
|
@@ -465,12 +465,12 @@ type postAdminAccountsCreateResponse = MisskeyIoComponentSchemas.MeDetailed.t
|
|
|
465
465
|
let postAdminAccountsCreateResponseSchema = MisskeyIoComponentSchemas.MeDetailed.schema
|
|
466
466
|
|
|
467
467
|
/**
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
468
|
+
admin/accounts/create
|
|
469
|
+
|
|
470
|
+
No description provided.
|
|
471
|
+
|
|
472
|
+
**Credential required**: *No*
|
|
473
|
+
*/
|
|
474
474
|
let postAdminAccountsCreate = (~body: postAdminAccountsCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAccountsCreateResponse> => {
|
|
475
475
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAccountsCreateRequestSchema)
|
|
476
476
|
fetch(
|
|
@@ -497,12 +497,12 @@ let postAdminAccountsDeleteRequestSchema = S.object(s => {
|
|
|
497
497
|
type postAdminAccountsDeleteResponse = unit
|
|
498
498
|
|
|
499
499
|
/**
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
500
|
+
admin/accounts/delete
|
|
501
|
+
|
|
502
|
+
No description provided.
|
|
503
|
+
|
|
504
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:account*
|
|
505
|
+
*/
|
|
506
506
|
let postAdminAccountsDelete = (~body: postAdminAccountsDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAccountsDeleteResponse> => {
|
|
507
507
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAccountsDeleteRequestSchema)
|
|
508
508
|
fetch(
|
|
@@ -529,12 +529,12 @@ type postAdminAccountsFindByEmailResponse = MisskeyIoComponentSchemas.UserDetail
|
|
|
529
529
|
let postAdminAccountsFindByEmailResponseSchema = MisskeyIoComponentSchemas.UserDetailed.schema
|
|
530
530
|
|
|
531
531
|
/**
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
532
|
+
admin/accounts/find-by-email
|
|
533
|
+
|
|
534
|
+
No description provided.
|
|
535
|
+
|
|
536
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:account*
|
|
537
|
+
*/
|
|
538
538
|
let postAdminAccountsFindByEmail = (~body: postAdminAccountsFindByEmailRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAccountsFindByEmailResponse> => {
|
|
539
539
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAccountsFindByEmailRequestSchema)
|
|
540
540
|
fetch(
|
|
@@ -587,12 +587,12 @@ let postAdminAccountsPendingListResponse_1Schema = S.object(s => {
|
|
|
587
587
|
let postAdminAccountsPendingListResponseSchema = S.array(postAdminAccountsPendingListResponse_1Schema)
|
|
588
588
|
|
|
589
589
|
/**
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
590
|
+
admin/accounts/pending/list
|
|
591
|
+
|
|
592
|
+
No description provided.
|
|
593
|
+
|
|
594
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:account*
|
|
595
|
+
*/
|
|
596
596
|
let postAdminAccountsPendingList = (~body: postAdminAccountsPendingListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAccountsPendingListResponse> => {
|
|
597
597
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAccountsPendingListRequestSchema)
|
|
598
598
|
fetch(
|
|
@@ -619,12 +619,12 @@ let postAdminAccountsPendingRevokeRequestSchema = S.object(s => {
|
|
|
619
619
|
type postAdminAccountsPendingRevokeResponse = unit
|
|
620
620
|
|
|
621
621
|
/**
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
622
|
+
admin/accounts/pending/revoke
|
|
623
|
+
|
|
624
|
+
No description provided.
|
|
625
|
+
|
|
626
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:account*
|
|
627
|
+
*/
|
|
628
628
|
let postAdminAccountsPendingRevoke = (~body: postAdminAccountsPendingRevokeRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAccountsPendingRevokeResponse> => {
|
|
629
629
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAccountsPendingRevokeRequestSchema)
|
|
630
630
|
fetch(
|
|
@@ -669,12 +669,12 @@ type postAdminAdCreateResponse = MisskeyIoComponentSchemas.Ad.t
|
|
|
669
669
|
let postAdminAdCreateResponseSchema = MisskeyIoComponentSchemas.Ad.schema
|
|
670
670
|
|
|
671
671
|
/**
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
672
|
+
admin/ad/create
|
|
673
|
+
|
|
674
|
+
No description provided.
|
|
675
|
+
|
|
676
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:ad*
|
|
677
|
+
*/
|
|
678
678
|
let postAdminAdCreate = (~body: postAdminAdCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAdCreateResponse> => {
|
|
679
679
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAdCreateRequestSchema)
|
|
680
680
|
fetch(
|
|
@@ -699,12 +699,12 @@ let postAdminAdDeleteRequestSchema = S.object(s => {
|
|
|
699
699
|
type postAdminAdDeleteResponse = unit
|
|
700
700
|
|
|
701
701
|
/**
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
702
|
+
admin/ad/delete
|
|
703
|
+
|
|
704
|
+
No description provided.
|
|
705
|
+
|
|
706
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:ad*
|
|
707
|
+
*/
|
|
708
708
|
let postAdminAdDelete = (~body: postAdminAdDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAdDeleteResponse> => {
|
|
709
709
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAdDeleteRequestSchema)
|
|
710
710
|
fetch(
|
|
@@ -737,12 +737,12 @@ type postAdminAdListResponse = array<MisskeyIoComponentSchemas.Ad.t>
|
|
|
737
737
|
let postAdminAdListResponseSchema = S.array(MisskeyIoComponentSchemas.Ad.schema)
|
|
738
738
|
|
|
739
739
|
/**
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
740
|
+
admin/ad/list
|
|
741
|
+
|
|
742
|
+
No description provided.
|
|
743
|
+
|
|
744
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:ad*
|
|
745
|
+
*/
|
|
746
746
|
let postAdminAdList = (~body: postAdminAdListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAdListResponse> => {
|
|
747
747
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAdListRequestSchema)
|
|
748
748
|
fetch(
|
|
@@ -787,12 +787,12 @@ let postAdminAdUpdateRequestSchema = S.object(s => {
|
|
|
787
787
|
type postAdminAdUpdateResponse = unit
|
|
788
788
|
|
|
789
789
|
/**
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
790
|
+
admin/ad/update
|
|
791
|
+
|
|
792
|
+
No description provided.
|
|
793
|
+
|
|
794
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:ad*
|
|
795
|
+
*/
|
|
796
796
|
let postAdminAdUpdate = (~body: postAdminAdUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAdUpdateResponse> => {
|
|
797
797
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAdUpdateRequestSchema)
|
|
798
798
|
fetch(
|
|
@@ -873,12 +873,12 @@ let postAdminAnnouncementsCreateResponseSchema = S.object(s => {
|
|
|
873
873
|
})
|
|
874
874
|
|
|
875
875
|
/**
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
876
|
+
admin/announcements/create
|
|
877
|
+
|
|
878
|
+
No description provided.
|
|
879
|
+
|
|
880
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:announcements*
|
|
881
|
+
*/
|
|
882
882
|
let postAdminAnnouncementsCreate = (~body: postAdminAnnouncementsCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAnnouncementsCreateResponse> => {
|
|
883
883
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAnnouncementsCreateRequestSchema)
|
|
884
884
|
fetch(
|
|
@@ -903,12 +903,12 @@ let postAdminAnnouncementsDeleteRequestSchema = S.object(s => {
|
|
|
903
903
|
type postAdminAnnouncementsDeleteResponse = unit
|
|
904
904
|
|
|
905
905
|
/**
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
906
|
+
admin/announcements/delete
|
|
907
|
+
|
|
908
|
+
No description provided.
|
|
909
|
+
|
|
910
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:announcements*
|
|
911
|
+
*/
|
|
912
912
|
let postAdminAnnouncementsDelete = (~body: postAdminAnnouncementsDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAnnouncementsDeleteResponse> => {
|
|
913
913
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAnnouncementsDeleteRequestSchema)
|
|
914
914
|
fetch(
|
|
@@ -985,12 +985,12 @@ let postAdminAnnouncementsListResponse_1Schema = S.object(s => {
|
|
|
985
985
|
let postAdminAnnouncementsListResponseSchema = S.array(postAdminAnnouncementsListResponse_1Schema)
|
|
986
986
|
|
|
987
987
|
/**
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
988
|
+
admin/announcements/list
|
|
989
|
+
|
|
990
|
+
No description provided.
|
|
991
|
+
|
|
992
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:announcements*
|
|
993
|
+
*/
|
|
994
994
|
let postAdminAnnouncementsList = (~body: postAdminAnnouncementsListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAnnouncementsListResponse> => {
|
|
995
995
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAnnouncementsListRequestSchema)
|
|
996
996
|
fetch(
|
|
@@ -1039,12 +1039,12 @@ let postAdminAnnouncementsUpdateRequestSchema = S.object(s => {
|
|
|
1039
1039
|
type postAdminAnnouncementsUpdateResponse = unit
|
|
1040
1040
|
|
|
1041
1041
|
/**
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1042
|
+
admin/announcements/update
|
|
1043
|
+
|
|
1044
|
+
No description provided.
|
|
1045
|
+
|
|
1046
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:announcements*
|
|
1047
|
+
*/
|
|
1048
1048
|
let postAdminAnnouncementsUpdate = (~body: postAdminAnnouncementsUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAnnouncementsUpdateResponse> => {
|
|
1049
1049
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAnnouncementsUpdateRequestSchema)
|
|
1050
1050
|
fetch(
|
|
@@ -1093,12 +1093,12 @@ let postAdminAvatarDecorationsCreateResponseSchema = S.object(s => {
|
|
|
1093
1093
|
})
|
|
1094
1094
|
|
|
1095
1095
|
/**
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1096
|
+
admin/avatar-decorations/create
|
|
1097
|
+
|
|
1098
|
+
No description provided.
|
|
1099
|
+
|
|
1100
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:avatar-decorations*
|
|
1101
|
+
*/
|
|
1102
1102
|
let postAdminAvatarDecorationsCreate = (~body: postAdminAvatarDecorationsCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAvatarDecorationsCreateResponse> => {
|
|
1103
1103
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAvatarDecorationsCreateRequestSchema)
|
|
1104
1104
|
fetch(
|
|
@@ -1123,12 +1123,12 @@ let postAdminAvatarDecorationsDeleteRequestSchema = S.object(s => {
|
|
|
1123
1123
|
type postAdminAvatarDecorationsDeleteResponse = unit
|
|
1124
1124
|
|
|
1125
1125
|
/**
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1126
|
+
admin/avatar-decorations/delete
|
|
1127
|
+
|
|
1128
|
+
No description provided.
|
|
1129
|
+
|
|
1130
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:avatar-decorations*
|
|
1131
|
+
*/
|
|
1132
1132
|
let postAdminAvatarDecorationsDelete = (~body: postAdminAvatarDecorationsDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAvatarDecorationsDeleteResponse> => {
|
|
1133
1133
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAvatarDecorationsDeleteRequestSchema)
|
|
1134
1134
|
fetch(
|
|
@@ -1181,12 +1181,12 @@ let postAdminAvatarDecorationsListResponse_1Schema = S.object(s => {
|
|
|
1181
1181
|
let postAdminAvatarDecorationsListResponseSchema = S.array(postAdminAvatarDecorationsListResponse_1Schema)
|
|
1182
1182
|
|
|
1183
1183
|
/**
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1184
|
+
admin/avatar-decorations/list
|
|
1185
|
+
|
|
1186
|
+
No description provided.
|
|
1187
|
+
|
|
1188
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:avatar-decorations*
|
|
1189
|
+
*/
|
|
1190
1190
|
let postAdminAvatarDecorationsList = (~body: postAdminAvatarDecorationsListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAvatarDecorationsListResponse> => {
|
|
1191
1191
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAvatarDecorationsListRequestSchema)
|
|
1192
1192
|
fetch(
|
|
@@ -1219,12 +1219,12 @@ let postAdminAvatarDecorationsUpdateRequestSchema = S.object(s => {
|
|
|
1219
1219
|
type postAdminAvatarDecorationsUpdateResponse = unit
|
|
1220
1220
|
|
|
1221
1221
|
/**
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1222
|
+
admin/avatar-decorations/update
|
|
1223
|
+
|
|
1224
|
+
No description provided.
|
|
1225
|
+
|
|
1226
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:avatar-decorations*
|
|
1227
|
+
*/
|
|
1228
1228
|
let postAdminAvatarDecorationsUpdate = (~body: postAdminAvatarDecorationsUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAvatarDecorationsUpdateResponse> => {
|
|
1229
1229
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAvatarDecorationsUpdateRequestSchema)
|
|
1230
1230
|
fetch(
|
|
@@ -1277,12 +1277,12 @@ let postAdminCaptchaCurrentResponseSchema = S.object(s => {
|
|
|
1277
1277
|
})
|
|
1278
1278
|
|
|
1279
1279
|
/**
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1280
|
+
admin/captcha/current
|
|
1281
|
+
|
|
1282
|
+
No description provided.
|
|
1283
|
+
|
|
1284
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:meta*
|
|
1285
|
+
*/
|
|
1286
1286
|
let postAdminCaptchaCurrent = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminCaptchaCurrentResponse> => {
|
|
1287
1287
|
|
|
1288
1288
|
fetch(
|
|
@@ -1315,12 +1315,12 @@ let postAdminCaptchaSaveRequestSchema = S.object(s => {
|
|
|
1315
1315
|
type postAdminCaptchaSaveResponse = unit
|
|
1316
1316
|
|
|
1317
1317
|
/**
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1318
|
+
admin/captcha/save
|
|
1319
|
+
|
|
1320
|
+
No description provided.
|
|
1321
|
+
|
|
1322
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:meta*
|
|
1323
|
+
*/
|
|
1324
1324
|
let postAdminCaptchaSave = (~body: postAdminCaptchaSaveRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminCaptchaSaveResponse> => {
|
|
1325
1325
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminCaptchaSaveRequestSchema)
|
|
1326
1326
|
fetch(
|
|
@@ -1337,12 +1337,12 @@ let postAdminCaptchaSave = (~body: postAdminCaptchaSaveRequest, ~fetch: (~url: s
|
|
|
1337
1337
|
type postAdminDriveCleanRemoteFilesResponse = unit
|
|
1338
1338
|
|
|
1339
1339
|
/**
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1340
|
+
admin/drive/clean-remote-files
|
|
1341
|
+
|
|
1342
|
+
No description provided.
|
|
1343
|
+
|
|
1344
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:drive*
|
|
1345
|
+
*/
|
|
1346
1346
|
let postAdminDriveCleanRemoteFiles = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminDriveCleanRemoteFilesResponse> => {
|
|
1347
1347
|
|
|
1348
1348
|
fetch(
|
|
@@ -1359,12 +1359,12 @@ let postAdminDriveCleanRemoteFiles = (~fetch: (~url: string, ~method_: string, ~
|
|
|
1359
1359
|
type postAdminDriveCleanupResponse = unit
|
|
1360
1360
|
|
|
1361
1361
|
/**
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1362
|
+
admin/drive/cleanup
|
|
1363
|
+
|
|
1364
|
+
No description provided.
|
|
1365
|
+
|
|
1366
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:drive*
|
|
1367
|
+
*/
|
|
1368
1368
|
let postAdminDriveCleanup = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminDriveCleanupResponse> => {
|
|
1369
1369
|
|
|
1370
1370
|
fetch(
|
|
@@ -1389,12 +1389,12 @@ let postAdminDriveDeleteAllFilesOfAUserRequestSchema = S.object(s => {
|
|
|
1389
1389
|
type postAdminDriveDeleteAllFilesOfAUserResponse = unit
|
|
1390
1390
|
|
|
1391
1391
|
/**
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1392
|
+
admin/drive/delete-all-files-of-a-user
|
|
1393
|
+
|
|
1394
|
+
No description provided.
|
|
1395
|
+
|
|
1396
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:drive*
|
|
1397
|
+
*/
|
|
1398
1398
|
let postAdminDriveDeleteAllFilesOfAUser = (~body: postAdminDriveDeleteAllFilesOfAUserRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminDriveDeleteAllFilesOfAUserResponse> => {
|
|
1399
1399
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminDriveDeleteAllFilesOfAUserRequestSchema)
|
|
1400
1400
|
fetch(
|
|
@@ -1433,12 +1433,12 @@ type postAdminDriveFilesResponse = array<MisskeyIoComponentSchemas.DriveFile.t>
|
|
|
1433
1433
|
let postAdminDriveFilesResponseSchema = S.array(MisskeyIoComponentSchemas.DriveFile.schema)
|
|
1434
1434
|
|
|
1435
1435
|
/**
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1436
|
+
admin/drive/files
|
|
1437
|
+
|
|
1438
|
+
No description provided.
|
|
1439
|
+
|
|
1440
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:drive*
|
|
1441
|
+
*/
|
|
1442
1442
|
let postAdminDriveFiles = (~body: postAdminDriveFilesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminDriveFilesResponse> => {
|
|
1443
1443
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminDriveFilesRequestSchema)
|
|
1444
1444
|
fetch(
|
|
@@ -1529,12 +1529,12 @@ let postAdminDriveShowFileResponseSchema = S.object(s => {
|
|
|
1529
1529
|
})
|
|
1530
1530
|
|
|
1531
1531
|
/**
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1532
|
+
admin/drive/show-file
|
|
1533
|
+
|
|
1534
|
+
No description provided.
|
|
1535
|
+
|
|
1536
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:drive*
|
|
1537
|
+
*/
|
|
1538
1538
|
let postAdminDriveShowFile = (~body: postAdminDriveShowFileRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminDriveShowFileResponse> => {
|
|
1539
1539
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminDriveShowFileRequestSchema)
|
|
1540
1540
|
fetch(
|
|
@@ -1581,12 +1581,12 @@ type postAdminEmojiAddResponse = MisskeyIoComponentSchemas.EmojiDetailed.t
|
|
|
1581
1581
|
let postAdminEmojiAddResponseSchema = MisskeyIoComponentSchemas.EmojiDetailed.schema
|
|
1582
1582
|
|
|
1583
1583
|
/**
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1584
|
+
admin/emoji/add
|
|
1585
|
+
|
|
1586
|
+
No description provided.
|
|
1587
|
+
|
|
1588
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:emoji*
|
|
1589
|
+
*/
|
|
1590
1590
|
let postAdminEmojiAdd = (~body: postAdminEmojiAddRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminEmojiAddResponse> => {
|
|
1591
1591
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminEmojiAddRequestSchema)
|
|
1592
1592
|
fetch(
|
|
@@ -1613,12 +1613,12 @@ let postAdminEmojiAddAliasesBulkRequestSchema = S.object(s => {
|
|
|
1613
1613
|
type postAdminEmojiAddAliasesBulkResponse = unit
|
|
1614
1614
|
|
|
1615
1615
|
/**
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1616
|
+
admin/emoji/add-aliases-bulk
|
|
1617
|
+
|
|
1618
|
+
No description provided.
|
|
1619
|
+
|
|
1620
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:emoji*
|
|
1621
|
+
*/
|
|
1622
1622
|
let postAdminEmojiAddAliasesBulk = (~body: postAdminEmojiAddAliasesBulkRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminEmojiAddAliasesBulkResponse> => {
|
|
1623
1623
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminEmojiAddAliasesBulkRequestSchema)
|
|
1624
1624
|
fetch(
|
|
@@ -1649,12 +1649,12 @@ let postAdminEmojiCopyResponseSchema = S.object(s => {
|
|
|
1649
1649
|
})
|
|
1650
1650
|
|
|
1651
1651
|
/**
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1652
|
+
admin/emoji/copy
|
|
1653
|
+
|
|
1654
|
+
No description provided.
|
|
1655
|
+
|
|
1656
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:emoji*
|
|
1657
|
+
*/
|
|
1658
1658
|
let postAdminEmojiCopy = (~body: postAdminEmojiCopyRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminEmojiCopyResponse> => {
|
|
1659
1659
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminEmojiCopyRequestSchema)
|
|
1660
1660
|
fetch(
|
|
@@ -1679,12 +1679,12 @@ let postAdminEmojiDeleteRequestSchema = S.object(s => {
|
|
|
1679
1679
|
type postAdminEmojiDeleteResponse = unit
|
|
1680
1680
|
|
|
1681
1681
|
/**
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1682
|
+
admin/emoji/delete
|
|
1683
|
+
|
|
1684
|
+
No description provided.
|
|
1685
|
+
|
|
1686
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:emoji*
|
|
1687
|
+
*/
|
|
1688
1688
|
let postAdminEmojiDelete = (~body: postAdminEmojiDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminEmojiDeleteResponse> => {
|
|
1689
1689
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminEmojiDeleteRequestSchema)
|
|
1690
1690
|
fetch(
|
|
@@ -1709,12 +1709,12 @@ let postAdminEmojiDeleteBulkRequestSchema = S.object(s => {
|
|
|
1709
1709
|
type postAdminEmojiDeleteBulkResponse = unit
|
|
1710
1710
|
|
|
1711
1711
|
/**
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1712
|
+
admin/emoji/delete-bulk
|
|
1713
|
+
|
|
1714
|
+
No description provided.
|
|
1715
|
+
|
|
1716
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:emoji*
|
|
1717
|
+
*/
|
|
1718
1718
|
let postAdminEmojiDeleteBulk = (~body: postAdminEmojiDeleteBulkRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminEmojiDeleteBulkResponse> => {
|
|
1719
1719
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminEmojiDeleteBulkRequestSchema)
|
|
1720
1720
|
fetch(
|
|
@@ -1765,12 +1765,12 @@ let postAdminEmojiListResponse_1Schema = S.object(s => {
|
|
|
1765
1765
|
let postAdminEmojiListResponseSchema = S.array(postAdminEmojiListResponse_1Schema)
|
|
1766
1766
|
|
|
1767
1767
|
/**
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1768
|
+
admin/emoji/list
|
|
1769
|
+
|
|
1770
|
+
No description provided.
|
|
1771
|
+
|
|
1772
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:emoji*
|
|
1773
|
+
*/
|
|
1774
1774
|
let postAdminEmojiList = (~body: postAdminEmojiListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminEmojiListResponse> => {
|
|
1775
1775
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminEmojiListRequestSchema)
|
|
1776
1776
|
fetch(
|
|
@@ -1823,12 +1823,12 @@ let postAdminEmojiListRemoteResponse_1Schema = S.object(s => {
|
|
|
1823
1823
|
let postAdminEmojiListRemoteResponseSchema = S.array(postAdminEmojiListRemoteResponse_1Schema)
|
|
1824
1824
|
|
|
1825
1825
|
/**
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1826
|
+
admin/emoji/list-remote
|
|
1827
|
+
|
|
1828
|
+
No description provided.
|
|
1829
|
+
|
|
1830
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:emoji*
|
|
1831
|
+
*/
|
|
1832
1832
|
let postAdminEmojiListRemote = (~body: postAdminEmojiListRemoteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminEmojiListRemoteResponse> => {
|
|
1833
1833
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminEmojiListRemoteRequestSchema)
|
|
1834
1834
|
fetch(
|
|
@@ -1855,12 +1855,12 @@ let postAdminEmojiRemoveAliasesBulkRequestSchema = S.object(s => {
|
|
|
1855
1855
|
type postAdminEmojiRemoveAliasesBulkResponse = unit
|
|
1856
1856
|
|
|
1857
1857
|
/**
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1858
|
+
admin/emoji/remove-aliases-bulk
|
|
1859
|
+
|
|
1860
|
+
No description provided.
|
|
1861
|
+
|
|
1862
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:emoji*
|
|
1863
|
+
*/
|
|
1864
1864
|
let postAdminEmojiRemoveAliasesBulk = (~body: postAdminEmojiRemoveAliasesBulkRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminEmojiRemoveAliasesBulkResponse> => {
|
|
1865
1865
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminEmojiRemoveAliasesBulkRequestSchema)
|
|
1866
1866
|
fetch(
|
|
@@ -1887,12 +1887,12 @@ let postAdminEmojiSetAliasesBulkRequestSchema = S.object(s => {
|
|
|
1887
1887
|
type postAdminEmojiSetAliasesBulkResponse = unit
|
|
1888
1888
|
|
|
1889
1889
|
/**
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1890
|
+
admin/emoji/set-aliases-bulk
|
|
1891
|
+
|
|
1892
|
+
No description provided.
|
|
1893
|
+
|
|
1894
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:emoji*
|
|
1895
|
+
*/
|
|
1896
1896
|
let postAdminEmojiSetAliasesBulk = (~body: postAdminEmojiSetAliasesBulkRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminEmojiSetAliasesBulkResponse> => {
|
|
1897
1897
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminEmojiSetAliasesBulkRequestSchema)
|
|
1898
1898
|
fetch(
|
|
@@ -1919,12 +1919,12 @@ let postAdminEmojiSetCategoryBulkRequestSchema = S.object(s => {
|
|
|
1919
1919
|
type postAdminEmojiSetCategoryBulkResponse = unit
|
|
1920
1920
|
|
|
1921
1921
|
/**
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1922
|
+
admin/emoji/set-category-bulk
|
|
1923
|
+
|
|
1924
|
+
No description provided.
|
|
1925
|
+
|
|
1926
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:emoji*
|
|
1927
|
+
*/
|
|
1928
1928
|
let postAdminEmojiSetCategoryBulk = (~body: postAdminEmojiSetCategoryBulkRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminEmojiSetCategoryBulkResponse> => {
|
|
1929
1929
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminEmojiSetCategoryBulkRequestSchema)
|
|
1930
1930
|
fetch(
|
|
@@ -1951,12 +1951,12 @@ let postAdminEmojiSetLicenseBulkRequestSchema = S.object(s => {
|
|
|
1951
1951
|
type postAdminEmojiSetLicenseBulkResponse = unit
|
|
1952
1952
|
|
|
1953
1953
|
/**
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1954
|
+
admin/emoji/set-license-bulk
|
|
1955
|
+
|
|
1956
|
+
No description provided.
|
|
1957
|
+
|
|
1958
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:emoji*
|
|
1959
|
+
*/
|
|
1960
1960
|
let postAdminEmojiSetLicenseBulk = (~body: postAdminEmojiSetLicenseBulkRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminEmojiSetLicenseBulkResponse> => {
|
|
1961
1961
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminEmojiSetLicenseBulkRequestSchema)
|
|
1962
1962
|
fetch(
|
|
@@ -2003,12 +2003,12 @@ let postAdminEmojiUpdateRequestSchema = S.object(s => {
|
|
|
2003
2003
|
type postAdminEmojiUpdateResponse = unit
|
|
2004
2004
|
|
|
2005
2005
|
/**
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2006
|
+
admin/emoji/update
|
|
2007
|
+
|
|
2008
|
+
No description provided.
|
|
2009
|
+
|
|
2010
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:emoji*
|
|
2011
|
+
*/
|
|
2012
2012
|
let postAdminEmojiUpdate = (~body: postAdminEmojiUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminEmojiUpdateResponse> => {
|
|
2013
2013
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminEmojiUpdateRequestSchema)
|
|
2014
2014
|
fetch(
|
|
@@ -2033,12 +2033,12 @@ let postAdminFederationDeleteAllFilesRequestSchema = S.object(s => {
|
|
|
2033
2033
|
type postAdminFederationDeleteAllFilesResponse = unit
|
|
2034
2034
|
|
|
2035
2035
|
/**
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2036
|
+
admin/federation/delete-all-files
|
|
2037
|
+
|
|
2038
|
+
No description provided.
|
|
2039
|
+
|
|
2040
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:federation*
|
|
2041
|
+
*/
|
|
2042
2042
|
let postAdminFederationDeleteAllFiles = (~body: postAdminFederationDeleteAllFilesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminFederationDeleteAllFilesResponse> => {
|
|
2043
2043
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminFederationDeleteAllFilesRequestSchema)
|
|
2044
2044
|
fetch(
|
|
@@ -2063,12 +2063,12 @@ let postAdminFederationRefreshRemoteInstanceMetadataRequestSchema = S.object(s =
|
|
|
2063
2063
|
type postAdminFederationRefreshRemoteInstanceMetadataResponse = unit
|
|
2064
2064
|
|
|
2065
2065
|
/**
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2066
|
+
admin/federation/refresh-remote-instance-metadata
|
|
2067
|
+
|
|
2068
|
+
No description provided.
|
|
2069
|
+
|
|
2070
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:federation*
|
|
2071
|
+
*/
|
|
2072
2072
|
let postAdminFederationRefreshRemoteInstanceMetadata = (~body: postAdminFederationRefreshRemoteInstanceMetadataRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminFederationRefreshRemoteInstanceMetadataResponse> => {
|
|
2073
2073
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminFederationRefreshRemoteInstanceMetadataRequestSchema)
|
|
2074
2074
|
fetch(
|
|
@@ -2093,12 +2093,12 @@ let postAdminFederationRemoveAllFollowingRequestSchema = S.object(s => {
|
|
|
2093
2093
|
type postAdminFederationRemoveAllFollowingResponse = unit
|
|
2094
2094
|
|
|
2095
2095
|
/**
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2096
|
+
admin/federation/remove-all-following
|
|
2097
|
+
|
|
2098
|
+
No description provided.
|
|
2099
|
+
|
|
2100
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:federation*
|
|
2101
|
+
*/
|
|
2102
2102
|
let postAdminFederationRemoveAllFollowing = (~body: postAdminFederationRemoveAllFollowingRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminFederationRemoveAllFollowingResponse> => {
|
|
2103
2103
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminFederationRemoveAllFollowingRequestSchema)
|
|
2104
2104
|
fetch(
|
|
@@ -2127,12 +2127,12 @@ let postAdminFederationUpdateInstanceRequestSchema = S.object(s => {
|
|
|
2127
2127
|
type postAdminFederationUpdateInstanceResponse = unit
|
|
2128
2128
|
|
|
2129
2129
|
/**
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2130
|
+
admin/federation/update-instance
|
|
2131
|
+
|
|
2132
|
+
No description provided.
|
|
2133
|
+
|
|
2134
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:federation*
|
|
2135
|
+
*/
|
|
2136
2136
|
let postAdminFederationUpdateInstance = (~body: postAdminFederationUpdateInstanceRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminFederationUpdateInstanceResponse> => {
|
|
2137
2137
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminFederationUpdateInstanceRequestSchema)
|
|
2138
2138
|
fetch(
|
|
@@ -2157,12 +2157,12 @@ let postAdminForwardAbuseUserReportRequestSchema = S.object(s => {
|
|
|
2157
2157
|
type postAdminForwardAbuseUserReportResponse = unit
|
|
2158
2158
|
|
|
2159
2159
|
/**
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2160
|
+
admin/forward-abuse-user-report
|
|
2161
|
+
|
|
2162
|
+
No description provided.
|
|
2163
|
+
|
|
2164
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:resolve-abuse-user-report*
|
|
2165
|
+
*/
|
|
2166
2166
|
let postAdminForwardAbuseUserReport = (~body: postAdminForwardAbuseUserReportRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminForwardAbuseUserReportResponse> => {
|
|
2167
2167
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminForwardAbuseUserReportRequestSchema)
|
|
2168
2168
|
fetch(
|
|
@@ -2191,12 +2191,12 @@ let postAdminGetIndexStatsResponse_1Schema = S.object(s => {
|
|
|
2191
2191
|
let postAdminGetIndexStatsResponseSchema = S.array(postAdminGetIndexStatsResponse_1Schema)
|
|
2192
2192
|
|
|
2193
2193
|
/**
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2194
|
+
admin/get-index-stats
|
|
2195
|
+
|
|
2196
|
+
No description provided.
|
|
2197
|
+
|
|
2198
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:index-stats*
|
|
2199
|
+
*/
|
|
2200
2200
|
let postAdminGetIndexStats = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminGetIndexStatsResponse> => {
|
|
2201
2201
|
|
|
2202
2202
|
fetch(
|
|
@@ -2215,12 +2215,12 @@ type postAdminGetTableStatsResponse = dict<JSON.t>
|
|
|
2215
2215
|
let postAdminGetTableStatsResponseSchema = S.dict(S.json)
|
|
2216
2216
|
|
|
2217
2217
|
/**
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2218
|
+
admin/get-table-stats
|
|
2219
|
+
|
|
2220
|
+
No description provided.
|
|
2221
|
+
|
|
2222
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:table-stats*
|
|
2223
|
+
*/
|
|
2224
2224
|
let postAdminGetTableStats = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminGetTableStatsResponse> => {
|
|
2225
2225
|
|
|
2226
2226
|
fetch(
|
|
@@ -2257,12 +2257,12 @@ let postAdminGetUserIpsResponse_1Schema = S.object(s => {
|
|
|
2257
2257
|
let postAdminGetUserIpsResponseSchema = S.array(postAdminGetUserIpsResponse_1Schema)
|
|
2258
2258
|
|
|
2259
2259
|
/**
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2260
|
+
admin/get-user-ips
|
|
2261
|
+
|
|
2262
|
+
No description provided.
|
|
2263
|
+
|
|
2264
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:user-ips*
|
|
2265
|
+
*/
|
|
2266
2266
|
let postAdminGetUserIps = (~body: postAdminGetUserIpsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminGetUserIpsResponse> => {
|
|
2267
2267
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminGetUserIpsRequestSchema)
|
|
2268
2268
|
fetch(
|
|
@@ -2303,12 +2303,12 @@ let postAdminIndieAuthCreateResponseSchema = S.object(s => {
|
|
|
2303
2303
|
})
|
|
2304
2304
|
|
|
2305
2305
|
/**
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2306
|
+
admin/indie-auth/create
|
|
2307
|
+
|
|
2308
|
+
No description provided.
|
|
2309
|
+
|
|
2310
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:indie-auth*
|
|
2311
|
+
*/
|
|
2312
2312
|
let postAdminIndieAuthCreate = (~body: postAdminIndieAuthCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminIndieAuthCreateResponse> => {
|
|
2313
2313
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminIndieAuthCreateRequestSchema)
|
|
2314
2314
|
fetch(
|
|
@@ -2333,12 +2333,12 @@ let postAdminIndieAuthDeleteRequestSchema = S.object(s => {
|
|
|
2333
2333
|
type postAdminIndieAuthDeleteResponse = unit
|
|
2334
2334
|
|
|
2335
2335
|
/**
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2336
|
+
admin/indie-auth/delete
|
|
2337
|
+
|
|
2338
|
+
No description provided.
|
|
2339
|
+
|
|
2340
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:indie-auth*
|
|
2341
|
+
*/
|
|
2342
2342
|
let postAdminIndieAuthDelete = (~body: postAdminIndieAuthDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminIndieAuthDeleteResponse> => {
|
|
2343
2343
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminIndieAuthDeleteRequestSchema)
|
|
2344
2344
|
fetch(
|
|
@@ -2381,12 +2381,12 @@ let postAdminIndieAuthListResponse_1Schema = S.object(s => {
|
|
|
2381
2381
|
let postAdminIndieAuthListResponseSchema = S.array(postAdminIndieAuthListResponse_1Schema)
|
|
2382
2382
|
|
|
2383
2383
|
/**
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2384
|
+
admin/indie-auth/list
|
|
2385
|
+
|
|
2386
|
+
No description provided.
|
|
2387
|
+
|
|
2388
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:indie-auth*
|
|
2389
|
+
*/
|
|
2390
2390
|
let postAdminIndieAuthList = (~body: postAdminIndieAuthListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminIndieAuthListResponse> => {
|
|
2391
2391
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminIndieAuthListRequestSchema)
|
|
2392
2392
|
fetch(
|
|
@@ -2415,12 +2415,12 @@ let postAdminIndieAuthUpdateRequestSchema = S.object(s => {
|
|
|
2415
2415
|
type postAdminIndieAuthUpdateResponse = unit
|
|
2416
2416
|
|
|
2417
2417
|
/**
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2418
|
+
admin/indie-auth/update
|
|
2419
|
+
|
|
2420
|
+
No description provided.
|
|
2421
|
+
|
|
2422
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:indie-auth*
|
|
2423
|
+
*/
|
|
2424
2424
|
let postAdminIndieAuthUpdate = (~body: postAdminIndieAuthUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminIndieAuthUpdateResponse> => {
|
|
2425
2425
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminIndieAuthUpdateRequestSchema)
|
|
2426
2426
|
fetch(
|
|
@@ -2449,12 +2449,12 @@ type postAdminInviteCreateResponse = array<MisskeyIoComponentSchemas.InviteCode.
|
|
|
2449
2449
|
let postAdminInviteCreateResponseSchema = S.array(MisskeyIoComponentSchemas.InviteCode.schema)
|
|
2450
2450
|
|
|
2451
2451
|
/**
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2452
|
+
admin/invite/create
|
|
2453
|
+
|
|
2454
|
+
No description provided.
|
|
2455
|
+
|
|
2456
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:invite-codes*
|
|
2457
|
+
*/
|
|
2458
2458
|
let postAdminInviteCreate = (~body: postAdminInviteCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminInviteCreateResponse> => {
|
|
2459
2459
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminInviteCreateRequestSchema)
|
|
2460
2460
|
fetch(
|
|
@@ -2487,12 +2487,12 @@ type postAdminInviteListResponse = array<MisskeyIoComponentSchemas.InviteCode.t>
|
|
|
2487
2487
|
let postAdminInviteListResponseSchema = S.array(MisskeyIoComponentSchemas.InviteCode.schema)
|
|
2488
2488
|
|
|
2489
2489
|
/**
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2490
|
+
admin/invite/list
|
|
2491
|
+
|
|
2492
|
+
No description provided.
|
|
2493
|
+
|
|
2494
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:invite-codes*
|
|
2495
|
+
*/
|
|
2496
2496
|
let postAdminInviteList = (~body: postAdminInviteListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminInviteListResponse> => {
|
|
2497
2497
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminInviteListRequestSchema)
|
|
2498
2498
|
fetch(
|
|
@@ -2519,12 +2519,12 @@ let postAdminPromoCreateRequestSchema = S.object(s => {
|
|
|
2519
2519
|
type postAdminPromoCreateResponse = unit
|
|
2520
2520
|
|
|
2521
2521
|
/**
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2522
|
+
admin/promo/create
|
|
2523
|
+
|
|
2524
|
+
No description provided.
|
|
2525
|
+
|
|
2526
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:promo*
|
|
2527
|
+
*/
|
|
2528
2528
|
let postAdminPromoCreate = (~body: postAdminPromoCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminPromoCreateResponse> => {
|
|
2529
2529
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminPromoCreateRequestSchema)
|
|
2530
2530
|
fetch(
|
|
@@ -2551,12 +2551,12 @@ let postAdminQueueClearRequestSchema = S.object(s => {
|
|
|
2551
2551
|
type postAdminQueueClearResponse = unit
|
|
2552
2552
|
|
|
2553
2553
|
/**
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2554
|
+
admin/queue/clear
|
|
2555
|
+
|
|
2556
|
+
No description provided.
|
|
2557
|
+
|
|
2558
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:queue*
|
|
2559
|
+
*/
|
|
2560
2560
|
let postAdminQueueClear = (~body: postAdminQueueClearRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminQueueClearResponse> => {
|
|
2561
2561
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminQueueClearRequestSchema)
|
|
2562
2562
|
fetch(
|
|
@@ -2575,12 +2575,12 @@ type postAdminQueueDeliverDelayedResponse = array<array<JSON.t>>
|
|
|
2575
2575
|
let postAdminQueueDeliverDelayedResponseSchema = S.array(S.array(S.json))
|
|
2576
2576
|
|
|
2577
2577
|
/**
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2578
|
+
admin/queue/deliver-delayed
|
|
2579
|
+
|
|
2580
|
+
No description provided.
|
|
2581
|
+
|
|
2582
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:queue*
|
|
2583
|
+
*/
|
|
2584
2584
|
let postAdminQueueDeliverDelayed = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminQueueDeliverDelayedResponse> => {
|
|
2585
2585
|
|
|
2586
2586
|
fetch(
|
|
@@ -2599,12 +2599,12 @@ type postAdminQueueInboxDelayedResponse = array<array<JSON.t>>
|
|
|
2599
2599
|
let postAdminQueueInboxDelayedResponseSchema = S.array(S.array(S.json))
|
|
2600
2600
|
|
|
2601
2601
|
/**
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2602
|
+
admin/queue/inbox-delayed
|
|
2603
|
+
|
|
2604
|
+
No description provided.
|
|
2605
|
+
|
|
2606
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:queue*
|
|
2607
|
+
*/
|
|
2608
2608
|
let postAdminQueueInboxDelayed = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminQueueInboxDelayedResponse> => {
|
|
2609
2609
|
|
|
2610
2610
|
fetch(
|
|
@@ -2629,12 +2629,12 @@ let postAdminQueuePromoteRequestSchema = S.object(s => {
|
|
|
2629
2629
|
type postAdminQueuePromoteResponse = unit
|
|
2630
2630
|
|
|
2631
2631
|
/**
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2632
|
+
admin/queue/promote
|
|
2633
|
+
|
|
2634
|
+
No description provided.
|
|
2635
|
+
|
|
2636
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:queue*
|
|
2637
|
+
*/
|
|
2638
2638
|
let postAdminQueuePromote = (~body: postAdminQueuePromoteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminQueuePromoteResponse> => {
|
|
2639
2639
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminQueuePromoteRequestSchema)
|
|
2640
2640
|
fetch(
|
|
@@ -2663,12 +2663,12 @@ let postAdminQueueStatsResponseSchema = S.object(s => {
|
|
|
2663
2663
|
})
|
|
2664
2664
|
|
|
2665
2665
|
/**
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2666
|
+
admin/queue/stats
|
|
2667
|
+
|
|
2668
|
+
No description provided.
|
|
2669
|
+
|
|
2670
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:emoji*
|
|
2671
|
+
*/
|
|
2672
2672
|
let postAdminQueueStats = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminQueueStatsResponse> => {
|
|
2673
2673
|
|
|
2674
2674
|
fetch(
|
|
@@ -2693,12 +2693,12 @@ let postAdminRegenerateUserTokenRequestSchema = S.object(s => {
|
|
|
2693
2693
|
type postAdminRegenerateUserTokenResponse = unit
|
|
2694
2694
|
|
|
2695
2695
|
/**
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2696
|
+
admin/regenerate-user-token
|
|
2697
|
+
|
|
2698
|
+
No description provided.
|
|
2699
|
+
|
|
2700
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:regenerate-user-token*
|
|
2701
|
+
*/
|
|
2702
2702
|
let postAdminRegenerateUserToken = (~body: postAdminRegenerateUserTokenRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminRegenerateUserTokenResponse> => {
|
|
2703
2703
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminRegenerateUserTokenRequestSchema)
|
|
2704
2704
|
fetch(
|
|
@@ -2733,12 +2733,12 @@ let postAdminRelaysAddResponseSchema = S.object(s => {
|
|
|
2733
2733
|
})
|
|
2734
2734
|
|
|
2735
2735
|
/**
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2736
|
+
admin/relays/add
|
|
2737
|
+
|
|
2738
|
+
No description provided.
|
|
2739
|
+
|
|
2740
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:relays*
|
|
2741
|
+
*/
|
|
2742
2742
|
let postAdminRelaysAdd = (~body: postAdminRelaysAddRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminRelaysAddResponse> => {
|
|
2743
2743
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminRelaysAddRequestSchema)
|
|
2744
2744
|
fetch(
|
|
@@ -2769,12 +2769,12 @@ let postAdminRelaysListResponse_1Schema = S.object(s => {
|
|
|
2769
2769
|
let postAdminRelaysListResponseSchema = S.array(postAdminRelaysListResponse_1Schema)
|
|
2770
2770
|
|
|
2771
2771
|
/**
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2772
|
+
admin/relays/list
|
|
2773
|
+
|
|
2774
|
+
No description provided.
|
|
2775
|
+
|
|
2776
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:relays*
|
|
2777
|
+
*/
|
|
2778
2778
|
let postAdminRelaysList = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminRelaysListResponse> => {
|
|
2779
2779
|
|
|
2780
2780
|
fetch(
|
|
@@ -2799,12 +2799,12 @@ let postAdminRelaysRemoveRequestSchema = S.object(s => {
|
|
|
2799
2799
|
type postAdminRelaysRemoveResponse = unit
|
|
2800
2800
|
|
|
2801
2801
|
/**
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2802
|
+
admin/relays/remove
|
|
2803
|
+
|
|
2804
|
+
No description provided.
|
|
2805
|
+
|
|
2806
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:relays*
|
|
2807
|
+
*/
|
|
2808
2808
|
let postAdminRelaysRemove = (~body: postAdminRelaysRemoveRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminRelaysRemoveResponse> => {
|
|
2809
2809
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminRelaysRemoveRequestSchema)
|
|
2810
2810
|
fetch(
|
|
@@ -2835,12 +2835,12 @@ let postAdminResetPasswordResponseSchema = S.object(s => {
|
|
|
2835
2835
|
})
|
|
2836
2836
|
|
|
2837
2837
|
/**
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2838
|
+
admin/reset-password
|
|
2839
|
+
|
|
2840
|
+
No description provided.
|
|
2841
|
+
|
|
2842
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:reset-password*
|
|
2843
|
+
*/
|
|
2844
2844
|
let postAdminResetPassword = (~body: postAdminResetPasswordRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminResetPasswordResponse> => {
|
|
2845
2845
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminResetPasswordRequestSchema)
|
|
2846
2846
|
fetch(
|
|
@@ -2869,12 +2869,12 @@ let postAdminResolveAbuseUserReportRequestSchema = S.object(s => {
|
|
|
2869
2869
|
type postAdminResolveAbuseUserReportResponse = unit
|
|
2870
2870
|
|
|
2871
2871
|
/**
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2872
|
+
admin/resolve-abuse-user-report
|
|
2873
|
+
|
|
2874
|
+
No description provided.
|
|
2875
|
+
|
|
2876
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:resolve-abuse-user-report*
|
|
2877
|
+
*/
|
|
2878
2878
|
let postAdminResolveAbuseUserReport = (~body: postAdminResolveAbuseUserReportRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminResolveAbuseUserReportResponse> => {
|
|
2879
2879
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminResolveAbuseUserReportRequestSchema)
|
|
2880
2880
|
fetch(
|
|
@@ -2905,12 +2905,12 @@ let postAdminRolesAssignRequestSchema = S.object(s => {
|
|
|
2905
2905
|
type postAdminRolesAssignResponse = unit
|
|
2906
2906
|
|
|
2907
2907
|
/**
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2908
|
+
admin/roles/assign
|
|
2909
|
+
|
|
2910
|
+
No description provided.
|
|
2911
|
+
|
|
2912
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:roles*
|
|
2913
|
+
*/
|
|
2914
2914
|
let postAdminRolesAssign = (~body: postAdminRolesAssignRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminRolesAssignResponse> => {
|
|
2915
2915
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminRolesAssignRequestSchema)
|
|
2916
2916
|
fetch(
|
|
@@ -2967,12 +2967,12 @@ type postAdminRolesCreateResponse = MisskeyIoComponentSchemas.Role.t
|
|
|
2967
2967
|
let postAdminRolesCreateResponseSchema = MisskeyIoComponentSchemas.Role.schema
|
|
2968
2968
|
|
|
2969
2969
|
/**
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2970
|
+
admin/roles/create
|
|
2971
|
+
|
|
2972
|
+
No description provided.
|
|
2973
|
+
|
|
2974
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:roles*
|
|
2975
|
+
*/
|
|
2976
2976
|
let postAdminRolesCreate = (~body: postAdminRolesCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminRolesCreateResponse> => {
|
|
2977
2977
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminRolesCreateRequestSchema)
|
|
2978
2978
|
fetch(
|
|
@@ -2997,12 +2997,12 @@ let postAdminRolesDeleteRequestSchema = S.object(s => {
|
|
|
2997
2997
|
type postAdminRolesDeleteResponse = unit
|
|
2998
2998
|
|
|
2999
2999
|
/**
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3000
|
+
admin/roles/delete
|
|
3001
|
+
|
|
3002
|
+
No description provided.
|
|
3003
|
+
|
|
3004
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:roles*
|
|
3005
|
+
*/
|
|
3006
3006
|
let postAdminRolesDelete = (~body: postAdminRolesDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminRolesDeleteResponse> => {
|
|
3007
3007
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminRolesDeleteRequestSchema)
|
|
3008
3008
|
fetch(
|
|
@@ -3021,12 +3021,12 @@ type postAdminRolesListResponse = array<MisskeyIoComponentSchemas.Role.t>
|
|
|
3021
3021
|
let postAdminRolesListResponseSchema = S.array(MisskeyIoComponentSchemas.Role.schema)
|
|
3022
3022
|
|
|
3023
3023
|
/**
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3024
|
+
admin/roles/list
|
|
3025
|
+
|
|
3026
|
+
No description provided.
|
|
3027
|
+
|
|
3028
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:roles*
|
|
3029
|
+
*/
|
|
3030
3030
|
let postAdminRolesList = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminRolesListResponse> => {
|
|
3031
3031
|
|
|
3032
3032
|
fetch(
|
|
@@ -3053,12 +3053,12 @@ type postAdminRolesShowResponse = MisskeyIoComponentSchemas.Role.t
|
|
|
3053
3053
|
let postAdminRolesShowResponseSchema = MisskeyIoComponentSchemas.Role.schema
|
|
3054
3054
|
|
|
3055
3055
|
/**
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3056
|
+
admin/roles/show
|
|
3057
|
+
|
|
3058
|
+
No description provided.
|
|
3059
|
+
|
|
3060
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:roles*
|
|
3061
|
+
*/
|
|
3062
3062
|
let postAdminRolesShow = (~body: postAdminRolesShowRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminRolesShowResponse> => {
|
|
3063
3063
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminRolesShowRequestSchema)
|
|
3064
3064
|
fetch(
|
|
@@ -3085,12 +3085,12 @@ let postAdminRolesUnassignRequestSchema = S.object(s => {
|
|
|
3085
3085
|
type postAdminRolesUnassignResponse = unit
|
|
3086
3086
|
|
|
3087
3087
|
/**
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3088
|
+
admin/roles/unassign
|
|
3089
|
+
|
|
3090
|
+
No description provided.
|
|
3091
|
+
|
|
3092
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:roles*
|
|
3093
|
+
*/
|
|
3094
3094
|
let postAdminRolesUnassign = (~body: postAdminRolesUnassignRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminRolesUnassignResponse> => {
|
|
3095
3095
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminRolesUnassignRequestSchema)
|
|
3096
3096
|
fetch(
|
|
@@ -3147,12 +3147,12 @@ let postAdminRolesUpdateRequestSchema = S.object(s => {
|
|
|
3147
3147
|
type postAdminRolesUpdateResponse = unit
|
|
3148
3148
|
|
|
3149
3149
|
/**
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3150
|
+
admin/roles/update
|
|
3151
|
+
|
|
3152
|
+
No description provided.
|
|
3153
|
+
|
|
3154
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:roles*
|
|
3155
|
+
*/
|
|
3156
3156
|
let postAdminRolesUpdate = (~body: postAdminRolesUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminRolesUpdateResponse> => {
|
|
3157
3157
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminRolesUpdateRequestSchema)
|
|
3158
3158
|
fetch(
|
|
@@ -3177,12 +3177,12 @@ let postAdminRolesUpdateDefaultPoliciesRequestSchema = S.object(s => {
|
|
|
3177
3177
|
type postAdminRolesUpdateDefaultPoliciesResponse = unit
|
|
3178
3178
|
|
|
3179
3179
|
/**
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3180
|
+
admin/roles/update-default-policies
|
|
3181
|
+
|
|
3182
|
+
No description provided.
|
|
3183
|
+
|
|
3184
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:roles*
|
|
3185
|
+
*/
|
|
3186
3186
|
let postAdminRolesUpdateDefaultPolicies = (~body: postAdminRolesUpdateDefaultPoliciesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminRolesUpdateDefaultPoliciesResponse> => {
|
|
3187
3187
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminRolesUpdateDefaultPoliciesRequestSchema)
|
|
3188
3188
|
fetch(
|
|
@@ -3229,12 +3229,12 @@ let postAdminRolesUpdateInlinePoliciesRequestSchema = S.object(s => {
|
|
|
3229
3229
|
type postAdminRolesUpdateInlinePoliciesResponse = unit
|
|
3230
3230
|
|
|
3231
3231
|
/**
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3232
|
+
admin/roles/update-inline-policies
|
|
3233
|
+
|
|
3234
|
+
No description provided.
|
|
3235
|
+
|
|
3236
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:roles*
|
|
3237
|
+
*/
|
|
3238
3238
|
let postAdminRolesUpdateInlinePolicies = (~body: postAdminRolesUpdateInlinePoliciesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminRolesUpdateInlinePoliciesResponse> => {
|
|
3239
3239
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminRolesUpdateInlinePoliciesRequestSchema)
|
|
3240
3240
|
fetch(
|
|
@@ -3283,12 +3283,12 @@ let postAdminRolesUsersResponse_1Schema = S.object(s => {
|
|
|
3283
3283
|
let postAdminRolesUsersResponseSchema = S.array(postAdminRolesUsersResponse_1Schema)
|
|
3284
3284
|
|
|
3285
3285
|
/**
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3286
|
+
admin/roles/users
|
|
3287
|
+
|
|
3288
|
+
No description provided.
|
|
3289
|
+
|
|
3290
|
+
**Credential required**: *No* / **Permission**: *read:admin:roles*
|
|
3291
|
+
*/
|
|
3292
3292
|
let postAdminRolesUsers = (~body: postAdminRolesUsersRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminRolesUsersResponse> => {
|
|
3293
3293
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminRolesUsersRequestSchema)
|
|
3294
3294
|
fetch(
|
|
@@ -3317,12 +3317,12 @@ let postAdminSendEmailRequestSchema = S.object(s => {
|
|
|
3317
3317
|
type postAdminSendEmailResponse = unit
|
|
3318
3318
|
|
|
3319
3319
|
/**
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3320
|
+
admin/send-email
|
|
3321
|
+
|
|
3322
|
+
No description provided.
|
|
3323
|
+
|
|
3324
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:send-email*
|
|
3325
|
+
*/
|
|
3326
3326
|
let postAdminSendEmail = (~body: postAdminSendEmailRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminSendEmailResponse> => {
|
|
3327
3327
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminSendEmailRequestSchema)
|
|
3328
3328
|
fetch(
|
|
@@ -3375,12 +3375,12 @@ let postAdminShowModerationLogsResponse_1Schema = S.object(s => {
|
|
|
3375
3375
|
let postAdminShowModerationLogsResponseSchema = S.array(postAdminShowModerationLogsResponse_1Schema)
|
|
3376
3376
|
|
|
3377
3377
|
/**
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3378
|
+
admin/show-moderation-logs
|
|
3379
|
+
|
|
3380
|
+
No description provided.
|
|
3381
|
+
|
|
3382
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:show-moderation-log*
|
|
3383
|
+
*/
|
|
3384
3384
|
let postAdminShowModerationLogs = (~body: postAdminShowModerationLogsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminShowModerationLogsResponse> => {
|
|
3385
3385
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminShowModerationLogsRequestSchema)
|
|
3386
3386
|
fetch(
|
|
@@ -3537,12 +3537,12 @@ let postAdminShowUserResponseSchema = S.object(s => {
|
|
|
3537
3537
|
})
|
|
3538
3538
|
|
|
3539
3539
|
/**
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3540
|
+
admin/show-user
|
|
3541
|
+
|
|
3542
|
+
No description provided.
|
|
3543
|
+
|
|
3544
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:show-user*
|
|
3545
|
+
*/
|
|
3546
3546
|
let postAdminShowUser = (~body: postAdminShowUserRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminShowUserResponse> => {
|
|
3547
3547
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminShowUserRequestSchema)
|
|
3548
3548
|
fetch(
|
|
@@ -3599,12 +3599,12 @@ let postAdminShowUserAccountMoveLogsResponse_1Schema = S.object(s => {
|
|
|
3599
3599
|
let postAdminShowUserAccountMoveLogsResponseSchema = S.array(postAdminShowUserAccountMoveLogsResponse_1Schema)
|
|
3600
3600
|
|
|
3601
3601
|
/**
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3602
|
+
admin/show-user-account-move-logs
|
|
3603
|
+
|
|
3604
|
+
No description provided.
|
|
3605
|
+
|
|
3606
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:show-account-move-log*
|
|
3607
|
+
*/
|
|
3608
3608
|
let postAdminShowUserAccountMoveLogs = (~body: postAdminShowUserAccountMoveLogsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminShowUserAccountMoveLogsResponse> => {
|
|
3609
3609
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminShowUserAccountMoveLogsRequestSchema)
|
|
3610
3610
|
fetch(
|
|
@@ -3643,12 +3643,12 @@ type postAdminShowUsersResponse = array<MisskeyIoComponentSchemas.UserDetailed.t
|
|
|
3643
3643
|
let postAdminShowUsersResponseSchema = S.array(MisskeyIoComponentSchemas.UserDetailed.schema)
|
|
3644
3644
|
|
|
3645
3645
|
/**
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3646
|
+
admin/show-users
|
|
3647
|
+
|
|
3648
|
+
No description provided.
|
|
3649
|
+
|
|
3650
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:show-user*
|
|
3651
|
+
*/
|
|
3652
3652
|
let postAdminShowUsers = (~body: postAdminShowUsersRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminShowUsersResponse> => {
|
|
3653
3653
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminShowUsersRequestSchema)
|
|
3654
3654
|
fetch(
|
|
@@ -3729,12 +3729,12 @@ let postAdminSsoCreateResponseSchema = S.object(s => {
|
|
|
3729
3729
|
})
|
|
3730
3730
|
|
|
3731
3731
|
/**
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3732
|
+
admin/sso/create
|
|
3733
|
+
|
|
3734
|
+
No description provided.
|
|
3735
|
+
|
|
3736
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:sso*
|
|
3737
|
+
*/
|
|
3738
3738
|
let postAdminSsoCreate = (~body: postAdminSsoCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminSsoCreateResponse> => {
|
|
3739
3739
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminSsoCreateRequestSchema)
|
|
3740
3740
|
fetch(
|
|
@@ -3759,12 +3759,12 @@ let postAdminSsoDeleteRequestSchema = S.object(s => {
|
|
|
3759
3759
|
type postAdminSsoDeleteResponse = unit
|
|
3760
3760
|
|
|
3761
3761
|
/**
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3762
|
+
admin/sso/delete
|
|
3763
|
+
|
|
3764
|
+
No description provided.
|
|
3765
|
+
|
|
3766
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:sso*
|
|
3767
|
+
*/
|
|
3768
3768
|
let postAdminSsoDelete = (~body: postAdminSsoDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminSsoDeleteResponse> => {
|
|
3769
3769
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminSsoDeleteRequestSchema)
|
|
3770
3770
|
fetch(
|
|
@@ -3829,12 +3829,12 @@ let postAdminSsoListResponse_1Schema = S.object(s => {
|
|
|
3829
3829
|
let postAdminSsoListResponseSchema = S.array(postAdminSsoListResponse_1Schema)
|
|
3830
3830
|
|
|
3831
3831
|
/**
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3832
|
+
admin/sso/list
|
|
3833
|
+
|
|
3834
|
+
No description provided.
|
|
3835
|
+
|
|
3836
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:sso*
|
|
3837
|
+
*/
|
|
3838
3838
|
let postAdminSsoList = (~body: postAdminSsoListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminSsoListResponse> => {
|
|
3839
3839
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminSsoListRequestSchema)
|
|
3840
3840
|
fetch(
|
|
@@ -3883,12 +3883,12 @@ let postAdminSsoUpdateRequestSchema = S.object(s => {
|
|
|
3883
3883
|
type postAdminSsoUpdateResponse = unit
|
|
3884
3884
|
|
|
3885
3885
|
/**
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3886
|
+
admin/sso/update
|
|
3887
|
+
|
|
3888
|
+
No description provided.
|
|
3889
|
+
|
|
3890
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:sso*
|
|
3891
|
+
*/
|
|
3892
3892
|
let postAdminSsoUpdate = (~body: postAdminSsoUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminSsoUpdateResponse> => {
|
|
3893
3893
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminSsoUpdateRequestSchema)
|
|
3894
3894
|
fetch(
|
|
@@ -3913,12 +3913,12 @@ let postAdminSuspendUserRequestSchema = S.object(s => {
|
|
|
3913
3913
|
type postAdminSuspendUserResponse = unit
|
|
3914
3914
|
|
|
3915
3915
|
/**
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3916
|
+
admin/suspend-user
|
|
3917
|
+
|
|
3918
|
+
No description provided.
|
|
3919
|
+
|
|
3920
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:suspend-user*
|
|
3921
|
+
*/
|
|
3922
3922
|
let postAdminSuspendUser = (~body: postAdminSuspendUserRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminSuspendUserResponse> => {
|
|
3923
3923
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminSuspendUserRequestSchema)
|
|
3924
3924
|
fetch(
|
|
@@ -3953,13 +3953,13 @@ type postAdminSystemWebhookCreateResponse = MisskeyIoComponentSchemas.SystemWebh
|
|
|
3953
3953
|
let postAdminSystemWebhookCreateResponseSchema = MisskeyIoComponentSchemas.SystemWebhook.schema
|
|
3954
3954
|
|
|
3955
3955
|
/**
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3956
|
+
admin/system-webhook/create
|
|
3957
|
+
|
|
3958
|
+
No description provided.
|
|
3959
|
+
|
|
3960
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
3961
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
|
|
3962
|
+
*/
|
|
3963
3963
|
let postAdminSystemWebhookCreate = (~body: postAdminSystemWebhookCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminSystemWebhookCreateResponse> => {
|
|
3964
3964
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminSystemWebhookCreateRequestSchema)
|
|
3965
3965
|
fetch(
|
|
@@ -3984,13 +3984,13 @@ let postAdminSystemWebhookDeleteRequestSchema = S.object(s => {
|
|
|
3984
3984
|
type postAdminSystemWebhookDeleteResponse = unit
|
|
3985
3985
|
|
|
3986
3986
|
/**
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3987
|
+
admin/system-webhook/delete
|
|
3988
|
+
|
|
3989
|
+
No description provided.
|
|
3990
|
+
|
|
3991
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
3992
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
|
|
3993
|
+
*/
|
|
3994
3994
|
let postAdminSystemWebhookDelete = (~body: postAdminSystemWebhookDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminSystemWebhookDeleteResponse> => {
|
|
3995
3995
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminSystemWebhookDeleteRequestSchema)
|
|
3996
3996
|
fetch(
|
|
@@ -4019,13 +4019,13 @@ type postAdminSystemWebhookListResponse = array<MisskeyIoComponentSchemas.System
|
|
|
4019
4019
|
let postAdminSystemWebhookListResponseSchema = S.array(MisskeyIoComponentSchemas.SystemWebhook.schema)
|
|
4020
4020
|
|
|
4021
4021
|
/**
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4022
|
+
admin/system-webhook/list
|
|
4023
|
+
|
|
4024
|
+
No description provided.
|
|
4025
|
+
|
|
4026
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
4027
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
|
|
4028
|
+
*/
|
|
4029
4029
|
let postAdminSystemWebhookList = (~body: postAdminSystemWebhookListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminSystemWebhookListResponse> => {
|
|
4030
4030
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminSystemWebhookListRequestSchema)
|
|
4031
4031
|
fetch(
|
|
@@ -4052,13 +4052,13 @@ type postAdminSystemWebhookShowResponse = MisskeyIoComponentSchemas.SystemWebhoo
|
|
|
4052
4052
|
let postAdminSystemWebhookShowResponseSchema = MisskeyIoComponentSchemas.SystemWebhook.schema
|
|
4053
4053
|
|
|
4054
4054
|
/**
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4055
|
+
admin/system-webhook/show
|
|
4056
|
+
|
|
4057
|
+
No description provided.
|
|
4058
|
+
|
|
4059
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
4060
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
|
|
4061
|
+
*/
|
|
4062
4062
|
let postAdminSystemWebhookShow = (~body: postAdminSystemWebhookShowRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminSystemWebhookShowResponse> => {
|
|
4063
4063
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminSystemWebhookShowRequestSchema)
|
|
4064
4064
|
fetch(
|
|
@@ -4095,13 +4095,13 @@ type postAdminSystemWebhookUpdateResponse = MisskeyIoComponentSchemas.SystemWebh
|
|
|
4095
4095
|
let postAdminSystemWebhookUpdateResponseSchema = MisskeyIoComponentSchemas.SystemWebhook.schema
|
|
4096
4096
|
|
|
4097
4097
|
/**
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4098
|
+
admin/system-webhook/update
|
|
4099
|
+
|
|
4100
|
+
No description provided.
|
|
4101
|
+
|
|
4102
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
4103
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
|
|
4104
|
+
*/
|
|
4105
4105
|
let postAdminSystemWebhookUpdate = (~body: postAdminSystemWebhookUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminSystemWebhookUpdateResponse> => {
|
|
4106
4106
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminSystemWebhookUpdateRequestSchema)
|
|
4107
4107
|
fetch(
|
|
@@ -4126,12 +4126,12 @@ let postAdminUnsetUserAvatarRequestSchema = S.object(s => {
|
|
|
4126
4126
|
type postAdminUnsetUserAvatarResponse = unit
|
|
4127
4127
|
|
|
4128
4128
|
/**
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4129
|
+
admin/unset-user-avatar
|
|
4130
|
+
|
|
4131
|
+
No description provided.
|
|
4132
|
+
|
|
4133
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:user-avatar*
|
|
4134
|
+
*/
|
|
4135
4135
|
let postAdminUnsetUserAvatar = (~body: postAdminUnsetUserAvatarRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminUnsetUserAvatarResponse> => {
|
|
4136
4136
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminUnsetUserAvatarRequestSchema)
|
|
4137
4137
|
fetch(
|
|
@@ -4156,12 +4156,12 @@ let postAdminUnsetUserBannerRequestSchema = S.object(s => {
|
|
|
4156
4156
|
type postAdminUnsetUserBannerResponse = unit
|
|
4157
4157
|
|
|
4158
4158
|
/**
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4159
|
+
admin/unset-user-banner
|
|
4160
|
+
|
|
4161
|
+
No description provided.
|
|
4162
|
+
|
|
4163
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:user-banner*
|
|
4164
|
+
*/
|
|
4165
4165
|
let postAdminUnsetUserBanner = (~body: postAdminUnsetUserBannerRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminUnsetUserBannerResponse> => {
|
|
4166
4166
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminUnsetUserBannerRequestSchema)
|
|
4167
4167
|
fetch(
|
|
@@ -4188,12 +4188,12 @@ let postAdminUnsetUserMutualLinkRequestSchema = S.object(s => {
|
|
|
4188
4188
|
type postAdminUnsetUserMutualLinkResponse = unit
|
|
4189
4189
|
|
|
4190
4190
|
/**
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4191
|
+
admin/unset-user-mutual-link
|
|
4192
|
+
|
|
4193
|
+
No description provided.
|
|
4194
|
+
|
|
4195
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:user-mutual-link*
|
|
4196
|
+
*/
|
|
4197
4197
|
let postAdminUnsetUserMutualLink = (~body: postAdminUnsetUserMutualLinkRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminUnsetUserMutualLinkResponse> => {
|
|
4198
4198
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminUnsetUserMutualLinkRequestSchema)
|
|
4199
4199
|
fetch(
|
|
@@ -4218,12 +4218,12 @@ let postAdminUnsuspendUserRequestSchema = S.object(s => {
|
|
|
4218
4218
|
type postAdminUnsuspendUserResponse = unit
|
|
4219
4219
|
|
|
4220
4220
|
/**
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4221
|
+
admin/unsuspend-user
|
|
4222
|
+
|
|
4223
|
+
No description provided.
|
|
4224
|
+
|
|
4225
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:unsuspend-user*
|
|
4226
|
+
*/
|
|
4227
4227
|
let postAdminUnsuspendUser = (~body: postAdminUnsuspendUserRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminUnsuspendUserResponse> => {
|
|
4228
4228
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminUnsuspendUserRequestSchema)
|
|
4229
4229
|
fetch(
|
|
@@ -4250,12 +4250,12 @@ let postAdminUpdateAbuseUserReportRequestSchema = S.object(s => {
|
|
|
4250
4250
|
type postAdminUpdateAbuseUserReportResponse = unit
|
|
4251
4251
|
|
|
4252
4252
|
/**
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4253
|
+
admin/update-abuse-user-report
|
|
4254
|
+
|
|
4255
|
+
No description provided.
|
|
4256
|
+
|
|
4257
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:resolve-abuse-user-report*
|
|
4258
|
+
*/
|
|
4259
4259
|
let postAdminUpdateAbuseUserReport = (~body: postAdminUpdateAbuseUserReportRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminUpdateAbuseUserReportResponse> => {
|
|
4260
4260
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminUpdateAbuseUserReportRequestSchema)
|
|
4261
4261
|
fetch(
|
|
@@ -4508,12 +4508,12 @@ let postAdminUpdateMetaRequestSchema = S.object(s => {
|
|
|
4508
4508
|
type postAdminUpdateMetaResponse = unit
|
|
4509
4509
|
|
|
4510
4510
|
/**
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4511
|
+
admin/update-meta
|
|
4512
|
+
|
|
4513
|
+
No description provided.
|
|
4514
|
+
|
|
4515
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:meta*
|
|
4516
|
+
*/
|
|
4517
4517
|
let postAdminUpdateMeta = (~body: postAdminUpdateMetaRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminUpdateMetaResponse> => {
|
|
4518
4518
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminUpdateMetaRequestSchema)
|
|
4519
4519
|
fetch(
|
|
@@ -4540,12 +4540,12 @@ type postAdminUpdateProxyAccountResponse = MisskeyIoComponentSchemas.UserDetaile
|
|
|
4540
4540
|
let postAdminUpdateProxyAccountResponseSchema = MisskeyIoComponentSchemas.UserDetailed.schema
|
|
4541
4541
|
|
|
4542
4542
|
/**
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4543
|
+
admin/update-proxy-account
|
|
4544
|
+
|
|
4545
|
+
No description provided.
|
|
4546
|
+
|
|
4547
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:account*
|
|
4548
|
+
*/
|
|
4549
4549
|
let postAdminUpdateProxyAccount = (~body: postAdminUpdateProxyAccountRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminUpdateProxyAccountResponse> => {
|
|
4550
4550
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminUpdateProxyAccountRequestSchema)
|
|
4551
4551
|
fetch(
|
|
@@ -4572,12 +4572,12 @@ let postAdminUpdateUserNameRequestSchema = S.object(s => {
|
|
|
4572
4572
|
type postAdminUpdateUserNameResponse = unit
|
|
4573
4573
|
|
|
4574
4574
|
/**
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4575
|
+
admin/update-user-name
|
|
4576
|
+
|
|
4577
|
+
No description provided.
|
|
4578
|
+
|
|
4579
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:user-name*
|
|
4580
|
+
*/
|
|
4581
4581
|
let postAdminUpdateUserName = (~body: postAdminUpdateUserNameRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminUpdateUserNameResponse> => {
|
|
4582
4582
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminUpdateUserNameRequestSchema)
|
|
4583
4583
|
fetch(
|
|
@@ -4604,12 +4604,12 @@ let postAdminUpdateUserNoteRequestSchema = S.object(s => {
|
|
|
4604
4604
|
type postAdminUpdateUserNoteResponse = unit
|
|
4605
4605
|
|
|
4606
4606
|
/**
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4607
|
+
admin/update-user-note
|
|
4608
|
+
|
|
4609
|
+
No description provided.
|
|
4610
|
+
|
|
4611
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:user-note*
|
|
4612
|
+
*/
|
|
4613
4613
|
let postAdminUpdateUserNote = (~body: postAdminUpdateUserNoteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminUpdateUserNoteResponse> => {
|
|
4614
4614
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminUpdateUserNoteRequestSchema)
|
|
4615
4615
|
fetch(
|
|
@@ -4692,12 +4692,12 @@ let postV2AdminEmojiListResponseSchema = S.object(s => {
|
|
|
4692
4692
|
})
|
|
4693
4693
|
|
|
4694
4694
|
/**
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
|
|
4695
|
+
v2/admin/emoji/list
|
|
4696
|
+
|
|
4697
|
+
No description provided.
|
|
4698
|
+
|
|
4699
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:emoji*
|
|
4700
|
+
*/
|
|
4701
4701
|
let postV2AdminEmojiList = (~body: postV2AdminEmojiListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postV2AdminEmojiListResponse> => {
|
|
4702
4702
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postV2AdminEmojiListRequestSchema)
|
|
4703
4703
|
fetch(
|