@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
|
@@ -24,12 +24,12 @@ let postEmailAddressAvailableResponseSchema = S.object(s => {
|
|
|
24
24
|
})
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
email-address/available
|
|
28
|
+
|
|
29
|
+
No description provided.
|
|
30
|
+
|
|
31
|
+
**Credential required**: *No*
|
|
32
|
+
*/
|
|
33
33
|
let postEmailAddressAvailable = (~body: postEmailAddressAvailableRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postEmailAddressAvailableResponse> => {
|
|
34
34
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postEmailAddressAvailableRequestSchema)
|
|
35
35
|
fetch(
|
|
@@ -64,12 +64,12 @@ let postGetAvatarDecorationsResponse_1Schema = S.object(s => {
|
|
|
64
64
|
let postGetAvatarDecorationsResponseSchema = S.array(postGetAvatarDecorationsResponse_1Schema)
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
67
|
+
get-avatar-decorations
|
|
68
|
+
|
|
69
|
+
No description provided.
|
|
70
|
+
|
|
71
|
+
**Credential required**: *No*
|
|
72
|
+
*/
|
|
73
73
|
let postGetAvatarDecorations = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postGetAvatarDecorationsResponse> => {
|
|
74
74
|
|
|
75
75
|
fetch(
|
|
@@ -96,13 +96,13 @@ type postIMoveResponse = dict<JSON.t>
|
|
|
96
96
|
let postIMoveResponseSchema = S.dict(S.json)
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
99
|
+
i/move
|
|
100
|
+
|
|
101
|
+
No description provided.
|
|
102
|
+
|
|
103
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
104
|
+
**Credential required**: *Yes*
|
|
105
|
+
*/
|
|
106
106
|
let postIMove = (~body: postIMoveRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIMoveResponse> => {
|
|
107
107
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIMoveRequestSchema)
|
|
108
108
|
fetch(
|
|
@@ -121,12 +121,12 @@ type postPinnedUsersResponse = array<MisskeyIoComponentSchemas.UserDetailed.t>
|
|
|
121
121
|
let postPinnedUsersResponseSchema = S.array(MisskeyIoComponentSchemas.UserDetailed.schema)
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
124
|
+
pinned-users
|
|
125
|
+
|
|
126
|
+
No description provided.
|
|
127
|
+
|
|
128
|
+
**Credential required**: *No*
|
|
129
|
+
*/
|
|
130
130
|
let postPinnedUsers = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postPinnedUsersResponse> => {
|
|
131
131
|
|
|
132
132
|
fetch(
|
|
@@ -157,12 +157,12 @@ let getRetentionResponse_1Schema = S.object(s => {
|
|
|
157
157
|
let getRetentionResponseSchema = S.array(getRetentionResponse_1Schema)
|
|
158
158
|
|
|
159
159
|
/**
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
160
|
+
retention
|
|
161
|
+
|
|
162
|
+
No description provided.
|
|
163
|
+
|
|
164
|
+
**Credential required**: *No*
|
|
165
|
+
*/
|
|
166
166
|
let getRetention = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<getRetentionResponse> => {
|
|
167
167
|
|
|
168
168
|
fetch(
|
|
@@ -193,12 +193,12 @@ let postRetentionResponse_1Schema = S.object(s => {
|
|
|
193
193
|
let postRetentionResponseSchema = S.array(postRetentionResponse_1Schema)
|
|
194
194
|
|
|
195
195
|
/**
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
196
|
+
retention
|
|
197
|
+
|
|
198
|
+
No description provided.
|
|
199
|
+
|
|
200
|
+
**Credential required**: *No*
|
|
201
|
+
*/
|
|
202
202
|
let postRetention = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postRetentionResponse> => {
|
|
203
203
|
|
|
204
204
|
fetch(
|
|
@@ -229,12 +229,12 @@ let postUsernameAvailableResponseSchema = S.object(s => {
|
|
|
229
229
|
})
|
|
230
230
|
|
|
231
231
|
/**
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
232
|
+
username/available
|
|
233
|
+
|
|
234
|
+
No description provided.
|
|
235
|
+
|
|
236
|
+
**Credential required**: *No*
|
|
237
|
+
*/
|
|
238
238
|
let postUsernameAvailable = (~body: postUsernameAvailableRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsernameAvailableResponse> => {
|
|
239
239
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsernameAvailableRequestSchema)
|
|
240
240
|
fetch(
|
|
@@ -271,12 +271,12 @@ type postUsersResponse = array<MisskeyIoComponentSchemas.UserDetailed.t>
|
|
|
271
271
|
let postUsersResponseSchema = S.array(MisskeyIoComponentSchemas.UserDetailed.schema)
|
|
272
272
|
|
|
273
273
|
/**
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
274
|
+
users
|
|
275
|
+
|
|
276
|
+
No description provided.
|
|
277
|
+
|
|
278
|
+
**Credential required**: *No*
|
|
279
|
+
*/
|
|
280
280
|
let postUsers = (~body: postUsersRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersResponse> => {
|
|
281
281
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersRequestSchema)
|
|
282
282
|
fetch(
|
|
@@ -309,12 +309,12 @@ type postUsersClipsResponse = array<MisskeyIoComponentSchemas.Clip.t>
|
|
|
309
309
|
let postUsersClipsResponseSchema = S.array(MisskeyIoComponentSchemas.Clip.schema)
|
|
310
310
|
|
|
311
311
|
/**
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
312
|
+
users/clips
|
|
313
|
+
|
|
314
|
+
Show all clips this user owns.
|
|
315
|
+
|
|
316
|
+
**Credential required**: *No*
|
|
317
|
+
*/
|
|
318
318
|
let postUsersClips = (~body: postUsersClipsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersClipsResponse> => {
|
|
319
319
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersClipsRequestSchema)
|
|
320
320
|
fetch(
|
|
@@ -347,12 +347,12 @@ type postUsersFlashsResponse = array<MisskeyIoComponentSchemas.Flash.t>
|
|
|
347
347
|
let postUsersFlashsResponseSchema = S.array(MisskeyIoComponentSchemas.Flash.schema)
|
|
348
348
|
|
|
349
349
|
/**
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
350
|
+
users/flashs
|
|
351
|
+
|
|
352
|
+
Show all flashs this user created.
|
|
353
|
+
|
|
354
|
+
**Credential required**: *No*
|
|
355
|
+
*/
|
|
356
356
|
let postUsersFlashs = (~body: postUsersFlashsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersFlashsResponse> => {
|
|
357
357
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersFlashsRequestSchema)
|
|
358
358
|
fetch(
|
|
@@ -389,12 +389,12 @@ type postUsersFollowersResponse = array<MisskeyIoComponentSchemas.Following.t>
|
|
|
389
389
|
let postUsersFollowersResponseSchema = S.array(MisskeyIoComponentSchemas.Following.schema)
|
|
390
390
|
|
|
391
391
|
/**
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
392
|
+
users/followers
|
|
393
|
+
|
|
394
|
+
Show everyone that follows this user.
|
|
395
|
+
|
|
396
|
+
**Credential required**: *No*
|
|
397
|
+
*/
|
|
398
398
|
let postUsersFollowers = (~body: postUsersFollowersRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersFollowersResponse> => {
|
|
399
399
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersFollowersRequestSchema)
|
|
400
400
|
fetch(
|
|
@@ -433,12 +433,12 @@ type postUsersFollowingResponse = array<MisskeyIoComponentSchemas.Following.t>
|
|
|
433
433
|
let postUsersFollowingResponseSchema = S.array(MisskeyIoComponentSchemas.Following.schema)
|
|
434
434
|
|
|
435
435
|
/**
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
436
|
+
users/following
|
|
437
|
+
|
|
438
|
+
Show everyone that this user is following.
|
|
439
|
+
|
|
440
|
+
**Credential required**: *No*
|
|
441
|
+
*/
|
|
442
442
|
let postUsersFollowing = (~body: postUsersFollowingRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersFollowingResponse> => {
|
|
443
443
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersFollowingRequestSchema)
|
|
444
444
|
fetch(
|
|
@@ -471,12 +471,12 @@ type postUsersGalleryPostsResponse = array<MisskeyIoComponentSchemas.GalleryPost
|
|
|
471
471
|
let postUsersGalleryPostsResponseSchema = S.array(MisskeyIoComponentSchemas.GalleryPost.schema)
|
|
472
472
|
|
|
473
473
|
/**
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
474
|
+
users/gallery/posts
|
|
475
|
+
|
|
476
|
+
Show all gallery posts by the given user.
|
|
477
|
+
|
|
478
|
+
**Credential required**: *No*
|
|
479
|
+
*/
|
|
480
480
|
let postUsersGalleryPosts = (~body: postUsersGalleryPostsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersGalleryPostsResponse> => {
|
|
481
481
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersGalleryPostsRequestSchema)
|
|
482
482
|
fetch(
|
|
@@ -541,12 +541,12 @@ let postUsersGetFollowingBirthdayUsersResponse_1Schema = S.object(s => {
|
|
|
541
541
|
let postUsersGetFollowingBirthdayUsersResponseSchema = S.array(postUsersGetFollowingBirthdayUsersResponse_1Schema)
|
|
542
542
|
|
|
543
543
|
/**
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
544
|
+
users/get-following-birthday-users
|
|
545
|
+
|
|
546
|
+
Find users who have a birthday on the specified range.
|
|
547
|
+
|
|
548
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
549
|
+
*/
|
|
550
550
|
let postUsersGetFollowingBirthdayUsers = (~body: postUsersGetFollowingBirthdayUsersRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersGetFollowingBirthdayUsersResponse> => {
|
|
551
551
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersGetFollowingBirthdayUsersRequestSchema)
|
|
552
552
|
fetch(
|
|
@@ -585,12 +585,12 @@ let postUsersGetFrequentlyRepliedUsersResponse_1Schema = S.object(s => {
|
|
|
585
585
|
let postUsersGetFrequentlyRepliedUsersResponseSchema = S.array(postUsersGetFrequentlyRepliedUsersResponse_1Schema)
|
|
586
586
|
|
|
587
587
|
/**
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
588
|
+
users/get-frequently-replied-users
|
|
589
|
+
|
|
590
|
+
Get a list of other users that the specified user frequently replies to.
|
|
591
|
+
|
|
592
|
+
**Credential required**: *No*
|
|
593
|
+
*/
|
|
594
594
|
let postUsersGetFrequentlyRepliedUsers = (~body: postUsersGetFrequentlyRepliedUsersRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersGetFrequentlyRepliedUsersResponse> => {
|
|
595
595
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersGetFrequentlyRepliedUsersRequestSchema)
|
|
596
596
|
fetch(
|
|
@@ -627,12 +627,12 @@ let postUsersGetSecurityInfoResponseSchema = S.object(s => {
|
|
|
627
627
|
})
|
|
628
628
|
|
|
629
629
|
/**
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
630
|
+
users/get-security-info
|
|
631
|
+
|
|
632
|
+
No description provided.
|
|
633
|
+
|
|
634
|
+
**Credential required**: *No*
|
|
635
|
+
*/
|
|
636
636
|
let postUsersGetSecurityInfo = (~body: postUsersGetSecurityInfoRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersGetSecurityInfoResponse> => {
|
|
637
637
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersGetSecurityInfoRequestSchema)
|
|
638
638
|
fetch(
|
|
@@ -683,12 +683,12 @@ let getUsersGetSkebStatusResponseSchema = S.object(s => {
|
|
|
683
683
|
})
|
|
684
684
|
|
|
685
685
|
/**
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
686
|
+
users/get-skeb-status
|
|
687
|
+
|
|
688
|
+
No description provided.
|
|
689
|
+
|
|
690
|
+
**Credential required**: *No*
|
|
691
|
+
*/
|
|
692
692
|
let getUsersGetSkebStatus = (~body: getUsersGetSkebStatusRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<getUsersGetSkebStatusResponse> => {
|
|
693
693
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(getUsersGetSkebStatusRequestSchema)
|
|
694
694
|
fetch(
|
|
@@ -739,12 +739,12 @@ let postUsersGetSkebStatusResponseSchema = S.object(s => {
|
|
|
739
739
|
})
|
|
740
740
|
|
|
741
741
|
/**
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
742
|
+
users/get-skeb-status
|
|
743
|
+
|
|
744
|
+
No description provided.
|
|
745
|
+
|
|
746
|
+
**Credential required**: *No*
|
|
747
|
+
*/
|
|
748
748
|
let postUsersGetSkebStatus = (~body: postUsersGetSkebStatusRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersGetSkebStatusResponse> => {
|
|
749
749
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersGetSkebStatusRequestSchema)
|
|
750
750
|
fetch(
|
|
@@ -791,12 +791,12 @@ type postUsersNotesResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
|
791
791
|
let postUsersNotesResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
792
792
|
|
|
793
793
|
/**
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
794
|
+
users/notes
|
|
795
|
+
|
|
796
|
+
No description provided.
|
|
797
|
+
|
|
798
|
+
**Credential required**: *No*
|
|
799
|
+
*/
|
|
800
800
|
let postUsersNotes = (~body: postUsersNotesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersNotesResponse> => {
|
|
801
801
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersNotesRequestSchema)
|
|
802
802
|
fetch(
|
|
@@ -829,12 +829,12 @@ type postUsersPagesResponse = array<MisskeyIoComponentSchemas.Page.t>
|
|
|
829
829
|
let postUsersPagesResponseSchema = S.array(MisskeyIoComponentSchemas.Page.schema)
|
|
830
830
|
|
|
831
831
|
/**
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
832
|
+
users/pages
|
|
833
|
+
|
|
834
|
+
Show all pages this user created.
|
|
835
|
+
|
|
836
|
+
**Credential required**: *No*
|
|
837
|
+
*/
|
|
838
838
|
let postUsersPages = (~body: postUsersPagesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersPagesResponse> => {
|
|
839
839
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersPagesRequestSchema)
|
|
840
840
|
fetch(
|
|
@@ -871,12 +871,12 @@ type postUsersReactionsResponse = array<MisskeyIoComponentSchemas.NoteReaction.t
|
|
|
871
871
|
let postUsersReactionsResponseSchema = S.array(MisskeyIoComponentSchemas.NoteReaction.schema)
|
|
872
872
|
|
|
873
873
|
/**
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
874
|
+
users/reactions
|
|
875
|
+
|
|
876
|
+
Show all reactions this user made.
|
|
877
|
+
|
|
878
|
+
**Credential required**: *No*
|
|
879
|
+
*/
|
|
880
880
|
let postUsersReactions = (~body: postUsersReactionsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersReactionsResponse> => {
|
|
881
881
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersReactionsRequestSchema)
|
|
882
882
|
fetch(
|
|
@@ -905,12 +905,12 @@ type postUsersRecommendationResponse = array<MisskeyIoComponentSchemas.UserDetai
|
|
|
905
905
|
let postUsersRecommendationResponseSchema = S.array(MisskeyIoComponentSchemas.UserDetailed.schema)
|
|
906
906
|
|
|
907
907
|
/**
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
908
|
+
users/recommendation
|
|
909
|
+
|
|
910
|
+
Show users that the authenticated user might be interested to follow.
|
|
911
|
+
|
|
912
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
913
|
+
*/
|
|
914
914
|
let postUsersRecommendation = (~body: postUsersRecommendationRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersRecommendationResponse> => {
|
|
915
915
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersRecommendationRequestSchema)
|
|
916
916
|
fetch(
|
|
@@ -961,12 +961,12 @@ let postUsersRelationResponse_1Schema = S.object(s => {
|
|
|
961
961
|
let postUsersRelationResponseSchema = S.array(postUsersRelationResponse_1Schema)
|
|
962
962
|
|
|
963
963
|
/**
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
964
|
+
users/relation
|
|
965
|
+
|
|
966
|
+
Show the different kinds of relations between the authenticated user and the specified user(s).
|
|
967
|
+
|
|
968
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
969
|
+
*/
|
|
970
970
|
let postUsersRelation = (~body: postUsersRelationRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersRelationResponse> => {
|
|
971
971
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersRelationRequestSchema)
|
|
972
972
|
fetch(
|
|
@@ -995,12 +995,12 @@ let postUsersReportAbuseRequestSchema = S.object(s => {
|
|
|
995
995
|
type postUsersReportAbuseResponse = unit
|
|
996
996
|
|
|
997
997
|
/**
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
998
|
+
users/report-abuse
|
|
999
|
+
|
|
1000
|
+
File a report.
|
|
1001
|
+
|
|
1002
|
+
**Credential required**: *Yes* / **Permission**: *write:report-abuse*
|
|
1003
|
+
*/
|
|
1004
1004
|
let postUsersReportAbuse = (~body: postUsersReportAbuseRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersReportAbuseResponse> => {
|
|
1005
1005
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersReportAbuseRequestSchema)
|
|
1006
1006
|
fetch(
|
|
@@ -1035,12 +1035,12 @@ type postUsersSearchResponse = array<MisskeyIoComponentSchemas.User.t>
|
|
|
1035
1035
|
let postUsersSearchResponseSchema = S.array(MisskeyIoComponentSchemas.User.schema)
|
|
1036
1036
|
|
|
1037
1037
|
/**
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1038
|
+
users/search
|
|
1039
|
+
|
|
1040
|
+
Search for users.
|
|
1041
|
+
|
|
1042
|
+
**Credential required**: *No*
|
|
1043
|
+
*/
|
|
1044
1044
|
let postUsersSearch = (~body: postUsersSearchRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersSearchResponse> => {
|
|
1045
1045
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersSearchRequestSchema)
|
|
1046
1046
|
fetch(
|
|
@@ -1073,12 +1073,12 @@ type postUsersSearchByUsernameAndHostResponse = array<MisskeyIoComponentSchemas.
|
|
|
1073
1073
|
let postUsersSearchByUsernameAndHostResponseSchema = S.array(MisskeyIoComponentSchemas.User.schema)
|
|
1074
1074
|
|
|
1075
1075
|
/**
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1076
|
+
users/search-by-username-and-host
|
|
1077
|
+
|
|
1078
|
+
Search for a user by username and/or host.
|
|
1079
|
+
|
|
1080
|
+
**Credential required**: *No*
|
|
1081
|
+
*/
|
|
1082
1082
|
let postUsersSearchByUsernameAndHost = (~body: postUsersSearchByUsernameAndHostRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersSearchByUsernameAndHostResponse> => {
|
|
1083
1083
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersSearchByUsernameAndHostRequestSchema)
|
|
1084
1084
|
fetch(
|
|
@@ -1113,12 +1113,12 @@ type postUsersShowResponse = array<MisskeyIoComponentSchemas.UserDetailed.t>
|
|
|
1113
1113
|
let postUsersShowResponseSchema = S.array(MisskeyIoComponentSchemas.UserDetailed.schema)
|
|
1114
1114
|
|
|
1115
1115
|
/**
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1116
|
+
users/show
|
|
1117
|
+
|
|
1118
|
+
Show the properties of a user.
|
|
1119
|
+
|
|
1120
|
+
**Credential required**: *No*
|
|
1121
|
+
*/
|
|
1122
1122
|
let postUsersShow = (~body: postUsersShowRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersShowResponse> => {
|
|
1123
1123
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersShowRequestSchema)
|
|
1124
1124
|
fetch(
|
|
@@ -1187,12 +1187,12 @@ let postUsersStatsResponseSchema = S.object(s => {
|
|
|
1187
1187
|
})
|
|
1188
1188
|
|
|
1189
1189
|
/**
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1190
|
+
users/stats
|
|
1191
|
+
|
|
1192
|
+
Show statistics about a user.
|
|
1193
|
+
|
|
1194
|
+
**Credential required**: *No*
|
|
1195
|
+
*/
|
|
1196
1196
|
let postUsersStats = (~body: postUsersStatsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersStatsResponse> => {
|
|
1197
1197
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersStatsRequestSchema)
|
|
1198
1198
|
fetch(
|
|
@@ -30,13 +30,13 @@ let postAdminSystemWebhookTestRequestSchema = S.object(s => {
|
|
|
30
30
|
type postAdminSystemWebhookTestResponse = unit
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
admin/system-webhook/test
|
|
34
|
+
|
|
35
|
+
No description provided.
|
|
36
|
+
|
|
37
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
38
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:system-webhook*
|
|
39
|
+
*/
|
|
40
40
|
let postAdminSystemWebhookTest = (~body: postAdminSystemWebhookTestRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminSystemWebhookTestResponse> => {
|
|
41
41
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminSystemWebhookTestRequestSchema)
|
|
42
42
|
fetch(
|
|
@@ -89,12 +89,12 @@ let postIWebhooksCreateResponseSchema = S.object(s => {
|
|
|
89
89
|
})
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
92
|
+
i/webhooks/create
|
|
93
|
+
|
|
94
|
+
No description provided.
|
|
95
|
+
|
|
96
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
97
|
+
*/
|
|
98
98
|
let postIWebhooksCreate = (~body: postIWebhooksCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIWebhooksCreateResponse> => {
|
|
99
99
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIWebhooksCreateRequestSchema)
|
|
100
100
|
fetch(
|
|
@@ -119,12 +119,12 @@ let postIWebhooksDeleteRequestSchema = S.object(s => {
|
|
|
119
119
|
type postIWebhooksDeleteResponse = unit
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
122
|
+
i/webhooks/delete
|
|
123
|
+
|
|
124
|
+
No description provided.
|
|
125
|
+
|
|
126
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
127
|
+
*/
|
|
128
128
|
let postIWebhooksDelete = (~body: postIWebhooksDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIWebhooksDeleteResponse> => {
|
|
129
129
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIWebhooksDeleteRequestSchema)
|
|
130
130
|
fetch(
|
|
@@ -167,12 +167,12 @@ let postIWebhooksListResponse_1Schema = S.object(s => {
|
|
|
167
167
|
let postIWebhooksListResponseSchema = S.array(postIWebhooksListResponse_1Schema)
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
170
|
+
i/webhooks/list
|
|
171
|
+
|
|
172
|
+
No description provided.
|
|
173
|
+
|
|
174
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
175
|
+
*/
|
|
176
176
|
let postIWebhooksList = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIWebhooksListResponse> => {
|
|
177
177
|
|
|
178
178
|
fetch(
|
|
@@ -219,12 +219,12 @@ let postIWebhooksShowResponseSchema = S.object(s => {
|
|
|
219
219
|
})
|
|
220
220
|
|
|
221
221
|
/**
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
222
|
+
i/webhooks/show
|
|
223
|
+
|
|
224
|
+
No description provided.
|
|
225
|
+
|
|
226
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
227
|
+
*/
|
|
228
228
|
let postIWebhooksShow = (~body: postIWebhooksShowRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIWebhooksShowResponse> => {
|
|
229
229
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIWebhooksShowRequestSchema)
|
|
230
230
|
fetch(
|
|
@@ -263,13 +263,13 @@ let postIWebhooksTestRequestSchema = S.object(s => {
|
|
|
263
263
|
type postIWebhooksTestResponse = unit
|
|
264
264
|
|
|
265
265
|
/**
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
266
|
+
i/webhooks/test
|
|
267
|
+
|
|
268
|
+
No description provided.
|
|
269
|
+
|
|
270
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
271
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
272
|
+
*/
|
|
273
273
|
let postIWebhooksTest = (~body: postIWebhooksTestRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIWebhooksTestResponse> => {
|
|
274
274
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIWebhooksTestRequestSchema)
|
|
275
275
|
fetch(
|
|
@@ -304,12 +304,12 @@ let postIWebhooksUpdateRequestSchema = S.object(s => {
|
|
|
304
304
|
type postIWebhooksUpdateResponse = unit
|
|
305
305
|
|
|
306
306
|
/**
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
307
|
+
i/webhooks/update
|
|
308
|
+
|
|
309
|
+
No description provided.
|
|
310
|
+
|
|
311
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
312
|
+
*/
|
|
313
313
|
let postIWebhooksUpdate = (~body: postIWebhooksUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIWebhooksUpdateResponse> => {
|
|
314
314
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIWebhooksUpdateRequestSchema)
|
|
315
315
|
fetch(
|