@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
|
@@ -16,13 +16,13 @@ let postAdminEmojiImportZipRequestSchema = S.object(s => {
|
|
|
16
16
|
type postAdminEmojiImportZipResponse = unit
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
admin/emoji/import-zip
|
|
20
|
+
|
|
21
|
+
No description provided.
|
|
22
|
+
|
|
23
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
24
|
+
**Credential required**: *Yes*
|
|
25
|
+
*/
|
|
26
26
|
let postAdminEmojiImportZip = (~body: postAdminEmojiImportZipRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminEmojiImportZipResponse> => {
|
|
27
27
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminEmojiImportZipRequestSchema)
|
|
28
28
|
fetch(
|
|
@@ -61,12 +61,12 @@ let getBubbleGameRankingResponse_1Schema = S.object(s => {
|
|
|
61
61
|
let getBubbleGameRankingResponseSchema = S.array(getBubbleGameRankingResponse_1Schema)
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
64
|
+
bubble-game/ranking
|
|
65
|
+
|
|
66
|
+
No description provided.
|
|
67
|
+
|
|
68
|
+
**Credential required**: *No*
|
|
69
|
+
*/
|
|
70
70
|
let getBubbleGameRanking = (~body: getBubbleGameRankingRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<getBubbleGameRankingResponse> => {
|
|
71
71
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(getBubbleGameRankingRequestSchema)
|
|
72
72
|
fetch(
|
|
@@ -105,12 +105,12 @@ let postBubbleGameRankingResponse_1Schema = S.object(s => {
|
|
|
105
105
|
let postBubbleGameRankingResponseSchema = S.array(postBubbleGameRankingResponse_1Schema)
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
108
|
+
bubble-game/ranking
|
|
109
|
+
|
|
110
|
+
No description provided.
|
|
111
|
+
|
|
112
|
+
**Credential required**: *No*
|
|
113
|
+
*/
|
|
114
114
|
let postBubbleGameRanking = (~body: postBubbleGameRankingRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postBubbleGameRankingResponse> => {
|
|
115
115
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postBubbleGameRankingRequestSchema)
|
|
116
116
|
fetch(
|
|
@@ -143,12 +143,12 @@ let postBubbleGameRegisterRequestSchema = S.object(s => {
|
|
|
143
143
|
type postBubbleGameRegisterResponse = unit
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
146
|
+
bubble-game/register
|
|
147
|
+
|
|
148
|
+
No description provided.
|
|
149
|
+
|
|
150
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
151
|
+
*/
|
|
152
152
|
let postBubbleGameRegister = (~body: postBubbleGameRegisterRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postBubbleGameRegisterResponse> => {
|
|
153
153
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postBubbleGameRegisterRequestSchema)
|
|
154
154
|
fetch(
|
|
@@ -165,13 +165,13 @@ let postBubbleGameRegister = (~body: postBubbleGameRegisterRequest, ~fetch: (~ur
|
|
|
165
165
|
type postExportCustomEmojisResponse = unit
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
168
|
+
export-custom-emojis
|
|
169
|
+
|
|
170
|
+
No description provided.
|
|
171
|
+
|
|
172
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
173
|
+
**Credential required**: *Yes*
|
|
174
|
+
*/
|
|
175
175
|
let postExportCustomEmojis = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postExportCustomEmojisResponse> => {
|
|
176
176
|
|
|
177
177
|
fetch(
|
|
@@ -202,13 +202,13 @@ let postI2faDoneResponseSchema = S.object(s => {
|
|
|
202
202
|
})
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
205
|
+
i/2fa/done
|
|
206
|
+
|
|
207
|
+
No description provided.
|
|
208
|
+
|
|
209
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
210
|
+
**Credential required**: *Yes*
|
|
211
|
+
*/
|
|
212
212
|
let postI2faDone = (~body: postI2faDoneRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postI2faDoneResponse> => {
|
|
213
213
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postI2faDoneRequestSchema)
|
|
214
214
|
fetch(
|
|
@@ -247,13 +247,13 @@ let postI2faKeyDoneResponseSchema = S.object(s => {
|
|
|
247
247
|
})
|
|
248
248
|
|
|
249
249
|
/**
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
250
|
+
i/2fa/key-done
|
|
251
|
+
|
|
252
|
+
No description provided.
|
|
253
|
+
|
|
254
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
255
|
+
**Credential required**: *Yes*
|
|
256
|
+
*/
|
|
257
257
|
let postI2faKeyDone = (~body: postI2faKeyDoneRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postI2faKeyDoneResponse> => {
|
|
258
258
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postI2faKeyDoneRequestSchema)
|
|
259
259
|
fetch(
|
|
@@ -278,13 +278,13 @@ let postI2faPasswordLessRequestSchema = S.object(s => {
|
|
|
278
278
|
type postI2faPasswordLessResponse = unit
|
|
279
279
|
|
|
280
280
|
/**
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
281
|
+
i/2fa/password-less
|
|
282
|
+
|
|
283
|
+
No description provided.
|
|
284
|
+
|
|
285
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
286
|
+
**Credential required**: *Yes*
|
|
287
|
+
*/
|
|
288
288
|
let postI2faPasswordLess = (~body: postI2faPasswordLessRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postI2faPasswordLessResponse> => {
|
|
289
289
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postI2faPasswordLessRequestSchema)
|
|
290
290
|
fetch(
|
|
@@ -325,13 +325,13 @@ let postI2faRegisterResponseSchema = S.object(s => {
|
|
|
325
325
|
})
|
|
326
326
|
|
|
327
327
|
/**
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
328
|
+
i/2fa/register
|
|
329
|
+
|
|
330
|
+
No description provided.
|
|
331
|
+
|
|
332
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
333
|
+
**Credential required**: *Yes*
|
|
334
|
+
*/
|
|
335
335
|
let postI2faRegister = (~body: postI2faRegisterRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postI2faRegisterResponse> => {
|
|
336
336
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postI2faRegisterRequestSchema)
|
|
337
337
|
fetch(
|
|
@@ -434,13 +434,13 @@ let postI2faRegisterKeyResponseSchema = S.object(s => {
|
|
|
434
434
|
})
|
|
435
435
|
|
|
436
436
|
/**
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
437
|
+
i/2fa/register-key
|
|
438
|
+
|
|
439
|
+
No description provided.
|
|
440
|
+
|
|
441
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
442
|
+
**Credential required**: *Yes*
|
|
443
|
+
*/
|
|
444
444
|
let postI2faRegisterKey = (~body: postI2faRegisterKeyRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postI2faRegisterKeyResponse> => {
|
|
445
445
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postI2faRegisterKeyRequestSchema)
|
|
446
446
|
fetch(
|
|
@@ -469,13 +469,13 @@ let postI2faRemoveKeyRequestSchema = S.object(s => {
|
|
|
469
469
|
type postI2faRemoveKeyResponse = unit
|
|
470
470
|
|
|
471
471
|
/**
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
472
|
+
i/2fa/remove-key
|
|
473
|
+
|
|
474
|
+
No description provided.
|
|
475
|
+
|
|
476
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
477
|
+
**Credential required**: *Yes*
|
|
478
|
+
*/
|
|
479
479
|
let postI2faRemoveKey = (~body: postI2faRemoveKeyRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postI2faRemoveKeyResponse> => {
|
|
480
480
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postI2faRemoveKeyRequestSchema)
|
|
481
481
|
fetch(
|
|
@@ -502,13 +502,13 @@ let postI2faUnregisterRequestSchema = S.object(s => {
|
|
|
502
502
|
type postI2faUnregisterResponse = unit
|
|
503
503
|
|
|
504
504
|
/**
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
505
|
+
i/2fa/unregister
|
|
506
|
+
|
|
507
|
+
No description provided.
|
|
508
|
+
|
|
509
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
510
|
+
**Credential required**: *Yes*
|
|
511
|
+
*/
|
|
512
512
|
let postI2faUnregister = (~body: postI2faUnregisterRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postI2faUnregisterResponse> => {
|
|
513
513
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postI2faUnregisterRequestSchema)
|
|
514
514
|
fetch(
|
|
@@ -535,13 +535,13 @@ let postI2faUpdateKeyRequestSchema = S.object(s => {
|
|
|
535
535
|
type postI2faUpdateKeyResponse = unit
|
|
536
536
|
|
|
537
537
|
/**
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
538
|
+
i/2fa/update-key
|
|
539
|
+
|
|
540
|
+
No description provided.
|
|
541
|
+
|
|
542
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
543
|
+
**Credential required**: *Yes*
|
|
544
|
+
*/
|
|
545
545
|
let postI2faUpdateKey = (~body: postI2faUpdateKeyRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postI2faUpdateKeyResponse> => {
|
|
546
546
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postI2faUpdateKeyRequestSchema)
|
|
547
547
|
fetch(
|
|
@@ -584,13 +584,13 @@ let postIAppsResponse_1Schema = S.object(s => {
|
|
|
584
584
|
let postIAppsResponseSchema = S.array(postIAppsResponse_1Schema)
|
|
585
585
|
|
|
586
586
|
/**
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
587
|
+
i/apps
|
|
588
|
+
|
|
589
|
+
No description provided.
|
|
590
|
+
|
|
591
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
592
|
+
**Credential required**: *Yes*
|
|
593
|
+
*/
|
|
594
594
|
let postIApps = (~body: postIAppsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIAppsResponse> => {
|
|
595
595
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIAppsRequestSchema)
|
|
596
596
|
fetch(
|
|
@@ -637,13 +637,13 @@ let postIAuthorizedAppsResponse_1Schema = S.object(s => {
|
|
|
637
637
|
let postIAuthorizedAppsResponseSchema = S.array(postIAuthorizedAppsResponse_1Schema)
|
|
638
638
|
|
|
639
639
|
/**
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
640
|
+
i/authorized-apps
|
|
641
|
+
|
|
642
|
+
No description provided.
|
|
643
|
+
|
|
644
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
645
|
+
**Credential required**: *Yes*
|
|
646
|
+
*/
|
|
647
647
|
let postIAuthorizedApps = (~body: postIAuthorizedAppsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIAuthorizedAppsResponse> => {
|
|
648
648
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIAuthorizedAppsRequestSchema)
|
|
649
649
|
fetch(
|
|
@@ -672,13 +672,13 @@ let postIChangePasswordRequestSchema = S.object(s => {
|
|
|
672
672
|
type postIChangePasswordResponse = unit
|
|
673
673
|
|
|
674
674
|
/**
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
675
|
+
i/change-password
|
|
676
|
+
|
|
677
|
+
No description provided.
|
|
678
|
+
|
|
679
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
680
|
+
**Credential required**: *Yes*
|
|
681
|
+
*/
|
|
682
682
|
let postIChangePassword = (~body: postIChangePasswordRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIChangePasswordResponse> => {
|
|
683
683
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIChangePasswordRequestSchema)
|
|
684
684
|
fetch(
|
|
@@ -703,12 +703,12 @@ let postIClaimAchievementRequestSchema = S.object(s => {
|
|
|
703
703
|
type postIClaimAchievementResponse = unit
|
|
704
704
|
|
|
705
705
|
/**
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
706
|
+
i/claim-achievement
|
|
707
|
+
|
|
708
|
+
No description provided.
|
|
709
|
+
|
|
710
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
711
|
+
*/
|
|
712
712
|
let postIClaimAchievement = (~body: postIClaimAchievementRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIClaimAchievementResponse> => {
|
|
713
713
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIClaimAchievementRequestSchema)
|
|
714
714
|
fetch(
|
|
@@ -735,13 +735,13 @@ let postIDeleteAccountRequestSchema = S.object(s => {
|
|
|
735
735
|
type postIDeleteAccountResponse = unit
|
|
736
736
|
|
|
737
737
|
/**
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
738
|
+
i/delete-account
|
|
739
|
+
|
|
740
|
+
No description provided.
|
|
741
|
+
|
|
742
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
743
|
+
**Credential required**: *Yes*
|
|
744
|
+
*/
|
|
745
745
|
let postIDeleteAccount = (~body: postIDeleteAccountRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIDeleteAccountResponse> => {
|
|
746
746
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIDeleteAccountRequestSchema)
|
|
747
747
|
fetch(
|
|
@@ -758,13 +758,13 @@ let postIDeleteAccount = (~body: postIDeleteAccountRequest, ~fetch: (~url: strin
|
|
|
758
758
|
type postIExportAntennasResponse = unit
|
|
759
759
|
|
|
760
760
|
/**
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
761
|
+
i/export-antennas
|
|
762
|
+
|
|
763
|
+
No description provided.
|
|
764
|
+
|
|
765
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
766
|
+
**Credential required**: *Yes*
|
|
767
|
+
*/
|
|
768
768
|
let postIExportAntennas = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIExportAntennasResponse> => {
|
|
769
769
|
|
|
770
770
|
fetch(
|
|
@@ -781,13 +781,13 @@ let postIExportAntennas = (~fetch: (~url: string, ~method_: string, ~body: optio
|
|
|
781
781
|
type postIExportBlockingResponse = unit
|
|
782
782
|
|
|
783
783
|
/**
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
784
|
+
i/export-blocking
|
|
785
|
+
|
|
786
|
+
No description provided.
|
|
787
|
+
|
|
788
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
789
|
+
**Credential required**: *Yes*
|
|
790
|
+
*/
|
|
791
791
|
let postIExportBlocking = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIExportBlockingResponse> => {
|
|
792
792
|
|
|
793
793
|
fetch(
|
|
@@ -804,13 +804,13 @@ let postIExportBlocking = (~fetch: (~url: string, ~method_: string, ~body: optio
|
|
|
804
804
|
type postIExportClipsResponse = unit
|
|
805
805
|
|
|
806
806
|
/**
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
807
|
+
i/export-clips
|
|
808
|
+
|
|
809
|
+
No description provided.
|
|
810
|
+
|
|
811
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
812
|
+
**Credential required**: *Yes*
|
|
813
|
+
*/
|
|
814
814
|
let postIExportClips = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIExportClipsResponse> => {
|
|
815
815
|
|
|
816
816
|
fetch(
|
|
@@ -827,13 +827,13 @@ let postIExportClips = (~fetch: (~url: string, ~method_: string, ~body: option<J
|
|
|
827
827
|
type postIExportFavoritesResponse = unit
|
|
828
828
|
|
|
829
829
|
/**
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
830
|
+
i/export-favorites
|
|
831
|
+
|
|
832
|
+
No description provided.
|
|
833
|
+
|
|
834
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
835
|
+
**Credential required**: *Yes*
|
|
836
|
+
*/
|
|
837
837
|
let postIExportFavorites = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIExportFavoritesResponse> => {
|
|
838
838
|
|
|
839
839
|
fetch(
|
|
@@ -860,13 +860,13 @@ let postIExportFollowingRequestSchema = S.object(s => {
|
|
|
860
860
|
type postIExportFollowingResponse = unit
|
|
861
861
|
|
|
862
862
|
/**
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
863
|
+
i/export-following
|
|
864
|
+
|
|
865
|
+
No description provided.
|
|
866
|
+
|
|
867
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
868
|
+
**Credential required**: *Yes*
|
|
869
|
+
*/
|
|
870
870
|
let postIExportFollowing = (~body: postIExportFollowingRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIExportFollowingResponse> => {
|
|
871
871
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIExportFollowingRequestSchema)
|
|
872
872
|
fetch(
|
|
@@ -883,13 +883,13 @@ let postIExportFollowing = (~body: postIExportFollowingRequest, ~fetch: (~url: s
|
|
|
883
883
|
type postIExportMuteResponse = unit
|
|
884
884
|
|
|
885
885
|
/**
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
886
|
+
i/export-mute
|
|
887
|
+
|
|
888
|
+
No description provided.
|
|
889
|
+
|
|
890
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
891
|
+
**Credential required**: *Yes*
|
|
892
|
+
*/
|
|
893
893
|
let postIExportMute = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIExportMuteResponse> => {
|
|
894
894
|
|
|
895
895
|
fetch(
|
|
@@ -906,13 +906,13 @@ let postIExportMute = (~fetch: (~url: string, ~method_: string, ~body: option<JS
|
|
|
906
906
|
type postIExportNotesResponse = unit
|
|
907
907
|
|
|
908
908
|
/**
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
909
|
+
i/export-notes
|
|
910
|
+
|
|
911
|
+
No description provided.
|
|
912
|
+
|
|
913
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
914
|
+
**Credential required**: *Yes*
|
|
915
|
+
*/
|
|
916
916
|
let postIExportNotes = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIExportNotesResponse> => {
|
|
917
917
|
|
|
918
918
|
fetch(
|
|
@@ -929,13 +929,13 @@ let postIExportNotes = (~fetch: (~url: string, ~method_: string, ~body: option<J
|
|
|
929
929
|
type postIExportUserListsResponse = unit
|
|
930
930
|
|
|
931
931
|
/**
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
932
|
+
i/export-user-lists
|
|
933
|
+
|
|
934
|
+
No description provided.
|
|
935
|
+
|
|
936
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
937
|
+
**Credential required**: *Yes*
|
|
938
|
+
*/
|
|
939
939
|
let postIExportUserLists = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIExportUserListsResponse> => {
|
|
940
940
|
|
|
941
941
|
fetch(
|
|
@@ -960,13 +960,13 @@ let postIImportAntennasRequestSchema = S.object(s => {
|
|
|
960
960
|
type postIImportAntennasResponse = unit
|
|
961
961
|
|
|
962
962
|
/**
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
963
|
+
i/import-antennas
|
|
964
|
+
|
|
965
|
+
No description provided.
|
|
966
|
+
|
|
967
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
968
|
+
**Credential required**: *Yes*
|
|
969
|
+
*/
|
|
970
970
|
let postIImportAntennas = (~body: postIImportAntennasRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIImportAntennasResponse> => {
|
|
971
971
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIImportAntennasRequestSchema)
|
|
972
972
|
fetch(
|
|
@@ -991,13 +991,13 @@ let postIImportBlockingRequestSchema = S.object(s => {
|
|
|
991
991
|
type postIImportBlockingResponse = unit
|
|
992
992
|
|
|
993
993
|
/**
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
994
|
+
i/import-blocking
|
|
995
|
+
|
|
996
|
+
No description provided.
|
|
997
|
+
|
|
998
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
999
|
+
**Credential required**: *Yes*
|
|
1000
|
+
*/
|
|
1001
1001
|
let postIImportBlocking = (~body: postIImportBlockingRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIImportBlockingResponse> => {
|
|
1002
1002
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIImportBlockingRequestSchema)
|
|
1003
1003
|
fetch(
|
|
@@ -1024,13 +1024,13 @@ let postIImportFollowingRequestSchema = S.object(s => {
|
|
|
1024
1024
|
type postIImportFollowingResponse = unit
|
|
1025
1025
|
|
|
1026
1026
|
/**
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1027
|
+
i/import-following
|
|
1028
|
+
|
|
1029
|
+
No description provided.
|
|
1030
|
+
|
|
1031
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
1032
|
+
**Credential required**: *Yes*
|
|
1033
|
+
*/
|
|
1034
1034
|
let postIImportFollowing = (~body: postIImportFollowingRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIImportFollowingResponse> => {
|
|
1035
1035
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIImportFollowingRequestSchema)
|
|
1036
1036
|
fetch(
|
|
@@ -1055,13 +1055,13 @@ let postIImportMutingRequestSchema = S.object(s => {
|
|
|
1055
1055
|
type postIImportMutingResponse = unit
|
|
1056
1056
|
|
|
1057
1057
|
/**
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1058
|
+
i/import-muting
|
|
1059
|
+
|
|
1060
|
+
No description provided.
|
|
1061
|
+
|
|
1062
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
1063
|
+
**Credential required**: *Yes*
|
|
1064
|
+
*/
|
|
1065
1065
|
let postIImportMuting = (~body: postIImportMutingRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIImportMutingResponse> => {
|
|
1066
1066
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIImportMutingRequestSchema)
|
|
1067
1067
|
fetch(
|
|
@@ -1086,13 +1086,13 @@ let postIImportUserListsRequestSchema = S.object(s => {
|
|
|
1086
1086
|
type postIImportUserListsResponse = unit
|
|
1087
1087
|
|
|
1088
1088
|
/**
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1089
|
+
i/import-user-lists
|
|
1090
|
+
|
|
1091
|
+
No description provided.
|
|
1092
|
+
|
|
1093
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
1094
|
+
**Credential required**: *Yes*
|
|
1095
|
+
*/
|
|
1096
1096
|
let postIImportUserLists = (~body: postIImportUserListsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIImportUserListsResponse> => {
|
|
1097
1097
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIImportUserListsRequestSchema)
|
|
1098
1098
|
fetch(
|
|
@@ -1117,13 +1117,13 @@ let postIRegenerateTokenRequestSchema = S.object(s => {
|
|
|
1117
1117
|
type postIRegenerateTokenResponse = unit
|
|
1118
1118
|
|
|
1119
1119
|
/**
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1120
|
+
i/regenerate-token
|
|
1121
|
+
|
|
1122
|
+
No description provided.
|
|
1123
|
+
|
|
1124
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
1125
|
+
**Credential required**: *Yes*
|
|
1126
|
+
*/
|
|
1127
1127
|
let postIRegenerateToken = (~body: postIRegenerateTokenRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIRegenerateTokenResponse> => {
|
|
1128
1128
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIRegenerateTokenRequestSchema)
|
|
1129
1129
|
fetch(
|
|
@@ -1154,12 +1154,12 @@ type postIRegistryGetResponse = dict<JSON.t>
|
|
|
1154
1154
|
let postIRegistryGetResponseSchema = S.dict(S.json)
|
|
1155
1155
|
|
|
1156
1156
|
/**
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1157
|
+
i/registry/get
|
|
1158
|
+
|
|
1159
|
+
No description provided.
|
|
1160
|
+
|
|
1161
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
1162
|
+
*/
|
|
1163
1163
|
let postIRegistryGet = (~body: postIRegistryGetRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIRegistryGetResponse> => {
|
|
1164
1164
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIRegistryGetRequestSchema)
|
|
1165
1165
|
fetch(
|
|
@@ -1188,12 +1188,12 @@ type postIRegistryGetAllResponse = dict<JSON.t>
|
|
|
1188
1188
|
let postIRegistryGetAllResponseSchema = S.dict(S.json)
|
|
1189
1189
|
|
|
1190
1190
|
/**
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1191
|
+
i/registry/get-all
|
|
1192
|
+
|
|
1193
|
+
No description provided.
|
|
1194
|
+
|
|
1195
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
1196
|
+
*/
|
|
1197
1197
|
let postIRegistryGetAll = (~body: postIRegistryGetAllRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIRegistryGetAllResponse> => {
|
|
1198
1198
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIRegistryGetAllRequestSchema)
|
|
1199
1199
|
fetch(
|
|
@@ -1230,12 +1230,12 @@ let postIRegistryGetDetailResponseSchema = S.object(s => {
|
|
|
1230
1230
|
})
|
|
1231
1231
|
|
|
1232
1232
|
/**
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1233
|
+
i/registry/get-detail
|
|
1234
|
+
|
|
1235
|
+
No description provided.
|
|
1236
|
+
|
|
1237
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
1238
|
+
*/
|
|
1239
1239
|
let postIRegistryGetDetail = (~body: postIRegistryGetDetailRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIRegistryGetDetailResponse> => {
|
|
1240
1240
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIRegistryGetDetailRequestSchema)
|
|
1241
1241
|
fetch(
|
|
@@ -1264,12 +1264,12 @@ type postIRegistryKeysResponse = array<string>
|
|
|
1264
1264
|
let postIRegistryKeysResponseSchema = S.array(S.string)
|
|
1265
1265
|
|
|
1266
1266
|
/**
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1267
|
+
i/registry/keys
|
|
1268
|
+
|
|
1269
|
+
No description provided.
|
|
1270
|
+
|
|
1271
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
1272
|
+
*/
|
|
1273
1273
|
let postIRegistryKeys = (~body: postIRegistryKeysRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIRegistryKeysResponse> => {
|
|
1274
1274
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIRegistryKeysRequestSchema)
|
|
1275
1275
|
fetch(
|
|
@@ -1298,12 +1298,12 @@ type postIRegistryKeysWithTypeResponse = dict<JSON.t>
|
|
|
1298
1298
|
let postIRegistryKeysWithTypeResponseSchema = S.dict(S.json)
|
|
1299
1299
|
|
|
1300
1300
|
/**
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1301
|
+
i/registry/keys-with-type
|
|
1302
|
+
|
|
1303
|
+
No description provided.
|
|
1304
|
+
|
|
1305
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
1306
|
+
*/
|
|
1307
1307
|
let postIRegistryKeysWithType = (~body: postIRegistryKeysWithTypeRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIRegistryKeysWithTypeResponse> => {
|
|
1308
1308
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIRegistryKeysWithTypeRequestSchema)
|
|
1309
1309
|
fetch(
|
|
@@ -1332,12 +1332,12 @@ let postIRegistryRemoveRequestSchema = S.object(s => {
|
|
|
1332
1332
|
type postIRegistryRemoveResponse = unit
|
|
1333
1333
|
|
|
1334
1334
|
/**
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1335
|
+
i/registry/remove
|
|
1336
|
+
|
|
1337
|
+
No description provided.
|
|
1338
|
+
|
|
1339
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
1340
|
+
*/
|
|
1341
1341
|
let postIRegistryRemove = (~body: postIRegistryRemoveRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIRegistryRemoveResponse> => {
|
|
1342
1342
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIRegistryRemoveRequestSchema)
|
|
1343
1343
|
fetch(
|
|
@@ -1366,13 +1366,13 @@ let postIRegistryScopesWithDomainResponse_1Schema = S.object(s => {
|
|
|
1366
1366
|
let postIRegistryScopesWithDomainResponseSchema = S.array(postIRegistryScopesWithDomainResponse_1Schema)
|
|
1367
1367
|
|
|
1368
1368
|
/**
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1369
|
+
i/registry/scopes-with-domain
|
|
1370
|
+
|
|
1371
|
+
No description provided.
|
|
1372
|
+
|
|
1373
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
1374
|
+
**Credential required**: *Yes*
|
|
1375
|
+
*/
|
|
1376
1376
|
let postIRegistryScopesWithDomain = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIRegistryScopesWithDomainResponse> => {
|
|
1377
1377
|
|
|
1378
1378
|
fetch(
|
|
@@ -1403,12 +1403,12 @@ let postIRegistrySetRequestSchema = S.object(s => {
|
|
|
1403
1403
|
type postIRegistrySetResponse = unit
|
|
1404
1404
|
|
|
1405
1405
|
/**
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1406
|
+
i/registry/set
|
|
1407
|
+
|
|
1408
|
+
No description provided.
|
|
1409
|
+
|
|
1410
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
1411
|
+
*/
|
|
1412
1412
|
let postIRegistrySet = (~body: postIRegistrySetRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIRegistrySetResponse> => {
|
|
1413
1413
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIRegistrySetRequestSchema)
|
|
1414
1414
|
fetch(
|
|
@@ -1435,13 +1435,13 @@ let postIRevokeTokenRequestSchema = S.object(s => {
|
|
|
1435
1435
|
type postIRevokeTokenResponse = unit
|
|
1436
1436
|
|
|
1437
1437
|
/**
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1438
|
+
i/revoke-token
|
|
1439
|
+
|
|
1440
|
+
No description provided.
|
|
1441
|
+
|
|
1442
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
1443
|
+
**Credential required**: *Yes*
|
|
1444
|
+
*/
|
|
1445
1445
|
let postIRevokeToken = (~body: postIRevokeTokenRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIRevokeTokenResponse> => {
|
|
1446
1446
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIRevokeTokenRequestSchema)
|
|
1447
1447
|
fetch(
|
|
@@ -1472,13 +1472,13 @@ type postISigninHistoryResponse = array<MisskeyIoComponentSchemas.Signin.t>
|
|
|
1472
1472
|
let postISigninHistoryResponseSchema = S.array(MisskeyIoComponentSchemas.Signin.schema)
|
|
1473
1473
|
|
|
1474
1474
|
/**
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1475
|
+
i/signin-history
|
|
1476
|
+
|
|
1477
|
+
No description provided.
|
|
1478
|
+
|
|
1479
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
1480
|
+
**Credential required**: *Yes*
|
|
1481
|
+
*/
|
|
1482
1482
|
let postISigninHistory = (~body: postISigninHistoryRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postISigninHistoryResponse> => {
|
|
1483
1483
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postISigninHistoryRequestSchema)
|
|
1484
1484
|
fetch(
|
|
@@ -1509,13 +1509,13 @@ type postIUpdateEmailResponse = MisskeyIoComponentSchemas.MeDetailed.t
|
|
|
1509
1509
|
let postIUpdateEmailResponseSchema = MisskeyIoComponentSchemas.MeDetailed.schema
|
|
1510
1510
|
|
|
1511
1511
|
/**
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1512
|
+
i/update-email
|
|
1513
|
+
|
|
1514
|
+
No description provided.
|
|
1515
|
+
|
|
1516
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
1517
|
+
**Credential required**: *Yes*
|
|
1518
|
+
*/
|
|
1519
1519
|
let postIUpdateEmail = (~body: postIUpdateEmailRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIUpdateEmailResponse> => {
|
|
1520
1520
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIUpdateEmailRequestSchema)
|
|
1521
1521
|
fetch(
|
|
@@ -1544,13 +1544,13 @@ let postPagePushRequestSchema = S.object(s => {
|
|
|
1544
1544
|
type postPagePushResponse = unit
|
|
1545
1545
|
|
|
1546
1546
|
/**
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1547
|
+
page-push
|
|
1548
|
+
|
|
1549
|
+
No description provided.
|
|
1550
|
+
|
|
1551
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
1552
|
+
**Credential required**: *Yes*
|
|
1553
|
+
*/
|
|
1554
1554
|
let postPagePush = (~body: postPagePushRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postPagePushResponse> => {
|
|
1555
1555
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postPagePushRequestSchema)
|
|
1556
1556
|
fetch(
|
|
@@ -1575,12 +1575,12 @@ let postReversiCancelMatchRequestSchema = S.object(s => {
|
|
|
1575
1575
|
type postReversiCancelMatchResponse = unit
|
|
1576
1576
|
|
|
1577
1577
|
/**
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1578
|
+
reversi/cancel-match
|
|
1579
|
+
|
|
1580
|
+
No description provided.
|
|
1581
|
+
|
|
1582
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
1583
|
+
*/
|
|
1584
1584
|
let postReversiCancelMatch = (~body: postReversiCancelMatchRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postReversiCancelMatchResponse> => {
|
|
1585
1585
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postReversiCancelMatchRequestSchema)
|
|
1586
1586
|
fetch(
|
|
@@ -1613,12 +1613,12 @@ type postReversiGamesResponse = array<MisskeyIoComponentSchemas.ReversiGameLite.
|
|
|
1613
1613
|
let postReversiGamesResponseSchema = S.array(MisskeyIoComponentSchemas.ReversiGameLite.schema)
|
|
1614
1614
|
|
|
1615
1615
|
/**
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1616
|
+
reversi/games
|
|
1617
|
+
|
|
1618
|
+
No description provided.
|
|
1619
|
+
|
|
1620
|
+
**Credential required**: *No*
|
|
1621
|
+
*/
|
|
1622
1622
|
let postReversiGames = (~body: postReversiGamesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postReversiGamesResponse> => {
|
|
1623
1623
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postReversiGamesRequestSchema)
|
|
1624
1624
|
fetch(
|
|
@@ -1637,12 +1637,12 @@ type postReversiInvitationsResponse = array<MisskeyIoComponentSchemas.UserLite.t
|
|
|
1637
1637
|
let postReversiInvitationsResponseSchema = S.array(MisskeyIoComponentSchemas.UserLite.schema)
|
|
1638
1638
|
|
|
1639
1639
|
/**
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1640
|
+
reversi/invitations
|
|
1641
|
+
|
|
1642
|
+
No description provided.
|
|
1643
|
+
|
|
1644
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
1645
|
+
*/
|
|
1646
1646
|
let postReversiInvitations = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postReversiInvitationsResponse> => {
|
|
1647
1647
|
|
|
1648
1648
|
fetch(
|
|
@@ -1673,12 +1673,12 @@ type postReversiMatchResponse = dict<JSON.t>
|
|
|
1673
1673
|
let postReversiMatchResponseSchema = S.dict(S.json)
|
|
1674
1674
|
|
|
1675
1675
|
/**
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1676
|
+
reversi/match
|
|
1677
|
+
|
|
1678
|
+
No description provided.
|
|
1679
|
+
|
|
1680
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
1681
|
+
*/
|
|
1682
1682
|
let postReversiMatch = (~body: postReversiMatchRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postReversiMatchResponse> => {
|
|
1683
1683
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postReversiMatchRequestSchema)
|
|
1684
1684
|
fetch(
|
|
@@ -1705,12 +1705,12 @@ type postReversiShowGameResponse = MisskeyIoComponentSchemas.ReversiGameDetailed
|
|
|
1705
1705
|
let postReversiShowGameResponseSchema = MisskeyIoComponentSchemas.ReversiGameDetailed.schema
|
|
1706
1706
|
|
|
1707
1707
|
/**
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1708
|
+
reversi/show-game
|
|
1709
|
+
|
|
1710
|
+
No description provided.
|
|
1711
|
+
|
|
1712
|
+
**Credential required**: *No*
|
|
1713
|
+
*/
|
|
1714
1714
|
let postReversiShowGame = (~body: postReversiShowGameRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postReversiShowGameResponse> => {
|
|
1715
1715
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postReversiShowGameRequestSchema)
|
|
1716
1716
|
fetch(
|
|
@@ -1735,12 +1735,12 @@ let postReversiSurrenderRequestSchema = S.object(s => {
|
|
|
1735
1735
|
type postReversiSurrenderResponse = unit
|
|
1736
1736
|
|
|
1737
1737
|
/**
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1738
|
+
reversi/surrender
|
|
1739
|
+
|
|
1740
|
+
No description provided.
|
|
1741
|
+
|
|
1742
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
1743
|
+
*/
|
|
1744
1744
|
let postReversiSurrender = (~body: postReversiSurrenderRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postReversiSurrenderResponse> => {
|
|
1745
1745
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postReversiSurrenderRequestSchema)
|
|
1746
1746
|
fetch(
|
|
@@ -1775,12 +1775,12 @@ let postReversiVerifyResponseSchema = S.object(s => {
|
|
|
1775
1775
|
})
|
|
1776
1776
|
|
|
1777
1777
|
/**
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1778
|
+
reversi/verify
|
|
1779
|
+
|
|
1780
|
+
No description provided.
|
|
1781
|
+
|
|
1782
|
+
**Credential required**: *No*
|
|
1783
|
+
*/
|
|
1784
1784
|
let postReversiVerify = (~body: postReversiVerifyRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postReversiVerifyResponse> => {
|
|
1785
1785
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postReversiVerifyRequestSchema)
|
|
1786
1786
|
fetch(
|
|
@@ -1817,12 +1817,12 @@ let postUsersAchievementsResponse_1Schema = S.object(s => {
|
|
|
1817
1817
|
let postUsersAchievementsResponseSchema = S.array(postUsersAchievementsResponse_1Schema)
|
|
1818
1818
|
|
|
1819
1819
|
/**
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1820
|
+
users/achievements
|
|
1821
|
+
|
|
1822
|
+
No description provided.
|
|
1823
|
+
|
|
1824
|
+
**Credential required**: *No*
|
|
1825
|
+
*/
|
|
1826
1826
|
let postUsersAchievements = (~body: postUsersAchievementsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersAchievementsResponse> => {
|
|
1827
1827
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersAchievementsRequestSchema)
|
|
1828
1828
|
fetch(
|
|
@@ -1851,12 +1851,12 @@ type postUsersListsCreateFromPublicResponse = MisskeyIoComponentSchemas.UserList
|
|
|
1851
1851
|
let postUsersListsCreateFromPublicResponseSchema = MisskeyIoComponentSchemas.UserList.schema
|
|
1852
1852
|
|
|
1853
1853
|
/**
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1854
|
+
users/lists/create-from-public
|
|
1855
|
+
|
|
1856
|
+
No description provided.
|
|
1857
|
+
|
|
1858
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
1859
|
+
*/
|
|
1860
1860
|
let postUsersListsCreateFromPublic = (~body: postUsersListsCreateFromPublicRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersListsCreateFromPublicResponse> => {
|
|
1861
1861
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersListsCreateFromPublicRequestSchema)
|
|
1862
1862
|
fetch(
|
|
@@ -1881,12 +1881,12 @@ let postUsersListsFavoriteRequestSchema = S.object(s => {
|
|
|
1881
1881
|
type postUsersListsFavoriteResponse = unit
|
|
1882
1882
|
|
|
1883
1883
|
/**
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1884
|
+
users/lists/favorite
|
|
1885
|
+
|
|
1886
|
+
No description provided.
|
|
1887
|
+
|
|
1888
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
1889
|
+
*/
|
|
1890
1890
|
let postUsersListsFavorite = (~body: postUsersListsFavoriteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersListsFavoriteResponse> => {
|
|
1891
1891
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersListsFavoriteRequestSchema)
|
|
1892
1892
|
fetch(
|
|
@@ -1911,12 +1911,12 @@ let postUsersListsUnfavoriteRequestSchema = S.object(s => {
|
|
|
1911
1911
|
type postUsersListsUnfavoriteResponse = unit
|
|
1912
1912
|
|
|
1913
1913
|
/**
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1914
|
+
users/lists/unfavorite
|
|
1915
|
+
|
|
1916
|
+
No description provided.
|
|
1917
|
+
|
|
1918
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
1919
|
+
*/
|
|
1920
1920
|
let postUsersListsUnfavorite = (~body: postUsersListsUnfavoriteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersListsUnfavoriteResponse> => {
|
|
1921
1921
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersListsUnfavoriteRequestSchema)
|
|
1922
1922
|
fetch(
|