@f3liz/rescript-misskey-api 0.6.8 → 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/package.json +2 -2
- 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
|
@@ -16,12 +16,12 @@ let postDriveResponseSchema = S.object(s => {
|
|
|
16
16
|
})
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
drive
|
|
20
|
+
|
|
21
|
+
No description provided.
|
|
22
|
+
|
|
23
|
+
**Credential required**: *Yes* / **Permission**: *read:drive*
|
|
24
|
+
*/
|
|
25
25
|
let postDrive = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postDriveResponse> => {
|
|
26
26
|
|
|
27
27
|
fetch(
|
|
@@ -58,12 +58,12 @@ type postDriveFilesResponse = array<MisskeyIoComponentSchemas.DriveFile.t>
|
|
|
58
58
|
let postDriveFilesResponseSchema = S.array(MisskeyIoComponentSchemas.DriveFile.schema)
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
61
|
+
drive/files
|
|
62
|
+
|
|
63
|
+
No description provided.
|
|
64
|
+
|
|
65
|
+
**Credential required**: *Yes* / **Permission**: *read:drive*
|
|
66
|
+
*/
|
|
67
67
|
let postDriveFiles = (~body: postDriveFilesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postDriveFilesResponse> => {
|
|
68
68
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postDriveFilesRequestSchema)
|
|
69
69
|
fetch(
|
|
@@ -96,12 +96,12 @@ type postDriveFilesAttachedNotesResponse = array<MisskeyIoComponentSchemas.Note.
|
|
|
96
96
|
let postDriveFilesAttachedNotesResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
99
|
+
drive/files/attached-notes
|
|
100
|
+
|
|
101
|
+
Find the notes to which the given file is attached.
|
|
102
|
+
|
|
103
|
+
**Credential required**: *Yes* / **Permission**: *read:drive*
|
|
104
|
+
*/
|
|
105
105
|
let postDriveFilesAttachedNotes = (~body: postDriveFilesAttachedNotesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postDriveFilesAttachedNotesResponse> => {
|
|
106
106
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postDriveFilesAttachedNotesRequestSchema)
|
|
107
107
|
fetch(
|
|
@@ -128,12 +128,12 @@ type postDriveFilesCheckExistenceResponse = bool
|
|
|
128
128
|
let postDriveFilesCheckExistenceResponseSchema = S.bool
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
131
|
+
drive/files/check-existence
|
|
132
|
+
|
|
133
|
+
Check if a given file exists.
|
|
134
|
+
|
|
135
|
+
**Credential required**: *Yes* / **Permission**: *read:drive*
|
|
136
|
+
*/
|
|
137
137
|
let postDriveFilesCheckExistence = (~body: postDriveFilesCheckExistenceRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postDriveFilesCheckExistenceResponse> => {
|
|
138
138
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postDriveFilesCheckExistenceRequestSchema)
|
|
139
139
|
fetch(
|
|
@@ -170,12 +170,12 @@ type postDriveFilesCreateResponse = MisskeyIoComponentSchemas.DriveFile.t
|
|
|
170
170
|
let postDriveFilesCreateResponseSchema = MisskeyIoComponentSchemas.DriveFile.schema
|
|
171
171
|
|
|
172
172
|
/**
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
173
|
+
drive/files/create
|
|
174
|
+
|
|
175
|
+
Upload a new drive file.
|
|
176
|
+
|
|
177
|
+
**Credential required**: *Yes* / **Permission**: *write:drive*
|
|
178
|
+
*/
|
|
179
179
|
let postDriveFilesCreate = (~body: postDriveFilesCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postDriveFilesCreateResponse> => {
|
|
180
180
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postDriveFilesCreateRequestSchema)
|
|
181
181
|
fetch(
|
|
@@ -200,12 +200,12 @@ let postDriveFilesDeleteRequestSchema = S.object(s => {
|
|
|
200
200
|
type postDriveFilesDeleteResponse = unit
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
203
|
+
drive/files/delete
|
|
204
|
+
|
|
205
|
+
Delete an existing drive file.
|
|
206
|
+
|
|
207
|
+
**Credential required**: *Yes* / **Permission**: *write:drive*
|
|
208
|
+
*/
|
|
209
209
|
let postDriveFilesDelete = (~body: postDriveFilesDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postDriveFilesDeleteResponse> => {
|
|
210
210
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postDriveFilesDeleteRequestSchema)
|
|
211
211
|
fetch(
|
|
@@ -234,12 +234,12 @@ type postDriveFilesFindResponse = array<MisskeyIoComponentSchemas.DriveFile.t>
|
|
|
234
234
|
let postDriveFilesFindResponseSchema = S.array(MisskeyIoComponentSchemas.DriveFile.schema)
|
|
235
235
|
|
|
236
236
|
/**
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
237
|
+
drive/files/find
|
|
238
|
+
|
|
239
|
+
Search for a drive file by the given parameters.
|
|
240
|
+
|
|
241
|
+
**Credential required**: *Yes* / **Permission**: *read:drive*
|
|
242
|
+
*/
|
|
243
243
|
let postDriveFilesFind = (~body: postDriveFilesFindRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postDriveFilesFindResponse> => {
|
|
244
244
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postDriveFilesFindRequestSchema)
|
|
245
245
|
fetch(
|
|
@@ -266,12 +266,12 @@ type postDriveFilesFindByHashResponse = array<MisskeyIoComponentSchemas.DriveFil
|
|
|
266
266
|
let postDriveFilesFindByHashResponseSchema = S.array(MisskeyIoComponentSchemas.DriveFile.schema)
|
|
267
267
|
|
|
268
268
|
/**
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
269
|
+
drive/files/find-by-hash
|
|
270
|
+
|
|
271
|
+
Search for a drive file by a hash of the contents.
|
|
272
|
+
|
|
273
|
+
**Credential required**: *Yes* / **Permission**: *read:drive*
|
|
274
|
+
*/
|
|
275
275
|
let postDriveFilesFindByHash = (~body: postDriveFilesFindByHashRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postDriveFilesFindByHashResponse> => {
|
|
276
276
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postDriveFilesFindByHashRequestSchema)
|
|
277
277
|
fetch(
|
|
@@ -300,12 +300,12 @@ type postDriveFilesShowResponse = MisskeyIoComponentSchemas.DriveFile.t
|
|
|
300
300
|
let postDriveFilesShowResponseSchema = MisskeyIoComponentSchemas.DriveFile.schema
|
|
301
301
|
|
|
302
302
|
/**
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
303
|
+
drive/files/show
|
|
304
|
+
|
|
305
|
+
Show the properties of a drive file.
|
|
306
|
+
|
|
307
|
+
**Credential required**: *Yes* / **Permission**: *read:drive*
|
|
308
|
+
*/
|
|
309
309
|
let postDriveFilesShow = (~body: postDriveFilesShowRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postDriveFilesShowResponse> => {
|
|
310
310
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postDriveFilesShowRequestSchema)
|
|
311
311
|
fetch(
|
|
@@ -340,12 +340,12 @@ type postDriveFilesUpdateResponse = MisskeyIoComponentSchemas.DriveFile.t
|
|
|
340
340
|
let postDriveFilesUpdateResponseSchema = MisskeyIoComponentSchemas.DriveFile.schema
|
|
341
341
|
|
|
342
342
|
/**
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
343
|
+
drive/files/update
|
|
344
|
+
|
|
345
|
+
Update the properties of a drive file.
|
|
346
|
+
|
|
347
|
+
**Credential required**: *Yes* / **Permission**: *write:drive*
|
|
348
|
+
*/
|
|
349
349
|
let postDriveFilesUpdate = (~body: postDriveFilesUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postDriveFilesUpdateResponse> => {
|
|
350
350
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postDriveFilesUpdateRequestSchema)
|
|
351
351
|
fetch(
|
|
@@ -380,12 +380,12 @@ let postDriveFilesUploadFromUrlRequestSchema = S.object(s => {
|
|
|
380
380
|
type postDriveFilesUploadFromUrlResponse = unit
|
|
381
381
|
|
|
382
382
|
/**
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
383
|
+
drive/files/upload-from-url
|
|
384
|
+
|
|
385
|
+
Request the server to download a new drive file from the specified URL.
|
|
386
|
+
|
|
387
|
+
**Credential required**: *Yes* / **Permission**: *write:drive*
|
|
388
|
+
*/
|
|
389
389
|
let postDriveFilesUploadFromUrl = (~body: postDriveFilesUploadFromUrlRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postDriveFilesUploadFromUrlResponse> => {
|
|
390
390
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postDriveFilesUploadFromUrlRequestSchema)
|
|
391
391
|
fetch(
|
|
@@ -418,12 +418,12 @@ type postDriveFoldersResponse = array<MisskeyIoComponentSchemas.DriveFolder.t>
|
|
|
418
418
|
let postDriveFoldersResponseSchema = S.array(MisskeyIoComponentSchemas.DriveFolder.schema)
|
|
419
419
|
|
|
420
420
|
/**
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
421
|
+
drive/folders
|
|
422
|
+
|
|
423
|
+
No description provided.
|
|
424
|
+
|
|
425
|
+
**Credential required**: *Yes* / **Permission**: *read:drive*
|
|
426
|
+
*/
|
|
427
427
|
let postDriveFolders = (~body: postDriveFoldersRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postDriveFoldersResponse> => {
|
|
428
428
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postDriveFoldersRequestSchema)
|
|
429
429
|
fetch(
|
|
@@ -452,12 +452,12 @@ type postDriveFoldersCreateResponse = MisskeyIoComponentSchemas.DriveFolder.t
|
|
|
452
452
|
let postDriveFoldersCreateResponseSchema = MisskeyIoComponentSchemas.DriveFolder.schema
|
|
453
453
|
|
|
454
454
|
/**
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
455
|
+
drive/folders/create
|
|
456
|
+
|
|
457
|
+
No description provided.
|
|
458
|
+
|
|
459
|
+
**Credential required**: *Yes* / **Permission**: *write:drive*
|
|
460
|
+
*/
|
|
461
461
|
let postDriveFoldersCreate = (~body: postDriveFoldersCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postDriveFoldersCreateResponse> => {
|
|
462
462
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postDriveFoldersCreateRequestSchema)
|
|
463
463
|
fetch(
|
|
@@ -482,12 +482,12 @@ let postDriveFoldersDeleteRequestSchema = S.object(s => {
|
|
|
482
482
|
type postDriveFoldersDeleteResponse = unit
|
|
483
483
|
|
|
484
484
|
/**
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
485
|
+
drive/folders/delete
|
|
486
|
+
|
|
487
|
+
No description provided.
|
|
488
|
+
|
|
489
|
+
**Credential required**: *Yes* / **Permission**: *write:drive*
|
|
490
|
+
*/
|
|
491
491
|
let postDriveFoldersDelete = (~body: postDriveFoldersDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postDriveFoldersDeleteResponse> => {
|
|
492
492
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postDriveFoldersDeleteRequestSchema)
|
|
493
493
|
fetch(
|
|
@@ -516,12 +516,12 @@ type postDriveFoldersFindResponse = array<MisskeyIoComponentSchemas.DriveFolder.
|
|
|
516
516
|
let postDriveFoldersFindResponseSchema = S.array(MisskeyIoComponentSchemas.DriveFolder.schema)
|
|
517
517
|
|
|
518
518
|
/**
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
519
|
+
drive/folders/find
|
|
520
|
+
|
|
521
|
+
No description provided.
|
|
522
|
+
|
|
523
|
+
**Credential required**: *Yes* / **Permission**: *read:drive*
|
|
524
|
+
*/
|
|
525
525
|
let postDriveFoldersFind = (~body: postDriveFoldersFindRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postDriveFoldersFindResponse> => {
|
|
526
526
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postDriveFoldersFindRequestSchema)
|
|
527
527
|
fetch(
|
|
@@ -548,12 +548,12 @@ type postDriveFoldersShowResponse = MisskeyIoComponentSchemas.DriveFolder.t
|
|
|
548
548
|
let postDriveFoldersShowResponseSchema = MisskeyIoComponentSchemas.DriveFolder.schema
|
|
549
549
|
|
|
550
550
|
/**
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
551
|
+
drive/folders/show
|
|
552
|
+
|
|
553
|
+
No description provided.
|
|
554
|
+
|
|
555
|
+
**Credential required**: *Yes* / **Permission**: *read:drive*
|
|
556
|
+
*/
|
|
557
557
|
let postDriveFoldersShow = (~body: postDriveFoldersShowRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postDriveFoldersShowResponse> => {
|
|
558
558
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postDriveFoldersShowRequestSchema)
|
|
559
559
|
fetch(
|
|
@@ -584,12 +584,12 @@ type postDriveFoldersUpdateResponse = MisskeyIoComponentSchemas.DriveFolder.t
|
|
|
584
584
|
let postDriveFoldersUpdateResponseSchema = MisskeyIoComponentSchemas.DriveFolder.schema
|
|
585
585
|
|
|
586
586
|
/**
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
587
|
+
drive/folders/update
|
|
588
|
+
|
|
589
|
+
No description provided.
|
|
590
|
+
|
|
591
|
+
**Credential required**: *Yes* / **Permission**: *write:drive*
|
|
592
|
+
*/
|
|
593
593
|
let postDriveFoldersUpdate = (~body: postDriveFoldersUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postDriveFoldersUpdateResponse> => {
|
|
594
594
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postDriveFoldersUpdateRequestSchema)
|
|
595
595
|
fetch(
|
|
@@ -622,12 +622,12 @@ type postDriveStreamResponse = array<MisskeyIoComponentSchemas.DriveFile.t>
|
|
|
622
622
|
let postDriveStreamResponseSchema = S.array(MisskeyIoComponentSchemas.DriveFile.schema)
|
|
623
623
|
|
|
624
624
|
/**
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
625
|
+
drive/stream
|
|
626
|
+
|
|
627
|
+
No description provided.
|
|
628
|
+
|
|
629
|
+
**Credential required**: *Yes* / **Permission**: *read:drive*
|
|
630
|
+
*/
|
|
631
631
|
let postDriveStream = (~body: postDriveStreamRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postDriveStreamResponse> => {
|
|
632
632
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postDriveStreamRequestSchema)
|
|
633
633
|
fetch(
|
|
@@ -18,12 +18,12 @@ type postApGetResponse = dict<JSON.t>
|
|
|
18
18
|
let postApGetResponseSchema = S.dict(S.json)
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
ap/get
|
|
22
|
+
|
|
23
|
+
No description provided.
|
|
24
|
+
|
|
25
|
+
**Credential required**: *Yes* / **Permission**: *read:federation*
|
|
26
|
+
*/
|
|
27
27
|
let postApGet = (~body: postApGetRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postApGetResponse> => {
|
|
28
28
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postApGetRequestSchema)
|
|
29
29
|
fetch(
|
|
@@ -60,12 +60,12 @@ let postApShowResponse_1Schema = S.object(s => {
|
|
|
60
60
|
let postApShowResponseSchema = postApShowResponse_1Schema
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
63
|
+
ap/show
|
|
64
|
+
|
|
65
|
+
No description provided.
|
|
66
|
+
|
|
67
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
68
|
+
*/
|
|
69
69
|
let postApShow = (~body: postApShowRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postApShowResponse> => {
|
|
70
70
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postApShowRequestSchema)
|
|
71
71
|
fetch(
|
|
@@ -98,12 +98,12 @@ type postFederationFollowersResponse = array<MisskeyIoComponentSchemas.Following
|
|
|
98
98
|
let postFederationFollowersResponseSchema = S.array(MisskeyIoComponentSchemas.Following.schema)
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
101
|
+
federation/followers
|
|
102
|
+
|
|
103
|
+
No description provided.
|
|
104
|
+
|
|
105
|
+
**Credential required**: *No*
|
|
106
|
+
*/
|
|
107
107
|
let postFederationFollowers = (~body: postFederationFollowersRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postFederationFollowersResponse> => {
|
|
108
108
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postFederationFollowersRequestSchema)
|
|
109
109
|
fetch(
|
|
@@ -136,12 +136,12 @@ type postFederationFollowingResponse = array<MisskeyIoComponentSchemas.Following
|
|
|
136
136
|
let postFederationFollowingResponseSchema = S.array(MisskeyIoComponentSchemas.Following.schema)
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
139
|
+
federation/following
|
|
140
|
+
|
|
141
|
+
No description provided.
|
|
142
|
+
|
|
143
|
+
**Credential required**: *No*
|
|
144
|
+
*/
|
|
145
145
|
let postFederationFollowing = (~body: postFederationFollowingRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postFederationFollowingResponse> => {
|
|
146
146
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postFederationFollowingRequestSchema)
|
|
147
147
|
fetch(
|
|
@@ -188,12 +188,12 @@ type getFederationInstancesResponse = array<MisskeyIoComponentSchemas.Federation
|
|
|
188
188
|
let getFederationInstancesResponseSchema = S.array(MisskeyIoComponentSchemas.FederationInstance.schema)
|
|
189
189
|
|
|
190
190
|
/**
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
191
|
+
federation/instances
|
|
192
|
+
|
|
193
|
+
No description provided.
|
|
194
|
+
|
|
195
|
+
**Credential required**: *No*
|
|
196
|
+
*/
|
|
197
197
|
let getFederationInstances = (~body: getFederationInstancesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<getFederationInstancesResponse> => {
|
|
198
198
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(getFederationInstancesRequestSchema)
|
|
199
199
|
fetch(
|
|
@@ -240,12 +240,12 @@ type postFederationInstancesResponse = array<MisskeyIoComponentSchemas.Federatio
|
|
|
240
240
|
let postFederationInstancesResponseSchema = S.array(MisskeyIoComponentSchemas.FederationInstance.schema)
|
|
241
241
|
|
|
242
242
|
/**
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
243
|
+
federation/instances
|
|
244
|
+
|
|
245
|
+
No description provided.
|
|
246
|
+
|
|
247
|
+
**Credential required**: *No*
|
|
248
|
+
*/
|
|
249
249
|
let postFederationInstances = (~body: postFederationInstancesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postFederationInstancesResponse> => {
|
|
250
250
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postFederationInstancesRequestSchema)
|
|
251
251
|
fetch(
|
|
@@ -272,12 +272,12 @@ type postFederationShowInstanceResponse = option<MisskeyIoComponentSchemas.Feder
|
|
|
272
272
|
let postFederationShowInstanceResponseSchema = S.nullableAsOption(MisskeyIoComponentSchemas.FederationInstance.schema)
|
|
273
273
|
|
|
274
274
|
/**
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
275
|
+
federation/show-instance
|
|
276
|
+
|
|
277
|
+
No description provided.
|
|
278
|
+
|
|
279
|
+
**Credential required**: *No*
|
|
280
|
+
*/
|
|
281
281
|
let postFederationShowInstance = (~body: postFederationShowInstanceRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postFederationShowInstanceResponse> => {
|
|
282
282
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postFederationShowInstanceRequestSchema)
|
|
283
283
|
fetch(
|
|
@@ -314,12 +314,12 @@ let getFederationStatsResponseSchema = S.object(s => {
|
|
|
314
314
|
})
|
|
315
315
|
|
|
316
316
|
/**
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
317
|
+
federation/stats
|
|
318
|
+
|
|
319
|
+
No description provided.
|
|
320
|
+
|
|
321
|
+
**Credential required**: *No*
|
|
322
|
+
*/
|
|
323
323
|
let getFederationStats = (~body: getFederationStatsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<getFederationStatsResponse> => {
|
|
324
324
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(getFederationStatsRequestSchema)
|
|
325
325
|
fetch(
|
|
@@ -356,12 +356,12 @@ let postFederationStatsResponseSchema = S.object(s => {
|
|
|
356
356
|
})
|
|
357
357
|
|
|
358
358
|
/**
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
359
|
+
federation/stats
|
|
360
|
+
|
|
361
|
+
No description provided.
|
|
362
|
+
|
|
363
|
+
**Credential required**: *No*
|
|
364
|
+
*/
|
|
365
365
|
let postFederationStats = (~body: postFederationStatsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postFederationStatsResponse> => {
|
|
366
366
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postFederationStatsRequestSchema)
|
|
367
367
|
fetch(
|
|
@@ -386,12 +386,12 @@ let postFederationUpdateRemoteUserRequestSchema = S.object(s => {
|
|
|
386
386
|
type postFederationUpdateRemoteUserResponse = unit
|
|
387
387
|
|
|
388
388
|
/**
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
389
|
+
federation/update-remote-user
|
|
390
|
+
|
|
391
|
+
No description provided.
|
|
392
|
+
|
|
393
|
+
**Credential required**: *No*
|
|
394
|
+
*/
|
|
395
395
|
let postFederationUpdateRemoteUser = (~body: postFederationUpdateRemoteUserRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postFederationUpdateRemoteUserResponse> => {
|
|
396
396
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postFederationUpdateRemoteUserRequestSchema)
|
|
397
397
|
fetch(
|
|
@@ -424,12 +424,12 @@ type postFederationUsersResponse = array<MisskeyIoComponentSchemas.UserDetailedN
|
|
|
424
424
|
let postFederationUsersResponseSchema = S.array(MisskeyIoComponentSchemas.UserDetailedNotMe.schema)
|
|
425
425
|
|
|
426
426
|
/**
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
427
|
+
federation/users
|
|
428
|
+
|
|
429
|
+
No description provided.
|
|
430
|
+
|
|
431
|
+
**Credential required**: *No*
|
|
432
|
+
*/
|
|
433
433
|
let postFederationUsers = (~body: postFederationUsersRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postFederationUsersResponse> => {
|
|
434
434
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postFederationUsersRequestSchema)
|
|
435
435
|
fetch(
|
|
@@ -26,12 +26,12 @@ type postFlashCreateResponse = MisskeyIoComponentSchemas.Flash.t
|
|
|
26
26
|
let postFlashCreateResponseSchema = MisskeyIoComponentSchemas.Flash.schema
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
flash/create
|
|
30
|
+
|
|
31
|
+
No description provided.
|
|
32
|
+
|
|
33
|
+
**Credential required**: *Yes* / **Permission**: *write:flash*
|
|
34
|
+
*/
|
|
35
35
|
let postFlashCreate = (~body: postFlashCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postFlashCreateResponse> => {
|
|
36
36
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postFlashCreateRequestSchema)
|
|
37
37
|
fetch(
|
|
@@ -60,12 +60,12 @@ type postFlashFeaturedResponse = array<MisskeyIoComponentSchemas.Flash.t>
|
|
|
60
60
|
let postFlashFeaturedResponseSchema = S.array(MisskeyIoComponentSchemas.Flash.schema)
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
63
|
+
flash/featured
|
|
64
|
+
|
|
65
|
+
No description provided.
|
|
66
|
+
|
|
67
|
+
**Credential required**: *No*
|
|
68
|
+
*/
|
|
69
69
|
let postFlashFeatured = (~body: postFlashFeaturedRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postFlashFeaturedResponse> => {
|
|
70
70
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postFlashFeaturedRequestSchema)
|
|
71
71
|
fetch(
|
|
@@ -90,12 +90,12 @@ let postFlashLikeRequestSchema = S.object(s => {
|
|
|
90
90
|
type postFlashLikeResponse = unit
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
93
|
+
flash/like
|
|
94
|
+
|
|
95
|
+
No description provided.
|
|
96
|
+
|
|
97
|
+
**Credential required**: *Yes* / **Permission**: *write:flash-likes*
|
|
98
|
+
*/
|
|
99
99
|
let postFlashLike = (~body: postFlashLikeRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postFlashLikeResponse> => {
|
|
100
100
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postFlashLikeRequestSchema)
|
|
101
101
|
fetch(
|
|
@@ -120,12 +120,12 @@ let postFlashUnlikeRequestSchema = S.object(s => {
|
|
|
120
120
|
type postFlashUnlikeResponse = unit
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
123
|
+
flash/unlike
|
|
124
|
+
|
|
125
|
+
No description provided.
|
|
126
|
+
|
|
127
|
+
**Credential required**: *Yes* / **Permission**: *write:flash-likes*
|
|
128
|
+
*/
|
|
129
129
|
let postFlashUnlike = (~body: postFlashUnlikeRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postFlashUnlikeResponse> => {
|
|
130
130
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postFlashUnlikeRequestSchema)
|
|
131
131
|
fetch(
|
|
@@ -160,12 +160,12 @@ let postFlashUpdateRequestSchema = S.object(s => {
|
|
|
160
160
|
type postFlashUpdateResponse = unit
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
163
|
+
flash/update
|
|
164
|
+
|
|
165
|
+
No description provided.
|
|
166
|
+
|
|
167
|
+
**Credential required**: *Yes* / **Permission**: *write:flash*
|
|
168
|
+
*/
|
|
169
169
|
let postFlashUpdate = (~body: postFlashUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postFlashUpdateResponse> => {
|
|
170
170
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postFlashUpdateRequestSchema)
|
|
171
171
|
fetch(
|
|
@@ -16,12 +16,12 @@ let postFlashDeleteRequestSchema = S.object(s => {
|
|
|
16
16
|
type postFlashDeleteResponse = unit
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
flash/delete
|
|
20
|
+
|
|
21
|
+
No description provided.
|
|
22
|
+
|
|
23
|
+
**Credential required**: *Yes* / **Permission**: *write:flash*
|
|
24
|
+
*/
|
|
25
25
|
let postFlashDelete = (~body: postFlashDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postFlashDeleteResponse> => {
|
|
26
26
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postFlashDeleteRequestSchema)
|
|
27
27
|
fetch(
|
|
@@ -48,12 +48,12 @@ type postFlashShowResponse = MisskeyIoComponentSchemas.Flash.t
|
|
|
48
48
|
let postFlashShowResponseSchema = MisskeyIoComponentSchemas.Flash.schema
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
51
|
+
flash/show
|
|
52
|
+
|
|
53
|
+
No description provided.
|
|
54
|
+
|
|
55
|
+
**Credential required**: *No*
|
|
56
|
+
*/
|
|
57
57
|
let postFlashShow = (~body: postFlashShowRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postFlashShowResponse> => {
|
|
58
58
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postFlashShowRequestSchema)
|
|
59
59
|
fetch(
|