summaryrefslogtreecommitdiff
path: root/packages/misskey-js/src
diff options
context:
space:
mode:
authorかっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>2025-06-07 19:36:00 +0900
committerGitHub <noreply@github.com>2025-06-07 19:36:00 +0900
commite2b38edb3a4dc3c04166641aa6d40c057c2ad14e (patch)
tree60448fedfad6001ef08fdb8d480413a61a623dbe /packages/misskey-js/src
parentMerge branch 'develop' of https://github.com/misskey-dev/misskey into develop (diff)
downloadmisskey-e2b38edb3a4dc3c04166641aa6d40c057c2ad14e.tar.gz
misskey-e2b38edb3a4dc3c04166641aa6d40c057c2ad14e.tar.bz2
misskey-e2b38edb3a4dc3c04166641aa6d40c057c2ad14e.zip
deps(misskey-js): Update openapi-typescript to v7 (#15491)
* deps(misskey-js): Update openapi-typescript to v7 * update openapi-typescript to v7.7.3 * generate misskey-js types * bump openapi-typescript * enhance: 生成物からnever型を除去するように * regenerate api types * refactor: 処理共通化 --------- Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
Diffstat (limited to 'packages/misskey-js/src')
-rw-r--r--packages/misskey-js/src/api.ts2
-rw-r--r--packages/misskey-js/src/autogen/types.ts63081
-rw-r--r--packages/misskey-js/src/entities.ts6
3 files changed, 33965 insertions, 29124 deletions
diff --git a/packages/misskey-js/src/api.ts b/packages/misskey-js/src/api.ts
index e663d712a7..437518f60b 100644
--- a/packages/misskey-js/src/api.ts
+++ b/packages/misskey-js/src/api.ts
@@ -77,7 +77,7 @@ export class APIClient {
if (mediaType === 'application/json') {
payload = JSON.stringify({
- ...params,
+ ...(this.assertIsRecord(params) ? params : {}),
i: credential !== undefined ? credential : this.credential,
});
} else if (mediaType === 'multipart/form-data') {
diff --git a/packages/misskey-js/src/autogen/types.ts b/packages/misskey-js/src/autogen/types.ts
index 8ded08a666..a4578bba94 100644
--- a/packages/misskey-js/src/autogen/types.ts
+++ b/packages/misskey-js/src/autogen/types.ts
@@ -1,30665 +1,35502 @@
/* eslint @typescript-eslint/naming-convention: 0 */
/* eslint @typescript-eslint/no-explicit-any: 0 */
-/**
- * This file was auto-generated by openapi-typescript.
- * Do not make direct changes to the file.
- */
-
-/** OneOf type helpers */
-type Without<T, U> = { [P in Exclude<keyof T, keyof U>]?: never };
-type XOR<T, U> = (T | U) extends object ? (Without<T, U> & U) | (Without<U, T> & T) : T | U;
-type OneOf<T extends any[]> = T extends [infer Only] ? Only : T extends [infer A, infer B, ...infer Rest] ? OneOf<[XOR<A, B>, ...Rest]> : never;
-
export type paths = {
- '/admin/abuse-report/notification-recipient/create': {
- /**
- * admin/abuse-report/notification-recipient/create
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *write:admin:abuse-report:notification-recipient*
- */
- post: operations['admin___abuse-report___notification-recipient___create'];
- };
- '/admin/abuse-report/notification-recipient/delete': {
- /**
- * admin/abuse-report/notification-recipient/delete
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *write:admin:abuse-report:notification-recipient*
- */
- post: operations['admin___abuse-report___notification-recipient___delete'];
- };
- '/admin/abuse-report/notification-recipient/list': {
- /**
- * admin/abuse-report/notification-recipient/list
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *read:admin:abuse-report:notification-recipient*
- */
- post: operations['admin___abuse-report___notification-recipient___list'];
- };
- '/admin/abuse-report/notification-recipient/show': {
- /**
- * admin/abuse-report/notification-recipient/show
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *read:admin:abuse-report:notification-recipient*
- */
- post: operations['admin___abuse-report___notification-recipient___show'];
- };
- '/admin/abuse-report/notification-recipient/update': {
- /**
- * admin/abuse-report/notification-recipient/update
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *write:admin:abuse-report:notification-recipient*
- */
- post: operations['admin___abuse-report___notification-recipient___update'];
- };
- '/admin/abuse-user-reports': {
- /**
- * admin/abuse-user-reports
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:abuse-user-reports*
- */
- post: operations['admin___abuse-user-reports'];
- };
- '/admin/accounts/create': {
- /**
- * admin/accounts/create
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['admin___accounts___create'];
- };
- '/admin/accounts/delete': {
- /**
- * admin/accounts/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:account*
- */
- post: operations['admin___accounts___delete'];
- };
- '/admin/accounts/find-by-email': {
- /**
- * admin/accounts/find-by-email
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:account*
- */
- post: operations['admin___accounts___find-by-email'];
- };
- '/admin/ad/create': {
- /**
- * admin/ad/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:ad*
- */
- post: operations['admin___ad___create'];
- };
- '/admin/ad/delete': {
- /**
- * admin/ad/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:ad*
- */
- post: operations['admin___ad___delete'];
- };
- '/admin/ad/list': {
- /**
- * admin/ad/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:ad*
- */
- post: operations['admin___ad___list'];
- };
- '/admin/ad/update': {
- /**
- * admin/ad/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:ad*
- */
- post: operations['admin___ad___update'];
- };
- '/admin/announcements/create': {
- /**
- * admin/announcements/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:announcements*
- */
- post: operations['admin___announcements___create'];
- };
- '/admin/announcements/delete': {
- /**
- * admin/announcements/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:announcements*
- */
- post: operations['admin___announcements___delete'];
- };
- '/admin/announcements/list': {
- /**
- * admin/announcements/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:announcements*
- */
- post: operations['admin___announcements___list'];
- };
- '/admin/announcements/update': {
- /**
- * admin/announcements/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:announcements*
- */
- post: operations['admin___announcements___update'];
- };
- '/admin/avatar-decorations/create': {
- /**
- * admin/avatar-decorations/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:avatar-decorations*
- */
- post: operations['admin___avatar-decorations___create'];
- };
- '/admin/avatar-decorations/delete': {
- /**
- * admin/avatar-decorations/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:avatar-decorations*
- */
- post: operations['admin___avatar-decorations___delete'];
- };
- '/admin/avatar-decorations/list': {
- /**
- * admin/avatar-decorations/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:avatar-decorations*
- */
- post: operations['admin___avatar-decorations___list'];
- };
- '/admin/avatar-decorations/update': {
- /**
- * admin/avatar-decorations/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:avatar-decorations*
- */
- post: operations['admin___avatar-decorations___update'];
- };
- '/admin/captcha/current': {
- /**
- * admin/captcha/current
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:meta*
- */
- post: operations['admin___captcha___current'];
- };
- '/admin/captcha/save': {
- /**
- * admin/captcha/save
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:meta*
- */
- post: operations['admin___captcha___save'];
- };
- '/admin/delete-account': {
- /**
- * admin/delete-account
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:delete-account*
- */
- post: operations['admin___delete-account'];
- };
- '/admin/delete-all-files-of-a-user': {
- /**
- * admin/delete-all-files-of-a-user
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:delete-all-files-of-a-user*
- */
- post: operations['admin___delete-all-files-of-a-user'];
- };
- '/admin/drive/clean-remote-files': {
- /**
- * admin/drive/clean-remote-files
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:drive*
- */
- post: operations['admin___drive___clean-remote-files'];
- };
- '/admin/drive/cleanup': {
- /**
- * admin/drive/cleanup
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:drive*
- */
- post: operations['admin___drive___cleanup'];
- };
- '/admin/drive/files': {
- /**
- * admin/drive/files
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:drive*
- */
- post: operations['admin___drive___files'];
- };
- '/admin/drive/show-file': {
- /**
- * admin/drive/show-file
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:drive*
- */
- post: operations['admin___drive___show-file'];
- };
- '/admin/emoji/add': {
- /**
- * admin/emoji/add
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
- */
- post: operations['admin___emoji___add'];
- };
- '/admin/emoji/add-aliases-bulk': {
- /**
- * admin/emoji/add-aliases-bulk
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
- */
- post: operations['admin___emoji___add-aliases-bulk'];
- };
- '/admin/emoji/copy': {
- /**
- * admin/emoji/copy
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
- */
- post: operations['admin___emoji___copy'];
- };
- '/admin/emoji/delete': {
- /**
- * admin/emoji/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
- */
- post: operations['admin___emoji___delete'];
- };
- '/admin/emoji/delete-bulk': {
- /**
- * admin/emoji/delete-bulk
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
- */
- post: operations['admin___emoji___delete-bulk'];
- };
- '/admin/emoji/import-zip': {
- /**
- * admin/emoji/import-zip
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['admin___emoji___import-zip'];
- };
- '/admin/emoji/list': {
- /**
- * admin/emoji/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:emoji*
- */
- post: operations['admin___emoji___list'];
- };
- '/admin/emoji/list-remote': {
- /**
- * admin/emoji/list-remote
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:emoji*
- */
- post: operations['admin___emoji___list-remote'];
- };
- '/admin/emoji/remove-aliases-bulk': {
- /**
- * admin/emoji/remove-aliases-bulk
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
- */
- post: operations['admin___emoji___remove-aliases-bulk'];
- };
- '/admin/emoji/set-aliases-bulk': {
- /**
- * admin/emoji/set-aliases-bulk
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
- */
- post: operations['admin___emoji___set-aliases-bulk'];
- };
- '/admin/emoji/set-category-bulk': {
- /**
- * admin/emoji/set-category-bulk
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
- */
- post: operations['admin___emoji___set-category-bulk'];
- };
- '/admin/emoji/set-license-bulk': {
- /**
- * admin/emoji/set-license-bulk
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
- */
- post: operations['admin___emoji___set-license-bulk'];
- };
- '/admin/emoji/update': {
- /**
- * admin/emoji/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
- */
- post: operations['admin___emoji___update'];
- };
- '/admin/federation/delete-all-files': {
- /**
- * admin/federation/delete-all-files
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:federation*
- */
- post: operations['admin___federation___delete-all-files'];
- };
- '/admin/federation/refresh-remote-instance-metadata': {
- /**
- * admin/federation/refresh-remote-instance-metadata
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:federation*
- */
- post: operations['admin___federation___refresh-remote-instance-metadata'];
- };
- '/admin/federation/remove-all-following': {
- /**
- * admin/federation/remove-all-following
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:federation*
- */
- post: operations['admin___federation___remove-all-following'];
- };
- '/admin/federation/update-instance': {
- /**
- * admin/federation/update-instance
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:federation*
- */
- post: operations['admin___federation___update-instance'];
- };
- '/admin/forward-abuse-user-report': {
- /**
- * admin/forward-abuse-user-report
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:resolve-abuse-user-report*
- */
- post: operations['admin___forward-abuse-user-report'];
- };
- '/admin/get-index-stats': {
- /**
- * admin/get-index-stats
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:index-stats*
- */
- post: operations['admin___get-index-stats'];
- };
- '/admin/get-table-stats': {
- /**
- * admin/get-table-stats
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:table-stats*
- */
- post: operations['admin___get-table-stats'];
- };
- '/admin/get-user-ips': {
- /**
- * admin/get-user-ips
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:user-ips*
- */
- post: operations['admin___get-user-ips'];
- };
- '/admin/invite/create': {
- /**
- * admin/invite/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:invite-codes*
- */
- post: operations['admin___invite___create'];
- };
- '/admin/invite/list': {
- /**
- * admin/invite/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:invite-codes*
- */
- post: operations['admin___invite___list'];
- };
- '/admin/meta': {
- /**
- * admin/meta
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:meta*
- */
- post: operations['admin___meta'];
- };
- '/admin/promo/create': {
- /**
- * admin/promo/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:promo*
- */
- post: operations['admin___promo___create'];
- };
- '/admin/queue/clear': {
- /**
- * admin/queue/clear
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:queue*
- */
- post: operations['admin___queue___clear'];
- };
- '/admin/queue/deliver-delayed': {
- /**
- * admin/queue/deliver-delayed
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:queue*
- */
- post: operations['admin___queue___deliver-delayed'];
- };
- '/admin/queue/inbox-delayed': {
- /**
- * admin/queue/inbox-delayed
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:queue*
- */
- post: operations['admin___queue___inbox-delayed'];
- };
- '/admin/queue/jobs': {
- /**
- * admin/queue/jobs
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:queue*
- */
- post: operations['admin___queue___jobs'];
- };
- '/admin/queue/promote-jobs': {
- /**
- * admin/queue/promote-jobs
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:queue*
- */
- post: operations['admin___queue___promote-jobs'];
- };
- '/admin/queue/queue-stats': {
- /**
- * admin/queue/queue-stats
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:queue*
- */
- post: operations['admin___queue___queue-stats'];
- };
- '/admin/queue/queues': {
- /**
- * admin/queue/queues
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:queue*
- */
- post: operations['admin___queue___queues'];
- };
- '/admin/queue/remove-job': {
- /**
- * admin/queue/remove-job
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:queue*
- */
- post: operations['admin___queue___remove-job'];
- };
- '/admin/queue/retry-job': {
- /**
- * admin/queue/retry-job
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:queue*
- */
- post: operations['admin___queue___retry-job'];
- };
- '/admin/queue/show-job': {
- /**
- * admin/queue/show-job
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:queue*
- */
- post: operations['admin___queue___show-job'];
- };
- '/admin/queue/stats': {
- /**
- * admin/queue/stats
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:emoji*
- */
- post: operations['admin___queue___stats'];
- };
- '/admin/relays/add': {
- /**
- * admin/relays/add
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:relays*
- */
- post: operations['admin___relays___add'];
- };
- '/admin/relays/list': {
- /**
- * admin/relays/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:relays*
- */
- post: operations['admin___relays___list'];
- };
- '/admin/relays/remove': {
- /**
- * admin/relays/remove
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:relays*
- */
- post: operations['admin___relays___remove'];
- };
- '/admin/reset-password': {
- /**
- * admin/reset-password
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:reset-password*
- */
- post: operations['admin___reset-password'];
- };
- '/admin/resolve-abuse-user-report': {
- /**
- * admin/resolve-abuse-user-report
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:resolve-abuse-user-report*
- */
- post: operations['admin___resolve-abuse-user-report'];
- };
- '/admin/roles/assign': {
- /**
- * admin/roles/assign
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:roles*
- */
- post: operations['admin___roles___assign'];
- };
- '/admin/roles/create': {
- /**
- * admin/roles/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:roles*
- */
- post: operations['admin___roles___create'];
- };
- '/admin/roles/delete': {
- /**
- * admin/roles/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:roles*
- */
- post: operations['admin___roles___delete'];
- };
- '/admin/roles/list': {
- /**
- * admin/roles/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:roles*
- */
- post: operations['admin___roles___list'];
- };
- '/admin/roles/show': {
- /**
- * admin/roles/show
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:roles*
- */
- post: operations['admin___roles___show'];
- };
- '/admin/roles/unassign': {
- /**
- * admin/roles/unassign
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:roles*
- */
- post: operations['admin___roles___unassign'];
- };
- '/admin/roles/update': {
- /**
- * admin/roles/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:roles*
- */
- post: operations['admin___roles___update'];
- };
- '/admin/roles/update-default-policies': {
- /**
- * admin/roles/update-default-policies
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:roles*
- */
- post: operations['admin___roles___update-default-policies'];
- };
- '/admin/roles/users': {
- /**
- * admin/roles/users
- * @description No description provided.
- *
- * **Credential required**: *No* / **Permission**: *read:admin:roles*
- */
- post: operations['admin___roles___users'];
- };
- '/admin/send-email': {
- /**
- * admin/send-email
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:send-email*
- */
- post: operations['admin___send-email'];
- };
- '/admin/server-info': {
- /**
- * admin/server-info
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:server-info*
- */
- post: operations['admin___server-info'];
- };
- '/admin/show-moderation-logs': {
- /**
- * admin/show-moderation-logs
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:show-moderation-log*
- */
- post: operations['admin___show-moderation-logs'];
- };
- '/admin/show-user': {
- /**
- * admin/show-user
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:show-user*
- */
- post: operations['admin___show-user'];
- };
- '/admin/show-users': {
- /**
- * admin/show-users
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:show-user*
- */
- post: operations['admin___show-users'];
- };
- '/admin/suspend-user': {
- /**
- * admin/suspend-user
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:suspend-user*
- */
- post: operations['admin___suspend-user'];
- };
- '/admin/system-webhook/create': {
- /**
- * admin/system-webhook/create
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
- */
- post: operations['admin___system-webhook___create'];
- };
- '/admin/system-webhook/delete': {
- /**
- * admin/system-webhook/delete
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
- */
- post: operations['admin___system-webhook___delete'];
- };
- '/admin/system-webhook/list': {
- /**
- * admin/system-webhook/list
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
- */
- post: operations['admin___system-webhook___list'];
- };
- '/admin/system-webhook/show': {
- /**
- * admin/system-webhook/show
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
- */
- post: operations['admin___system-webhook___show'];
- };
- '/admin/system-webhook/test': {
- /**
- * admin/system-webhook/test
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *read:admin:system-webhook*
- */
- post: operations['admin___system-webhook___test'];
- };
- '/admin/system-webhook/update': {
- /**
- * admin/system-webhook/update
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
- */
- post: operations['admin___system-webhook___update'];
- };
- '/admin/unset-user-avatar': {
- /**
- * admin/unset-user-avatar
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:unset-user-avatar*
- */
- post: operations['admin___unset-user-avatar'];
- };
- '/admin/unset-user-banner': {
- /**
- * admin/unset-user-banner
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:unset-user-banner*
- */
- post: operations['admin___unset-user-banner'];
- };
- '/admin/unsuspend-user': {
- /**
- * admin/unsuspend-user
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:unsuspend-user*
- */
- post: operations['admin___unsuspend-user'];
- };
- '/admin/update-abuse-user-report': {
- /**
- * admin/update-abuse-user-report
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:resolve-abuse-user-report*
- */
- post: operations['admin___update-abuse-user-report'];
- };
- '/admin/update-meta': {
- /**
- * admin/update-meta
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:meta*
- */
- post: operations['admin___update-meta'];
- };
- '/admin/update-proxy-account': {
- /**
- * admin/update-proxy-account
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:account*
- */
- post: operations['admin___update-proxy-account'];
- };
- '/admin/update-user-note': {
- /**
- * admin/update-user-note
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:user-note*
- */
- post: operations['admin___update-user-note'];
- };
- '/announcements': {
- /**
- * announcements
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['announcements'];
- };
- '/announcements/show': {
- /**
- * announcements/show
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['announcements___show'];
- };
- '/antennas/create': {
- /**
- * antennas/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['antennas___create'];
- };
- '/antennas/delete': {
- /**
- * antennas/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['antennas___delete'];
- };
- '/antennas/list': {
- /**
- * antennas/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['antennas___list'];
- };
- '/antennas/notes': {
- /**
- * antennas/notes
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['antennas___notes'];
- };
- '/antennas/show': {
- /**
- * antennas/show
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['antennas___show'];
- };
- '/antennas/update': {
- /**
- * antennas/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['antennas___update'];
- };
- '/ap/get': {
- /**
- * ap/get
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:federation*
- */
- post: operations['ap___get'];
- };
- '/ap/show': {
- /**
- * ap/show
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['ap___show'];
- };
- '/app/create': {
- /**
- * app/create
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['app___create'];
- };
- '/app/show': {
- /**
- * app/show
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['app___show'];
- };
- '/auth/accept': {
- /**
- * auth/accept
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['auth___accept'];
- };
- '/auth/session/generate': {
- /**
- * auth/session/generate
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['auth___session___generate'];
- };
- '/auth/session/show': {
- /**
- * auth/session/show
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['auth___session___show'];
- };
- '/auth/session/userkey': {
- /**
- * auth/session/userkey
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['auth___session___userkey'];
- };
- '/blocking/create': {
- /**
- * blocking/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:blocks*
- */
- post: operations['blocking___create'];
- };
- '/blocking/delete': {
- /**
- * blocking/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:blocks*
- */
- post: operations['blocking___delete'];
- };
- '/blocking/list': {
- /**
- * blocking/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:blocks*
- */
- post: operations['blocking___list'];
- };
- '/bubble-game/ranking': {
- /**
- * bubble-game/ranking
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['bubble-game___ranking'];
- /**
- * bubble-game/ranking
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['bubble-game___ranking'];
- };
- '/bubble-game/register': {
- /**
- * bubble-game/register
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['bubble-game___register'];
- };
- '/channels/create': {
- /**
- * channels/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:channels*
- */
- post: operations['channels___create'];
- };
- '/channels/favorite': {
- /**
- * channels/favorite
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:channels*
- */
- post: operations['channels___favorite'];
- };
- '/channels/featured': {
- /**
- * channels/featured
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['channels___featured'];
- };
- '/channels/follow': {
- /**
- * channels/follow
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:channels*
- */
- post: operations['channels___follow'];
- };
- '/channels/followed': {
- /**
- * channels/followed
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:channels*
- */
- post: operations['channels___followed'];
- };
- '/channels/my-favorites': {
- /**
- * channels/my-favorites
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:channels*
- */
- post: operations['channels___my-favorites'];
- };
- '/channels/owned': {
- /**
- * channels/owned
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:channels*
- */
- post: operations['channels___owned'];
- };
- '/channels/search': {
- /**
- * channels/search
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['channels___search'];
- };
- '/channels/show': {
- /**
- * channels/show
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['channels___show'];
- };
- '/channels/timeline': {
- /**
- * channels/timeline
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['channels___timeline'];
- };
- '/channels/unfavorite': {
- /**
- * channels/unfavorite
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:channels*
- */
- post: operations['channels___unfavorite'];
- };
- '/channels/unfollow': {
- /**
- * channels/unfollow
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:channels*
- */
- post: operations['channels___unfollow'];
- };
- '/channels/update': {
- /**
- * channels/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:channels*
- */
- post: operations['channels___update'];
- };
- '/charts/active-users': {
- /**
- * charts/active-users
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['charts___active-users'];
- /**
- * charts/active-users
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['charts___active-users'];
- };
- '/charts/ap-request': {
- /**
- * charts/ap-request
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['charts___ap-request'];
- /**
- * charts/ap-request
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['charts___ap-request'];
- };
- '/charts/drive': {
- /**
- * charts/drive
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['charts___drive'];
- /**
- * charts/drive
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['charts___drive'];
- };
- '/charts/federation': {
- /**
- * charts/federation
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['charts___federation'];
- /**
- * charts/federation
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['charts___federation'];
- };
- '/charts/instance': {
- /**
- * charts/instance
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['charts___instance'];
- /**
- * charts/instance
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['charts___instance'];
- };
- '/charts/notes': {
- /**
- * charts/notes
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['charts___notes'];
- /**
- * charts/notes
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['charts___notes'];
- };
- '/charts/user/drive': {
- /**
- * charts/user/drive
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['charts___user___drive'];
- /**
- * charts/user/drive
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['charts___user___drive'];
- };
- '/charts/user/following': {
- /**
- * charts/user/following
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['charts___user___following'];
- /**
- * charts/user/following
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['charts___user___following'];
- };
- '/charts/user/notes': {
- /**
- * charts/user/notes
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['charts___user___notes'];
- /**
- * charts/user/notes
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['charts___user___notes'];
- };
- '/charts/user/pv': {
- /**
- * charts/user/pv
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['charts___user___pv'];
- /**
- * charts/user/pv
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['charts___user___pv'];
- };
- '/charts/user/reactions': {
- /**
- * charts/user/reactions
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['charts___user___reactions'];
- /**
- * charts/user/reactions
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['charts___user___reactions'];
- };
- '/charts/users': {
- /**
- * charts/users
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['charts___users'];
- /**
- * charts/users
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['charts___users'];
- };
- '/chat/history': {
- /**
- * chat/history
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:chat*
- */
- post: operations['chat___history'];
- };
- '/chat/messages/create-to-room': {
- /**
- * chat/messages/create-to-room
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- post: operations['chat___messages___create-to-room'];
- };
- '/chat/messages/create-to-user': {
- /**
- * chat/messages/create-to-user
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- post: operations['chat___messages___create-to-user'];
- };
- '/chat/messages/delete': {
- /**
- * chat/messages/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- post: operations['chat___messages___delete'];
- };
- '/chat/messages/react': {
- /**
- * chat/messages/react
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- post: operations['chat___messages___react'];
- };
- '/chat/messages/room-timeline': {
- /**
- * chat/messages/room-timeline
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:chat*
- */
- post: operations['chat___messages___room-timeline'];
- };
- '/chat/messages/search': {
- /**
- * chat/messages/search
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:chat*
- */
- post: operations['chat___messages___search'];
- };
- '/chat/messages/show': {
- /**
- * chat/messages/show
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:chat*
- */
- post: operations['chat___messages___show'];
- };
- '/chat/messages/unreact': {
- /**
- * chat/messages/unreact
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- post: operations['chat___messages___unreact'];
- };
- '/chat/messages/user-timeline': {
- /**
- * chat/messages/user-timeline
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:chat*
- */
- post: operations['chat___messages___user-timeline'];
- };
- '/chat/read-all': {
- /**
- * chat/read-all
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- post: operations['chat___read-all'];
- };
- '/chat/rooms/create': {
- /**
- * chat/rooms/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- post: operations['chat___rooms___create'];
- };
- '/chat/rooms/delete': {
- /**
- * chat/rooms/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- post: operations['chat___rooms___delete'];
- };
- '/chat/rooms/invitations/create': {
- /**
- * chat/rooms/invitations/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- post: operations['chat___rooms___invitations___create'];
- };
- '/chat/rooms/invitations/ignore': {
- /**
- * chat/rooms/invitations/ignore
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- post: operations['chat___rooms___invitations___ignore'];
- };
- '/chat/rooms/invitations/inbox': {
- /**
- * chat/rooms/invitations/inbox
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:chat*
- */
- post: operations['chat___rooms___invitations___inbox'];
- };
- '/chat/rooms/invitations/outbox': {
- /**
- * chat/rooms/invitations/outbox
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:chat*
- */
- post: operations['chat___rooms___invitations___outbox'];
- };
- '/chat/rooms/join': {
- /**
- * chat/rooms/join
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- post: operations['chat___rooms___join'];
- };
- '/chat/rooms/joining': {
- /**
- * chat/rooms/joining
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:chat*
- */
- post: operations['chat___rooms___joining'];
- };
- '/chat/rooms/leave': {
- /**
- * chat/rooms/leave
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- post: operations['chat___rooms___leave'];
- };
- '/chat/rooms/members': {
- /**
- * chat/rooms/members
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- post: operations['chat___rooms___members'];
- };
- '/chat/rooms/mute': {
- /**
- * chat/rooms/mute
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- post: operations['chat___rooms___mute'];
- };
- '/chat/rooms/owned': {
- /**
- * chat/rooms/owned
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:chat*
- */
- post: operations['chat___rooms___owned'];
- };
- '/chat/rooms/show': {
- /**
- * chat/rooms/show
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:chat*
- */
- post: operations['chat___rooms___show'];
- };
- '/chat/rooms/update': {
- /**
- * chat/rooms/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- post: operations['chat___rooms___update'];
- };
- '/clips/add-note': {
- /**
- * clips/add-note
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['clips___add-note'];
- };
- '/clips/create': {
- /**
- * clips/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['clips___create'];
- };
- '/clips/delete': {
- /**
- * clips/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['clips___delete'];
- };
- '/clips/favorite': {
- /**
- * clips/favorite
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:clip-favorite*
- */
- post: operations['clips___favorite'];
- };
- '/clips/list': {
- /**
- * clips/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['clips___list'];
- };
- '/clips/my-favorites': {
- /**
- * clips/my-favorites
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:clip-favorite*
- */
- post: operations['clips___my-favorites'];
- };
- '/clips/notes': {
- /**
- * clips/notes
- * @description No description provided.
- *
- * **Credential required**: *No* / **Permission**: *read:account*
- */
- post: operations['clips___notes'];
- };
- '/clips/remove-note': {
- /**
- * clips/remove-note
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['clips___remove-note'];
- };
- '/clips/show': {
- /**
- * clips/show
- * @description No description provided.
- *
- * **Credential required**: *No* / **Permission**: *read:account*
- */
- post: operations['clips___show'];
- };
- '/clips/unfavorite': {
- /**
- * clips/unfavorite
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:clip-favorite*
- */
- post: operations['clips___unfavorite'];
- };
- '/clips/update': {
- /**
- * clips/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['clips___update'];
- };
- '/drive': {
- /**
- * drive
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- post: operations['drive'];
- };
- '/drive/files': {
- /**
- * drive/files
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- post: operations['drive___files'];
- };
- '/drive/files/attached-notes': {
- /**
- * drive/files/attached-notes
- * @description Find the notes to which the given file is attached.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- post: operations['drive___files___attached-notes'];
- };
- '/drive/files/check-existence': {
- /**
- * drive/files/check-existence
- * @description Check if a given file exists.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- post: operations['drive___files___check-existence'];
- };
- '/drive/files/create': {
- /**
- * drive/files/create
- * @description Upload a new drive file.
- *
- * **Credential required**: *Yes* / **Permission**: *write:drive*
- */
- post: operations['drive___files___create'];
- };
- '/drive/files/delete': {
- /**
- * drive/files/delete
- * @description Delete an existing drive file.
- *
- * **Credential required**: *Yes* / **Permission**: *write:drive*
- */
- post: operations['drive___files___delete'];
- };
- '/drive/files/find': {
- /**
- * drive/files/find
- * @description Search for a drive file by the given parameters.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- post: operations['drive___files___find'];
- };
- '/drive/files/find-by-hash': {
- /**
- * drive/files/find-by-hash
- * @description Search for a drive file by a hash of the contents.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- post: operations['drive___files___find-by-hash'];
- };
- '/drive/files/move-bulk': {
- /**
- * drive/files/move-bulk
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:drive*
- */
- post: operations['drive___files___move-bulk'];
- };
- '/drive/files/show': {
- /**
- * drive/files/show
- * @description Show the properties of a drive file.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- post: operations['drive___files___show'];
- };
- '/drive/files/update': {
- /**
- * drive/files/update
- * @description Update the properties of a drive file.
- *
- * **Credential required**: *Yes* / **Permission**: *write:drive*
- */
- post: operations['drive___files___update'];
- };
- '/drive/files/upload-from-url': {
- /**
- * drive/files/upload-from-url
- * @description Request the server to download a new drive file from the specified URL.
- *
- * **Credential required**: *Yes* / **Permission**: *write:drive*
- */
- post: operations['drive___files___upload-from-url'];
- };
- '/drive/folders': {
- /**
- * drive/folders
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- post: operations['drive___folders'];
- };
- '/drive/folders/create': {
- /**
- * drive/folders/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:drive*
- */
- post: operations['drive___folders___create'];
- };
- '/drive/folders/delete': {
- /**
- * drive/folders/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:drive*
- */
- post: operations['drive___folders___delete'];
- };
- '/drive/folders/find': {
- /**
- * drive/folders/find
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- post: operations['drive___folders___find'];
- };
- '/drive/folders/show': {
- /**
- * drive/folders/show
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- post: operations['drive___folders___show'];
- };
- '/drive/folders/update': {
- /**
- * drive/folders/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:drive*
- */
- post: operations['drive___folders___update'];
- };
- '/drive/stream': {
- /**
- * drive/stream
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- post: operations['drive___stream'];
- };
- '/email-address/available': {
- /**
- * email-address/available
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['email-address___available'];
- };
- '/emoji': {
- /**
- * emoji
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['emoji'];
- /**
- * emoji
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['emoji'];
- };
- '/emojis': {
- /**
- * emojis
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['emojis'];
- /**
- * emojis
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['emojis'];
- };
- '/endpoint': {
- /**
- * endpoint
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['endpoint'];
- };
- '/endpoints': {
- /**
- * endpoints
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['endpoints'];
- };
- '/export-custom-emojis': {
- /**
- * export-custom-emojis
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['export-custom-emojis'];
- };
- '/federation/followers': {
- /**
- * federation/followers
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['federation___followers'];
- };
- '/federation/following': {
- /**
- * federation/following
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['federation___following'];
- };
- '/federation/instances': {
- /**
- * federation/instances
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['federation___instances'];
- /**
- * federation/instances
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['federation___instances'];
- };
- '/federation/show-instance': {
- /**
- * federation/show-instance
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['federation___show-instance'];
- };
- '/federation/stats': {
- /**
- * federation/stats
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['federation___stats'];
- /**
- * federation/stats
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['federation___stats'];
- };
- '/federation/update-remote-user': {
- /**
- * federation/update-remote-user
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['federation___update-remote-user'];
- };
- '/federation/users': {
- /**
- * federation/users
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['federation___users'];
- };
- '/fetch-external-resources': {
- /**
- * fetch-external-resources
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['fetch-external-resources'];
- };
- '/fetch-rss': {
- /**
- * fetch-rss
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['fetch-rss'];
- /**
- * fetch-rss
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['fetch-rss'];
- };
- '/flash/create': {
- /**
- * flash/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:flash*
- */
- post: operations['flash___create'];
- };
- '/flash/delete': {
- /**
- * flash/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:flash*
- */
- post: operations['flash___delete'];
- };
- '/flash/featured': {
- /**
- * flash/featured
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['flash___featured'];
- };
- '/flash/like': {
- /**
- * flash/like
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:flash-likes*
- */
- post: operations['flash___like'];
- };
- '/flash/my': {
- /**
- * flash/my
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:flash*
- */
- post: operations['flash___my'];
- };
- '/flash/my-likes': {
- /**
- * flash/my-likes
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:flash-likes*
- */
- post: operations['flash___my-likes'];
- };
- '/flash/show': {
- /**
- * flash/show
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['flash___show'];
- };
- '/flash/unlike': {
- /**
- * flash/unlike
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:flash-likes*
- */
- post: operations['flash___unlike'];
- };
- '/flash/update': {
- /**
- * flash/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:flash*
- */
- post: operations['flash___update'];
- };
- '/following/create': {
- /**
- * following/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:following*
- */
- post: operations['following___create'];
- };
- '/following/delete': {
- /**
- * following/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:following*
- */
- post: operations['following___delete'];
- };
- '/following/invalidate': {
- /**
- * following/invalidate
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:following*
- */
- post: operations['following___invalidate'];
- };
- '/following/requests/accept': {
- /**
- * following/requests/accept
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:following*
- */
- post: operations['following___requests___accept'];
- };
- '/following/requests/cancel': {
- /**
- * following/requests/cancel
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:following*
- */
- post: operations['following___requests___cancel'];
- };
- '/following/requests/list': {
- /**
- * following/requests/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:following*
- */
- post: operations['following___requests___list'];
- };
- '/following/requests/reject': {
- /**
- * following/requests/reject
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:following*
- */
- post: operations['following___requests___reject'];
- };
- '/following/requests/sent': {
- /**
- * following/requests/sent
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:following*
- */
- post: operations['following___requests___sent'];
- };
- '/following/update': {
- /**
- * following/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:following*
- */
- post: operations['following___update'];
- };
- '/following/update-all': {
- /**
- * following/update-all
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:following*
- */
- post: operations['following___update-all'];
- };
- '/gallery/featured': {
- /**
- * gallery/featured
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['gallery___featured'];
- };
- '/gallery/popular': {
- /**
- * gallery/popular
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['gallery___popular'];
- };
- '/gallery/posts': {
- /**
- * gallery/posts
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['gallery___posts'];
- };
- '/gallery/posts/create': {
- /**
- * gallery/posts/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:gallery*
- */
- post: operations['gallery___posts___create'];
- };
- '/gallery/posts/delete': {
- /**
- * gallery/posts/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:gallery*
- */
- post: operations['gallery___posts___delete'];
- };
- '/gallery/posts/like': {
- /**
- * gallery/posts/like
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:gallery-likes*
- */
- post: operations['gallery___posts___like'];
- };
- '/gallery/posts/show': {
- /**
- * gallery/posts/show
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['gallery___posts___show'];
- };
- '/gallery/posts/unlike': {
- /**
- * gallery/posts/unlike
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:gallery-likes*
- */
- post: operations['gallery___posts___unlike'];
- };
- '/gallery/posts/update': {
- /**
- * gallery/posts/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:gallery*
- */
- post: operations['gallery___posts___update'];
- };
- '/get-avatar-decorations': {
- /**
- * get-avatar-decorations
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['get-avatar-decorations'];
- };
- '/get-online-users-count': {
- /**
- * get-online-users-count
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['get-online-users-count'];
- /**
- * get-online-users-count
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['get-online-users-count'];
- };
- '/hashtags/list': {
- /**
- * hashtags/list
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['hashtags___list'];
- };
- '/hashtags/search': {
- /**
- * hashtags/search
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['hashtags___search'];
- };
- '/hashtags/show': {
- /**
- * hashtags/show
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['hashtags___show'];
- };
- '/hashtags/trend': {
- /**
- * hashtags/trend
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['hashtags___trend'];
- /**
- * hashtags/trend
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['hashtags___trend'];
- };
- '/hashtags/users': {
- /**
- * hashtags/users
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['hashtags___users'];
- };
- '/i': {
- /**
- * i
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['i'];
- };
- '/i/2fa/done': {
- /**
- * i/2fa/done
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___2fa___done'];
- };
- '/i/2fa/key-done': {
- /**
- * i/2fa/key-done
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___2fa___key-done'];
- };
- '/i/2fa/password-less': {
- /**
- * i/2fa/password-less
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___2fa___password-less'];
- };
- '/i/2fa/register': {
- /**
- * i/2fa/register
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___2fa___register'];
- };
- '/i/2fa/register-key': {
- /**
- * i/2fa/register-key
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___2fa___register-key'];
- };
- '/i/2fa/remove-key': {
- /**
- * i/2fa/remove-key
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___2fa___remove-key'];
- };
- '/i/2fa/unregister': {
- /**
- * i/2fa/unregister
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___2fa___unregister'];
- };
- '/i/2fa/update-key': {
- /**
- * i/2fa/update-key
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___2fa___update-key'];
- };
- '/i/apps': {
- /**
- * i/apps
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___apps'];
- };
- '/i/authorized-apps': {
- /**
- * i/authorized-apps
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___authorized-apps'];
- };
- '/i/change-password': {
- /**
- * i/change-password
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___change-password'];
- };
- '/i/claim-achievement': {
- /**
- * i/claim-achievement
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['i___claim-achievement'];
- };
- '/i/delete-account': {
- /**
- * i/delete-account
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___delete-account'];
- };
- '/i/export-antennas': {
- /**
- * i/export-antennas
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___export-antennas'];
- };
- '/i/export-blocking': {
- /**
- * i/export-blocking
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___export-blocking'];
- };
- '/i/export-clips': {
- /**
- * i/export-clips
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___export-clips'];
- };
- '/i/export-favorites': {
- /**
- * i/export-favorites
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___export-favorites'];
- };
- '/i/export-following': {
- /**
- * i/export-following
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___export-following'];
- };
- '/i/export-mute': {
- /**
- * i/export-mute
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___export-mute'];
- };
- '/i/export-notes': {
- /**
- * i/export-notes
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___export-notes'];
- };
- '/i/export-user-lists': {
- /**
- * i/export-user-lists
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___export-user-lists'];
- };
- '/i/favorites': {
- /**
- * i/favorites
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:favorites*
- */
- post: operations['i___favorites'];
- };
- '/i/gallery/likes': {
- /**
- * i/gallery/likes
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:gallery-likes*
- */
- post: operations['i___gallery___likes'];
- };
- '/i/gallery/posts': {
- /**
- * i/gallery/posts
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:gallery*
- */
- post: operations['i___gallery___posts'];
- };
- '/i/import-antennas': {
- /**
- * i/import-antennas
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___import-antennas'];
- };
- '/i/import-blocking': {
- /**
- * i/import-blocking
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___import-blocking'];
- };
- '/i/import-following': {
- /**
- * i/import-following
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___import-following'];
- };
- '/i/import-muting': {
- /**
- * i/import-muting
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___import-muting'];
- };
- '/i/import-user-lists': {
- /**
- * i/import-user-lists
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___import-user-lists'];
- };
- '/i/move': {
- /**
- * i/move
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___move'];
- };
- '/i/notifications': {
- /**
- * i/notifications
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:notifications*
- */
- post: operations['i___notifications'];
- };
- '/i/notifications-grouped': {
- /**
- * i/notifications-grouped
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:notifications*
- */
- post: operations['i___notifications-grouped'];
- };
- '/i/page-likes': {
- /**
- * i/page-likes
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:page-likes*
- */
- post: operations['i___page-likes'];
- };
- '/i/pages': {
- /**
- * i/pages
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:pages*
- */
- post: operations['i___pages'];
- };
- '/i/pin': {
- /**
- * i/pin
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['i___pin'];
- };
- '/i/read-announcement': {
- /**
- * i/read-announcement
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['i___read-announcement'];
- };
- '/i/regenerate-token': {
- /**
- * i/regenerate-token
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___regenerate-token'];
- };
- '/i/registry/get': {
- /**
- * i/registry/get
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['i___registry___get'];
- };
- '/i/registry/get-all': {
- /**
- * i/registry/get-all
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['i___registry___get-all'];
- };
- '/i/registry/get-detail': {
- /**
- * i/registry/get-detail
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['i___registry___get-detail'];
- };
- '/i/registry/keys': {
- /**
- * i/registry/keys
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['i___registry___keys'];
- };
- '/i/registry/keys-with-type': {
- /**
- * i/registry/keys-with-type
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['i___registry___keys-with-type'];
- };
- '/i/registry/remove': {
- /**
- * i/registry/remove
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['i___registry___remove'];
- };
- '/i/registry/scopes-with-domain': {
- /**
- * i/registry/scopes-with-domain
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___registry___scopes-with-domain'];
- };
- '/i/registry/set': {
- /**
- * i/registry/set
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['i___registry___set'];
- };
- '/i/revoke-token': {
- /**
- * i/revoke-token
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___revoke-token'];
- };
- '/i/signin-history': {
- /**
- * i/signin-history
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___signin-history'];
- };
- '/i/unpin': {
- /**
- * i/unpin
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['i___unpin'];
- };
- '/i/update': {
- /**
- * i/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['i___update'];
- };
- '/i/update-email': {
- /**
- * i/update-email
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['i___update-email'];
- };
- '/i/webhooks/create': {
- /**
- * i/webhooks/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['i___webhooks___create'];
- };
- '/i/webhooks/delete': {
- /**
- * i/webhooks/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['i___webhooks___delete'];
- };
- '/i/webhooks/list': {
- /**
- * i/webhooks/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['i___webhooks___list'];
- };
- '/i/webhooks/show': {
- /**
- * i/webhooks/show
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['i___webhooks___show'];
- };
- '/i/webhooks/test': {
- /**
- * i/webhooks/test
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['i___webhooks___test'];
- };
- '/i/webhooks/update': {
- /**
- * i/webhooks/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['i___webhooks___update'];
- };
- '/invite/create': {
- /**
- * invite/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:invite-codes*
- */
- post: operations['invite___create'];
- };
- '/invite/delete': {
- /**
- * invite/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:invite-codes*
- */
- post: operations['invite___delete'];
- };
- '/invite/limit': {
- /**
- * invite/limit
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:invite-codes*
- */
- post: operations['invite___limit'];
- };
- '/invite/list': {
- /**
- * invite/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:invite-codes*
- */
- post: operations['invite___list'];
- };
- '/meta': {
- /**
- * meta
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['meta'];
- };
- '/miauth/gen-token': {
- /**
- * miauth/gen-token
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['miauth___gen-token'];
- };
- '/mute/create': {
- /**
- * mute/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:mutes*
- */
- post: operations['mute___create'];
- };
- '/mute/delete': {
- /**
- * mute/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:mutes*
- */
- post: operations['mute___delete'];
- };
- '/mute/list': {
- /**
- * mute/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:mutes*
- */
- post: operations['mute___list'];
- };
- '/my/apps': {
- /**
- * my/apps
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['my___apps'];
- };
- '/notes': {
- /**
- * notes
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['notes'];
- };
- '/notes/children': {
- /**
- * notes/children
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['notes___children'];
- };
- '/notes/clips': {
- /**
- * notes/clips
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['notes___clips'];
- };
- '/notes/conversation': {
- /**
- * notes/conversation
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['notes___conversation'];
- };
- '/notes/create': {
- /**
- * notes/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:notes*
- */
- post: operations['notes___create'];
- };
- '/notes/delete': {
- /**
- * notes/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:notes*
- */
- post: operations['notes___delete'];
- };
- '/notes/favorites/create': {
- /**
- * notes/favorites/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:favorites*
- */
- post: operations['notes___favorites___create'];
- };
- '/notes/favorites/delete': {
- /**
- * notes/favorites/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:favorites*
- */
- post: operations['notes___favorites___delete'];
- };
- '/notes/featured': {
- /**
- * notes/featured
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['notes___featured'];
- /**
- * notes/featured
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['notes___featured'];
- };
- '/notes/global-timeline': {
- /**
- * notes/global-timeline
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['notes___global-timeline'];
- };
- '/notes/hybrid-timeline': {
- /**
- * notes/hybrid-timeline
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['notes___hybrid-timeline'];
- };
- '/notes/local-timeline': {
- /**
- * notes/local-timeline
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['notes___local-timeline'];
- };
- '/notes/mentions': {
- /**
- * notes/mentions
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['notes___mentions'];
- };
- '/notes/polls/recommendation': {
- /**
- * notes/polls/recommendation
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['notes___polls___recommendation'];
- };
- '/notes/polls/vote': {
- /**
- * notes/polls/vote
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:votes*
- */
- post: operations['notes___polls___vote'];
- };
- '/notes/reactions': {
- /**
- * notes/reactions
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['notes___reactions'];
- /**
- * notes/reactions
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['notes___reactions'];
- };
- '/notes/reactions/create': {
- /**
- * notes/reactions/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:reactions*
- */
- post: operations['notes___reactions___create'];
- };
- '/notes/reactions/delete': {
- /**
- * notes/reactions/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:reactions*
- */
- post: operations['notes___reactions___delete'];
- };
- '/notes/renotes': {
- /**
- * notes/renotes
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['notes___renotes'];
- };
- '/notes/replies': {
- /**
- * notes/replies
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['notes___replies'];
- };
- '/notes/search': {
- /**
- * notes/search
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['notes___search'];
- };
- '/notes/search-by-tag': {
- /**
- * notes/search-by-tag
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['notes___search-by-tag'];
- };
- '/notes/show': {
- /**
- * notes/show
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['notes___show'];
- };
- '/notes/show-partial-bulk': {
- /**
- * notes/show-partial-bulk
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['notes___show-partial-bulk'];
- };
- '/notes/state': {
- /**
- * notes/state
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['notes___state'];
- };
- '/notes/thread-muting/create': {
- /**
- * notes/thread-muting/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['notes___thread-muting___create'];
- };
- '/notes/thread-muting/delete': {
- /**
- * notes/thread-muting/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['notes___thread-muting___delete'];
- };
- '/notes/timeline': {
- /**
- * notes/timeline
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['notes___timeline'];
- };
- '/notes/translate': {
- /**
- * notes/translate
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['notes___translate'];
- };
- '/notes/unrenote': {
- /**
- * notes/unrenote
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:notes*
- */
- post: operations['notes___unrenote'];
- };
- '/notes/user-list-timeline': {
- /**
- * notes/user-list-timeline
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['notes___user-list-timeline'];
- };
- '/notifications/create': {
- /**
- * notifications/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:notifications*
- */
- post: operations['notifications___create'];
- };
- '/notifications/flush': {
- /**
- * notifications/flush
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:notifications*
- */
- post: operations['notifications___flush'];
- };
- '/notifications/mark-all-as-read': {
- /**
- * notifications/mark-all-as-read
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:notifications*
- */
- post: operations['notifications___mark-all-as-read'];
- };
- '/notifications/test-notification': {
- /**
- * notifications/test-notification
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:notifications*
- */
- post: operations['notifications___test-notification'];
- };
- '/page-push': {
- /**
- * page-push
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['page-push'];
- };
- '/pages/create': {
- /**
- * pages/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:pages*
- */
- post: operations['pages___create'];
- };
- '/pages/delete': {
- /**
- * pages/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:pages*
- */
- post: operations['pages___delete'];
- };
- '/pages/featured': {
- /**
- * pages/featured
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['pages___featured'];
- };
- '/pages/like': {
- /**
- * pages/like
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:page-likes*
- */
- post: operations['pages___like'];
- };
- '/pages/show': {
- /**
- * pages/show
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['pages___show'];
- };
- '/pages/unlike': {
- /**
- * pages/unlike
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:page-likes*
- */
- post: operations['pages___unlike'];
- };
- '/pages/update': {
- /**
- * pages/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:pages*
- */
- post: operations['pages___update'];
- };
- '/ping': {
- /**
- * ping
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['ping'];
- };
- '/pinned-users': {
- /**
- * pinned-users
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['pinned-users'];
- };
- '/promo/read': {
- /**
- * promo/read
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['promo___read'];
- };
- '/renote-mute/create': {
- /**
- * renote-mute/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:mutes*
- */
- post: operations['renote-mute___create'];
- };
- '/renote-mute/delete': {
- /**
- * renote-mute/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:mutes*
- */
- post: operations['renote-mute___delete'];
- };
- '/renote-mute/list': {
- /**
- * renote-mute/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:mutes*
- */
- post: operations['renote-mute___list'];
- };
- '/request-reset-password': {
- /**
- * request-reset-password
- * @description Request a users password to be reset.
- *
- * **Credential required**: *No*
- */
- post: operations['request-reset-password'];
- };
- '/reset-db': {
- /**
- * reset-db
- * @description Only available when running with <code>NODE_ENV=testing</code>. Reset the database and flush Redis.
- *
- * **Credential required**: *No*
- */
- post: operations['reset-db'];
- };
- '/reset-password': {
- /**
- * reset-password
- * @description Complete the password reset that was previously requested.
- *
- * **Credential required**: *No*
- */
- post: operations['reset-password'];
- };
- '/retention': {
- /**
- * retention
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['retention'];
- /**
- * retention
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['retention'];
- };
- '/reversi/cancel-match': {
- /**
- * reversi/cancel-match
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['reversi___cancel-match'];
- };
- '/reversi/games': {
- /**
- * reversi/games
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['reversi___games'];
- };
- '/reversi/invitations': {
- /**
- * reversi/invitations
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['reversi___invitations'];
- };
- '/reversi/match': {
- /**
- * reversi/match
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['reversi___match'];
- };
- '/reversi/show-game': {
- /**
- * reversi/show-game
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['reversi___show-game'];
- };
- '/reversi/surrender': {
- /**
- * reversi/surrender
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['reversi___surrender'];
- };
- '/reversi/verify': {
- /**
- * reversi/verify
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['reversi___verify'];
- };
- '/roles/list': {
- /**
- * roles/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['roles___list'];
- };
- '/roles/notes': {
- /**
- * roles/notes
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['roles___notes'];
- };
- '/roles/show': {
- /**
- * roles/show
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['roles___show'];
- };
- '/roles/users': {
- /**
- * roles/users
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['roles___users'];
- };
- '/server-info': {
- /**
- * server-info
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['server-info'];
- /**
- * server-info
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['server-info'];
- };
- '/stats': {
- /**
- * stats
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['stats'];
- };
- '/sw/register': {
- /**
- * sw/register
- * @description Register to receive push notifications.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['sw___register'];
- };
- '/sw/show-registration': {
- /**
- * sw/show-registration
- * @description Check push notification registration exists.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['sw___show-registration'];
- };
- '/sw/unregister': {
- /**
- * sw/unregister
- * @description Unregister from receiving push notifications.
- *
- * **Credential required**: *No*
- */
- post: operations['sw___unregister'];
- };
- '/sw/update-registration': {
- /**
- * sw/update-registration
- * @description Update push notification registration.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- post: operations['sw___update-registration'];
- };
- '/test': {
- /**
- * test
- * @description Endpoint for testing input validation.
- *
- * **Credential required**: *No*
- */
- post: operations['test'];
- };
- '/username/available': {
- /**
- * username/available
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['username___available'];
- };
- '/users': {
- /**
- * users
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['users'];
- };
- '/users/achievements': {
- /**
- * users/achievements
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['users___achievements'];
- };
- '/users/clips': {
- /**
- * users/clips
- * @description Show all clips this user owns.
- *
- * **Credential required**: *No*
- */
- post: operations['users___clips'];
- };
- '/users/featured-notes': {
- /**
- * users/featured-notes
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- get: operations['users___featured-notes'];
- /**
- * users/featured-notes
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['users___featured-notes'];
- };
- '/users/flashs': {
- /**
- * users/flashs
- * @description Show all flashs this user created.
- *
- * **Credential required**: *No*
- */
- post: operations['users___flashs'];
- };
- '/users/followers': {
- /**
- * users/followers
- * @description Show everyone that follows this user.
- *
- * **Credential required**: *No*
- */
- post: operations['users___followers'];
- };
- '/users/following': {
- /**
- * users/following
- * @description Show everyone that this user is following.
- *
- * **Credential required**: *No*
- */
- post: operations['users___following'];
- };
- '/users/gallery/posts': {
- /**
- * users/gallery/posts
- * @description Show all gallery posts by the given user.
- *
- * **Credential required**: *No*
- */
- post: operations['users___gallery___posts'];
- };
- '/users/get-frequently-replied-users': {
- /**
- * users/get-frequently-replied-users
- * @description Get a list of other users that the specified user frequently replies to.
- *
- * **Credential required**: *No*
- */
- post: operations['users___get-frequently-replied-users'];
- };
- '/users/lists/create': {
- /**
- * users/lists/create
- * @description Create a new list of users.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['users___lists___create'];
- };
- '/users/lists/create-from-public': {
- /**
- * users/lists/create-from-public
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['users___lists___create-from-public'];
- };
- '/users/lists/delete': {
- /**
- * users/lists/delete
- * @description Delete an existing list of users.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['users___lists___delete'];
- };
- '/users/lists/favorite': {
- /**
- * users/lists/favorite
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['users___lists___favorite'];
- };
- '/users/lists/get-memberships': {
- /**
- * users/lists/get-memberships
- * @description No description provided.
- *
- * **Credential required**: *No* / **Permission**: *read:account*
- */
- post: operations['users___lists___get-memberships'];
- };
- '/users/lists/list': {
- /**
- * users/lists/list
- * @description Show all lists that the authenticated user has created.
- *
- * **Credential required**: *No* / **Permission**: *read:account*
- */
- post: operations['users___lists___list'];
- };
- '/users/lists/pull': {
- /**
- * users/lists/pull
- * @description Remove a user from a list.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['users___lists___pull'];
- };
- '/users/lists/push': {
- /**
- * users/lists/push
- * @description Add a user to an existing list.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['users___lists___push'];
- };
- '/users/lists/show': {
- /**
- * users/lists/show
- * @description Show the properties of a list.
- *
- * **Credential required**: *No* / **Permission**: *read:account*
- */
- post: operations['users___lists___show'];
- };
- '/users/lists/unfavorite': {
- /**
- * users/lists/unfavorite
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['users___lists___unfavorite'];
- };
- '/users/lists/update': {
- /**
- * users/lists/update
- * @description Update the properties of a list.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['users___lists___update'];
- };
- '/users/lists/update-membership': {
- /**
- * users/lists/update-membership
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['users___lists___update-membership'];
- };
- '/users/notes': {
- /**
- * users/notes
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- post: operations['users___notes'];
- };
- '/users/pages': {
- /**
- * users/pages
- * @description Show all pages this user created.
- *
- * **Credential required**: *No*
- */
- post: operations['users___pages'];
- };
- '/users/reactions': {
- /**
- * users/reactions
- * @description Show all reactions this user made.
- *
- * **Credential required**: *No*
- */
- post: operations['users___reactions'];
- };
- '/users/recommendation': {
- /**
- * users/recommendation
- * @description Show users that the authenticated user might be interested to follow.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['users___recommendation'];
- };
- '/users/relation': {
- /**
- * users/relation
- * @description Show the different kinds of relations between the authenticated user and the specified user(s).
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- post: operations['users___relation'];
- };
- '/users/report-abuse': {
- /**
- * users/report-abuse
- * @description File a report.
- *
- * **Credential required**: *Yes* / **Permission**: *write:report-abuse*
- */
- post: operations['users___report-abuse'];
- };
- '/users/search': {
- /**
- * users/search
- * @description Search for users.
- *
- * **Credential required**: *No*
- */
- post: operations['users___search'];
- };
- '/users/search-by-username-and-host': {
- /**
- * users/search-by-username-and-host
- * @description Search for a user by username and/or host.
- *
- * **Credential required**: *No*
- */
- post: operations['users___search-by-username-and-host'];
- };
- '/users/show': {
- /**
- * users/show
- * @description Show the properties of a user.
- *
- * **Credential required**: *No*
- */
- post: operations['users___show'];
- };
- '/users/update-memo': {
- /**
- * users/update-memo
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- post: operations['users___update-memo'];
- };
- '/v2/admin/emoji/list': {
- /**
- * v2/admin/emoji/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:emoji*
- */
- post: operations['v2___admin___emoji___list'];
- };
-};
-
-export type webhooks = Record<string, never>;
-
-export type components = {
- schemas: {
- Error: {
- /** @description An error object. */
- error: {
- /** @description An error code. Unique within the endpoint. */
- code: string;
- /** @description An error message. */
- message: string;
+ '/admin/abuse-report/notification-recipient/create': {
/**
- * Format: uuid
- * @description An error ID. This ID is static.
+ * admin/abuse-report/notification-recipient/create
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes* / **Permission**: *write:admin:abuse-report:notification-recipient*
*/
- id: string;
- };
+ post: operations['admin___abuse-report___notification-recipient___create'];
};
- UserLite: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** @example 藍 */
- name: string | null;
- /** @example ai */
- username: string;
- /**
- * @description The local host is represented with `null`.
- * @example misskey.example.com
- */
- host: string | null;
- /** Format: url */
- avatarUrl: string | null;
- avatarBlurhash: string | null;
- avatarDecorations: {
- /** Format: id */
- id: string;
- angle?: number;
- flipH?: boolean;
- /** Format: url */
- url: string;
- offsetX?: number;
- offsetY?: number;
- }[];
- isBot?: boolean;
- isCat?: boolean;
- requireSigninToViewContents?: boolean;
- makeNotesFollowersOnlyBefore?: number | null;
- makeNotesHiddenBefore?: number | null;
- instance?: {
- name: string | null;
- softwareName: string | null;
- softwareVersion: string | null;
- iconUrl: string | null;
- faviconUrl: string | null;
- themeColor: string | null;
- };
- emojis: {
- [key: string]: string;
- };
- /** @enum {string} */
- onlineStatus: 'unknown' | 'online' | 'active' | 'offline';
- badgeRoles?: ({
- name: string;
- iconUrl: string | null;
- displayOrder: number;
- })[];
+ '/admin/abuse-report/notification-recipient/delete': {
+ /**
+ * admin/abuse-report/notification-recipient/delete
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes* / **Permission**: *write:admin:abuse-report:notification-recipient*
+ */
+ post: operations['admin___abuse-report___notification-recipient___delete'];
};
- UserDetailedNotMeOnly: {
- /** Format: url */
- url: string | null;
- /** Format: uri */
- uri: string | null;
- /** Format: uri */
- movedTo: string | null;
- alsoKnownAs: string[] | null;
- /** Format: date-time */
- createdAt: string;
- /** Format: date-time */
- updatedAt: string | null;
- /** Format: date-time */
- lastFetchedAt: string | null;
- /** Format: url */
- bannerUrl: string | null;
- bannerBlurhash: string | null;
- isLocked: boolean;
- isSilenced: boolean;
- /** @example false */
- isSuspended: boolean;
- /** @example Hi masters, I am Ai! */
- description: string | null;
- location: string | null;
- /** @example 2018-03-12 */
- birthday: string | null;
- /** @example ja-JP */
- lang: string | null;
- fields: {
- name: string;
- value: string;
- }[];
- verifiedLinks: string[];
- followersCount: number;
- followingCount: number;
- notesCount: number;
- pinnedNoteIds: string[];
- pinnedNotes: components['schemas']['Note'][];
- pinnedPageId: string | null;
- pinnedPage: components['schemas']['Page'] | null;
- publicReactions: boolean;
- /** @enum {string} */
- followingVisibility: 'public' | 'followers' | 'private';
- /** @enum {string} */
- followersVisibility: 'public' | 'followers' | 'private';
- /** @enum {string} */
- chatScope: 'everyone' | 'following' | 'followers' | 'mutual' | 'none';
- canChat: boolean;
- roles: components['schemas']['RoleLite'][];
- followedMessage?: string | null;
- memo: string | null;
- moderationNote?: string;
- twoFactorEnabled?: boolean;
- usePasswordLessLogin?: boolean;
- securityKeys?: boolean;
- isFollowing?: boolean;
- isFollowed?: boolean;
- hasPendingFollowRequestFromYou?: boolean;
- hasPendingFollowRequestToYou?: boolean;
- isBlocking?: boolean;
- isBlocked?: boolean;
- isMuted?: boolean;
- isRenoteMuted?: boolean;
- /** @enum {string} */
- notify?: 'normal' | 'none';
- withReplies?: boolean;
+ '/admin/abuse-report/notification-recipient/list': {
+ /**
+ * admin/abuse-report/notification-recipient/list
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes* / **Permission**: *read:admin:abuse-report:notification-recipient*
+ */
+ post: operations['admin___abuse-report___notification-recipient___list'];
};
- MeDetailedOnly: {
- /** Format: id */
- avatarId: string | null;
- /** Format: id */
- bannerId: string | null;
- followedMessage: string | null;
- isModerator: boolean | null;
- isAdmin: boolean | null;
- injectFeaturedNote: boolean;
- receiveAnnouncementEmail: boolean;
- alwaysMarkNsfw: boolean;
- autoSensitive: boolean;
- carefulBot: boolean;
- autoAcceptFollowed: boolean;
- noCrawle: boolean;
- preventAiLearning: boolean;
- isExplorable: boolean;
- isDeleted: boolean;
- /** @enum {string} */
- twoFactorBackupCodesStock: 'full' | 'partial' | 'none';
- hideOnlineStatus: boolean;
- hasUnreadSpecifiedNotes: boolean;
- hasUnreadMentions: boolean;
- hasUnreadAnnouncement: boolean;
- unreadAnnouncements: components['schemas']['Announcement'][];
- hasUnreadAntenna: boolean;
- hasUnreadChannel: boolean;
- hasUnreadChatMessages: boolean;
- hasUnreadNotification: boolean;
- hasPendingReceivedFollowRequest: boolean;
- unreadNotificationsCount: number;
- mutedWords: string[][];
- hardMutedWords: string[][];
- mutedInstances: string[] | null;
- notificationRecieveConfig: {
- note?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- follow?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- mention?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- reply?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- renote?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- quote?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- reaction?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- pollEnded?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- receiveFollowRequest?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- followRequestAccepted?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- roleAssigned?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- chatRoomInvitationReceived?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- achievementEarned?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- app?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- test?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- };
- emailNotificationTypes: string[];
- achievements: components['schemas']['Achievement'][];
- loggedInDays: number;
- policies: components['schemas']['RolePolicies'];
- /** @default false */
- twoFactorEnabled: boolean;
- /** @default false */
- usePasswordLessLogin: boolean;
- /** @default false */
- securityKeys: boolean;
- email?: string | null;
- emailVerified?: boolean | null;
- securityKeysList?: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- name: string;
- /** Format: date-time */
- lastUsed: string;
- }[];
+ '/admin/abuse-report/notification-recipient/show': {
+ /**
+ * admin/abuse-report/notification-recipient/show
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes* / **Permission**: *read:admin:abuse-report:notification-recipient*
+ */
+ post: operations['admin___abuse-report___notification-recipient___show'];
};
- UserDetailedNotMe: components['schemas']['UserLite'] & components['schemas']['UserDetailedNotMeOnly'];
- MeDetailed: components['schemas']['UserLite'] & components['schemas']['UserDetailedNotMeOnly'] & components['schemas']['MeDetailedOnly'];
- UserDetailed: components['schemas']['UserDetailedNotMe'] | components['schemas']['MeDetailed'];
- User: components['schemas']['UserLite'] | components['schemas']['UserDetailed'];
- UserList: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- createdAt: string;
- name: string;
- userIds?: string[];
- isPublic: boolean;
+ '/admin/abuse-report/notification-recipient/update': {
+ /**
+ * admin/abuse-report/notification-recipient/update
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes* / **Permission**: *write:admin:abuse-report:notification-recipient*
+ */
+ post: operations['admin___abuse-report___notification-recipient___update'];
};
- Achievement: {
- name: components['schemas']['AchievementName'];
- unlockedAt: number;
+ '/admin/abuse-user-reports': {
+ /**
+ * admin/abuse-user-reports
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:abuse-user-reports*
+ */
+ post: operations['admin___abuse-user-reports'];
};
- /** @enum {string} */
- AchievementName: 'notes1' | 'notes10' | 'notes100' | 'notes500' | 'notes1000' | 'notes5000' | 'notes10000' | 'notes20000' | 'notes30000' | 'notes40000' | 'notes50000' | 'notes60000' | 'notes70000' | 'notes80000' | 'notes90000' | 'notes100000' | 'login3' | 'login7' | 'login15' | 'login30' | 'login60' | 'login100' | 'login200' | 'login300' | 'login400' | 'login500' | 'login600' | 'login700' | 'login800' | 'login900' | 'login1000' | 'passedSinceAccountCreated1' | 'passedSinceAccountCreated2' | 'passedSinceAccountCreated3' | 'loggedInOnBirthday' | 'loggedInOnNewYearsDay' | 'noteClipped1' | 'noteFavorited1' | 'myNoteFavorited1' | 'profileFilled' | 'markedAsCat' | 'following1' | 'following10' | 'following50' | 'following100' | 'following300' | 'followers1' | 'followers10' | 'followers50' | 'followers100' | 'followers300' | 'followers500' | 'followers1000' | 'collectAchievements30' | 'viewAchievements3min' | 'iLoveMisskey' | 'foundTreasure' | 'client30min' | 'client60min' | 'noteDeletedWithin1min' | 'postedAtLateNight' | 'postedAt0min0sec' | 'selfQuote' | 'htl20npm' | 'viewInstanceChart' | 'outputHelloWorldOnScratchpad' | 'open3windows' | 'driveFolderCircularReference' | 'reactWithoutRead' | 'clickedClickHere' | 'justPlainLucky' | 'setNameToSyuilo' | 'cookieClicked' | 'brainDiver' | 'smashTestNotificationButton' | 'tutorialCompleted' | 'bubbleGameExplodingHead' | 'bubbleGameDoubleExplodingHead';
- Ad: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- expiresAt: string;
- /** Format: date-time */
- startsAt: string;
- place: string;
- priority: string;
- ratio: number;
- url: string;
- imageUrl: string;
- memo: string;
- dayOfWeek: number;
+ '/admin/accounts/create': {
+ /**
+ * admin/accounts/create
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['admin___accounts___create'];
};
- Announcement: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** Format: date-time */
- updatedAt: string | null;
- text: string;
- title: string;
- imageUrl: string | null;
- /** @enum {string} */
- icon: 'info' | 'warning' | 'error' | 'success';
- /** @enum {string} */
- display: 'dialog' | 'normal' | 'banner';
- needConfirmationToRead: boolean;
- silence: boolean;
- forYou: boolean;
- isRead?: boolean;
+ '/admin/accounts/delete': {
+ /**
+ * admin/accounts/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:account*
+ */
+ post: operations['admin___accounts___delete'];
};
- App: {
- id: string;
- name: string;
- callbackUrl: string | null;
- permission: string[];
- secret?: string;
- isAuthorized?: boolean;
+ '/admin/accounts/find-by-email': {
+ /**
+ * admin/accounts/find-by-email
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:account*
+ */
+ post: operations['admin___accounts___find-by-email'];
};
- Note: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** Format: date-time */
- deletedAt?: string | null;
- text: string | null;
- cw?: string | null;
- /** Format: id */
- userId: string;
- user: components['schemas']['UserLite'];
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- replyId?: string | null;
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- renoteId?: string | null;
- reply?: components['schemas']['Note'] | null;
- renote?: components['schemas']['Note'] | null;
- isHidden?: boolean;
- /** @enum {string} */
- visibility: 'public' | 'home' | 'followers' | 'specified';
- mentions?: string[];
- visibleUserIds?: string[];
- fileIds?: string[];
- files?: components['schemas']['DriveFile'][];
- tags?: string[];
- poll?: ({
- /** Format: date-time */
- expiresAt?: string | null;
- multiple: boolean;
- choices: {
- isVoted: boolean;
- text: string;
- votes: number;
- }[];
- }) | null;
- emojis?: {
- [key: string]: string;
- };
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- channelId?: string | null;
- channel?: ({
- id: string;
- name: string;
- color: string;
- isSensitive: boolean;
- allowRenoteToExternal: boolean;
- userId: string | null;
- }) | null;
- localOnly?: boolean;
- /** @enum {string|null} */
- reactionAcceptance: 'likeOnly' | 'likeOnlyForRemote' | 'nonSensitiveOnly' | 'nonSensitiveOnlyForLocalLikeOnlyForRemote' | null;
- reactionEmojis: {
- [key: string]: string;
- };
- reactions: {
- [key: string]: number;
- };
- reactionCount: number;
- renoteCount: number;
- repliesCount: number;
- uri?: string;
- url?: string;
- reactionAndUserPairCache?: string[];
- clippedCount?: number;
- hasPoll?: boolean;
- myReaction?: string | null;
+ '/admin/ad/create': {
+ /**
+ * admin/ad/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:ad*
+ */
+ post: operations['admin___ad___create'];
};
- NoteReaction: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- createdAt: string;
- user: components['schemas']['UserLite'];
- type: string;
+ '/admin/ad/delete': {
+ /**
+ * admin/ad/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:ad*
+ */
+ post: operations['admin___ad___delete'];
};
- NoteFavorite: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- createdAt: string;
- note: components['schemas']['Note'];
- /** Format: id */
- noteId: string;
+ '/admin/ad/list': {
+ /**
+ * admin/ad/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:ad*
+ */
+ post: operations['admin___ad___list'];
};
- Notification: {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** @enum {string} */
- type: 'note';
- user: components['schemas']['UserLite'];
- /** Format: id */
- userId: string;
- note: components['schemas']['Note'];
- } | {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** @enum {string} */
- type: 'mention';
- user: components['schemas']['UserLite'];
- /** Format: id */
- userId: string;
- note: components['schemas']['Note'];
- } | {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** @enum {string} */
- type: 'reply';
- user: components['schemas']['UserLite'];
- /** Format: id */
- userId: string;
- note: components['schemas']['Note'];
- } | {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** @enum {string} */
- type: 'renote';
- user: components['schemas']['UserLite'];
- /** Format: id */
- userId: string;
- note: components['schemas']['Note'];
- } | {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** @enum {string} */
- type: 'quote';
- user: components['schemas']['UserLite'];
- /** Format: id */
- userId: string;
- note: components['schemas']['Note'];
- } | {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** @enum {string} */
- type: 'reaction';
- user: components['schemas']['UserLite'];
- /** Format: id */
- userId: string;
- note: components['schemas']['Note'];
- reaction: string;
- } | {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** @enum {string} */
- type: 'pollEnded';
- user: components['schemas']['UserLite'];
- /** Format: id */
- userId: string;
- note: components['schemas']['Note'];
- } | {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** @enum {string} */
- type: 'follow';
- user: components['schemas']['UserLite'];
- /** Format: id */
- userId: string;
- } | {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** @enum {string} */
- type: 'receiveFollowRequest';
- user: components['schemas']['UserLite'];
- /** Format: id */
- userId: string;
- } | ({
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** @enum {string} */
- type: 'followRequestAccepted';
- user: components['schemas']['UserLite'];
- /** Format: id */
- userId: string;
- message: string | null;
- }) | {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** @enum {string} */
- type: 'roleAssigned';
- role: components['schemas']['Role'];
- } | {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** @enum {string} */
- type: 'chatRoomInvitationReceived';
- invitation: components['schemas']['ChatRoomInvitation'];
- } | {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** @enum {string} */
- type: 'achievementEarned';
- achievement: components['schemas']['AchievementName'];
- } | ({
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** @enum {string} */
- type: 'exportCompleted';
- /** @enum {string} */
- exportedEntity: 'antenna' | 'blocking' | 'clip' | 'customEmoji' | 'favorite' | 'following' | 'muting' | 'note' | 'userList';
- /** Format: id */
- fileId: string;
- }) | {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** @enum {string} */
- type: 'login';
- } | {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** @enum {string} */
- type: 'createToken';
- } | ({
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** @enum {string} */
- type: 'app';
- body: string;
- header: string | null;
- icon: string | null;
- }) | {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** @enum {string} */
- type: 'reaction:grouped';
- note: components['schemas']['Note'];
- reactions: {
- user: components['schemas']['UserLite'];
- reaction: string;
- }[];
- } | {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** @enum {string} */
- type: 'renote:grouped';
- note: components['schemas']['Note'];
- users: components['schemas']['UserLite'][];
- } | {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** @enum {string} */
- type: 'test';
+ '/admin/ad/update': {
+ /**
+ * admin/ad/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:ad*
+ */
+ post: operations['admin___ad___update'];
};
- DriveFile: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** @example 192.jpg */
- name: string;
- /** @example image/jpeg */
- type: string;
- /**
- * Format: md5
- * @example 15eca7fba0480996e2245f5185bf39f2
- */
- md5: string;
- /** @example 51469 */
- size: number;
- isSensitive: boolean;
- blurhash: string | null;
- properties: {
- /** @example 1280 */
- width?: number;
- /** @example 720 */
- height?: number;
- /** @example 8 */
- orientation?: number;
- /** @example rgb(40,65,87) */
- avgColor?: string;
- };
- /** Format: url */
- url: string;
- /** Format: url */
- thumbnailUrl: string | null;
- comment: string | null;
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- folderId: string | null;
- folder?: components['schemas']['DriveFolder'] | null;
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- userId: string | null;
- user?: components['schemas']['UserLite'] | null;
+ '/admin/announcements/create': {
+ /**
+ * admin/announcements/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:announcements*
+ */
+ post: operations['admin___announcements___create'];
};
- DriveFolder: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- createdAt: string;
- name: string;
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- parentId: string | null;
- foldersCount?: number;
- filesCount?: number;
- parent?: components['schemas']['DriveFolder'] | null;
+ '/admin/announcements/delete': {
+ /**
+ * admin/announcements/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:announcements*
+ */
+ post: operations['admin___announcements___delete'];
};
- Following: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** Format: id */
- followeeId: string;
- /** Format: id */
- followerId: string;
- followee?: components['schemas']['UserDetailedNotMe'];
- follower?: components['schemas']['UserDetailedNotMe'];
+ '/admin/announcements/list': {
+ /**
+ * admin/announcements/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:announcements*
+ */
+ post: operations['admin___announcements___list'];
};
- Muting: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** Format: date-time */
- expiresAt: string | null;
- /** Format: id */
- muteeId: string;
- mutee: components['schemas']['UserDetailedNotMe'];
+ '/admin/announcements/update': {
+ /**
+ * admin/announcements/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:announcements*
+ */
+ post: operations['admin___announcements___update'];
};
- RenoteMuting: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** Format: id */
- muteeId: string;
- mutee: components['schemas']['UserDetailedNotMe'];
+ '/admin/avatar-decorations/create': {
+ /**
+ * admin/avatar-decorations/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:avatar-decorations*
+ */
+ post: operations['admin___avatar-decorations___create'];
};
- Blocking: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** Format: id */
- blockeeId: string;
- blockee: components['schemas']['UserDetailedNotMe'];
+ '/admin/avatar-decorations/delete': {
+ /**
+ * admin/avatar-decorations/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:avatar-decorations*
+ */
+ post: operations['admin___avatar-decorations___delete'];
};
- Hashtag: {
- /** @example misskey */
- tag: string;
- mentionedUsersCount: number;
- mentionedLocalUsersCount: number;
- mentionedRemoteUsersCount: number;
- attachedUsersCount: number;
- attachedLocalUsersCount: number;
- attachedRemoteUsersCount: number;
+ '/admin/avatar-decorations/list': {
+ /**
+ * admin/avatar-decorations/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:avatar-decorations*
+ */
+ post: operations['admin___avatar-decorations___list'];
};
- InviteCode: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** @example GR6S02ERUA5VR */
- code: string;
- /** Format: date-time */
- expiresAt: string | null;
- /** Format: date-time */
- createdAt: string;
- createdBy: components['schemas']['UserLite'] | null;
- usedBy: components['schemas']['UserLite'] | null;
- /** Format: date-time */
- usedAt: string | null;
- used: boolean;
+ '/admin/avatar-decorations/update': {
+ /**
+ * admin/avatar-decorations/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:avatar-decorations*
+ */
+ post: operations['admin___avatar-decorations___update'];
};
- Page: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** Format: date-time */
- updatedAt: string;
- /** Format: id */
- userId: string;
- user: components['schemas']['UserLite'];
- content: components['schemas']['PageBlock'][];
- variables: Record<string, never>[];
- title: string;
- name: string;
- summary: string | null;
- hideTitleWhenPinned: boolean;
- alignCenter: boolean;
- font: string;
- script: string;
- eyeCatchingImageId: string | null;
- eyeCatchingImage: components['schemas']['DriveFile'] | null;
- attachedFiles: components['schemas']['DriveFile'][];
- likedCount: number;
- isLiked?: boolean;
+ '/admin/captcha/current': {
+ /**
+ * admin/captcha/current
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:meta*
+ */
+ post: operations['admin___captcha___current'];
};
- PageBlock: OneOf<[{
- id: string;
- /** @enum {string} */
- type: 'text';
- text: string;
- }, {
- id: string;
- /** @enum {string} */
- type: 'section';
- title: string;
- children: components['schemas']['PageBlock'][];
- }, {
- id: string;
- /** @enum {string} */
- type: 'image';
- fileId: string | null;
- }, {
- id: string;
- /** @enum {string} */
- type: 'note';
- detailed: boolean;
- note: string | null;
- }]>;
- Channel: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** Format: date-time */
- lastNotedAt: string | null;
- name: string;
- description: string | null;
- /** Format: id */
- userId: string | null;
- /** Format: url */
- bannerUrl: string | null;
- pinnedNoteIds: string[];
- color: string;
- isArchived: boolean;
- usersCount: number;
- notesCount: number;
- isSensitive: boolean;
- allowRenoteToExternal: boolean;
- isFollowing?: boolean;
- isFavorited?: boolean;
- pinnedNotes?: components['schemas']['Note'][];
+ '/admin/captcha/save': {
+ /**
+ * admin/captcha/save
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:meta*
+ */
+ post: operations['admin___captcha___save'];
};
- QueueCount: {
- waiting: number;
- active: number;
- completed: number;
- failed: number;
- delayed: number;
+ '/admin/delete-account': {
+ /**
+ * admin/delete-account
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:delete-account*
+ */
+ post: operations['admin___delete-account'];
};
- QueueMetrics: {
- meta: {
- count: number;
- prevTS: number;
- prevCount: number;
- };
- data: number[];
- count: number;
+ '/admin/delete-all-files-of-a-user': {
+ /**
+ * admin/delete-all-files-of-a-user
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:delete-all-files-of-a-user*
+ */
+ post: operations['admin___delete-all-files-of-a-user'];
};
- QueueJob: {
- id: string;
- name: string;
- data: Record<string, never>;
- opts: Record<string, never>;
- timestamp: number;
- processedOn?: number;
- processedBy?: string;
- finishedOn?: number;
- progress: Record<string, never>;
- attempts: number;
- delay: number;
- failedReason: string;
- stacktrace: string[];
- returnValue: Record<string, never>;
- isFailed: boolean;
+ '/admin/drive/clean-remote-files': {
+ /**
+ * admin/drive/clean-remote-files
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:drive*
+ */
+ post: operations['admin___drive___clean-remote-files'];
};
- Antenna: {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- name: string;
- keywords: string[][];
- excludeKeywords: string[][];
- /** @enum {string} */
- src: 'home' | 'all' | 'users' | 'list' | 'users_blacklist';
- /** Format: id */
- userListId: string | null;
- users: string[];
- /** @default false */
- caseSensitive: boolean;
- /** @default false */
- localOnly: boolean;
- /** @default false */
- excludeBots: boolean;
- /** @default false */
- withReplies: boolean;
- withFile: boolean;
- isActive: boolean;
- /** @default false */
- hasUnreadNote: boolean;
- /** @default false */
- notify: boolean;
- /** @default false */
- excludeNotesInSensitiveChannel: boolean;
+ '/admin/drive/cleanup': {
+ /**
+ * admin/drive/cleanup
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:drive*
+ */
+ post: operations['admin___drive___cleanup'];
};
- Clip: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** Format: date-time */
- lastClippedAt: string | null;
- /** Format: id */
- userId: string;
- user: components['schemas']['UserLite'];
- name: string;
- description: string | null;
- isPublic: boolean;
- favoritedCount: number;
- isFavorited?: boolean;
- notesCount?: number;
+ '/admin/drive/files': {
+ /**
+ * admin/drive/files
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:drive*
+ */
+ post: operations['admin___drive___files'];
};
- FederationInstance: {
- /** Format: id */
- id: string;
- /** Format: date-time */
- firstRetrievedAt: string;
- /** @example misskey.example.com */
- host: string;
- usersCount: number;
- notesCount: number;
- followingCount: number;
- followersCount: number;
- isNotResponding: boolean;
- isSuspended: boolean;
- /** @enum {string} */
- suspensionState: 'none' | 'manuallySuspended' | 'goneSuspended' | 'autoSuspendedForNotResponding' | 'softwareSuspended';
- isBlocked: boolean;
- /** @example misskey */
- softwareName: string | null;
- softwareVersion: string | null;
- /** @example true */
- openRegistrations: boolean | null;
- name: string | null;
- description: string | null;
- maintainerName: string | null;
- maintainerEmail: string | null;
- isSilenced: boolean;
- isMediaSilenced: boolean;
- /** Format: url */
- iconUrl: string | null;
- /** Format: url */
- faviconUrl: string | null;
- themeColor: string | null;
- /** Format: date-time */
- infoUpdatedAt: string | null;
- /** Format: date-time */
- latestRequestReceivedAt: string | null;
- moderationNote?: string | null;
+ '/admin/drive/show-file': {
+ /**
+ * admin/drive/show-file
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:drive*
+ */
+ post: operations['admin___drive___show-file'];
};
- GalleryPost: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** Format: date-time */
- updatedAt: string;
- /** Format: id */
- userId: string;
- user: components['schemas']['UserLite'];
- title: string;
- description: string | null;
- fileIds?: string[];
- files?: components['schemas']['DriveFile'][];
- tags?: string[];
- isSensitive: boolean;
- likedCount: number;
- isLiked?: boolean;
+ '/admin/emoji/add': {
+ /**
+ * admin/emoji/add
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
+ */
+ post: operations['admin___emoji___add'];
};
- EmojiSimple: {
- aliases: string[];
- name: string;
- category: string | null;
- url: string;
- localOnly?: boolean;
- isSensitive?: boolean;
- roleIdsThatCanBeUsedThisEmojiAsReaction?: string[];
+ '/admin/emoji/add-aliases-bulk': {
+ /**
+ * admin/emoji/add-aliases-bulk
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
+ */
+ post: operations['admin___emoji___add-aliases-bulk'];
};
- EmojiDetailed: {
- /** Format: id */
- id: string;
- aliases: string[];
- name: string;
- category: string | null;
- /** @description The local host is represented with `null`. */
- host: string | null;
- url: string;
- license: string | null;
- isSensitive: boolean;
- localOnly: boolean;
- roleIdsThatCanBeUsedThisEmojiAsReaction: string[];
+ '/admin/emoji/copy': {
+ /**
+ * admin/emoji/copy
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
+ */
+ post: operations['admin___emoji___copy'];
};
- EmojiDetailedAdmin: {
- /** Format: id */
- id: string;
- /** Format: date-time */
- updatedAt: string | null;
- name: string;
- /** @description The local host is represented with `null`. */
- host: string | null;
- publicUrl: string;
- originalUrl: string;
- uri: string | null;
- type: string | null;
- aliases: string[];
- category: string | null;
- license: string | null;
- localOnly: boolean;
- isSensitive: boolean;
- roleIdsThatCanBeUsedThisEmojiAsReaction: {
- /** Format: misskey:id */
- id: string;
- name: string;
- }[];
+ '/admin/emoji/delete': {
+ /**
+ * admin/emoji/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
+ */
+ post: operations['admin___emoji___delete'];
};
- Flash: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** Format: date-time */
- updatedAt: string;
- /** Format: id */
- userId: string;
- user: components['schemas']['UserLite'];
- title: string;
- summary: string;
- script: string;
- /** @enum {string} */
- visibility: 'private' | 'public';
- likedCount: number | null;
- isLiked?: boolean;
+ '/admin/emoji/delete-bulk': {
+ /**
+ * admin/emoji/delete-bulk
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
+ */
+ post: operations['admin___emoji___delete-bulk'];
};
- Signin: {
- id: string;
- /** Format: date-time */
- createdAt: string;
- ip: string;
- headers: Record<string, never>;
- success: boolean;
+ '/admin/emoji/import-zip': {
+ /**
+ * admin/emoji/import-zip
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['admin___emoji___import-zip'];
};
- RoleCondFormulaLogics: {
- id: string;
- /** @enum {string} */
- type: 'and' | 'or';
- values: components['schemas']['RoleCondFormulaValue'][];
+ '/admin/emoji/list': {
+ /**
+ * admin/emoji/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:emoji*
+ */
+ post: operations['admin___emoji___list'];
};
- RoleCondFormulaValueNot: {
- id: string;
- /** @enum {string} */
- type: 'not';
- value: components['schemas']['RoleCondFormulaValue'];
+ '/admin/emoji/list-remote': {
+ /**
+ * admin/emoji/list-remote
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:emoji*
+ */
+ post: operations['admin___emoji___list-remote'];
};
- RoleCondFormulaValueIsLocalOrRemote: {
- id: string;
- /** @enum {string} */
- type: 'isLocal' | 'isRemote';
+ '/admin/emoji/remove-aliases-bulk': {
+ /**
+ * admin/emoji/remove-aliases-bulk
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
+ */
+ post: operations['admin___emoji___remove-aliases-bulk'];
};
- RoleCondFormulaValueUserSettingBooleanSchema: {
- id: string;
- /** @enum {string} */
- type: 'isSuspended' | 'isLocked' | 'isBot' | 'isCat' | 'isExplorable';
+ '/admin/emoji/set-aliases-bulk': {
+ /**
+ * admin/emoji/set-aliases-bulk
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
+ */
+ post: operations['admin___emoji___set-aliases-bulk'];
};
- RoleCondFormulaValueAssignedRole: {
- id: string;
- /** @enum {string} */
- type: 'roleAssignedTo';
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- roleId: string;
+ '/admin/emoji/set-category-bulk': {
+ /**
+ * admin/emoji/set-category-bulk
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
+ */
+ post: operations['admin___emoji___set-category-bulk'];
};
- RoleCondFormulaValueCreated: {
- id: string;
- /** @enum {string} */
- type: 'createdLessThan' | 'createdMoreThan';
- sec: number;
+ '/admin/emoji/set-license-bulk': {
+ /**
+ * admin/emoji/set-license-bulk
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
+ */
+ post: operations['admin___emoji___set-license-bulk'];
};
- RoleCondFormulaFollowersOrFollowingOrNotes: {
- id: string;
- /** @enum {string} */
- type: 'followersLessThanOrEq' | 'followersMoreThanOrEq' | 'followingLessThanOrEq' | 'followingMoreThanOrEq' | 'notesLessThanOrEq' | 'notesMoreThanOrEq';
- value: number;
+ '/admin/emoji/update': {
+ /**
+ * admin/emoji/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
+ */
+ post: operations['admin___emoji___update'];
};
- RoleCondFormulaValue: components['schemas']['RoleCondFormulaLogics'] | components['schemas']['RoleCondFormulaValueNot'] | components['schemas']['RoleCondFormulaValueIsLocalOrRemote'] | components['schemas']['RoleCondFormulaValueUserSettingBooleanSchema'] | components['schemas']['RoleCondFormulaValueAssignedRole'] | components['schemas']['RoleCondFormulaValueCreated'] | components['schemas']['RoleCondFormulaFollowersOrFollowingOrNotes'];
- RoleLite: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** @example New Role */
- name: string;
- /** @example #000000 */
- color: string | null;
- iconUrl: string | null;
- description: string;
- /** @example false */
- isModerator: boolean;
- /** @example false */
- isAdministrator: boolean;
- /** @example 0 */
- displayOrder: number;
+ '/admin/federation/delete-all-files': {
+ /**
+ * admin/federation/delete-all-files
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:federation*
+ */
+ post: operations['admin___federation___delete-all-files'];
};
- Role: components['schemas']['RoleLite'] & ({
- /** Format: date-time */
- createdAt: string;
- /** Format: date-time */
- updatedAt: string;
- /** @enum {string} */
- target: 'manual' | 'conditional';
- condFormula: components['schemas']['RoleCondFormulaValue'];
- /** @example false */
- isPublic: boolean;
- /** @example false */
- isExplorable: boolean;
- /** @example false */
- asBadge: boolean;
- /** @example false */
- preserveAssignmentOnMoveAccount: boolean;
- /** @example false */
- canEditMembersByModerator: boolean;
- policies: {
- [key: string]: {
- value?: number | boolean;
- priority?: number;
- useDefault?: boolean;
- };
- };
- usersCount: number;
- });
- RolePolicies: {
- gtlAvailable: boolean;
- ltlAvailable: boolean;
- canPublicNote: boolean;
- mentionLimit: number;
- canInvite: boolean;
- inviteLimit: number;
- inviteLimitCycle: number;
- inviteExpirationTime: number;
- canManageCustomEmojis: boolean;
- canManageAvatarDecorations: boolean;
- canSearchNotes: boolean;
- canUseTranslator: boolean;
- canHideAds: boolean;
- driveCapacityMb: number;
- maxFileSizeMb: number;
- uploadableFileTypes: string[];
- alwaysMarkNsfw: boolean;
- canUpdateBioMedia: boolean;
- pinLimit: number;
- antennaLimit: number;
- wordMuteLimit: number;
- webhookLimit: number;
- clipLimit: number;
- noteEachClipsLimit: number;
- userListLimit: number;
- userEachUserListsLimit: number;
- rateLimitFactor: number;
- avatarDecorationLimit: number;
- canImportAntennas: boolean;
- canImportBlocking: boolean;
- canImportFollowing: boolean;
- canImportMuting: boolean;
- canImportUserLists: boolean;
- /** @enum {string} */
- chatAvailability: 'available' | 'readonly' | 'unavailable';
+ '/admin/federation/refresh-remote-instance-metadata': {
+ /**
+ * admin/federation/refresh-remote-instance-metadata
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:federation*
+ */
+ post: operations['admin___federation___refresh-remote-instance-metadata'];
};
- ReversiGameLite: {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** Format: date-time */
- startedAt: string | null;
- /** Format: date-time */
- endedAt: string | null;
- isStarted: boolean;
- isEnded: boolean;
- /** Format: id */
- user1Id: string;
- /** Format: id */
- user2Id: string;
- user1: components['schemas']['UserLite'];
- user2: components['schemas']['UserLite'];
- /** Format: id */
- winnerId: string | null;
- winner: components['schemas']['UserLite'] | null;
- /** Format: id */
- surrenderedUserId: string | null;
- /** Format: id */
- timeoutUserId: string | null;
- black: number | null;
- bw: string;
- noIrregularRules: boolean;
- isLlotheo: boolean;
- canPutEverywhere: boolean;
- loopedBoard: boolean;
- timeLimitForEachTurn: number;
+ '/admin/federation/remove-all-following': {
+ /**
+ * admin/federation/remove-all-following
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:federation*
+ */
+ post: operations['admin___federation___remove-all-following'];
};
- ReversiGameDetailed: {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** Format: date-time */
- startedAt: string | null;
- /** Format: date-time */
- endedAt: string | null;
- isStarted: boolean;
- isEnded: boolean;
- form1: Record<string, never> | null;
- form2: Record<string, never> | null;
- user1Ready: boolean;
- user2Ready: boolean;
- /** Format: id */
- user1Id: string;
- /** Format: id */
- user2Id: string;
- user1: components['schemas']['UserLite'];
- user2: components['schemas']['UserLite'];
- /** Format: id */
- winnerId: string | null;
- winner: components['schemas']['UserLite'] | null;
- /** Format: id */
- surrenderedUserId: string | null;
- /** Format: id */
- timeoutUserId: string | null;
- black: number | null;
- bw: string;
- noIrregularRules: boolean;
- isLlotheo: boolean;
- canPutEverywhere: boolean;
- loopedBoard: boolean;
- timeLimitForEachTurn: number;
- logs: number[][];
- map: string[];
+ '/admin/federation/update-instance': {
+ /**
+ * admin/federation/update-instance
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:federation*
+ */
+ post: operations['admin___federation___update-instance'];
};
- MetaLite: {
- maintainerName: string | null;
- maintainerEmail: string | null;
- version: string;
- providesTarball: boolean;
- name: string | null;
- shortName: string | null;
- /**
- * Format: url
- * @example https://misskey.example.com
- */
- uri: string;
- description: string | null;
- langs: string[];
- tosUrl: string | null;
- /** @default https://github.com/misskey-dev/misskey */
- repositoryUrl: string | null;
- /** @default https://github.com/misskey-dev/misskey/issues/new */
- feedbackUrl: string | null;
- defaultDarkTheme: string | null;
- defaultLightTheme: string | null;
- disableRegistration: boolean;
- emailRequiredForSignup: boolean;
- enableHcaptcha: boolean;
- hcaptchaSiteKey: string | null;
- enableMcaptcha: boolean;
- mcaptchaSiteKey: string | null;
- mcaptchaInstanceUrl: string | null;
- enableRecaptcha: boolean;
- recaptchaSiteKey: string | null;
- enableTurnstile: boolean;
- turnstileSiteKey: string | null;
- enableTestcaptcha: boolean;
- googleAnalyticsMeasurementId: string | null;
- swPublickey: string | null;
- /** @default /assets/ai.png */
- mascotImageUrl: string;
- bannerUrl: string | null;
- serverErrorImageUrl: string | null;
- infoImageUrl: string | null;
- notFoundImageUrl: string | null;
- iconUrl: string | null;
- maxNoteTextLength: number;
- ads: {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: url */
- url: string;
- place: string;
- ratio: number;
- /** Format: url */
- imageUrl: string;
- dayOfWeek: number;
- }[];
- /** @default 0 */
- notesPerOneAd: number;
- enableEmail: boolean;
- enableServiceWorker: boolean;
- translatorAvailable: boolean;
- sentryForFrontend: ({
- options: {
- dsn: string;
- [key: string]: unknown;
- };
- vueIntegration?: {
- [key: string]: unknown;
- } | null;
- browserTracingIntegration?: {
- [key: string]: unknown;
- } | null;
- replayIntegration?: {
- [key: string]: unknown;
- } | null;
- }) | null;
- mediaProxy: string;
- enableUrlPreview: boolean;
- backgroundImageUrl: string | null;
- impressumUrl: string | null;
- logoImageUrl: string | null;
- privacyPolicyUrl: string | null;
- inquiryUrl: string | null;
- serverRules: string[];
- themeColor: string | null;
- policies: components['schemas']['RolePolicies'];
- /**
- * @default local
- * @enum {string}
- */
- noteSearchableScope: 'local' | 'global';
- maxFileSize: number;
- /** @enum {string} */
- federation: 'all' | 'specified' | 'none';
+ '/admin/forward-abuse-user-report': {
+ /**
+ * admin/forward-abuse-user-report
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:resolve-abuse-user-report*
+ */
+ post: operations['admin___forward-abuse-user-report'];
};
- MetaDetailedOnly: {
- features?: {
- registration: boolean;
- emailRequiredForSignup: boolean;
- localTimeline: boolean;
- globalTimeline: boolean;
- hcaptcha: boolean;
- turnstile: boolean;
- recaptcha: boolean;
- objectStorage: boolean;
- serviceWorker: boolean;
- /** @default true */
- miauth?: boolean;
- };
- proxyAccountName: string | null;
- /** @example false */
- requireSetup: boolean;
- cacheRemoteFiles: boolean;
- cacheRemoteSensitiveFiles: boolean;
+ '/admin/get-index-stats': {
+ /**
+ * admin/get-index-stats
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:index-stats*
+ */
+ post: operations['admin___get-index-stats'];
};
- MetaDetailed: components['schemas']['MetaLite'] & components['schemas']['MetaDetailedOnly'];
- SystemWebhook: {
- id: string;
- isActive: boolean;
- /** Format: date-time */
- updatedAt: string;
- /** Format: date-time */
- latestSentAt: string | null;
- latestStatus: number | null;
- name: string;
- on: ('abuseReport' | 'abuseReportResolved' | 'userCreated' | 'inactiveModeratorsWarning' | 'inactiveModeratorsInvitationOnlyChanged')[];
- url: string;
- secret: string;
+ '/admin/get-table-stats': {
+ /**
+ * admin/get-table-stats
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:table-stats*
+ */
+ post: operations['admin___get-table-stats'];
};
- AbuseReportNotificationRecipient: {
- id: string;
- isActive: boolean;
- /** Format: date-time */
- updatedAt: string;
- name: string;
- /** @enum {string} */
- method: 'email' | 'webhook';
- userId?: string;
- user?: components['schemas']['UserLite'];
- systemWebhookId?: string;
- systemWebhook?: components['schemas']['SystemWebhook'];
+ '/admin/get-user-ips': {
+ /**
+ * admin/get-user-ips
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:user-ips*
+ */
+ post: operations['admin___get-user-ips'];
};
- ChatMessage: {
- id: string;
- /** Format: date-time */
- createdAt: string;
- fromUserId: string;
- fromUser: components['schemas']['UserLite'];
- toUserId?: string | null;
- toUser?: components['schemas']['UserLite'] | null;
- toRoomId?: string | null;
- toRoom?: components['schemas']['ChatRoom'] | null;
- text?: string | null;
- fileId?: string | null;
- file?: components['schemas']['DriveFile'] | null;
- isRead?: boolean;
- reactions: {
- reaction: string;
- user: components['schemas']['UserLite'];
- }[];
+ '/admin/invite/create': {
+ /**
+ * admin/invite/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:invite-codes*
+ */
+ post: operations['admin___invite___create'];
};
- ChatMessageLite: {
- id: string;
- /** Format: date-time */
- createdAt: string;
- fromUserId: string;
- fromUser?: components['schemas']['UserLite'];
- toUserId?: string | null;
- toRoomId?: string | null;
- text?: string | null;
- fileId?: string | null;
- file?: components['schemas']['DriveFile'] | null;
- reactions: ({
- reaction: string;
- user?: components['schemas']['UserLite'] | null;
- })[];
+ '/admin/invite/list': {
+ /**
+ * admin/invite/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:invite-codes*
+ */
+ post: operations['admin___invite___list'];
};
- ChatMessageLiteFor1on1: {
- id: string;
- /** Format: date-time */
- createdAt: string;
- fromUserId: string;
- toUserId: string;
- text?: string | null;
- fileId?: string | null;
- file?: components['schemas']['DriveFile'] | null;
- reactions: {
- reaction: string;
- }[];
+ '/admin/meta': {
+ /**
+ * admin/meta
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:meta*
+ */
+ post: operations['admin___meta'];
};
- ChatMessageLiteForRoom: {
- id: string;
- /** Format: date-time */
- createdAt: string;
- fromUserId: string;
- fromUser: components['schemas']['UserLite'];
- toRoomId: string;
- text?: string | null;
- fileId?: string | null;
- file?: components['schemas']['DriveFile'] | null;
- reactions: {
- reaction: string;
- user: components['schemas']['UserLite'];
- }[];
+ '/admin/promo/create': {
+ /**
+ * admin/promo/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:promo*
+ */
+ post: operations['admin___promo___create'];
};
- ChatRoom: {
- id: string;
- /** Format: date-time */
- createdAt: string;
- ownerId: string;
- owner: components['schemas']['UserLite'];
- name: string;
- description: string;
- isMuted?: boolean;
- invitationExists?: boolean;
+ '/admin/queue/clear': {
+ /**
+ * admin/queue/clear
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:queue*
+ */
+ post: operations['admin___queue___clear'];
};
- ChatRoomInvitation: {
- id: string;
- /** Format: date-time */
- createdAt: string;
- userId: string;
- user: components['schemas']['UserLite'];
- roomId: string;
- room: components['schemas']['ChatRoom'];
+ '/admin/queue/deliver-delayed': {
+ /**
+ * admin/queue/deliver-delayed
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:queue*
+ */
+ post: operations['admin___queue___deliver-delayed'];
};
- ChatRoomMembership: {
- id: string;
- /** Format: date-time */
- createdAt: string;
- userId: string;
- user?: components['schemas']['UserLite'];
- roomId: string;
- room?: components['schemas']['ChatRoom'];
+ '/admin/queue/inbox-delayed': {
+ /**
+ * admin/queue/inbox-delayed
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:queue*
+ */
+ post: operations['admin___queue___inbox-delayed'];
};
- };
- responses: never;
- parameters: never;
- requestBodies: never;
- headers: never;
- pathItems: never;
-};
-
-export type $defs = Record<string, never>;
-
-export type external = Record<string, never>;
-
-export type operations = {
-
- /**
- * admin/abuse-report/notification-recipient/create
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *write:admin:abuse-report:notification-recipient*
- */
- 'admin___abuse-report___notification-recipient___create': {
- requestBody: {
- content: {
- 'application/json': {
- isActive: boolean;
- name: string;
- /** @enum {string} */
- method: 'email' | 'webhook';
- /** Format: misskey:id */
- userId?: string;
- /** Format: misskey:id */
- systemWebhookId?: string;
- };
- };
+ '/admin/queue/jobs': {
+ /**
+ * admin/queue/jobs
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:queue*
+ */
+ post: operations['admin___queue___jobs'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['AbuseReportNotificationRecipient'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/admin/queue/promote-jobs': {
+ /**
+ * admin/queue/promote-jobs
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:queue*
+ */
+ post: operations['admin___queue___promote-jobs'];
};
- };
- /**
- * admin/abuse-report/notification-recipient/delete
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *write:admin:abuse-report:notification-recipient*
- */
- 'admin___abuse-report___notification-recipient___delete': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- id: string;
- };
- };
+ '/admin/queue/queue-stats': {
+ /**
+ * admin/queue/queue-stats
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:queue*
+ */
+ post: operations['admin___queue___queue-stats'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/admin/queue/queues': {
+ /**
+ * admin/queue/queues
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:queue*
+ */
+ post: operations['admin___queue___queues'];
};
- };
- /**
- * admin/abuse-report/notification-recipient/list
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *read:admin:abuse-report:notification-recipient*
- */
- 'admin___abuse-report___notification-recipient___list': {
- requestBody: {
- content: {
- 'application/json': {
- method?: ('email' | 'webhook')[];
- };
- };
+ '/admin/queue/remove-job': {
+ /**
+ * admin/queue/remove-job
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:queue*
+ */
+ post: operations['admin___queue___remove-job'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['AbuseReportNotificationRecipient'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/admin/queue/retry-job': {
+ /**
+ * admin/queue/retry-job
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:queue*
+ */
+ post: operations['admin___queue___retry-job'];
};
- };
- /**
- * admin/abuse-report/notification-recipient/show
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *read:admin:abuse-report:notification-recipient*
- */
- 'admin___abuse-report___notification-recipient___show': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- id: string;
- };
- };
+ '/admin/queue/show-job': {
+ /**
+ * admin/queue/show-job
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:queue*
+ */
+ post: operations['admin___queue___show-job'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['AbuseReportNotificationRecipient'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/admin/queue/stats': {
+ /**
+ * admin/queue/stats
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:emoji*
+ */
+ post: operations['admin___queue___stats'];
};
- };
- /**
- * admin/abuse-report/notification-recipient/update
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *write:admin:abuse-report:notification-recipient*
- */
- 'admin___abuse-report___notification-recipient___update': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- id: string;
- isActive: boolean;
- name: string;
- /** @enum {string} */
- method: 'email' | 'webhook';
- /** Format: misskey:id */
- userId?: string;
- /** Format: misskey:id */
- systemWebhookId?: string;
- };
- };
+ '/admin/relays/add': {
+ /**
+ * admin/relays/add
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:relays*
+ */
+ post: operations['admin___relays___add'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['AbuseReportNotificationRecipient'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/admin/relays/list': {
+ /**
+ * admin/relays/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:relays*
+ */
+ post: operations['admin___relays___list'];
};
- };
- /**
- * admin/abuse-user-reports
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:abuse-user-reports*
- */
- 'admin___abuse-user-reports': {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default null */
- state?: string | null;
- /**
- * @default combined
- * @enum {string}
- */
- reporterOrigin?: 'combined' | 'local' | 'remote';
- /**
- * @default combined
- * @enum {string}
- */
- targetUserOrigin?: 'combined' | 'local' | 'remote';
- };
- };
+ '/admin/relays/remove': {
+ /**
+ * admin/relays/remove
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:relays*
+ */
+ post: operations['admin___relays___remove'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': ({
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- createdAt: string;
- comment: string;
- /** @example false */
- resolved: boolean;
- /** Format: id */
- reporterId: string;
- /** Format: id */
- targetUserId: string;
- /** Format: id */
- assigneeId: string | null;
- reporter: components['schemas']['UserDetailedNotMe'];
- targetUser: components['schemas']['UserDetailedNotMe'];
- assignee: components['schemas']['UserDetailedNotMe'] | null;
- forwarded: boolean;
- /** @enum {string|null} */
- resolvedAs: 'accept' | 'reject' | null;
- moderationNote: string;
- })[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/admin/reset-password': {
+ /**
+ * admin/reset-password
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:reset-password*
+ */
+ post: operations['admin___reset-password'];
};
- };
- /**
- * admin/accounts/create
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- admin___accounts___create: {
- requestBody: {
- content: {
- 'application/json': {
- username: string;
- password: string;
- setupPassword?: string | null;
- };
- };
+ '/admin/resolve-abuse-user-report': {
+ /**
+ * admin/resolve-abuse-user-report
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:resolve-abuse-user-report*
+ */
+ post: operations['admin___resolve-abuse-user-report'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['MeDetailed'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/admin/roles/assign': {
+ /**
+ * admin/roles/assign
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:roles*
+ */
+ post: operations['admin___roles___assign'];
};
- };
- /**
- * admin/accounts/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:account*
- */
- admin___accounts___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- };
- };
+ '/admin/roles/create': {
+ /**
+ * admin/roles/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:roles*
+ */
+ post: operations['admin___roles___create'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/admin/roles/delete': {
+ /**
+ * admin/roles/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:roles*
+ */
+ post: operations['admin___roles___delete'];
};
- };
- /**
- * admin/accounts/find-by-email
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:account*
- */
- 'admin___accounts___find-by-email': {
- requestBody: {
- content: {
- 'application/json': {
- email: string;
- };
- };
+ '/admin/roles/list': {
+ /**
+ * admin/roles/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:roles*
+ */
+ post: operations['admin___roles___list'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserDetailedNotMe'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/admin/roles/show': {
+ /**
+ * admin/roles/show
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:roles*
+ */
+ post: operations['admin___roles___show'];
};
- };
- /**
- * admin/ad/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:ad*
- */
- admin___ad___create: {
- requestBody: {
- content: {
- 'application/json': {
- url: string;
- memo: string;
- place: string;
- priority: string;
- ratio: number;
- expiresAt: number;
- startsAt: number;
- imageUrl: string;
- dayOfWeek: number;
- };
- };
+ '/admin/roles/unassign': {
+ /**
+ * admin/roles/unassign
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:roles*
+ */
+ post: operations['admin___roles___unassign'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Ad'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/admin/roles/update': {
+ /**
+ * admin/roles/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:roles*
+ */
+ post: operations['admin___roles___update'];
};
- };
- /**
- * admin/ad/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:ad*
- */
- admin___ad___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- id: string;
- };
- };
+ '/admin/roles/update-default-policies': {
+ /**
+ * admin/roles/update-default-policies
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:roles*
+ */
+ post: operations['admin___roles___update-default-policies'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/admin/roles/users': {
+ /**
+ * admin/roles/users
+ * @description No description provided.
+ *
+ * **Credential required**: *No* / **Permission**: *read:admin:roles*
+ */
+ post: operations['admin___roles___users'];
};
- };
- /**
- * admin/ad/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:ad*
- */
- admin___ad___list: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default null */
- publishing?: boolean | null;
- };
- };
+ '/admin/send-email': {
+ /**
+ * admin/send-email
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:send-email*
+ */
+ post: operations['admin___send-email'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Ad'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/admin/server-info': {
+ /**
+ * admin/server-info
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:server-info*
+ */
+ post: operations['admin___server-info'];
};
- };
- /**
- * admin/ad/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:ad*
- */
- admin___ad___update: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- id: string;
- memo?: string;
- url?: string;
- imageUrl?: string;
- place?: string;
- priority?: string;
- ratio?: number;
- expiresAt?: number;
- startsAt?: number;
- dayOfWeek?: number;
- };
- };
+ '/admin/show-moderation-logs': {
+ /**
+ * admin/show-moderation-logs
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:show-moderation-log*
+ */
+ post: operations['admin___show-moderation-logs'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/admin/show-user': {
+ /**
+ * admin/show-user
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:show-user*
+ */
+ post: operations['admin___show-user'];
};
- };
- /**
- * admin/announcements/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:announcements*
- */
- admin___announcements___create: {
- requestBody: {
- content: {
- 'application/json': {
- title: string;
- text: string;
- imageUrl: string | null;
- /**
- * @default info
- * @enum {string}
- */
- icon?: 'info' | 'warning' | 'error' | 'success';
- /**
- * @default normal
- * @enum {string}
- */
- display?: 'normal' | 'banner' | 'dialog';
- /** @default false */
- forExistingUsers?: boolean;
- /** @default false */
- silence?: boolean;
- /** @default false */
- needConfirmationToRead?: boolean;
- /**
- * Format: misskey:id
- * @default null
- */
- userId?: string | null;
- };
- };
+ '/admin/show-users': {
+ /**
+ * admin/show-users
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:show-user*
+ */
+ post: operations['admin___show-users'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** Format: date-time */
- updatedAt: string | null;
- title: string;
- text: string;
- imageUrl: string | null;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/admin/suspend-user': {
+ /**
+ * admin/suspend-user
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:suspend-user*
+ */
+ post: operations['admin___suspend-user'];
};
- };
- /**
- * admin/announcements/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:announcements*
- */
- admin___announcements___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- id: string;
- };
- };
+ '/admin/system-webhook/create': {
+ /**
+ * admin/system-webhook/create
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
+ */
+ post: operations['admin___system-webhook___create'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/admin/system-webhook/delete': {
+ /**
+ * admin/system-webhook/delete
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
+ */
+ post: operations['admin___system-webhook___delete'];
};
- };
- /**
- * admin/announcements/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:announcements*
- */
- admin___announcements___list: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** Format: misskey:id */
- userId?: string | null;
- /**
- * @default active
- * @enum {string}
- */
- status?: 'all' | 'active' | 'archived';
- };
- };
+ '/admin/system-webhook/list': {
+ /**
+ * admin/system-webhook/list
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
+ */
+ post: operations['admin___system-webhook___list'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': ({
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** Format: date-time */
- updatedAt: string | null;
- text: string;
- title: string;
- imageUrl: string | null;
- reads: number;
- })[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/admin/system-webhook/show': {
+ /**
+ * admin/system-webhook/show
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
+ */
+ post: operations['admin___system-webhook___show'];
};
- };
- /**
- * admin/announcements/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:announcements*
- */
- admin___announcements___update: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- id: string;
- title?: string;
- text?: string;
- imageUrl?: string | null;
- /** @enum {string} */
- icon?: 'info' | 'warning' | 'error' | 'success';
- /** @enum {string} */
- display?: 'normal' | 'banner' | 'dialog';
- forExistingUsers?: boolean;
- silence?: boolean;
- needConfirmationToRead?: boolean;
- isActive?: boolean;
- };
- };
+ '/admin/system-webhook/test': {
+ /**
+ * admin/system-webhook/test
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes* / **Permission**: *read:admin:system-webhook*
+ */
+ post: operations['admin___system-webhook___test'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/admin/system-webhook/update': {
+ /**
+ * admin/system-webhook/update
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
+ */
+ post: operations['admin___system-webhook___update'];
};
- };
- /**
- * admin/avatar-decorations/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:avatar-decorations*
- */
- 'admin___avatar-decorations___create': {
- requestBody: {
- content: {
- 'application/json': {
- name: string;
- description: string;
- url: string;
- roleIdsThatCanBeUsedThisDecoration?: string[];
- };
- };
+ '/admin/unset-user-avatar': {
+ /**
+ * admin/unset-user-avatar
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:unset-user-avatar*
+ */
+ post: operations['admin___unset-user-avatar'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** Format: date-time */
- updatedAt: string | null;
- name: string;
- description: string;
- url: string;
- roleIdsThatCanBeUsedThisDecoration: string[];
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/admin/unset-user-banner': {
+ /**
+ * admin/unset-user-banner
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:unset-user-banner*
+ */
+ post: operations['admin___unset-user-banner'];
};
- };
- /**
- * admin/avatar-decorations/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:avatar-decorations*
- */
- 'admin___avatar-decorations___delete': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- id: string;
- };
- };
+ '/admin/unsuspend-user': {
+ /**
+ * admin/unsuspend-user
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:unsuspend-user*
+ */
+ post: operations['admin___unsuspend-user'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/admin/update-abuse-user-report': {
+ /**
+ * admin/update-abuse-user-report
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:resolve-abuse-user-report*
+ */
+ post: operations['admin___update-abuse-user-report'];
};
- };
- /**
- * admin/avatar-decorations/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:avatar-decorations*
- */
- 'admin___avatar-decorations___list': {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** Format: misskey:id */
- userId?: string | null;
- };
- };
+ '/admin/update-meta': {
+ /**
+ * admin/update-meta
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:meta*
+ */
+ post: operations['admin___update-meta'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': ({
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** Format: date-time */
- updatedAt: string | null;
- name: string;
- description: string;
- url: string;
- roleIdsThatCanBeUsedThisDecoration: string[];
- })[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/admin/update-proxy-account': {
+ /**
+ * admin/update-proxy-account
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:account*
+ */
+ post: operations['admin___update-proxy-account'];
};
- };
- /**
- * admin/avatar-decorations/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:avatar-decorations*
- */
- 'admin___avatar-decorations___update': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- id: string;
- name?: string;
- description?: string;
- url?: string;
- roleIdsThatCanBeUsedThisDecoration?: string[];
- };
- };
+ '/admin/update-user-note': {
+ /**
+ * admin/update-user-note
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:admin:user-note*
+ */
+ post: operations['admin___update-user-note'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/announcements': {
+ /**
+ * announcements
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['announcements'];
};
- };
- /**
- * admin/captcha/current
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:meta*
- */
- admin___captcha___current: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /** @enum {string} */
- provider: 'none' | 'hcaptcha' | 'mcaptcha' | 'recaptcha' | 'turnstile' | 'testcaptcha';
- hcaptcha: {
- siteKey: string | null;
- secretKey: string | null;
- };
- mcaptcha: {
- siteKey: string | null;
- secretKey: string | null;
- instanceUrl: string | null;
- };
- recaptcha: {
- siteKey: string | null;
- secretKey: string | null;
- };
- turnstile: {
- siteKey: string | null;
- secretKey: string | null;
- };
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/announcements/show': {
+ /**
+ * announcements/show
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['announcements___show'];
};
- };
- /**
- * admin/captcha/save
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:meta*
- */
- admin___captcha___save: {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- provider: 'none' | 'hcaptcha' | 'mcaptcha' | 'recaptcha' | 'turnstile' | 'testcaptcha';
- captchaResult?: string | null;
- sitekey?: string | null;
- secret?: string | null;
- instanceUrl?: string | null;
- };
- };
+ '/antennas/create': {
+ /**
+ * antennas/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['antennas___create'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/antennas/delete': {
+ /**
+ * antennas/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['antennas___delete'];
};
- };
- /**
- * admin/delete-account
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:delete-account*
- */
- 'admin___delete-account': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- };
- };
+ '/antennas/list': {
+ /**
+ * antennas/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['antennas___list'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/antennas/notes': {
+ /**
+ * antennas/notes
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['antennas___notes'];
};
- };
- /**
- * admin/delete-all-files-of-a-user
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:delete-all-files-of-a-user*
- */
- 'admin___delete-all-files-of-a-user': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- };
- };
+ '/antennas/show': {
+ /**
+ * antennas/show
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['antennas___show'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/antennas/update': {
+ /**
+ * antennas/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['antennas___update'];
};
- };
- /**
- * admin/drive/clean-remote-files
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:drive*
- */
- 'admin___drive___clean-remote-files': {
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/ap/get': {
+ /**
+ * ap/get
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:federation*
+ */
+ post: operations['ap___get'];
};
- };
- /**
- * admin/drive/cleanup
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:drive*
- */
- admin___drive___cleanup: {
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/ap/show': {
+ /**
+ * ap/show
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['ap___show'];
};
- };
- /**
- * admin/drive/files
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:drive*
- */
- admin___drive___files: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** Format: misskey:id */
- userId?: string | null;
- type?: string | null;
- /**
- * @default local
- * @enum {string}
- */
- origin?: 'combined' | 'local' | 'remote';
- /**
- * @description The local host is represented with `null`.
- * @default null
- */
- hostname?: string | null;
- };
- };
+ '/app/create': {
+ /**
+ * app/create
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['app___create'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['DriveFile'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/app/show': {
+ /**
+ * app/show
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['app___show'];
};
- };
- /**
- * admin/drive/show-file
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:drive*
- */
- 'admin___drive___show-file': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- fileId: string;
- } | {
- url: string;
- };
- };
+ '/auth/accept': {
+ /**
+ * auth/accept
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['auth___accept'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- userId: string | null;
- /** @description The local host is represented with `null`. */
- userHost: string | null;
- /**
- * Format: md5
- * @example 15eca7fba0480996e2245f5185bf39f2
- */
- md5: string;
- /** @example 192.jpg */
- name: string;
- /** @example image/jpeg */
- type: string;
- /** @example 51469 */
- size: number;
- comment: string | null;
- blurhash: string | null;
- properties: {
- width?: number;
- height?: number;
- orientation?: number;
- avgColor?: string;
- };
- /** @example true */
- storedInternal: boolean | null;
- /** Format: url */
- url: string | null;
- /** Format: url */
- thumbnailUrl: string | null;
- /** Format: url */
- webpublicUrl: string | null;
- accessKey: string | null;
- thumbnailAccessKey: string | null;
- webpublicAccessKey: string | null;
- uri: string | null;
- src: string | null;
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- folderId: string | null;
- isSensitive: boolean;
- isLink: boolean;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/auth/session/generate': {
+ /**
+ * auth/session/generate
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['auth___session___generate'];
};
- };
- /**
- * admin/emoji/add
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
- */
- admin___emoji___add: {
- requestBody: {
- content: {
- 'application/json': {
- name: string;
- /** Format: misskey:id */
- fileId: string;
- /** @description Use `null` to reset the category. */
- category?: string | null;
- aliases?: string[];
- license?: string | null;
- isSensitive?: boolean;
- localOnly?: boolean;
- roleIdsThatCanBeUsedThisEmojiAsReaction?: string[];
- };
- };
+ '/auth/session/show': {
+ /**
+ * auth/session/show
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['auth___session___show'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['EmojiDetailed'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/auth/session/userkey': {
+ /**
+ * auth/session/userkey
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['auth___session___userkey'];
};
- };
- /**
- * admin/emoji/add-aliases-bulk
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
- */
- 'admin___emoji___add-aliases-bulk': {
- requestBody: {
- content: {
- 'application/json': {
- ids: string[];
- aliases: string[];
- };
- };
+ '/blocking/create': {
+ /**
+ * blocking/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:blocks*
+ */
+ post: operations['blocking___create'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/blocking/delete': {
+ /**
+ * blocking/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:blocks*
+ */
+ post: operations['blocking___delete'];
};
- };
- /**
- * admin/emoji/copy
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
- */
- admin___emoji___copy: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- emojiId: string;
- };
- };
+ '/blocking/list': {
+ /**
+ * blocking/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:blocks*
+ */
+ post: operations['blocking___list'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /** Format: id */
- id: string;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/bubble-game/ranking': {
+ /**
+ * bubble-game/ranking
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['bubble-game___ranking'];
};
- };
- /**
- * admin/emoji/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
- */
- admin___emoji___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- id: string;
- };
- };
+ '/bubble-game/register': {
+ /**
+ * bubble-game/register
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['bubble-game___register'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/channels/create': {
+ /**
+ * channels/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:channels*
+ */
+ post: operations['channels___create'];
};
- };
- /**
- * admin/emoji/delete-bulk
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
- */
- 'admin___emoji___delete-bulk': {
- requestBody: {
- content: {
- 'application/json': {
- ids: string[];
- };
- };
+ '/channels/favorite': {
+ /**
+ * channels/favorite
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:channels*
+ */
+ post: operations['channels___favorite'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/channels/featured': {
+ /**
+ * channels/featured
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['channels___featured'];
};
- };
- /**
- * admin/emoji/import-zip
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'admin___emoji___import-zip': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- fileId: string;
- };
- };
+ '/channels/follow': {
+ /**
+ * channels/follow
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:channels*
+ */
+ post: operations['channels___follow'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/channels/followed': {
+ /**
+ * channels/followed
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:channels*
+ */
+ post: operations['channels___followed'];
};
- };
- /**
- * admin/emoji/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:emoji*
- */
- admin___emoji___list: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default null */
- query?: string | null;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- };
- };
+ '/channels/my-favorites': {
+ /**
+ * channels/my-favorites
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:channels*
+ */
+ post: operations['channels___my-favorites'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': ({
- /** Format: id */
- id: string;
- aliases: string[];
- name: string;
- category: string | null;
- /** @description The local host is represented with `null`. The field exists for compatibility with other API endpoints that return files. */
- host: string | null;
- url: string;
- })[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/channels/owned': {
+ /**
+ * channels/owned
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:channels*
+ */
+ post: operations['channels___owned'];
};
- };
- /**
- * admin/emoji/list-remote
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:emoji*
- */
- 'admin___emoji___list-remote': {
- requestBody: {
- content: {
- 'application/json': {
- /** @default null */
- query?: string | null;
- /**
- * @description Use `null` to represent the local host.
- * @default null
- */
- host?: string | null;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- };
- };
+ '/channels/search': {
+ /**
+ * channels/search
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['channels___search'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': ({
- /** Format: id */
- id: string;
- aliases: string[];
- name: string;
- category: string | null;
- /** @description The local host is represented with `null`. */
- host: string | null;
- url: string;
- })[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/channels/show': {
+ /**
+ * channels/show
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['channels___show'];
};
- };
- /**
- * admin/emoji/remove-aliases-bulk
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
- */
- 'admin___emoji___remove-aliases-bulk': {
- requestBody: {
- content: {
- 'application/json': {
- ids: string[];
- aliases: string[];
- };
- };
+ '/channels/timeline': {
+ /**
+ * channels/timeline
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['channels___timeline'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/channels/unfavorite': {
+ /**
+ * channels/unfavorite
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:channels*
+ */
+ post: operations['channels___unfavorite'];
};
- };
- /**
- * admin/emoji/set-aliases-bulk
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
- */
- 'admin___emoji___set-aliases-bulk': {
- requestBody: {
- content: {
- 'application/json': {
- ids: string[];
- aliases: string[];
- };
- };
+ '/channels/unfollow': {
+ /**
+ * channels/unfollow
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:channels*
+ */
+ post: operations['channels___unfollow'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/channels/update': {
+ /**
+ * channels/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:channels*
+ */
+ post: operations['channels___update'];
};
- };
- /**
- * admin/emoji/set-category-bulk
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
- */
- 'admin___emoji___set-category-bulk': {
- requestBody: {
- content: {
- 'application/json': {
- ids: string[];
- /** @description Use `null` to reset the category. */
- category?: string | null;
- };
- };
+ '/charts/active-users': {
+ /**
+ * charts/active-users
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['charts___active-users'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/charts/ap-request': {
+ /**
+ * charts/ap-request
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['charts___ap-request'];
};
- };
- /**
- * admin/emoji/set-license-bulk
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
- */
- 'admin___emoji___set-license-bulk': {
- requestBody: {
- content: {
- 'application/json': {
- ids: string[];
- /** @description Use `null` to reset the license. */
- license?: string | null;
- };
- };
+ '/charts/drive': {
+ /**
+ * charts/drive
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['charts___drive'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/charts/federation': {
+ /**
+ * charts/federation
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['charts___federation'];
};
- };
- /**
- * admin/emoji/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:emoji*
- */
- admin___emoji___update: {
- requestBody: {
- content: {
- 'application/json': ({
- /** Format: misskey:id */
- id: string;
- } | {
- name: string;
- }) & ({
- /** Format: misskey:id */
- fileId?: string;
- /** @description Use `null` to reset the category. */
- category?: string | null;
- aliases?: string[];
- license?: string | null;
- isSensitive?: boolean;
- localOnly?: boolean;
- roleIdsThatCanBeUsedThisEmojiAsReaction?: string[];
- });
- };
+ '/charts/instance': {
+ /**
+ * charts/instance
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['charts___instance'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/charts/notes': {
+ /**
+ * charts/notes
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['charts___notes'];
};
- };
- /**
- * admin/federation/delete-all-files
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:federation*
- */
- 'admin___federation___delete-all-files': {
- requestBody: {
- content: {
- 'application/json': {
- host: string;
- };
- };
+ '/charts/user/drive': {
+ /**
+ * charts/user/drive
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['charts___user___drive'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/charts/user/following': {
+ /**
+ * charts/user/following
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['charts___user___following'];
};
- };
- /**
- * admin/federation/refresh-remote-instance-metadata
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:federation*
- */
- 'admin___federation___refresh-remote-instance-metadata': {
- requestBody: {
- content: {
- 'application/json': {
- host: string;
- };
- };
+ '/charts/user/notes': {
+ /**
+ * charts/user/notes
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['charts___user___notes'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/charts/user/pv': {
+ /**
+ * charts/user/pv
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['charts___user___pv'];
};
- };
- /**
- * admin/federation/remove-all-following
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:federation*
- */
- 'admin___federation___remove-all-following': {
- requestBody: {
- content: {
- 'application/json': {
- host: string;
- };
- };
+ '/charts/user/reactions': {
+ /**
+ * charts/user/reactions
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['charts___user___reactions'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/charts/users': {
+ /**
+ * charts/users
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['charts___users'];
};
- };
- /**
- * admin/federation/update-instance
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:federation*
- */
- 'admin___federation___update-instance': {
- requestBody: {
- content: {
- 'application/json': {
- host: string;
- isSuspended?: boolean;
- moderationNote?: string;
- };
- };
+ '/chat/history': {
+ /**
+ * chat/history
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:chat*
+ */
+ post: operations['chat___history'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/chat/messages/create-to-room': {
+ /**
+ * chat/messages/create-to-room
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:chat*
+ */
+ post: operations['chat___messages___create-to-room'];
};
- };
- /**
- * admin/forward-abuse-user-report
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:resolve-abuse-user-report*
- */
- 'admin___forward-abuse-user-report': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- reportId: string;
- };
- };
+ '/chat/messages/create-to-user': {
+ /**
+ * chat/messages/create-to-user
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:chat*
+ */
+ post: operations['chat___messages___create-to-user'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/chat/messages/delete': {
+ /**
+ * chat/messages/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:chat*
+ */
+ post: operations['chat___messages___delete'];
};
- };
- /**
- * admin/get-index-stats
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:index-stats*
- */
- 'admin___get-index-stats': {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- tablename: string;
- indexname: string;
- }[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/chat/messages/react': {
+ /**
+ * chat/messages/react
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:chat*
+ */
+ post: operations['chat___messages___react'];
};
- };
- /**
- * admin/get-table-stats
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:table-stats*
- */
- 'admin___get-table-stats': {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- [key: string]: {
- count: number;
- size: number;
- };
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/chat/messages/room-timeline': {
+ /**
+ * chat/messages/room-timeline
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:chat*
+ */
+ post: operations['chat___messages___room-timeline'];
};
- };
- /**
- * admin/get-user-ips
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:user-ips*
- */
- 'admin___get-user-ips': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- };
- };
+ '/chat/messages/search': {
+ /**
+ * chat/messages/search
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:chat*
+ */
+ post: operations['chat___messages___search'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- ip: string;
- /** Format: date-time */
- createdAt: string;
- }[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/chat/messages/show': {
+ /**
+ * chat/messages/show
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:chat*
+ */
+ post: operations['chat___messages___show'];
};
- };
- /**
- * admin/invite/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:invite-codes*
- */
- admin___invite___create: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 1 */
- count?: number;
- expiresAt?: string | null;
- };
- };
+ '/chat/messages/unreact': {
+ /**
+ * chat/messages/unreact
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:chat*
+ */
+ post: operations['chat___messages___unreact'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['InviteCode'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/chat/messages/user-timeline': {
+ /**
+ * chat/messages/user-timeline
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:chat*
+ */
+ post: operations['chat___messages___user-timeline'];
};
- };
- /**
- * admin/invite/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:invite-codes*
- */
- admin___invite___list: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 30 */
- limit?: number;
- /** @default 0 */
- offset?: number;
- /**
- * @default all
- * @enum {string}
- */
- type?: 'unused' | 'used' | 'expired' | 'all';
- /** @enum {string} */
- sort?: '+createdAt' | '-createdAt' | '+usedAt' | '-usedAt';
- };
- };
+ '/chat/read-all': {
+ /**
+ * chat/read-all
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:chat*
+ */
+ post: operations['chat___read-all'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['InviteCode'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/chat/rooms/create': {
+ /**
+ * chat/rooms/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:chat*
+ */
+ post: operations['chat___rooms___create'];
};
- };
- /**
- * admin/meta
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:meta*
- */
- admin___meta: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- cacheRemoteFiles: boolean;
- cacheRemoteSensitiveFiles: boolean;
- emailRequiredForSignup: boolean;
- enableHcaptcha: boolean;
- hcaptchaSiteKey: string | null;
- enableMcaptcha: boolean;
- mcaptchaSiteKey: string | null;
- mcaptchaInstanceUrl: string | null;
- enableRecaptcha: boolean;
- recaptchaSiteKey: string | null;
- enableTurnstile: boolean;
- turnstileSiteKey: string | null;
- enableTestcaptcha: boolean;
- googleAnalyticsMeasurementId: string | null;
- swPublickey: string | null;
- /** @default /assets/ai.png */
- mascotImageUrl: string | null;
- bannerUrl: string | null;
- serverErrorImageUrl: string | null;
- infoImageUrl: string | null;
- notFoundImageUrl: string | null;
- iconUrl: string | null;
- app192IconUrl: string | null;
- app512IconUrl: string | null;
- enableEmail: boolean;
- enableServiceWorker: boolean;
- translatorAvailable: boolean;
- silencedHosts?: string[];
- mediaSilencedHosts: string[];
- pinnedUsers: string[];
- hiddenTags: string[];
- blockedHosts: string[];
- sensitiveWords: string[];
- prohibitedWords: string[];
- prohibitedWordsForNameOfUser: string[];
- bannedEmailDomains?: string[];
- preservedUsernames: string[];
- hcaptchaSecretKey: string | null;
- mcaptchaSecretKey: string | null;
- recaptchaSecretKey: string | null;
- turnstileSecretKey: string | null;
- sensitiveMediaDetection: string;
- sensitiveMediaDetectionSensitivity: string;
- setSensitiveFlagAutomatically: boolean;
- enableSensitiveMediaDetectionForVideos: boolean;
- /** Format: id */
- proxyAccountId: string;
- email: string | null;
- smtpSecure: boolean;
- smtpHost: string | null;
- smtpPort: number | null;
- smtpUser: string | null;
- smtpPass: string | null;
- swPrivateKey: string | null;
- useObjectStorage: boolean;
- objectStorageBaseUrl: string | null;
- objectStorageBucket: string | null;
- objectStoragePrefix: string | null;
- objectStorageEndpoint: string | null;
- objectStorageRegion: string | null;
- objectStoragePort: number | null;
- objectStorageAccessKey: string | null;
- objectStorageSecretKey: string | null;
- objectStorageUseSSL: boolean;
- objectStorageUseProxy: boolean;
- objectStorageSetPublicRead: boolean;
- enableIpLogging: boolean;
- enableActiveEmailValidation: boolean;
- enableVerifymailApi: boolean;
- verifymailAuthKey: string | null;
- enableTruemailApi: boolean;
- truemailInstance: string | null;
- truemailAuthKey: string | null;
- enableChartsForRemoteUser: boolean;
- enableChartsForFederatedInstances: boolean;
- enableStatsForFederatedInstances: boolean;
- enableServerMachineStats: boolean;
- enableIdenticonGeneration: boolean;
- manifestJsonOverride: string;
- policies: Record<string, never>;
- enableFanoutTimeline: boolean;
- enableFanoutTimelineDbFallback: boolean;
- perLocalUserUserTimelineCacheMax: number;
- perRemoteUserUserTimelineCacheMax: number;
- perUserHomeTimelineCacheMax: number;
- perUserListTimelineCacheMax: number;
- enableReactionsBuffering: boolean;
- notesPerOneAd: number;
- backgroundImageUrl: string | null;
- deeplAuthKey: string | null;
- deeplIsPro: boolean;
- defaultDarkTheme: string | null;
- defaultLightTheme: string | null;
- description: string | null;
- disableRegistration: boolean;
- impressumUrl: string | null;
- maintainerEmail: string | null;
- maintainerName: string | null;
- name: string | null;
- shortName: string | null;
- objectStorageS3ForcePathStyle: boolean;
- privacyPolicyUrl: string | null;
- inquiryUrl: string | null;
- repositoryUrl: string | null;
- /**
- * @deprecated
- * @description [Deprecated] Use "urlPreviewSummaryProxyUrl" instead.
- */
- summalyProxy: string | null;
- themeColor: string | null;
- tosUrl: string | null;
- uri: string;
- version: string;
- urlPreviewEnabled: boolean;
- urlPreviewAllowRedirect: boolean;
- urlPreviewTimeout: number;
- urlPreviewMaximumContentLength: number;
- urlPreviewRequireContentLength: boolean;
- urlPreviewUserAgent: string | null;
- urlPreviewSummaryProxyUrl: string | null;
- /** @enum {string} */
- federation: 'all' | 'specified' | 'none';
- federationHosts: string[];
- deliverSuspendedSoftware: {
- software: string;
- versionRange: string;
- }[];
- singleUserMode: boolean;
- /** @enum {string} */
- ugcVisibilityForVisitor: 'all' | 'local' | 'none';
- proxyRemoteFiles: boolean;
- signToActivityPubGet: boolean;
- allowExternalApRedirect: boolean;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/chat/rooms/delete': {
+ /**
+ * chat/rooms/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:chat*
+ */
+ post: operations['chat___rooms___delete'];
};
- };
- /**
- * admin/promo/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:promo*
- */
- admin___promo___create: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
- expiresAt: number;
- };
- };
+ '/chat/rooms/invitations/create': {
+ /**
+ * chat/rooms/invitations/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:chat*
+ */
+ post: operations['chat___rooms___invitations___create'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/chat/rooms/invitations/ignore': {
+ /**
+ * chat/rooms/invitations/ignore
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:chat*
+ */
+ post: operations['chat___rooms___invitations___ignore'];
};
- };
- /**
- * admin/queue/clear
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:queue*
- */
- admin___queue___clear: {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- queue: 'system' | 'endedPollNotification' | 'deliver' | 'inbox' | 'db' | 'relationship' | 'objectStorage' | 'userWebhookDeliver' | 'systemWebhookDeliver';
- /** @enum {string} */
- state: '*' | 'completed' | 'wait' | 'active' | 'paused' | 'prioritized' | 'delayed' | 'failed';
- };
- };
+ '/chat/rooms/invitations/inbox': {
+ /**
+ * chat/rooms/invitations/inbox
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:chat*
+ */
+ post: operations['chat___rooms___invitations___inbox'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/chat/rooms/invitations/outbox': {
+ /**
+ * chat/rooms/invitations/outbox
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:chat*
+ */
+ post: operations['chat___rooms___invitations___outbox'];
};
- };
- /**
- * admin/queue/deliver-delayed
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:queue*
- */
- 'admin___queue___deliver-delayed': {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': [string, number][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/chat/rooms/join': {
+ /**
+ * chat/rooms/join
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:chat*
+ */
+ post: operations['chat___rooms___join'];
};
- };
- /**
- * admin/queue/inbox-delayed
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:queue*
- */
- 'admin___queue___inbox-delayed': {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': [string, number][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/chat/rooms/joining': {
+ /**
+ * chat/rooms/joining
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:chat*
+ */
+ post: operations['chat___rooms___joining'];
};
- };
- /**
- * admin/queue/jobs
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:queue*
- */
- admin___queue___jobs: {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- queue: 'system' | 'endedPollNotification' | 'deliver' | 'inbox' | 'db' | 'relationship' | 'objectStorage' | 'userWebhookDeliver' | 'systemWebhookDeliver';
- state: ('active' | 'wait' | 'delayed' | 'completed' | 'failed' | 'paused')[];
- search?: string;
- };
- };
+ '/chat/rooms/leave': {
+ /**
+ * chat/rooms/leave
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:chat*
+ */
+ post: operations['chat___rooms___leave'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['QueueJob'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/chat/rooms/members': {
+ /**
+ * chat/rooms/members
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:chat*
+ */
+ post: operations['chat___rooms___members'];
};
- };
- /**
- * admin/queue/promote-jobs
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:queue*
- */
- 'admin___queue___promote-jobs': {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- queue: 'system' | 'endedPollNotification' | 'deliver' | 'inbox' | 'db' | 'relationship' | 'objectStorage' | 'userWebhookDeliver' | 'systemWebhookDeliver';
- };
- };
+ '/chat/rooms/mute': {
+ /**
+ * chat/rooms/mute
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:chat*
+ */
+ post: operations['chat___rooms___mute'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/chat/rooms/owned': {
+ /**
+ * chat/rooms/owned
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:chat*
+ */
+ post: operations['chat___rooms___owned'];
};
- };
- /**
- * admin/queue/queue-stats
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:queue*
- */
- 'admin___queue___queue-stats': {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- queue: 'system' | 'endedPollNotification' | 'deliver' | 'inbox' | 'db' | 'relationship' | 'objectStorage' | 'userWebhookDeliver' | 'systemWebhookDeliver';
- };
- };
+ '/chat/rooms/show': {
+ /**
+ * chat/rooms/show
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:chat*
+ */
+ post: operations['chat___rooms___show'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /** @enum {string} */
- name: 'system' | 'endedPollNotification' | 'deliver' | 'inbox' | 'db' | 'relationship' | 'objectStorage' | 'userWebhookDeliver' | 'systemWebhookDeliver';
- qualifiedName: string;
- counts: {
- [key: string]: number;
- };
- isPaused: boolean;
- metrics: {
- completed: components['schemas']['QueueMetrics'];
- failed: components['schemas']['QueueMetrics'];
- };
- db: {
- version: string;
- /** @enum {string} */
- mode: 'cluster' | 'standalone' | 'sentinel';
- runId: string;
- processId: string;
- port: number;
- os: string;
- uptime: number;
- memory: {
- total: number;
- used: number;
- fragmentationRatio: number;
- peak: number;
- };
- clients: {
- blocked: number;
- connected: number;
- };
- };
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/chat/rooms/update': {
+ /**
+ * chat/rooms/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:chat*
+ */
+ post: operations['chat___rooms___update'];
};
- };
- /**
- * admin/queue/queues
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:queue*
- */
- admin___queue___queues: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': ({
- /** @enum {string} */
- name: 'system' | 'endedPollNotification' | 'deliver' | 'inbox' | 'db' | 'relationship' | 'objectStorage' | 'userWebhookDeliver' | 'systemWebhookDeliver';
- counts: {
- [key: string]: number;
- };
- isPaused: boolean;
- metrics: {
- completed: components['schemas']['QueueMetrics'];
- failed: components['schemas']['QueueMetrics'];
- };
- })[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/clips/add-note': {
+ /**
+ * clips/add-note
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['clips___add-note'];
};
- };
- /**
- * admin/queue/remove-job
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:queue*
- */
- 'admin___queue___remove-job': {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- queue: 'system' | 'endedPollNotification' | 'deliver' | 'inbox' | 'db' | 'relationship' | 'objectStorage' | 'userWebhookDeliver' | 'systemWebhookDeliver';
- jobId: string;
- };
- };
+ '/clips/create': {
+ /**
+ * clips/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['clips___create'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/clips/delete': {
+ /**
+ * clips/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['clips___delete'];
};
- };
- /**
- * admin/queue/retry-job
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:queue*
- */
- 'admin___queue___retry-job': {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- queue: 'system' | 'endedPollNotification' | 'deliver' | 'inbox' | 'db' | 'relationship' | 'objectStorage' | 'userWebhookDeliver' | 'systemWebhookDeliver';
- jobId: string;
- };
- };
+ '/clips/favorite': {
+ /**
+ * clips/favorite
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:clip-favorite*
+ */
+ post: operations['clips___favorite'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/clips/list': {
+ /**
+ * clips/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['clips___list'];
};
- };
- /**
- * admin/queue/show-job
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:queue*
- */
- 'admin___queue___show-job': {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- queue: 'system' | 'endedPollNotification' | 'deliver' | 'inbox' | 'db' | 'relationship' | 'objectStorage' | 'userWebhookDeliver' | 'systemWebhookDeliver';
- jobId: string;
- };
- };
+ '/clips/my-favorites': {
+ /**
+ * clips/my-favorites
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:clip-favorite*
+ */
+ post: operations['clips___my-favorites'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['QueueJob'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/clips/notes': {
+ /**
+ * clips/notes
+ * @description No description provided.
+ *
+ * **Credential required**: *No* / **Permission**: *read:account*
+ */
+ post: operations['clips___notes'];
};
- };
- /**
- * admin/queue/stats
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:emoji*
- */
- admin___queue___stats: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- deliver: components['schemas']['QueueCount'];
- inbox: components['schemas']['QueueCount'];
- db: components['schemas']['QueueCount'];
- objectStorage: components['schemas']['QueueCount'];
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/clips/remove-note': {
+ /**
+ * clips/remove-note
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['clips___remove-note'];
};
- };
- /**
- * admin/relays/add
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:relays*
- */
- admin___relays___add: {
- requestBody: {
- content: {
- 'application/json': {
- inbox: string;
- };
- };
+ '/clips/show': {
+ /**
+ * clips/show
+ * @description No description provided.
+ *
+ * **Credential required**: *No* / **Permission**: *read:account*
+ */
+ post: operations['clips___show'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /** Format: id */
- id: string;
- /** Format: url */
- inbox: string;
- /**
- * @default requesting
- * @enum {string}
- */
- status: 'requesting' | 'accepted' | 'rejected';
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/clips/unfavorite': {
+ /**
+ * clips/unfavorite
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:clip-favorite*
+ */
+ post: operations['clips___unfavorite'];
};
- };
- /**
- * admin/relays/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:relays*
- */
- admin___relays___list: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': ({
- /** Format: id */
- id: string;
- /** Format: url */
- inbox: string;
- /**
- * @default requesting
- * @enum {string}
- */
- status: 'requesting' | 'accepted' | 'rejected';
- })[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/clips/update': {
+ /**
+ * clips/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['clips___update'];
};
- };
- /**
- * admin/relays/remove
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:relays*
- */
- admin___relays___remove: {
- requestBody: {
- content: {
- 'application/json': {
- inbox: string;
- };
- };
+ '/drive': {
+ /**
+ * drive
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:drive*
+ */
+ post: operations['drive'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/drive/files': {
+ /**
+ * drive/files
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:drive*
+ */
+ post: operations['drive___files'];
};
- };
- /**
- * admin/reset-password
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:reset-password*
- */
- 'admin___reset-password': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- };
- };
+ '/drive/files/attached-notes': {
+ /**
+ * drive/files/attached-notes
+ * @description Find the notes to which the given file is attached.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:drive*
+ */
+ post: operations['drive___files___attached-notes'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- password: string;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/drive/files/check-existence': {
+ /**
+ * drive/files/check-existence
+ * @description Check if a given file exists.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:drive*
+ */
+ post: operations['drive___files___check-existence'];
};
- };
- /**
- * admin/resolve-abuse-user-report
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:resolve-abuse-user-report*
- */
- 'admin___resolve-abuse-user-report': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- reportId: string;
- /** @enum {string|null} */
- resolvedAs?: 'accept' | 'reject' | null;
- };
- };
+ '/drive/files/create': {
+ /**
+ * drive/files/create
+ * @description Upload a new drive file.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:drive*
+ */
+ post: operations['drive___files___create'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/drive/files/delete': {
+ /**
+ * drive/files/delete
+ * @description Delete an existing drive file.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:drive*
+ */
+ post: operations['drive___files___delete'];
};
- };
- /**
- * admin/roles/assign
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:roles*
- */
- admin___roles___assign: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- roleId: string;
- /** Format: misskey:id */
- userId: string;
- expiresAt?: number | null;
- };
- };
+ '/drive/files/find': {
+ /**
+ * drive/files/find
+ * @description Search for a drive file by the given parameters.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:drive*
+ */
+ post: operations['drive___files___find'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/drive/files/find-by-hash': {
+ /**
+ * drive/files/find-by-hash
+ * @description Search for a drive file by a hash of the contents.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:drive*
+ */
+ post: operations['drive___files___find-by-hash'];
};
- };
- /**
- * admin/roles/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:roles*
- */
- admin___roles___create: {
- requestBody: {
- content: {
- 'application/json': {
- name: string;
- description: string;
- color: string | null;
- iconUrl: string | null;
- /** @enum {string} */
- target: 'manual' | 'conditional';
- condFormula: Record<string, never>;
- isPublic: boolean;
- isModerator: boolean;
- isAdministrator: boolean;
- /** @default false */
- isExplorable?: boolean;
- asBadge: boolean;
- preserveAssignmentOnMoveAccount?: boolean;
- canEditMembersByModerator: boolean;
- displayOrder: number;
- policies: Record<string, never>;
- };
- };
+ '/drive/files/move-bulk': {
+ /**
+ * drive/files/move-bulk
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:drive*
+ */
+ post: operations['drive___files___move-bulk'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Role'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/drive/files/show': {
+ /**
+ * drive/files/show
+ * @description Show the properties of a drive file.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:drive*
+ */
+ post: operations['drive___files___show'];
};
- };
- /**
- * admin/roles/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:roles*
- */
- admin___roles___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- roleId: string;
- };
- };
+ '/drive/files/update': {
+ /**
+ * drive/files/update
+ * @description Update the properties of a drive file.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:drive*
+ */
+ post: operations['drive___files___update'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/drive/files/upload-from-url': {
+ /**
+ * drive/files/upload-from-url
+ * @description Request the server to download a new drive file from the specified URL.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:drive*
+ */
+ post: operations['drive___files___upload-from-url'];
};
- };
- /**
- * admin/roles/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:roles*
- */
- admin___roles___list: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Role'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/drive/folders': {
+ /**
+ * drive/folders
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:drive*
+ */
+ post: operations['drive___folders'];
};
- };
- /**
- * admin/roles/show
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:roles*
- */
- admin___roles___show: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- roleId: string;
- };
- };
+ '/drive/folders/create': {
+ /**
+ * drive/folders/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:drive*
+ */
+ post: operations['drive___folders___create'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Role'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/drive/folders/delete': {
+ /**
+ * drive/folders/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:drive*
+ */
+ post: operations['drive___folders___delete'];
};
- };
- /**
- * admin/roles/unassign
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:roles*
- */
- admin___roles___unassign: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- roleId: string;
- /** Format: misskey:id */
- userId: string;
- };
- };
+ '/drive/folders/find': {
+ /**
+ * drive/folders/find
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:drive*
+ */
+ post: operations['drive___folders___find'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/drive/folders/show': {
+ /**
+ * drive/folders/show
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:drive*
+ */
+ post: operations['drive___folders___show'];
};
- };
- /**
- * admin/roles/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:roles*
- */
- admin___roles___update: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- roleId: string;
- name?: string;
- description?: string;
- color?: string | null;
- iconUrl?: string | null;
- /** @enum {string} */
- target?: 'manual' | 'conditional';
- condFormula?: Record<string, never>;
- isPublic?: boolean;
- isModerator?: boolean;
- isAdministrator?: boolean;
- isExplorable?: boolean;
- asBadge?: boolean;
- preserveAssignmentOnMoveAccount?: boolean;
- canEditMembersByModerator?: boolean;
- displayOrder?: number;
- policies?: Record<string, never>;
- };
- };
+ '/drive/folders/update': {
+ /**
+ * drive/folders/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:drive*
+ */
+ post: operations['drive___folders___update'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/drive/stream': {
+ /**
+ * drive/stream
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:drive*
+ */
+ post: operations['drive___stream'];
};
- };
- /**
- * admin/roles/update-default-policies
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:roles*
- */
- 'admin___roles___update-default-policies': {
- requestBody: {
- content: {
- 'application/json': {
- policies: Record<string, never>;
- };
- };
+ '/email-address/available': {
+ /**
+ * email-address/available
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['email-address___available'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/emoji': {
+ /**
+ * emoji
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['emoji'];
};
- };
- /**
- * admin/roles/users
- * @description No description provided.
- *
- * **Credential required**: *No* / **Permission**: *read:admin:roles*
- */
- admin___roles___users: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- roleId: string;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default 10 */
- limit?: number;
- };
- };
+ '/emojis': {
+ /**
+ * emojis
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['emojis'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': ({
- /** Format: misskey:id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- user: components['schemas']['UserDetailed'];
- /** Format: date-time */
- expiresAt: string | null;
- })[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/endpoint': {
+ /**
+ * endpoint
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['endpoint'];
};
- };
- /**
- * admin/send-email
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:send-email*
- */
- 'admin___send-email': {
- requestBody: {
- content: {
- 'application/json': {
- to: string;
- subject: string;
- text: string;
- };
- };
+ '/endpoints': {
+ /**
+ * endpoints
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['endpoints'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/export-custom-emojis': {
+ /**
+ * export-custom-emojis
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['export-custom-emojis'];
};
- };
- /**
- * admin/server-info
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:server-info*
- */
- 'admin___server-info': {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- machine: string;
- /** @example linux */
- os: string;
- node: string;
- psql: string;
- cpu: {
- model: string;
- cores: number;
- };
- mem: {
- /** Format: bytes */
- total: number;
- };
- fs: {
- /** Format: bytes */
- total: number;
- /** Format: bytes */
- used: number;
- };
- net: {
- /** @example eth0 */
- interface: string;
- };
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/federation/followers': {
+ /**
+ * federation/followers
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['federation___followers'];
};
- };
- /**
- * admin/show-moderation-logs
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:show-moderation-log*
- */
- 'admin___show-moderation-logs': {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- type?: string | null;
- /** Format: misskey:id */
- userId?: string | null;
- };
- };
+ '/federation/following': {
+ /**
+ * federation/following
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['federation___following'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /** Format: id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- type: string;
- info: Record<string, never>;
- /** Format: id */
- userId: string;
- user: components['schemas']['UserDetailedNotMe'];
- }[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/federation/instances': {
+ /**
+ * federation/instances
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['federation___instances'];
};
- };
- /**
- * admin/show-user
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:show-user*
- */
- 'admin___show-user': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- };
- };
+ '/federation/show-instance': {
+ /**
+ * federation/show-instance
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['federation___show-instance'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- email: string | null;
- emailVerified: boolean;
- followedMessage: string | null;
- autoAcceptFollowed: boolean;
- noCrawle: boolean;
- preventAiLearning: boolean;
- alwaysMarkNsfw: boolean;
- autoSensitive: boolean;
- carefulBot: boolean;
- injectFeaturedNote: boolean;
- receiveAnnouncementEmail: boolean;
- mutedWords: (string | string[])[];
- mutedInstances: string[];
- notificationRecieveConfig: {
- note?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- follow?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- mention?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- reply?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- renote?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- quote?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- reaction?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- pollEnded?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- receiveFollowRequest?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- followRequestAccepted?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- roleAssigned?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- chatRoomInvitationReceived?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- achievementEarned?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- app?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- test?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- };
- isModerator: boolean;
- isSilenced: boolean;
- isSuspended: boolean;
- isHibernated: boolean;
- lastActiveDate: string | null;
- moderationNote: string;
- signins: components['schemas']['Signin'][];
- policies: components['schemas']['RolePolicies'];
- roles: components['schemas']['Role'][];
- roleAssigns: ({
- createdAt: string;
- expiresAt: string | null;
- roleId: string;
- })[];
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/federation/stats': {
+ /**
+ * federation/stats
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['federation___stats'];
};
- };
- /**
- * admin/show-users
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:show-user*
- */
- 'admin___show-users': {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** @default 0 */
- offset?: number;
- /** @enum {string} */
- sort?: '+follower' | '-follower' | '+createdAt' | '-createdAt' | '+updatedAt' | '-updatedAt' | '+lastActiveDate' | '-lastActiveDate';
- /**
- * @default all
- * @enum {string}
- */
- state?: 'all' | 'alive' | 'available' | 'admin' | 'moderator' | 'adminOrModerator' | 'suspended';
- /**
- * @default combined
- * @enum {string}
- */
- origin?: 'combined' | 'local' | 'remote';
- /** @default null */
- username?: string | null;
- /**
- * @description The local host is represented with `null`.
- * @default null
- */
- hostname?: string | null;
- };
- };
+ '/federation/update-remote-user': {
+ /**
+ * federation/update-remote-user
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['federation___update-remote-user'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserDetailed'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/federation/users': {
+ /**
+ * federation/users
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['federation___users'];
};
- };
- /**
- * admin/suspend-user
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:suspend-user*
- */
- 'admin___suspend-user': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- };
- };
+ '/fetch-external-resources': {
+ /**
+ * fetch-external-resources
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['fetch-external-resources'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/fetch-rss': {
+ /**
+ * fetch-rss
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['fetch-rss'];
};
- };
- /**
- * admin/system-webhook/create
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
- */
- 'admin___system-webhook___create': {
- requestBody: {
- content: {
- 'application/json': {
- isActive: boolean;
- name: string;
- on: ('abuseReport' | 'abuseReportResolved' | 'userCreated' | 'inactiveModeratorsWarning' | 'inactiveModeratorsInvitationOnlyChanged')[];
- url: string;
- secret: string;
- };
- };
+ '/flash/create': {
+ /**
+ * flash/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:flash*
+ */
+ post: operations['flash___create'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['SystemWebhook'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/flash/delete': {
+ /**
+ * flash/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:flash*
+ */
+ post: operations['flash___delete'];
};
- };
- /**
- * admin/system-webhook/delete
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
- */
- 'admin___system-webhook___delete': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- id: string;
- };
- };
+ '/flash/featured': {
+ /**
+ * flash/featured
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['flash___featured'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/flash/like': {
+ /**
+ * flash/like
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:flash-likes*
+ */
+ post: operations['flash___like'];
};
- };
- /**
- * admin/system-webhook/list
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
- */
- 'admin___system-webhook___list': {
- requestBody: {
- content: {
- 'application/json': {
- isActive?: boolean;
- on?: ('abuseReport' | 'abuseReportResolved' | 'userCreated' | 'inactiveModeratorsWarning' | 'inactiveModeratorsInvitationOnlyChanged')[];
- };
- };
+ '/flash/my': {
+ /**
+ * flash/my
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:flash*
+ */
+ post: operations['flash___my'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['SystemWebhook'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/flash/my-likes': {
+ /**
+ * flash/my-likes
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:flash-likes*
+ */
+ post: operations['flash___my-likes'];
};
- };
- /**
- * admin/system-webhook/show
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
- */
- 'admin___system-webhook___show': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- id: string;
- };
- };
+ '/flash/show': {
+ /**
+ * flash/show
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['flash___show'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['SystemWebhook'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/flash/unlike': {
+ /**
+ * flash/unlike
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:flash-likes*
+ */
+ post: operations['flash___unlike'];
};
- };
- /**
- * admin/system-webhook/test
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *read:admin:system-webhook*
- */
- 'admin___system-webhook___test': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- webhookId: string;
- /** @enum {string} */
- type: 'abuseReport' | 'abuseReportResolved' | 'userCreated' | 'inactiveModeratorsWarning' | 'inactiveModeratorsInvitationOnlyChanged';
- override?: {
- url?: string;
- secret?: string;
- };
- };
- };
+ '/flash/update': {
+ /**
+ * flash/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:flash*
+ */
+ post: operations['flash___update'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/following/create': {
+ /**
+ * following/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:following*
+ */
+ post: operations['following___create'];
};
- };
- /**
- * admin/system-webhook/update
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
- */
- 'admin___system-webhook___update': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- id: string;
- isActive: boolean;
- name: string;
- on: ('abuseReport' | 'abuseReportResolved' | 'userCreated' | 'inactiveModeratorsWarning' | 'inactiveModeratorsInvitationOnlyChanged')[];
- url: string;
- secret: string;
- };
- };
+ '/following/delete': {
+ /**
+ * following/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:following*
+ */
+ post: operations['following___delete'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['SystemWebhook'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/following/invalidate': {
+ /**
+ * following/invalidate
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:following*
+ */
+ post: operations['following___invalidate'];
};
- };
- /**
- * admin/unset-user-avatar
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:unset-user-avatar*
- */
- 'admin___unset-user-avatar': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- };
- };
+ '/following/requests/accept': {
+ /**
+ * following/requests/accept
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:following*
+ */
+ post: operations['following___requests___accept'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/following/requests/cancel': {
+ /**
+ * following/requests/cancel
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:following*
+ */
+ post: operations['following___requests___cancel'];
};
- };
- /**
- * admin/unset-user-banner
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:unset-user-banner*
- */
- 'admin___unset-user-banner': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- };
- };
+ '/following/requests/list': {
+ /**
+ * following/requests/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:following*
+ */
+ post: operations['following___requests___list'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/following/requests/reject': {
+ /**
+ * following/requests/reject
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:following*
+ */
+ post: operations['following___requests___reject'];
};
- };
- /**
- * admin/unsuspend-user
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:unsuspend-user*
- */
- 'admin___unsuspend-user': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- };
- };
+ '/following/requests/sent': {
+ /**
+ * following/requests/sent
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:following*
+ */
+ post: operations['following___requests___sent'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/following/update': {
+ /**
+ * following/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:following*
+ */
+ post: operations['following___update'];
};
- };
- /**
- * admin/update-abuse-user-report
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:resolve-abuse-user-report*
- */
- 'admin___update-abuse-user-report': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- reportId: string;
- moderationNote?: string;
- };
- };
+ '/following/update-all': {
+ /**
+ * following/update-all
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:following*
+ */
+ post: operations['following___update-all'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/gallery/featured': {
+ /**
+ * gallery/featured
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['gallery___featured'];
};
- };
- /**
- * admin/update-meta
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:meta*
- */
- 'admin___update-meta': {
- requestBody: {
- content: {
- 'application/json': {
- disableRegistration?: boolean | null;
- pinnedUsers?: string[] | null;
- hiddenTags?: string[] | null;
- blockedHosts?: string[] | null;
- sensitiveWords?: string[] | null;
- prohibitedWords?: string[] | null;
- prohibitedWordsForNameOfUser?: string[] | null;
- themeColor?: string | null;
- mascotImageUrl?: string | null;
- bannerUrl?: string | null;
- serverErrorImageUrl?: string | null;
- infoImageUrl?: string | null;
- notFoundImageUrl?: string | null;
- iconUrl?: string | null;
- app192IconUrl?: string | null;
- app512IconUrl?: string | null;
- backgroundImageUrl?: string | null;
- logoImageUrl?: string | null;
- name?: string | null;
- shortName?: string | null;
- description?: string | null;
- defaultLightTheme?: string | null;
- defaultDarkTheme?: string | null;
- cacheRemoteFiles?: boolean;
- cacheRemoteSensitiveFiles?: boolean;
- emailRequiredForSignup?: boolean;
- enableHcaptcha?: boolean;
- hcaptchaSiteKey?: string | null;
- hcaptchaSecretKey?: string | null;
- enableMcaptcha?: boolean;
- mcaptchaSiteKey?: string | null;
- mcaptchaInstanceUrl?: string | null;
- mcaptchaSecretKey?: string | null;
- enableRecaptcha?: boolean;
- recaptchaSiteKey?: string | null;
- recaptchaSecretKey?: string | null;
- enableTurnstile?: boolean;
- turnstileSiteKey?: string | null;
- turnstileSecretKey?: string | null;
- enableTestcaptcha?: boolean;
- googleAnalyticsMeasurementId?: string | null;
- /** @enum {string} */
- sensitiveMediaDetection?: 'none' | 'all' | 'local' | 'remote';
- /** @enum {string} */
- sensitiveMediaDetectionSensitivity?: 'medium' | 'low' | 'high' | 'veryLow' | 'veryHigh';
- setSensitiveFlagAutomatically?: boolean;
- enableSensitiveMediaDetectionForVideos?: boolean;
- maintainerName?: string | null;
- maintainerEmail?: string | null;
- langs?: string[];
- deeplAuthKey?: string | null;
- deeplIsPro?: boolean;
- enableEmail?: boolean;
- email?: string | null;
- smtpSecure?: boolean;
- smtpHost?: string | null;
- smtpPort?: number | null;
- smtpUser?: string | null;
- smtpPass?: string | null;
- enableServiceWorker?: boolean;
- swPublicKey?: string | null;
- swPrivateKey?: string | null;
- tosUrl?: string | null;
- repositoryUrl?: string | null;
- feedbackUrl?: string | null;
- impressumUrl?: string | null;
- privacyPolicyUrl?: string | null;
- inquiryUrl?: string | null;
- useObjectStorage?: boolean;
- objectStorageBaseUrl?: string | null;
- objectStorageBucket?: string | null;
- objectStoragePrefix?: string | null;
- objectStorageEndpoint?: string | null;
- objectStorageRegion?: string | null;
- objectStoragePort?: number | null;
- objectStorageAccessKey?: string | null;
- objectStorageSecretKey?: string | null;
- objectStorageUseSSL?: boolean;
- objectStorageUseProxy?: boolean;
- objectStorageSetPublicRead?: boolean;
- objectStorageS3ForcePathStyle?: boolean;
- enableIpLogging?: boolean;
- enableActiveEmailValidation?: boolean;
- enableVerifymailApi?: boolean;
- verifymailAuthKey?: string | null;
- enableTruemailApi?: boolean;
- truemailInstance?: string | null;
- truemailAuthKey?: string | null;
- enableChartsForRemoteUser?: boolean;
- enableChartsForFederatedInstances?: boolean;
- enableStatsForFederatedInstances?: boolean;
- enableServerMachineStats?: boolean;
- enableIdenticonGeneration?: boolean;
- serverRules?: string[];
- bannedEmailDomains?: string[];
- preservedUsernames?: string[];
- manifestJsonOverride?: string;
- enableFanoutTimeline?: boolean;
- enableFanoutTimelineDbFallback?: boolean;
- perLocalUserUserTimelineCacheMax?: number;
- perRemoteUserUserTimelineCacheMax?: number;
- perUserHomeTimelineCacheMax?: number;
- perUserListTimelineCacheMax?: number;
- enableReactionsBuffering?: boolean;
- notesPerOneAd?: number;
- silencedHosts?: string[] | null;
- mediaSilencedHosts?: string[] | null;
- /** @description [Deprecated] Use "urlPreviewSummaryProxyUrl" instead. */
- summalyProxy?: string | null;
- urlPreviewEnabled?: boolean;
- urlPreviewAllowRedirect?: boolean;
- urlPreviewTimeout?: number;
- urlPreviewMaximumContentLength?: number;
- urlPreviewRequireContentLength?: boolean;
- urlPreviewUserAgent?: string | null;
- urlPreviewSummaryProxyUrl?: string | null;
- /** @enum {string} */
- federation?: 'all' | 'none' | 'specified';
- federationHosts?: string[];
- deliverSuspendedSoftware?: {
- software: string;
- versionRange: string;
- }[];
- singleUserMode?: boolean;
- /** @enum {string} */
- ugcVisibilityForVisitor?: 'all' | 'local' | 'none';
- proxyRemoteFiles?: boolean;
- signToActivityPubGet?: boolean;
- allowExternalApRedirect?: boolean;
- };
- };
+ '/gallery/popular': {
+ /**
+ * gallery/popular
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['gallery___popular'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/gallery/posts': {
+ /**
+ * gallery/posts
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['gallery___posts'];
};
- };
- /**
- * admin/update-proxy-account
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:account*
- */
- 'admin___update-proxy-account': {
- requestBody: {
- content: {
- 'application/json': {
- description?: string | null;
- };
- };
+ '/gallery/posts/create': {
+ /**
+ * gallery/posts/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:gallery*
+ */
+ post: operations['gallery___posts___create'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserDetailed'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/gallery/posts/delete': {
+ /**
+ * gallery/posts/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:gallery*
+ */
+ post: operations['gallery___posts___delete'];
};
- };
- /**
- * admin/update-user-note
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:admin:user-note*
- */
- 'admin___update-user-note': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- text: string;
- };
- };
+ '/gallery/posts/like': {
+ /**
+ * gallery/posts/like
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:gallery-likes*
+ */
+ post: operations['gallery___posts___like'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/gallery/posts/show': {
+ /**
+ * gallery/posts/show
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['gallery___posts___show'];
};
- };
- /**
- * announcements
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- announcements: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default true */
- isActive?: boolean;
- };
- };
+ '/gallery/posts/unlike': {
+ /**
+ * gallery/posts/unlike
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:gallery-likes*
+ */
+ post: operations['gallery___posts___unlike'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Announcement'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/gallery/posts/update': {
+ /**
+ * gallery/posts/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:gallery*
+ */
+ post: operations['gallery___posts___update'];
};
- };
- /**
- * announcements/show
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- announcements___show: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- announcementId: string;
- };
- };
+ '/get-avatar-decorations': {
+ /**
+ * get-avatar-decorations
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['get-avatar-decorations'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Announcement'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/get-online-users-count': {
+ /**
+ * get-online-users-count
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['get-online-users-count'];
};
- };
- /**
- * antennas/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- antennas___create: {
- requestBody: {
- content: {
- 'application/json': {
- name: string;
- /** @enum {string} */
- src: 'home' | 'all' | 'users' | 'list' | 'users_blacklist';
- /** Format: misskey:id */
- userListId?: string | null;
- keywords: string[][];
- excludeKeywords: string[][];
- users: string[];
- caseSensitive: boolean;
- localOnly?: boolean;
- excludeBots?: boolean;
- withReplies: boolean;
- withFile: boolean;
- excludeNotesInSensitiveChannel?: boolean;
- };
- };
+ '/hashtags/list': {
+ /**
+ * hashtags/list
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['hashtags___list'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Antenna'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/hashtags/search': {
+ /**
+ * hashtags/search
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['hashtags___search'];
};
- };
- /**
- * antennas/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- antennas___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- antennaId: string;
- };
- };
+ '/hashtags/show': {
+ /**
+ * hashtags/show
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['hashtags___show'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/hashtags/trend': {
+ /**
+ * hashtags/trend
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['hashtags___trend'];
};
- };
- /**
- * antennas/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- antennas___list: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Antenna'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/hashtags/users': {
+ /**
+ * hashtags/users
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['hashtags___users'];
};
- };
- /**
- * antennas/notes
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- antennas___notes: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- antennaId: string;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- sinceDate?: number;
- untilDate?: number;
- };
- };
+ '/i': {
+ /**
+ * i
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['i'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/2fa/done': {
+ /**
+ * i/2fa/done
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___2fa___done'];
};
- };
- /**
- * antennas/show
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- antennas___show: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- antennaId: string;
- };
- };
+ '/i/2fa/key-done': {
+ /**
+ * i/2fa/key-done
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___2fa___key-done'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Antenna'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/2fa/password-less': {
+ /**
+ * i/2fa/password-less
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___2fa___password-less'];
};
- };
- /**
- * antennas/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- antennas___update: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- antennaId: string;
- name?: string;
- /** @enum {string} */
- src?: 'home' | 'all' | 'users' | 'list' | 'users_blacklist';
- /** Format: misskey:id */
- userListId?: string | null;
- keywords?: string[][];
- excludeKeywords?: string[][];
- users?: string[];
- caseSensitive?: boolean;
- localOnly?: boolean;
- excludeBots?: boolean;
- withReplies?: boolean;
- withFile?: boolean;
- excludeNotesInSensitiveChannel?: boolean;
- };
- };
+ '/i/2fa/register': {
+ /**
+ * i/2fa/register
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___2fa___register'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Antenna'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/2fa/register-key': {
+ /**
+ * i/2fa/register-key
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___2fa___register-key'];
};
- };
- /**
- * ap/get
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:federation*
- */
- ap___get: {
- requestBody: {
- content: {
- 'application/json': {
- uri: string;
- };
- };
+ '/i/2fa/remove-key': {
+ /**
+ * i/2fa/remove-key
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___2fa___remove-key'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': Record<string, never>;
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/2fa/unregister': {
+ /**
+ * i/2fa/unregister
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___2fa___unregister'];
};
- };
- /**
- * ap/show
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- ap___show: {
- requestBody: {
- content: {
- 'application/json': {
- uri: string;
- };
- };
+ '/i/2fa/update-key': {
+ /**
+ * i/2fa/update-key
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___2fa___update-key'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': OneOf<[{
- /** @enum {string} */
- type: 'User';
- object: components['schemas']['UserDetailedNotMe'];
- }, {
- /** @enum {string} */
- type: 'Note';
- object: components['schemas']['Note'];
- }]>;
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/apps': {
+ /**
+ * i/apps
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___apps'];
};
- };
- /**
- * app/create
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- app___create: {
- requestBody: {
- content: {
- 'application/json': {
- name: string;
- description: string;
- permission: string[];
- callbackUrl?: string | null;
- };
- };
+ '/i/authorized-apps': {
+ /**
+ * i/authorized-apps
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___authorized-apps'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['App'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/change-password': {
+ /**
+ * i/change-password
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___change-password'];
};
- };
- /**
- * app/show
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- app___show: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- appId: string;
- };
- };
+ '/i/claim-achievement': {
+ /**
+ * i/claim-achievement
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['i___claim-achievement'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['App'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/delete-account': {
+ /**
+ * i/delete-account
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___delete-account'];
};
- };
- /**
- * auth/accept
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- auth___accept: {
- requestBody: {
- content: {
- 'application/json': {
- token: string;
- };
- };
+ '/i/export-antennas': {
+ /**
+ * i/export-antennas
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___export-antennas'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/export-blocking': {
+ /**
+ * i/export-blocking
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___export-blocking'];
};
- };
- /**
- * auth/session/generate
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- auth___session___generate: {
- requestBody: {
- content: {
- 'application/json': {
- appSecret: string;
- };
- };
+ '/i/export-clips': {
+ /**
+ * i/export-clips
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___export-clips'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- token: string;
- /** Format: url */
- url: string;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/export-favorites': {
+ /**
+ * i/export-favorites
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___export-favorites'];
};
- };
- /**
- * auth/session/show
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- auth___session___show: {
- requestBody: {
- content: {
- 'application/json': {
- token: string;
- };
- };
+ '/i/export-following': {
+ /**
+ * i/export-following
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___export-following'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /** Format: id */
- id: string;
- app: components['schemas']['App'];
- token: string;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/export-mute': {
+ /**
+ * i/export-mute
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___export-mute'];
};
- };
- /**
- * auth/session/userkey
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- auth___session___userkey: {
- requestBody: {
- content: {
- 'application/json': {
- appSecret: string;
- token: string;
- };
- };
+ '/i/export-notes': {
+ /**
+ * i/export-notes
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___export-notes'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- accessToken: string;
- user: components['schemas']['UserDetailedNotMe'];
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/export-user-lists': {
+ /**
+ * i/export-user-lists
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___export-user-lists'];
};
- };
- /**
- * blocking/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:blocks*
- */
- blocking___create: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- };
- };
+ '/i/favorites': {
+ /**
+ * i/favorites
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:favorites*
+ */
+ post: operations['i___favorites'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserDetailedNotMe'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/gallery/likes': {
+ /**
+ * i/gallery/likes
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:gallery-likes*
+ */
+ post: operations['i___gallery___likes'];
};
- };
- /**
- * blocking/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:blocks*
- */
- blocking___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- };
- };
+ '/i/gallery/posts': {
+ /**
+ * i/gallery/posts
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:gallery*
+ */
+ post: operations['i___gallery___posts'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserDetailedNotMe'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/import-antennas': {
+ /**
+ * i/import-antennas
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___import-antennas'];
};
- };
- /**
- * blocking/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:blocks*
- */
- blocking___list: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 30 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- };
- };
+ '/i/import-blocking': {
+ /**
+ * i/import-blocking
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___import-blocking'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Blocking'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/import-following': {
+ /**
+ * i/import-following
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___import-following'];
};
- };
- /**
- * bubble-game/ranking
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- 'bubble-game___ranking': {
- requestBody: {
- content: {
- 'application/json': {
- gameMode: string;
- };
- };
+ '/i/import-muting': {
+ /**
+ * i/import-muting
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___import-muting'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- id: string;
- score: number;
- user?: components['schemas']['UserLite'];
- }[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/import-user-lists': {
+ /**
+ * i/import-user-lists
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___import-user-lists'];
};
- };
- /**
- * bubble-game/register
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- 'bubble-game___register': {
- requestBody: {
- content: {
- 'application/json': {
- score: number;
- seed: string;
- logs: number[][];
- gameMode: string;
- gameVersion: number;
- };
- };
+ '/i/move': {
+ /**
+ * i/move
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___move'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/notifications': {
+ /**
+ * i/notifications
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:notifications*
+ */
+ post: operations['i___notifications'];
};
- };
- /**
- * channels/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:channels*
- */
- channels___create: {
- requestBody: {
- content: {
- 'application/json': {
- name: string;
- description?: string | null;
- /** Format: misskey:id */
- bannerId?: string | null;
- color?: string;
- isSensitive?: boolean | null;
- allowRenoteToExternal?: boolean | null;
- };
- };
+ '/i/notifications-grouped': {
+ /**
+ * i/notifications-grouped
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:notifications*
+ */
+ post: operations['i___notifications-grouped'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Channel'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/page-likes': {
+ /**
+ * i/page-likes
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:page-likes*
+ */
+ post: operations['i___page-likes'];
};
- };
- /**
- * channels/favorite
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:channels*
- */
- channels___favorite: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- channelId: string;
- };
- };
+ '/i/pages': {
+ /**
+ * i/pages
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:pages*
+ */
+ post: operations['i___pages'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/pin': {
+ /**
+ * i/pin
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['i___pin'];
};
- };
- /**
- * channels/featured
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- channels___featured: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Channel'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/read-announcement': {
+ /**
+ * i/read-announcement
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['i___read-announcement'];
};
- };
- /**
- * channels/follow
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:channels*
- */
- channels___follow: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- channelId: string;
- };
- };
+ '/i/regenerate-token': {
+ /**
+ * i/regenerate-token
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___regenerate-token'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/registry/get': {
+ /**
+ * i/registry/get
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['i___registry___get'];
};
- };
- /**
- * channels/followed
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:channels*
- */
- channels___followed: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default 5 */
- limit?: number;
- };
- };
+ '/i/registry/get-all': {
+ /**
+ * i/registry/get-all
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['i___registry___get-all'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Channel'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/registry/get-detail': {
+ /**
+ * i/registry/get-detail
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['i___registry___get-detail'];
};
- };
- /**
- * channels/my-favorites
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:channels*
- */
- 'channels___my-favorites': {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Channel'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/registry/keys': {
+ /**
+ * i/registry/keys
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['i___registry___keys'];
};
- };
- /**
- * channels/owned
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:channels*
- */
- channels___owned: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default 5 */
- limit?: number;
- };
- };
+ '/i/registry/keys-with-type': {
+ /**
+ * i/registry/keys-with-type
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['i___registry___keys-with-type'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Channel'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/registry/remove': {
+ /**
+ * i/registry/remove
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['i___registry___remove'];
};
- };
- /**
- * channels/search
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- channels___search: {
- requestBody: {
- content: {
- 'application/json': {
- query: string;
- /**
- * @default nameAndDescription
- * @enum {string}
- */
- type?: 'nameAndDescription' | 'nameOnly';
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default 5 */
- limit?: number;
- };
- };
+ '/i/registry/scopes-with-domain': {
+ /**
+ * i/registry/scopes-with-domain
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___registry___scopes-with-domain'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Channel'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/registry/set': {
+ /**
+ * i/registry/set
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['i___registry___set'];
};
- };
- /**
- * channels/show
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- channels___show: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- channelId: string;
- };
- };
+ '/i/revoke-token': {
+ /**
+ * i/revoke-token
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___revoke-token'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Channel'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/signin-history': {
+ /**
+ * i/signin-history
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___signin-history'];
};
- };
- /**
- * channels/timeline
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- channels___timeline: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- channelId: string;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- sinceDate?: number;
- untilDate?: number;
- /** @default false */
- allowPartial?: boolean;
- };
- };
+ '/i/unpin': {
+ /**
+ * i/unpin
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['i___unpin'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/update': {
+ /**
+ * i/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['i___update'];
};
- };
- /**
- * channels/unfavorite
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:channels*
- */
- channels___unfavorite: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- channelId: string;
- };
- };
+ '/i/update-email': {
+ /**
+ * i/update-email
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['i___update-email'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/webhooks/create': {
+ /**
+ * i/webhooks/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['i___webhooks___create'];
};
- };
- /**
- * channels/unfollow
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:channels*
- */
- channels___unfollow: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- channelId: string;
- };
- };
+ '/i/webhooks/delete': {
+ /**
+ * i/webhooks/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['i___webhooks___delete'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/webhooks/list': {
+ /**
+ * i/webhooks/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['i___webhooks___list'];
};
- };
- /**
- * channels/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:channels*
- */
- channels___update: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- channelId: string;
- name?: string;
- description?: string | null;
- /** Format: misskey:id */
- bannerId?: string | null;
- isArchived?: boolean | null;
- pinnedNoteIds?: string[];
- color?: string;
- isSensitive?: boolean | null;
- allowRenoteToExternal?: boolean | null;
- };
- };
+ '/i/webhooks/show': {
+ /**
+ * i/webhooks/show
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['i___webhooks___show'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Channel'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/i/webhooks/test': {
+ /**
+ * i/webhooks/test
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['i___webhooks___test'];
};
- };
- /**
- * charts/active-users
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- 'charts___active-users': {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- span: 'day' | 'hour';
- /** @default 30 */
- limit?: number;
- /** @default null */
- offset?: number | null;
- };
- };
+ '/i/webhooks/update': {
+ /**
+ * i/webhooks/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['i___webhooks___update'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- readWrite: number[];
- read: number[];
- write: number[];
- registeredWithinWeek: number[];
- registeredWithinMonth: number[];
- registeredWithinYear: number[];
- registeredOutsideWeek: number[];
- registeredOutsideMonth: number[];
- registeredOutsideYear: number[];
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/invite/create': {
+ /**
+ * invite/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:invite-codes*
+ */
+ post: operations['invite___create'];
};
- };
- /**
- * charts/ap-request
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- 'charts___ap-request': {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- span: 'day' | 'hour';
- /** @default 30 */
- limit?: number;
- /** @default null */
- offset?: number | null;
- };
- };
+ '/invite/delete': {
+ /**
+ * invite/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:invite-codes*
+ */
+ post: operations['invite___delete'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- deliverFailed: number[];
- deliverSucceeded: number[];
- inboxReceived: number[];
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/invite/limit': {
+ /**
+ * invite/limit
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:invite-codes*
+ */
+ post: operations['invite___limit'];
};
- };
- /**
- * charts/drive
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- charts___drive: {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- span: 'day' | 'hour';
- /** @default 30 */
- limit?: number;
- /** @default null */
- offset?: number | null;
- };
- };
+ '/invite/list': {
+ /**
+ * invite/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:invite-codes*
+ */
+ post: operations['invite___list'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- local: {
- incCount: number[];
- incSize: number[];
- decCount: number[];
- decSize: number[];
- };
- remote: {
- incCount: number[];
- incSize: number[];
- decCount: number[];
- decSize: number[];
- };
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/meta': {
+ /**
+ * meta
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['meta'];
};
- };
- /**
- * charts/federation
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- charts___federation: {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- span: 'day' | 'hour';
- /** @default 30 */
- limit?: number;
- /** @default null */
- offset?: number | null;
- };
- };
+ '/miauth/gen-token': {
+ /**
+ * miauth/gen-token
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['miauth___gen-token'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- deliveredInstances: number[];
- inboxInstances: number[];
- stalled: number[];
- sub: number[];
- pub: number[];
- pubsub: number[];
- subActive: number[];
- pubActive: number[];
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/mute/create': {
+ /**
+ * mute/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:mutes*
+ */
+ post: operations['mute___create'];
};
- };
- /**
- * charts/instance
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- charts___instance: {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- span: 'day' | 'hour';
- /** @default 30 */
- limit?: number;
- /** @default null */
- offset?: number | null;
- host: string;
- };
- };
+ '/mute/delete': {
+ /**
+ * mute/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:mutes*
+ */
+ post: operations['mute___delete'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- requests: {
- failed: number[];
- succeeded: number[];
- received: number[];
- };
- notes: {
- total: number[];
- inc: number[];
- dec: number[];
- diffs: {
- normal: number[];
- reply: number[];
- renote: number[];
- withFile: number[];
- };
- };
- users: {
- total: number[];
- inc: number[];
- dec: number[];
- };
- following: {
- total: number[];
- inc: number[];
- dec: number[];
- };
- followers: {
- total: number[];
- inc: number[];
- dec: number[];
- };
- drive: {
- totalFiles: number[];
- incFiles: number[];
- decFiles: number[];
- incUsage: number[];
- decUsage: number[];
- };
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/mute/list': {
+ /**
+ * mute/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:mutes*
+ */
+ post: operations['mute___list'];
};
- };
- /**
- * charts/notes
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- charts___notes: {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- span: 'day' | 'hour';
- /** @default 30 */
- limit?: number;
- /** @default null */
- offset?: number | null;
- };
- };
+ '/my/apps': {
+ /**
+ * my/apps
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['my___apps'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- local: {
- total: number[];
- inc: number[];
- dec: number[];
- diffs: {
- normal: number[];
- reply: number[];
- renote: number[];
- withFile: number[];
- };
- };
- remote: {
- total: number[];
- inc: number[];
- dec: number[];
- diffs: {
- normal: number[];
- reply: number[];
- renote: number[];
- withFile: number[];
- };
- };
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/notes': {
+ /**
+ * notes
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['notes'];
};
- };
- /**
- * charts/user/drive
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- charts___user___drive: {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- span: 'day' | 'hour';
- /** @default 30 */
- limit?: number;
- /** @default null */
- offset?: number | null;
- /** Format: misskey:id */
- userId: string;
- };
- };
+ '/notes/children': {
+ /**
+ * notes/children
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['notes___children'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- totalCount: number[];
- totalSize: number[];
- incCount: number[];
- incSize: number[];
- decCount: number[];
- decSize: number[];
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/notes/clips': {
+ /**
+ * notes/clips
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['notes___clips'];
};
- };
- /**
- * charts/user/following
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- charts___user___following: {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- span: 'day' | 'hour';
- /** @default 30 */
- limit?: number;
- /** @default null */
- offset?: number | null;
- /** Format: misskey:id */
- userId: string;
- };
- };
+ '/notes/conversation': {
+ /**
+ * notes/conversation
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['notes___conversation'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- local: {
- followings: {
- total: number[];
- inc: number[];
- dec: number[];
- };
- followers: {
- total: number[];
- inc: number[];
- dec: number[];
- };
- };
- remote: {
- followings: {
- total: number[];
- inc: number[];
- dec: number[];
- };
- followers: {
- total: number[];
- inc: number[];
- dec: number[];
- };
- };
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/notes/create': {
+ /**
+ * notes/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:notes*
+ */
+ post: operations['notes___create'];
};
- };
- /**
- * charts/user/notes
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- charts___user___notes: {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- span: 'day' | 'hour';
- /** @default 30 */
- limit?: number;
- /** @default null */
- offset?: number | null;
- /** Format: misskey:id */
- userId: string;
- };
- };
+ '/notes/delete': {
+ /**
+ * notes/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:notes*
+ */
+ post: operations['notes___delete'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- total: number[];
- inc: number[];
- dec: number[];
- diffs: {
- normal: number[];
- reply: number[];
- renote: number[];
- withFile: number[];
- };
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/notes/favorites/create': {
+ /**
+ * notes/favorites/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:favorites*
+ */
+ post: operations['notes___favorites___create'];
};
- };
- /**
- * charts/user/pv
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- charts___user___pv: {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- span: 'day' | 'hour';
- /** @default 30 */
- limit?: number;
- /** @default null */
- offset?: number | null;
- /** Format: misskey:id */
- userId: string;
- };
- };
+ '/notes/favorites/delete': {
+ /**
+ * notes/favorites/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:favorites*
+ */
+ post: operations['notes___favorites___delete'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- upv: {
- user: number[];
- visitor: number[];
- };
- pv: {
- user: number[];
- visitor: number[];
- };
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/notes/featured': {
+ /**
+ * notes/featured
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['notes___featured'];
};
- };
- /**
- * charts/user/reactions
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- charts___user___reactions: {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- span: 'day' | 'hour';
- /** @default 30 */
- limit?: number;
- /** @default null */
- offset?: number | null;
- /** Format: misskey:id */
- userId: string;
- };
- };
+ '/notes/global-timeline': {
+ /**
+ * notes/global-timeline
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['notes___global-timeline'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- local: {
- count: number[];
- };
- remote: {
- count: number[];
- };
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/notes/hybrid-timeline': {
+ /**
+ * notes/hybrid-timeline
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['notes___hybrid-timeline'];
};
- };
- /**
- * charts/users
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- charts___users: {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- span: 'day' | 'hour';
- /** @default 30 */
- limit?: number;
- /** @default null */
- offset?: number | null;
- };
- };
+ '/notes/local-timeline': {
+ /**
+ * notes/local-timeline
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['notes___local-timeline'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- local: {
- total: number[];
- inc: number[];
- dec: number[];
- };
- remote: {
- total: number[];
- inc: number[];
- dec: number[];
- };
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/notes/mentions': {
+ /**
+ * notes/mentions
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['notes___mentions'];
};
- };
- /**
- * chat/history
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:chat*
- */
- chat___history: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** @default false */
- room?: boolean;
- };
- };
+ '/notes/polls/recommendation': {
+ /**
+ * notes/polls/recommendation
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['notes___polls___recommendation'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['ChatMessage'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/notes/polls/vote': {
+ /**
+ * notes/polls/vote
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:votes*
+ */
+ post: operations['notes___polls___vote'];
};
- };
- /**
- * chat/messages/create-to-room
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- 'chat___messages___create-to-room': {
- requestBody: {
- content: {
- 'application/json': {
- text?: string | null;
- /** Format: misskey:id */
- fileId?: string;
- /** Format: misskey:id */
- toRoomId: string;
- };
- };
+ '/notes/reactions': {
+ /**
+ * notes/reactions
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['notes___reactions'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['ChatMessageLiteForRoom'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/notes/reactions/create': {
+ /**
+ * notes/reactions/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:reactions*
+ */
+ post: operations['notes___reactions___create'];
};
- };
- /**
- * chat/messages/create-to-user
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- 'chat___messages___create-to-user': {
- requestBody: {
- content: {
- 'application/json': {
- text?: string | null;
- /** Format: misskey:id */
- fileId?: string;
- /** Format: misskey:id */
- toUserId: string;
- };
- };
+ '/notes/reactions/delete': {
+ /**
+ * notes/reactions/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:reactions*
+ */
+ post: operations['notes___reactions___delete'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['ChatMessageLiteFor1on1'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/notes/renotes': {
+ /**
+ * notes/renotes
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['notes___renotes'];
};
- };
- /**
- * chat/messages/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- chat___messages___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- messageId: string;
- };
- };
+ '/notes/replies': {
+ /**
+ * notes/replies
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['notes___replies'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/notes/search': {
+ /**
+ * notes/search
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['notes___search'];
};
- };
- /**
- * chat/messages/react
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- chat___messages___react: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- messageId: string;
- reaction: string;
- };
- };
+ '/notes/search-by-tag': {
+ /**
+ * notes/search-by-tag
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['notes___search-by-tag'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/notes/show': {
+ /**
+ * notes/show
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['notes___show'];
};
- };
- /**
- * chat/messages/room-timeline
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:chat*
- */
- 'chat___messages___room-timeline': {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** Format: misskey:id */
- roomId: string;
- };
- };
+ '/notes/show-partial-bulk': {
+ /**
+ * notes/show-partial-bulk
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['notes___show-partial-bulk'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['ChatMessageLiteForRoom'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/notes/state': {
+ /**
+ * notes/state
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['notes___state'];
};
- };
- /**
- * chat/messages/search
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:chat*
- */
- chat___messages___search: {
- requestBody: {
- content: {
- 'application/json': {
- query: string;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- userId?: string | null;
- /** Format: misskey:id */
- roomId?: string | null;
- };
- };
+ '/notes/thread-muting/create': {
+ /**
+ * notes/thread-muting/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['notes___thread-muting___create'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['ChatMessage'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/notes/thread-muting/delete': {
+ /**
+ * notes/thread-muting/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['notes___thread-muting___delete'];
};
- };
- /**
- * chat/messages/show
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:chat*
- */
- chat___messages___show: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- messageId: string;
- };
- };
+ '/notes/timeline': {
+ /**
+ * notes/timeline
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['notes___timeline'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['ChatMessage'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/notes/translate': {
+ /**
+ * notes/translate
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['notes___translate'];
};
- };
- /**
- * chat/messages/unreact
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- chat___messages___unreact: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- messageId: string;
- reaction: string;
- };
- };
+ '/notes/unrenote': {
+ /**
+ * notes/unrenote
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:notes*
+ */
+ post: operations['notes___unrenote'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/notes/user-list-timeline': {
+ /**
+ * notes/user-list-timeline
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['notes___user-list-timeline'];
};
- };
- /**
- * chat/messages/user-timeline
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:chat*
- */
- 'chat___messages___user-timeline': {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** Format: misskey:id */
- userId: string;
- };
- };
+ '/notifications/create': {
+ /**
+ * notifications/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:notifications*
+ */
+ post: operations['notifications___create'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['ChatMessageLiteFor1on1'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/notifications/flush': {
+ /**
+ * notifications/flush
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:notifications*
+ */
+ post: operations['notifications___flush'];
};
- };
- /**
- * chat/read-all
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- 'chat___read-all': {
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/notifications/mark-all-as-read': {
+ /**
+ * notifications/mark-all-as-read
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:notifications*
+ */
+ post: operations['notifications___mark-all-as-read'];
};
- };
- /**
- * chat/rooms/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- chat___rooms___create: {
- requestBody: {
- content: {
- 'application/json': {
- name: string;
- description?: string;
- };
- };
+ '/notifications/test-notification': {
+ /**
+ * notifications/test-notification
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:notifications*
+ */
+ post: operations['notifications___test-notification'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['ChatRoom'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/page-push': {
+ /**
+ * page-push
+ * @description No description provided.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['page-push'];
};
- };
- /**
- * chat/rooms/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- chat___rooms___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- roomId: string;
- };
- };
+ '/pages/create': {
+ /**
+ * pages/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:pages*
+ */
+ post: operations['pages___create'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/pages/delete': {
+ /**
+ * pages/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:pages*
+ */
+ post: operations['pages___delete'];
};
- };
- /**
- * chat/rooms/invitations/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- chat___rooms___invitations___create: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- roomId: string;
- /** Format: misskey:id */
- userId: string;
- };
- };
+ '/pages/featured': {
+ /**
+ * pages/featured
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['pages___featured'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['ChatRoomInvitation'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/pages/like': {
+ /**
+ * pages/like
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:page-likes*
+ */
+ post: operations['pages___like'];
};
- };
- /**
- * chat/rooms/invitations/ignore
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- chat___rooms___invitations___ignore: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- roomId: string;
- };
- };
+ '/pages/show': {
+ /**
+ * pages/show
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['pages___show'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/pages/unlike': {
+ /**
+ * pages/unlike
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:page-likes*
+ */
+ post: operations['pages___unlike'];
};
- };
- /**
- * chat/rooms/invitations/inbox
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:chat*
- */
- chat___rooms___invitations___inbox: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 30 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- };
- };
+ '/pages/update': {
+ /**
+ * pages/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:pages*
+ */
+ post: operations['pages___update'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['ChatRoomInvitation'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/ping': {
+ /**
+ * ping
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['ping'];
};
- };
- /**
- * chat/rooms/invitations/outbox
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:chat*
- */
- chat___rooms___invitations___outbox: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- roomId: string;
- /** @default 30 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- };
- };
+ '/pinned-users': {
+ /**
+ * pinned-users
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['pinned-users'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['ChatRoomInvitation'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/promo/read': {
+ /**
+ * promo/read
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['promo___read'];
};
- };
- /**
- * chat/rooms/join
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- chat___rooms___join: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- roomId: string;
- };
- };
+ '/renote-mute/create': {
+ /**
+ * renote-mute/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:mutes*
+ */
+ post: operations['renote-mute___create'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/renote-mute/delete': {
+ /**
+ * renote-mute/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:mutes*
+ */
+ post: operations['renote-mute___delete'];
};
- };
- /**
- * chat/rooms/joining
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:chat*
- */
- chat___rooms___joining: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 30 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- };
- };
+ '/renote-mute/list': {
+ /**
+ * renote-mute/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:mutes*
+ */
+ post: operations['renote-mute___list'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['ChatRoomMembership'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/request-reset-password': {
+ /**
+ * request-reset-password
+ * @description Request a users password to be reset.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['request-reset-password'];
};
- };
- /**
- * chat/rooms/leave
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- chat___rooms___leave: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- roomId: string;
- };
- };
+ '/reset-db': {
+ /**
+ * reset-db
+ * @description Only available when running with <code>NODE_ENV=testing</code>. Reset the database and flush Redis.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['reset-db'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/reset-password': {
+ /**
+ * reset-password
+ * @description Complete the password reset that was previously requested.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['reset-password'];
};
- };
- /**
- * chat/rooms/members
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- chat___rooms___members: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- roomId: string;
- /** @default 30 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- };
- };
+ '/retention': {
+ /**
+ * retention
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['retention'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['ChatRoomMembership'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/reversi/cancel-match': {
+ /**
+ * reversi/cancel-match
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['reversi___cancel-match'];
};
- };
- /**
- * chat/rooms/mute
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- chat___rooms___mute: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- roomId: string;
- mute: boolean;
- };
- };
+ '/reversi/games': {
+ /**
+ * reversi/games
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['reversi___games'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/reversi/invitations': {
+ /**
+ * reversi/invitations
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['reversi___invitations'];
};
- };
- /**
- * chat/rooms/owned
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:chat*
- */
- chat___rooms___owned: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 30 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- };
- };
+ '/reversi/match': {
+ /**
+ * reversi/match
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['reversi___match'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['ChatRoom'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/reversi/show-game': {
+ /**
+ * reversi/show-game
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['reversi___show-game'];
};
- };
- /**
- * chat/rooms/show
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:chat*
- */
- chat___rooms___show: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- roomId: string;
- };
- };
+ '/reversi/surrender': {
+ /**
+ * reversi/surrender
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['reversi___surrender'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['ChatRoom'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/reversi/verify': {
+ /**
+ * reversi/verify
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['reversi___verify'];
};
- };
- /**
- * chat/rooms/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:chat*
- */
- chat___rooms___update: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- roomId: string;
- name?: string;
- description?: string;
- };
- };
+ '/roles/list': {
+ /**
+ * roles/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['roles___list'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['ChatRoom'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/roles/notes': {
+ /**
+ * roles/notes
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['roles___notes'];
};
- };
- /**
- * clips/add-note
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- 'clips___add-note': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- clipId: string;
- /** Format: misskey:id */
- noteId: string;
- };
- };
+ '/roles/show': {
+ /**
+ * roles/show
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['roles___show'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/roles/users': {
+ /**
+ * roles/users
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['roles___users'];
};
- };
- /**
- * clips/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- clips___create: {
- requestBody: {
- content: {
- 'application/json': {
- name: string;
- /** @default false */
- isPublic?: boolean;
- description?: string | null;
- };
- };
+ '/server-info': {
+ /**
+ * server-info
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['server-info'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Clip'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/stats': {
+ /**
+ * stats
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['stats'];
};
- };
- /**
- * clips/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- clips___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- clipId: string;
- };
- };
+ '/sw/register': {
+ /**
+ * sw/register
+ * @description Register to receive push notifications.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['sw___register'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/sw/show-registration': {
+ /**
+ * sw/show-registration
+ * @description Check push notification registration exists.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['sw___show-registration'];
};
- };
- /**
- * clips/favorite
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:clip-favorite*
- */
- clips___favorite: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- clipId: string;
- };
- };
+ '/sw/unregister': {
+ /**
+ * sw/unregister
+ * @description Unregister from receiving push notifications.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['sw___unregister'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/sw/update-registration': {
+ /**
+ * sw/update-registration
+ * @description Update push notification registration.
+ *
+ * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
+ * **Credential required**: *Yes*
+ */
+ post: operations['sw___update-registration'];
};
- };
- /**
- * clips/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- clips___list: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Clip'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/test': {
+ /**
+ * test
+ * @description Endpoint for testing input validation.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['test'];
};
- };
- /**
- * clips/my-favorites
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:clip-favorite*
- */
- 'clips___my-favorites': {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Clip'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/username/available': {
+ /**
+ * username/available
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['username___available'];
};
- };
- /**
- * clips/notes
- * @description No description provided.
- *
- * **Credential required**: *No* / **Permission**: *read:account*
- */
- clips___notes: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- clipId: string;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- };
- };
+ '/users': {
+ /**
+ * users
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['users'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/users/achievements': {
+ /**
+ * users/achievements
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['users___achievements'];
};
- };
- /**
- * clips/remove-note
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- 'clips___remove-note': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- clipId: string;
- /** Format: misskey:id */
- noteId: string;
- };
- };
+ '/users/clips': {
+ /**
+ * users/clips
+ * @description Show all clips this user owns.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['users___clips'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/users/featured-notes': {
+ /**
+ * users/featured-notes
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['users___featured-notes'];
};
- };
- /**
- * clips/show
- * @description No description provided.
- *
- * **Credential required**: *No* / **Permission**: *read:account*
- */
- clips___show: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- clipId: string;
- };
- };
+ '/users/flashs': {
+ /**
+ * users/flashs
+ * @description Show all flashs this user created.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['users___flashs'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Clip'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/users/followers': {
+ /**
+ * users/followers
+ * @description Show everyone that follows this user.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['users___followers'];
};
- };
- /**
- * clips/unfavorite
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:clip-favorite*
- */
- clips___unfavorite: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- clipId: string;
- };
- };
+ '/users/following': {
+ /**
+ * users/following
+ * @description Show everyone that this user is following.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['users___following'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/users/gallery/posts': {
+ /**
+ * users/gallery/posts
+ * @description Show all gallery posts by the given user.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['users___gallery___posts'];
};
- };
- /**
- * clips/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- clips___update: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- clipId: string;
- name?: string;
- isPublic?: boolean;
- description?: string | null;
- };
- };
+ '/users/get-frequently-replied-users': {
+ /**
+ * users/get-frequently-replied-users
+ * @description Get a list of other users that the specified user frequently replies to.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['users___get-frequently-replied-users'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Clip'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/users/lists/create': {
+ /**
+ * users/lists/create
+ * @description Create a new list of users.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['users___lists___create'];
};
- };
- /**
- * drive
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- drive: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- capacity: number;
- usage: number;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/users/lists/create-from-public': {
+ /**
+ * users/lists/create-from-public
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['users___lists___create-from-public'];
};
- };
- /**
- * drive/files
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- drive___files: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /**
- * Format: misskey:id
- * @default null
- */
- folderId?: string | null;
- type?: string | null;
- /** @enum {string|null} */
- sort?: '+createdAt' | '-createdAt' | '+name' | '-name' | '+size' | '-size' | null;
- };
- };
+ '/users/lists/delete': {
+ /**
+ * users/lists/delete
+ * @description Delete an existing list of users.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['users___lists___delete'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['DriveFile'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/users/lists/favorite': {
+ /**
+ * users/lists/favorite
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['users___lists___favorite'];
};
- };
- /**
- * drive/files/attached-notes
- * @description Find the notes to which the given file is attached.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- 'drive___files___attached-notes': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- fileId: string;
- };
- };
+ '/users/lists/get-memberships': {
+ /**
+ * users/lists/get-memberships
+ * @description No description provided.
+ *
+ * **Credential required**: *No* / **Permission**: *read:account*
+ */
+ post: operations['users___lists___get-memberships'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/users/lists/list': {
+ /**
+ * users/lists/list
+ * @description Show all lists that the authenticated user has created.
+ *
+ * **Credential required**: *No* / **Permission**: *read:account*
+ */
+ post: operations['users___lists___list'];
};
- };
- /**
- * drive/files/check-existence
- * @description Check if a given file exists.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- 'drive___files___check-existence': {
- requestBody: {
- content: {
- 'application/json': {
- md5: string;
- };
- };
+ '/users/lists/pull': {
+ /**
+ * users/lists/pull
+ * @description Remove a user from a list.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['users___lists___pull'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': boolean;
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/users/lists/push': {
+ /**
+ * users/lists/push
+ * @description Add a user to an existing list.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['users___lists___push'];
};
- };
- /**
- * drive/files/create
- * @description Upload a new drive file.
- *
- * **Credential required**: *Yes* / **Permission**: *write:drive*
- */
- drive___files___create: {
- requestBody: {
- content: {
- 'multipart/form-data': {
- /**
- * Format: misskey:id
- * @default null
- */
- folderId?: string | null;
- /** @default null */
- name?: string | null;
- /** @default null */
- comment?: string | null;
- /** @default false */
- isSensitive?: boolean;
- /** @default false */
- force?: boolean;
- /**
- * Format: binary
- * @description The file contents.
- */
- file: Blob;
- };
- };
+ '/users/lists/show': {
+ /**
+ * users/lists/show
+ * @description Show the properties of a list.
+ *
+ * **Credential required**: *No* / **Permission**: *read:account*
+ */
+ post: operations['users___lists___show'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['DriveFile'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/users/lists/unfavorite': {
+ /**
+ * users/lists/unfavorite
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['users___lists___unfavorite'];
};
- };
- /**
- * drive/files/delete
- * @description Delete an existing drive file.
- *
- * **Credential required**: *Yes* / **Permission**: *write:drive*
- */
- drive___files___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- fileId: string;
- };
- };
+ '/users/lists/update': {
+ /**
+ * users/lists/update
+ * @description Update the properties of a list.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['users___lists___update'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/users/lists/update-membership': {
+ /**
+ * users/lists/update-membership
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['users___lists___update-membership'];
};
- };
- /**
- * drive/files/find
- * @description Search for a drive file by the given parameters.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- drive___files___find: {
- requestBody: {
- content: {
- 'application/json': {
- name: string;
- /**
- * Format: misskey:id
- * @default null
- */
- folderId?: string | null;
- };
- };
+ '/users/notes': {
+ /**
+ * users/notes
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['users___notes'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['DriveFile'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/users/pages': {
+ /**
+ * users/pages
+ * @description Show all pages this user created.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['users___pages'];
};
- };
- /**
- * drive/files/find-by-hash
- * @description Search for a drive file by a hash of the contents.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- 'drive___files___find-by-hash': {
- requestBody: {
- content: {
- 'application/json': {
- md5: string;
- };
- };
+ '/users/reactions': {
+ /**
+ * users/reactions
+ * @description Show all reactions this user made.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['users___reactions'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['DriveFile'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/users/recommendation': {
+ /**
+ * users/recommendation
+ * @description Show users that the authenticated user might be interested to follow.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['users___recommendation'];
};
- };
- /**
- * drive/files/move-bulk
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:drive*
- */
- 'drive___files___move-bulk': {
- requestBody: {
- content: {
- 'application/json': {
- fileIds: string[];
- /** Format: misskey:id */
- folderId?: string | null;
- };
- };
+ '/users/relation': {
+ /**
+ * users/relation
+ * @description Show the different kinds of relations between the authenticated user and the specified user(s).
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations['users___relation'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/users/report-abuse': {
+ /**
+ * users/report-abuse
+ * @description File a report.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:report-abuse*
+ */
+ post: operations['users___report-abuse'];
};
- };
- /**
- * drive/files/show
- * @description Show the properties of a drive file.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- drive___files___show: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- fileId: string;
- } | {
- url: string;
- };
- };
+ '/users/search': {
+ /**
+ * users/search
+ * @description Search for users.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['users___search'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['DriveFile'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/users/search-by-username-and-host': {
+ /**
+ * users/search-by-username-and-host
+ * @description Search for a user by username and/or host.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['users___search-by-username-and-host'];
};
- };
- /**
- * drive/files/update
- * @description Update the properties of a drive file.
- *
- * **Credential required**: *Yes* / **Permission**: *write:drive*
- */
- drive___files___update: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- fileId: string;
- /** Format: misskey:id */
- folderId?: string | null;
- name?: string;
- isSensitive?: boolean;
- comment?: string | null;
- };
- };
+ '/users/show': {
+ /**
+ * users/show
+ * @description Show the properties of a user.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations['users___show'];
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['DriveFile'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
+ '/users/update-memo': {
+ /**
+ * users/update-memo
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations['users___update-memo'];
};
- };
- /**
- * drive/files/upload-from-url
- * @description Request the server to download a new drive file from the specified URL.
- *
- * **Credential required**: *Yes* / **Permission**: *write:drive*
- */
- 'drive___files___upload-from-url': {
- requestBody: {
- content: {
- 'application/json': {
- url: string;
- /**
- * Format: misskey:id
- * @default null
- */
- folderId?: string | null;
- /** @default false */
- isSensitive?: boolean;
- /** @default null */
- comment?: string | null;
- /** @default null */
- marker?: string | null;
- /** @default false */
- force?: boolean;
- };
- };
+ '/v2/admin/emoji/list': {
+ /**
+ * v2/admin/emoji/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:admin:emoji*
+ */
+ post: operations['v2___admin___emoji___list'];
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
+};
+export type webhooks = Record<string, never>;
+export type components = {
+ schemas: {
+ Error: {
+ /** @description An error object. */
+ error: {
+ /** @description An error code. Unique within the endpoint. */
+ code: string;
+ /** @description An error message. */
+ message: string;
+ /**
+ * Format: uuid
+ * @description An error ID. This ID is static.
+ */
+ id: string;
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ UserLite: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** @example 藍 */
+ name: string | null;
+ /** @example ai */
+ username: string;
+ /**
+ * @description The local host is represented with `null`.
+ * @example misskey.example.com
+ */
+ host: string | null;
+ /** Format: url */
+ avatarUrl: string | null;
+ avatarBlurhash: string | null;
+ avatarDecorations: {
+ /** Format: id */
+ id: string;
+ angle?: number;
+ flipH?: boolean;
+ /** Format: url */
+ url: string;
+ offsetX?: number;
+ offsetY?: number;
+ }[];
+ isBot?: boolean;
+ isCat?: boolean;
+ requireSigninToViewContents?: boolean;
+ makeNotesFollowersOnlyBefore?: number | null;
+ makeNotesHiddenBefore?: number | null;
+ instance?: {
+ name: string | null;
+ softwareName: string | null;
+ softwareVersion: string | null;
+ iconUrl: string | null;
+ faviconUrl: string | null;
+ themeColor: string | null;
+ };
+ emojis: {
+ [key: string]: string;
+ };
+ /** @enum {string} */
+ onlineStatus: 'unknown' | 'online' | 'active' | 'offline';
+ badgeRoles?: {
+ name: string;
+ iconUrl: string | null;
+ displayOrder: number;
+ }[];
};
- };
- };
- };
- /**
- * drive/folders
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- drive___folders: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /**
- * Format: misskey:id
- * @default null
- */
- folderId?: string | null;
+ UserDetailedNotMeOnly: {
+ /** Format: url */
+ url: string | null;
+ /** Format: uri */
+ uri: string | null;
+ /** Format: uri */
+ movedTo: string | null;
+ alsoKnownAs: string[] | null;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: date-time */
+ updatedAt: string | null;
+ /** Format: date-time */
+ lastFetchedAt: string | null;
+ /** Format: url */
+ bannerUrl: string | null;
+ bannerBlurhash: string | null;
+ isLocked: boolean;
+ isSilenced: boolean;
+ /** @example false */
+ isSuspended: boolean;
+ /** @example Hi masters, I am Ai! */
+ description: string | null;
+ location: string | null;
+ /** @example 2018-03-12 */
+ birthday: string | null;
+ /** @example ja-JP */
+ lang: string | null;
+ fields: {
+ name: string;
+ value: string;
+ }[];
+ verifiedLinks: string[];
+ followersCount: number;
+ followingCount: number;
+ notesCount: number;
+ pinnedNoteIds: string[];
+ pinnedNotes: components['schemas']['Note'][];
+ pinnedPageId: string | null;
+ pinnedPage: components['schemas']['Page'] | null;
+ publicReactions: boolean;
+ /** @enum {string} */
+ followingVisibility: 'public' | 'followers' | 'private';
+ /** @enum {string} */
+ followersVisibility: 'public' | 'followers' | 'private';
+ /** @enum {string} */
+ chatScope: 'everyone' | 'following' | 'followers' | 'mutual' | 'none';
+ canChat: boolean;
+ roles: components['schemas']['RoleLite'][];
+ followedMessage?: string | null;
+ memo: string | null;
+ moderationNote?: string;
+ twoFactorEnabled?: boolean;
+ usePasswordLessLogin?: boolean;
+ securityKeys?: boolean;
+ isFollowing?: boolean;
+ isFollowed?: boolean;
+ hasPendingFollowRequestFromYou?: boolean;
+ hasPendingFollowRequestToYou?: boolean;
+ isBlocking?: boolean;
+ isBlocked?: boolean;
+ isMuted?: boolean;
+ isRenoteMuted?: boolean;
+ /** @enum {string} */
+ notify?: 'normal' | 'none';
+ withReplies?: boolean;
};
- };
- };
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['DriveFolder'][];
+ MeDetailedOnly: {
+ /** Format: id */
+ avatarId: string | null;
+ /** Format: id */
+ bannerId: string | null;
+ followedMessage: string | null;
+ isModerator: boolean | null;
+ isAdmin: boolean | null;
+ injectFeaturedNote: boolean;
+ receiveAnnouncementEmail: boolean;
+ alwaysMarkNsfw: boolean;
+ autoSensitive: boolean;
+ carefulBot: boolean;
+ autoAcceptFollowed: boolean;
+ noCrawle: boolean;
+ preventAiLearning: boolean;
+ isExplorable: boolean;
+ isDeleted: boolean;
+ /** @enum {string} */
+ twoFactorBackupCodesStock: 'full' | 'partial' | 'none';
+ hideOnlineStatus: boolean;
+ hasUnreadSpecifiedNotes: boolean;
+ hasUnreadMentions: boolean;
+ hasUnreadAnnouncement: boolean;
+ unreadAnnouncements: components['schemas']['Announcement'][];
+ hasUnreadAntenna: boolean;
+ hasUnreadChannel: boolean;
+ hasUnreadChatMessages: boolean;
+ hasUnreadNotification: boolean;
+ hasPendingReceivedFollowRequest: boolean;
+ unreadNotificationsCount: number;
+ mutedWords: string[][];
+ hardMutedWords: string[][];
+ mutedInstances: string[] | null;
+ notificationRecieveConfig: {
+ note?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ follow?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ mention?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ reply?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ renote?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ quote?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ reaction?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ pollEnded?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ receiveFollowRequest?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ followRequestAccepted?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ roleAssigned?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ chatRoomInvitationReceived?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ achievementEarned?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ app?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ test?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ };
+ emailNotificationTypes: string[];
+ achievements: components['schemas']['Achievement'][];
+ loggedInDays: number;
+ policies: components['schemas']['RolePolicies'];
+ /** @default false */
+ twoFactorEnabled: boolean;
+ /** @default false */
+ usePasswordLessLogin: boolean;
+ /** @default false */
+ securityKeys: boolean;
+ email?: string | null;
+ emailVerified?: boolean | null;
+ securityKeysList?: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ name: string;
+ /** Format: date-time */
+ lastUsed: string;
+ }[];
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ UserDetailedNotMe: components['schemas']['UserLite'] & components['schemas']['UserDetailedNotMeOnly'];
+ MeDetailed: components['schemas']['UserLite'] & components['schemas']['UserDetailedNotMeOnly'] & components['schemas']['MeDetailedOnly'];
+ UserDetailed: components['schemas']['UserDetailedNotMe'] | components['schemas']['MeDetailed'];
+ User: components['schemas']['UserLite'] | components['schemas']['UserDetailed'];
+ UserList: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ name: string;
+ userIds?: string[];
+ isPublic: boolean;
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ Achievement: {
+ name: components['schemas']['AchievementName'];
+ unlockedAt: number;
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ /** @enum {string} */
+ AchievementName: 'notes1' | 'notes10' | 'notes100' | 'notes500' | 'notes1000' | 'notes5000' | 'notes10000' | 'notes20000' | 'notes30000' | 'notes40000' | 'notes50000' | 'notes60000' | 'notes70000' | 'notes80000' | 'notes90000' | 'notes100000' | 'login3' | 'login7' | 'login15' | 'login30' | 'login60' | 'login100' | 'login200' | 'login300' | 'login400' | 'login500' | 'login600' | 'login700' | 'login800' | 'login900' | 'login1000' | 'passedSinceAccountCreated1' | 'passedSinceAccountCreated2' | 'passedSinceAccountCreated3' | 'loggedInOnBirthday' | 'loggedInOnNewYearsDay' | 'noteClipped1' | 'noteFavorited1' | 'myNoteFavorited1' | 'profileFilled' | 'markedAsCat' | 'following1' | 'following10' | 'following50' | 'following100' | 'following300' | 'followers1' | 'followers10' | 'followers50' | 'followers100' | 'followers300' | 'followers500' | 'followers1000' | 'collectAchievements30' | 'viewAchievements3min' | 'iLoveMisskey' | 'foundTreasure' | 'client30min' | 'client60min' | 'noteDeletedWithin1min' | 'postedAtLateNight' | 'postedAt0min0sec' | 'selfQuote' | 'htl20npm' | 'viewInstanceChart' | 'outputHelloWorldOnScratchpad' | 'open3windows' | 'driveFolderCircularReference' | 'reactWithoutRead' | 'clickedClickHere' | 'justPlainLucky' | 'setNameToSyuilo' | 'cookieClicked' | 'brainDiver' | 'smashTestNotificationButton' | 'tutorialCompleted' | 'bubbleGameExplodingHead' | 'bubbleGameDoubleExplodingHead';
+ Ad: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ expiresAt: string;
+ /** Format: date-time */
+ startsAt: string;
+ place: string;
+ priority: string;
+ ratio: number;
+ url: string;
+ imageUrl: string;
+ memo: string;
+ dayOfWeek: number;
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ Announcement: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: date-time */
+ updatedAt: string | null;
+ text: string;
+ title: string;
+ imageUrl: string | null;
+ /** @enum {string} */
+ icon: 'info' | 'warning' | 'error' | 'success';
+ /** @enum {string} */
+ display: 'dialog' | 'normal' | 'banner';
+ needConfirmationToRead: boolean;
+ silence: boolean;
+ forYou: boolean;
+ isRead?: boolean;
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ App: {
+ id: string;
+ name: string;
+ callbackUrl: string | null;
+ permission: string[];
+ secret?: string;
+ isAuthorized?: boolean;
};
- };
- };
- };
- /**
- * drive/folders/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:drive*
- */
- drive___folders___create: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default Untitled */
- name?: string;
- /** Format: misskey:id */
- parentId?: string | null;
+ Note: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: date-time */
+ deletedAt?: string | null;
+ text: string | null;
+ cw?: string | null;
+ /** Format: id */
+ userId: string;
+ user: components['schemas']['UserLite'];
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ replyId?: string | null;
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ renoteId?: string | null;
+ reply?: components['schemas']['Note'] | null;
+ renote?: components['schemas']['Note'] | null;
+ isHidden?: boolean;
+ /** @enum {string} */
+ visibility: 'public' | 'home' | 'followers' | 'specified';
+ mentions?: string[];
+ visibleUserIds?: string[];
+ fileIds?: string[];
+ files?: components['schemas']['DriveFile'][];
+ tags?: string[];
+ poll?: {
+ /** Format: date-time */
+ expiresAt?: string | null;
+ multiple: boolean;
+ choices: {
+ isVoted: boolean;
+ text: string;
+ votes: number;
+ }[];
+ } | null;
+ emojis?: {
+ [key: string]: string;
+ };
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ channelId?: string | null;
+ channel?: {
+ id: string;
+ name: string;
+ color: string;
+ isSensitive: boolean;
+ allowRenoteToExternal: boolean;
+ userId: string | null;
+ } | null;
+ localOnly?: boolean;
+ /** @enum {string|null} */
+ reactionAcceptance: 'likeOnly' | 'likeOnlyForRemote' | 'nonSensitiveOnly' | 'nonSensitiveOnlyForLocalLikeOnlyForRemote' | null;
+ reactionEmojis: {
+ [key: string]: string;
+ };
+ reactions: {
+ [key: string]: number;
+ };
+ reactionCount: number;
+ renoteCount: number;
+ repliesCount: number;
+ uri?: string;
+ url?: string;
+ reactionAndUserPairCache?: string[];
+ clippedCount?: number;
+ hasPoll?: boolean;
+ myReaction?: string | null;
};
- };
- };
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['DriveFolder'];
+ NoteReaction: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ user: components['schemas']['UserLite'];
+ type: string;
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ NoteFavorite: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ note: components['schemas']['Note'];
+ /** Format: id */
+ noteId: string;
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ Notification: {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @enum {string} */
+ type: 'note';
+ user: components['schemas']['UserLite'];
+ /** Format: id */
+ userId: string;
+ note: components['schemas']['Note'];
+ } | {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @enum {string} */
+ type: 'mention';
+ user: components['schemas']['UserLite'];
+ /** Format: id */
+ userId: string;
+ note: components['schemas']['Note'];
+ } | {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @enum {string} */
+ type: 'reply';
+ user: components['schemas']['UserLite'];
+ /** Format: id */
+ userId: string;
+ note: components['schemas']['Note'];
+ } | {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @enum {string} */
+ type: 'renote';
+ user: components['schemas']['UserLite'];
+ /** Format: id */
+ userId: string;
+ note: components['schemas']['Note'];
+ } | {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @enum {string} */
+ type: 'quote';
+ user: components['schemas']['UserLite'];
+ /** Format: id */
+ userId: string;
+ note: components['schemas']['Note'];
+ } | {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @enum {string} */
+ type: 'reaction';
+ user: components['schemas']['UserLite'];
+ /** Format: id */
+ userId: string;
+ note: components['schemas']['Note'];
+ reaction: string;
+ } | {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @enum {string} */
+ type: 'pollEnded';
+ user: components['schemas']['UserLite'];
+ /** Format: id */
+ userId: string;
+ note: components['schemas']['Note'];
+ } | {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @enum {string} */
+ type: 'follow';
+ user: components['schemas']['UserLite'];
+ /** Format: id */
+ userId: string;
+ } | {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @enum {string} */
+ type: 'receiveFollowRequest';
+ user: components['schemas']['UserLite'];
+ /** Format: id */
+ userId: string;
+ } | {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @enum {string} */
+ type: 'followRequestAccepted';
+ user: components['schemas']['UserLite'];
+ /** Format: id */
+ userId: string;
+ message: string | null;
+ } | {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @enum {string} */
+ type: 'roleAssigned';
+ role: components['schemas']['Role'];
+ } | {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @enum {string} */
+ type: 'chatRoomInvitationReceived';
+ invitation: components['schemas']['ChatRoomInvitation'];
+ } | {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @enum {string} */
+ type: 'achievementEarned';
+ achievement: components['schemas']['AchievementName'];
+ } | {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @enum {string} */
+ type: 'exportCompleted';
+ /** @enum {string} */
+ exportedEntity: 'antenna' | 'blocking' | 'clip' | 'customEmoji' | 'favorite' | 'following' | 'muting' | 'note' | 'userList';
+ /** Format: id */
+ fileId: string;
+ } | {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @enum {string} */
+ type: 'login';
+ } | {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @enum {string} */
+ type: 'createToken';
+ } | {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @enum {string} */
+ type: 'app';
+ body: string;
+ header: string | null;
+ icon: string | null;
+ } | {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @enum {string} */
+ type: 'reaction:grouped';
+ note: components['schemas']['Note'];
+ reactions: {
+ user: components['schemas']['UserLite'];
+ reaction: string;
+ }[];
+ } | {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @enum {string} */
+ type: 'renote:grouped';
+ note: components['schemas']['Note'];
+ users: components['schemas']['UserLite'][];
+ } | {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @enum {string} */
+ type: 'test';
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ DriveFile: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @example 192.jpg */
+ name: string;
+ /** @example image/jpeg */
+ type: string;
+ /**
+ * Format: md5
+ * @example 15eca7fba0480996e2245f5185bf39f2
+ */
+ md5: string;
+ /** @example 51469 */
+ size: number;
+ isSensitive: boolean;
+ blurhash: string | null;
+ properties: {
+ /** @example 1280 */
+ width?: number;
+ /** @example 720 */
+ height?: number;
+ /** @example 8 */
+ orientation?: number;
+ /** @example rgb(40,65,87) */
+ avgColor?: string;
+ };
+ /** Format: url */
+ url: string;
+ /** Format: url */
+ thumbnailUrl: string | null;
+ comment: string | null;
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ folderId: string | null;
+ folder?: components['schemas']['DriveFolder'] | null;
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ userId: string | null;
+ user?: components['schemas']['UserLite'] | null;
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ DriveFolder: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ name: string;
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ parentId: string | null;
+ foldersCount?: number;
+ filesCount?: number;
+ parent?: components['schemas']['DriveFolder'] | null;
};
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
+ Following: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: id */
+ followeeId: string;
+ /** Format: id */
+ followerId: string;
+ followee?: components['schemas']['UserDetailedNotMe'];
+ follower?: components['schemas']['UserDetailedNotMe'];
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ Muting: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: date-time */
+ expiresAt: string | null;
+ /** Format: id */
+ muteeId: string;
+ mutee: components['schemas']['UserDetailedNotMe'];
};
- };
- };
- };
- /**
- * drive/folders/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:drive*
- */
- drive___folders___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- folderId: string;
+ RenoteMuting: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: id */
+ muteeId: string;
+ mutee: components['schemas']['UserDetailedNotMe'];
};
- };
- };
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ Blocking: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: id */
+ blockeeId: string;
+ blockee: components['schemas']['UserDetailedNotMe'];
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ Hashtag: {
+ /** @example misskey */
+ tag: string;
+ mentionedUsersCount: number;
+ mentionedLocalUsersCount: number;
+ mentionedRemoteUsersCount: number;
+ attachedUsersCount: number;
+ attachedLocalUsersCount: number;
+ attachedRemoteUsersCount: number;
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ InviteCode: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** @example GR6S02ERUA5VR */
+ code: string;
+ /** Format: date-time */
+ expiresAt: string | null;
+ /** Format: date-time */
+ createdAt: string;
+ createdBy: components['schemas']['UserLite'] | null;
+ usedBy: components['schemas']['UserLite'] | null;
+ /** Format: date-time */
+ usedAt: string | null;
+ used: boolean;
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ Page: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: date-time */
+ updatedAt: string;
+ /** Format: id */
+ userId: string;
+ user: components['schemas']['UserLite'];
+ content: components['schemas']['PageBlock'][];
+ variables: Record<string, never>[];
+ title: string;
+ name: string;
+ summary: string | null;
+ hideTitleWhenPinned: boolean;
+ alignCenter: boolean;
+ font: string;
+ script: string;
+ eyeCatchingImageId: string | null;
+ eyeCatchingImage: components['schemas']['DriveFile'] | null;
+ attachedFiles: components['schemas']['DriveFile'][];
+ likedCount: number;
+ isLiked?: boolean;
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ PageBlock: {
+ id: string;
+ /** @enum {string} */
+ type: 'text';
+ text: string;
+ } | {
+ id: string;
+ /** @enum {string} */
+ type: 'section';
+ title: string;
+ children: components['schemas']['PageBlock'][];
+ } | {
+ id: string;
+ /** @enum {string} */
+ type: 'image';
+ fileId: string | null;
+ } | {
+ id: string;
+ /** @enum {string} */
+ type: 'note';
+ detailed: boolean;
+ note: string | null;
};
- };
- };
- };
- /**
- * drive/folders/find
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- drive___folders___find: {
- requestBody: {
- content: {
- 'application/json': {
- name: string;
- /**
- * Format: misskey:id
- * @default null
- */
- parentId?: string | null;
+ Channel: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: date-time */
+ lastNotedAt: string | null;
+ name: string;
+ description: string | null;
+ /** Format: id */
+ userId: string | null;
+ /** Format: url */
+ bannerUrl: string | null;
+ pinnedNoteIds: string[];
+ color: string;
+ isArchived: boolean;
+ usersCount: number;
+ notesCount: number;
+ isSensitive: boolean;
+ allowRenoteToExternal: boolean;
+ isFollowing?: boolean;
+ isFavorited?: boolean;
+ pinnedNotes?: components['schemas']['Note'][];
};
- };
- };
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['DriveFolder'][];
+ QueueCount: {
+ waiting: number;
+ active: number;
+ completed: number;
+ failed: number;
+ delayed: number;
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ QueueMetrics: {
+ meta: {
+ count: number;
+ prevTS: number;
+ prevCount: number;
+ };
+ data: number[];
+ count: number;
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ QueueJob: {
+ id: string;
+ name: string;
+ data: Record<string, never>;
+ opts: Record<string, never>;
+ timestamp: number;
+ processedOn?: number;
+ processedBy?: string;
+ finishedOn?: number;
+ progress: Record<string, never>;
+ attempts: number;
+ delay: number;
+ failedReason: string;
+ stacktrace: string[];
+ returnValue: Record<string, never>;
+ isFailed: boolean;
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ Antenna: {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ name: string;
+ keywords: string[][];
+ excludeKeywords: string[][];
+ /** @enum {string} */
+ src: 'home' | 'all' | 'users' | 'list' | 'users_blacklist';
+ /** Format: id */
+ userListId: string | null;
+ users: string[];
+ /** @default false */
+ caseSensitive: boolean;
+ /** @default false */
+ localOnly: boolean;
+ /** @default false */
+ excludeBots: boolean;
+ /** @default false */
+ withReplies: boolean;
+ withFile: boolean;
+ isActive: boolean;
+ /** @default false */
+ hasUnreadNote: boolean;
+ /** @default false */
+ notify: boolean;
+ /** @default false */
+ excludeNotesInSensitiveChannel: boolean;
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ Clip: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: date-time */
+ lastClippedAt: string | null;
+ /** Format: id */
+ userId: string;
+ user: components['schemas']['UserLite'];
+ name: string;
+ description: string | null;
+ isPublic: boolean;
+ favoritedCount: number;
+ isFavorited?: boolean;
+ notesCount?: number;
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ FederationInstance: {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ firstRetrievedAt: string;
+ /** @example misskey.example.com */
+ host: string;
+ usersCount: number;
+ notesCount: number;
+ followingCount: number;
+ followersCount: number;
+ isNotResponding: boolean;
+ isSuspended: boolean;
+ /** @enum {string} */
+ suspensionState: 'none' | 'manuallySuspended' | 'goneSuspended' | 'autoSuspendedForNotResponding' | 'softwareSuspended';
+ isBlocked: boolean;
+ /** @example misskey */
+ softwareName: string | null;
+ softwareVersion: string | null;
+ /** @example true */
+ openRegistrations: boolean | null;
+ name: string | null;
+ description: string | null;
+ maintainerName: string | null;
+ maintainerEmail: string | null;
+ isSilenced: boolean;
+ isMediaSilenced: boolean;
+ /** Format: url */
+ iconUrl: string | null;
+ /** Format: url */
+ faviconUrl: string | null;
+ themeColor: string | null;
+ /** Format: date-time */
+ infoUpdatedAt: string | null;
+ /** Format: date-time */
+ latestRequestReceivedAt: string | null;
+ moderationNote?: string | null;
};
- };
- };
- };
- /**
- * drive/folders/show
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- drive___folders___show: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- folderId: string;
+ GalleryPost: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: date-time */
+ updatedAt: string;
+ /** Format: id */
+ userId: string;
+ user: components['schemas']['UserLite'];
+ title: string;
+ description: string | null;
+ fileIds?: string[];
+ files?: components['schemas']['DriveFile'][];
+ tags?: string[];
+ isSensitive: boolean;
+ likedCount: number;
+ isLiked?: boolean;
};
- };
- };
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['DriveFolder'];
+ EmojiSimple: {
+ aliases: string[];
+ name: string;
+ category: string | null;
+ url: string;
+ localOnly?: boolean;
+ isSensitive?: boolean;
+ roleIdsThatCanBeUsedThisEmojiAsReaction?: string[];
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ EmojiDetailed: {
+ /** Format: id */
+ id: string;
+ aliases: string[];
+ name: string;
+ category: string | null;
+ /** @description The local host is represented with `null`. */
+ host: string | null;
+ url: string;
+ license: string | null;
+ isSensitive: boolean;
+ localOnly: boolean;
+ roleIdsThatCanBeUsedThisEmojiAsReaction: string[];
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ EmojiDetailedAdmin: {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ updatedAt: string | null;
+ name: string;
+ /** @description The local host is represented with `null`. */
+ host: string | null;
+ publicUrl: string;
+ originalUrl: string;
+ uri: string | null;
+ type: string | null;
+ aliases: string[];
+ category: string | null;
+ license: string | null;
+ localOnly: boolean;
+ isSensitive: boolean;
+ roleIdsThatCanBeUsedThisEmojiAsReaction: {
+ /** Format: misskey:id */
+ id: string;
+ name: string;
+ }[];
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ Flash: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: date-time */
+ updatedAt: string;
+ /** Format: id */
+ userId: string;
+ user: components['schemas']['UserLite'];
+ title: string;
+ summary: string;
+ script: string;
+ /** @enum {string} */
+ visibility: 'private' | 'public';
+ likedCount: number | null;
+ isLiked?: boolean;
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ Signin: {
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ ip: string;
+ headers: Record<string, never>;
+ success: boolean;
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ RoleCondFormulaLogics: {
+ id: string;
+ /** @enum {string} */
+ type: 'and' | 'or';
+ values: components['schemas']['RoleCondFormulaValue'][];
};
- };
- };
- };
- /**
- * drive/folders/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:drive*
- */
- drive___folders___update: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- folderId: string;
- name?: string;
- /** Format: misskey:id */
- parentId?: string | null;
+ RoleCondFormulaValueNot: {
+ id: string;
+ /** @enum {string} */
+ type: 'not';
+ value: components['schemas']['RoleCondFormulaValue'];
};
- };
- };
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['DriveFolder'];
+ RoleCondFormulaValueIsLocalOrRemote: {
+ id: string;
+ /** @enum {string} */
+ type: 'isLocal' | 'isRemote';
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ RoleCondFormulaValueUserSettingBooleanSchema: {
+ id: string;
+ /** @enum {string} */
+ type: 'isSuspended' | 'isLocked' | 'isBot' | 'isCat' | 'isExplorable';
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ RoleCondFormulaValueAssignedRole: {
+ id: string;
+ /** @enum {string} */
+ type: 'roleAssignedTo';
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ roleId: string;
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ RoleCondFormulaValueCreated: {
+ id: string;
+ /** @enum {string} */
+ type: 'createdLessThan' | 'createdMoreThan';
+ sec: number;
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ RoleCondFormulaFollowersOrFollowingOrNotes: {
+ id: string;
+ /** @enum {string} */
+ type: 'followersLessThanOrEq' | 'followersMoreThanOrEq' | 'followingLessThanOrEq' | 'followingMoreThanOrEq' | 'notesLessThanOrEq' | 'notesMoreThanOrEq';
+ value: number;
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ RoleCondFormulaValue: components['schemas']['RoleCondFormulaLogics'] | components['schemas']['RoleCondFormulaValueNot'] | components['schemas']['RoleCondFormulaValueIsLocalOrRemote'] | components['schemas']['RoleCondFormulaValueUserSettingBooleanSchema'] | components['schemas']['RoleCondFormulaValueAssignedRole'] | components['schemas']['RoleCondFormulaValueCreated'] | components['schemas']['RoleCondFormulaFollowersOrFollowingOrNotes'];
+ RoleLite: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** @example New Role */
+ name: string;
+ /** @example #000000 */
+ color: string | null;
+ iconUrl: string | null;
+ description: string;
+ /** @example false */
+ isModerator: boolean;
+ /** @example false */
+ isAdministrator: boolean;
+ /** @example 0 */
+ displayOrder: number;
};
- };
- };
- };
- /**
- * drive/stream
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:drive*
- */
- drive___stream: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- type?: string;
+ Role: components['schemas']['RoleLite'] & {
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: date-time */
+ updatedAt: string;
+ /** @enum {string} */
+ target: 'manual' | 'conditional';
+ condFormula: components['schemas']['RoleCondFormulaValue'];
+ /** @example false */
+ isPublic: boolean;
+ /** @example false */
+ isExplorable: boolean;
+ /** @example false */
+ asBadge: boolean;
+ /** @example false */
+ preserveAssignmentOnMoveAccount: boolean;
+ /** @example false */
+ canEditMembersByModerator: boolean;
+ policies: {
+ [key: string]: {
+ value?: number | boolean;
+ priority?: number;
+ useDefault?: boolean;
+ };
+ };
+ usersCount: number;
};
- };
- };
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['DriveFile'][];
+ RolePolicies: {
+ gtlAvailable: boolean;
+ ltlAvailable: boolean;
+ canPublicNote: boolean;
+ mentionLimit: number;
+ canInvite: boolean;
+ inviteLimit: number;
+ inviteLimitCycle: number;
+ inviteExpirationTime: number;
+ canManageCustomEmojis: boolean;
+ canManageAvatarDecorations: boolean;
+ canSearchNotes: boolean;
+ canUseTranslator: boolean;
+ canHideAds: boolean;
+ driveCapacityMb: number;
+ maxFileSizeMb: number;
+ uploadableFileTypes: string[];
+ alwaysMarkNsfw: boolean;
+ canUpdateBioMedia: boolean;
+ pinLimit: number;
+ antennaLimit: number;
+ wordMuteLimit: number;
+ webhookLimit: number;
+ clipLimit: number;
+ noteEachClipsLimit: number;
+ userListLimit: number;
+ userEachUserListsLimit: number;
+ rateLimitFactor: number;
+ avatarDecorationLimit: number;
+ canImportAntennas: boolean;
+ canImportBlocking: boolean;
+ canImportFollowing: boolean;
+ canImportMuting: boolean;
+ canImportUserLists: boolean;
+ /** @enum {string} */
+ chatAvailability: 'available' | 'readonly' | 'unavailable';
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ ReversiGameLite: {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: date-time */
+ startedAt: string | null;
+ /** Format: date-time */
+ endedAt: string | null;
+ isStarted: boolean;
+ isEnded: boolean;
+ /** Format: id */
+ user1Id: string;
+ /** Format: id */
+ user2Id: string;
+ user1: components['schemas']['UserLite'];
+ user2: components['schemas']['UserLite'];
+ /** Format: id */
+ winnerId: string | null;
+ winner: components['schemas']['UserLite'] | null;
+ /** Format: id */
+ surrenderedUserId: string | null;
+ /** Format: id */
+ timeoutUserId: string | null;
+ black: number | null;
+ bw: string;
+ noIrregularRules: boolean;
+ isLlotheo: boolean;
+ canPutEverywhere: boolean;
+ loopedBoard: boolean;
+ timeLimitForEachTurn: number;
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ ReversiGameDetailed: {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: date-time */
+ startedAt: string | null;
+ /** Format: date-time */
+ endedAt: string | null;
+ isStarted: boolean;
+ isEnded: boolean;
+ form1: Record<string, never> | null;
+ form2: Record<string, never> | null;
+ user1Ready: boolean;
+ user2Ready: boolean;
+ /** Format: id */
+ user1Id: string;
+ /** Format: id */
+ user2Id: string;
+ user1: components['schemas']['UserLite'];
+ user2: components['schemas']['UserLite'];
+ /** Format: id */
+ winnerId: string | null;
+ winner: components['schemas']['UserLite'] | null;
+ /** Format: id */
+ surrenderedUserId: string | null;
+ /** Format: id */
+ timeoutUserId: string | null;
+ black: number | null;
+ bw: string;
+ noIrregularRules: boolean;
+ isLlotheo: boolean;
+ canPutEverywhere: boolean;
+ loopedBoard: boolean;
+ timeLimitForEachTurn: number;
+ logs: number[][];
+ map: string[];
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ MetaLite: {
+ maintainerName: string | null;
+ maintainerEmail: string | null;
+ version: string;
+ providesTarball: boolean;
+ name: string | null;
+ shortName: string | null;
+ /**
+ * Format: url
+ * @example https://misskey.example.com
+ */
+ uri: string;
+ description: string | null;
+ langs: string[];
+ tosUrl: string | null;
+ /** @default https://github.com/misskey-dev/misskey */
+ repositoryUrl: string | null;
+ /** @default https://github.com/misskey-dev/misskey/issues/new */
+ feedbackUrl: string | null;
+ defaultDarkTheme: string | null;
+ defaultLightTheme: string | null;
+ disableRegistration: boolean;
+ emailRequiredForSignup: boolean;
+ enableHcaptcha: boolean;
+ hcaptchaSiteKey: string | null;
+ enableMcaptcha: boolean;
+ mcaptchaSiteKey: string | null;
+ mcaptchaInstanceUrl: string | null;
+ enableRecaptcha: boolean;
+ recaptchaSiteKey: string | null;
+ enableTurnstile: boolean;
+ turnstileSiteKey: string | null;
+ enableTestcaptcha: boolean;
+ googleAnalyticsMeasurementId: string | null;
+ swPublickey: string | null;
+ /** @default /assets/ai.png */
+ mascotImageUrl: string;
+ bannerUrl: string | null;
+ serverErrorImageUrl: string | null;
+ infoImageUrl: string | null;
+ notFoundImageUrl: string | null;
+ iconUrl: string | null;
+ maxNoteTextLength: number;
+ ads: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: url */
+ url: string;
+ place: string;
+ ratio: number;
+ /** Format: url */
+ imageUrl: string;
+ dayOfWeek: number;
+ }[];
+ /** @default 0 */
+ notesPerOneAd: number;
+ enableEmail: boolean;
+ enableServiceWorker: boolean;
+ translatorAvailable: boolean;
+ sentryForFrontend: {
+ options: {
+ dsn: string;
+ } & {
+ [key: string]: unknown;
+ };
+ vueIntegration?: {
+ [key: string]: unknown;
+ } | null;
+ browserTracingIntegration?: {
+ [key: string]: unknown;
+ } | null;
+ replayIntegration?: {
+ [key: string]: unknown;
+ } | null;
+ } | null;
+ mediaProxy: string;
+ enableUrlPreview: boolean;
+ backgroundImageUrl: string | null;
+ impressumUrl: string | null;
+ logoImageUrl: string | null;
+ privacyPolicyUrl: string | null;
+ inquiryUrl: string | null;
+ serverRules: string[];
+ themeColor: string | null;
+ policies: components['schemas']['RolePolicies'];
+ /**
+ * @default local
+ * @enum {string}
+ */
+ noteSearchableScope: 'local' | 'global';
+ maxFileSize: number;
+ /** @enum {string} */
+ federation: 'all' | 'specified' | 'none';
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ MetaDetailedOnly: {
+ features?: {
+ registration: boolean;
+ emailRequiredForSignup: boolean;
+ localTimeline: boolean;
+ globalTimeline: boolean;
+ hcaptcha: boolean;
+ turnstile: boolean;
+ recaptcha: boolean;
+ objectStorage: boolean;
+ serviceWorker: boolean;
+ /** @default true */
+ miauth: boolean;
+ };
+ proxyAccountName: string | null;
+ /** @example false */
+ requireSetup: boolean;
+ cacheRemoteFiles: boolean;
+ cacheRemoteSensitiveFiles: boolean;
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ MetaDetailed: components['schemas']['MetaLite'] & components['schemas']['MetaDetailedOnly'];
+ SystemWebhook: {
+ id: string;
+ isActive: boolean;
+ /** Format: date-time */
+ updatedAt: string;
+ /** Format: date-time */
+ latestSentAt: string | null;
+ latestStatus: number | null;
+ name: string;
+ on: ('abuseReport' | 'abuseReportResolved' | 'userCreated' | 'inactiveModeratorsWarning' | 'inactiveModeratorsInvitationOnlyChanged')[];
+ url: string;
+ secret: string;
};
- };
- };
- };
- /**
- * email-address/available
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- 'email-address___available': {
- requestBody: {
- content: {
- 'application/json': {
- emailAddress: string;
+ AbuseReportNotificationRecipient: {
+ id: string;
+ isActive: boolean;
+ /** Format: date-time */
+ updatedAt: string;
+ name: string;
+ /** @enum {string} */
+ method: 'email' | 'webhook';
+ userId?: string;
+ user?: components['schemas']['UserLite'];
+ systemWebhookId?: string;
+ systemWebhook?: components['schemas']['SystemWebhook'];
};
- };
- };
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- available: boolean;
- reason: string | null;
- };
+ ChatMessage: {
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ fromUserId: string;
+ fromUser: components['schemas']['UserLite'];
+ toUserId?: string | null;
+ toUser?: components['schemas']['UserLite'] | null;
+ toRoomId?: string | null;
+ toRoom?: components['schemas']['ChatRoom'] | null;
+ text?: string | null;
+ fileId?: string | null;
+ file?: components['schemas']['DriveFile'] | null;
+ isRead?: boolean;
+ reactions: {
+ reaction: string;
+ user: components['schemas']['UserLite'];
+ }[];
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ ChatMessageLite: {
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ fromUserId: string;
+ fromUser?: components['schemas']['UserLite'];
+ toUserId?: string | null;
+ toRoomId?: string | null;
+ text?: string | null;
+ fileId?: string | null;
+ file?: components['schemas']['DriveFile'] | null;
+ reactions: {
+ reaction: string;
+ user?: components['schemas']['UserLite'] | null;
+ }[];
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ ChatMessageLiteFor1on1: {
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ fromUserId: string;
+ toUserId: string;
+ text?: string | null;
+ fileId?: string | null;
+ file?: components['schemas']['DriveFile'] | null;
+ reactions: {
+ reaction: string;
+ }[];
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ ChatMessageLiteForRoom: {
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ fromUserId: string;
+ fromUser: components['schemas']['UserLite'];
+ toRoomId: string;
+ text?: string | null;
+ fileId?: string | null;
+ file?: components['schemas']['DriveFile'] | null;
+ reactions: {
+ reaction: string;
+ user: components['schemas']['UserLite'];
+ }[];
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ ChatRoom: {
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ ownerId: string;
+ owner: components['schemas']['UserLite'];
+ name: string;
+ description: string;
+ isMuted?: boolean;
+ invitationExists?: boolean;
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ ChatRoomInvitation: {
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ userId: string;
+ user: components['schemas']['UserLite'];
+ roomId: string;
+ room: components['schemas']['ChatRoom'];
};
- };
- };
- };
- /**
- * emoji
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- emoji: {
- requestBody: {
- content: {
- 'application/json': {
- name: string;
+ ChatRoomMembership: {
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ userId: string;
+ user?: components['schemas']['UserLite'];
+ roomId: string;
+ room?: components['schemas']['ChatRoom'];
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['EmojiDetailed'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: never;
+ parameters: never;
+ requestBodies: never;
+ headers: never;
+ pathItems: never;
+};
+export type $defs = Record<string, never>;
+export interface operations {
+ 'admin___abuse-report___notification-recipient___create': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ isActive: boolean;
+ name: string;
+ /** @enum {string} */
+ method: 'email' | 'webhook';
+ /** Format: misskey:id */
+ userId?: string;
+ /** Format: misskey:id */
+ systemWebhookId?: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['AbuseReportNotificationRecipient'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * emojis
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- emojis: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- emojis: components['schemas']['EmojiSimple'][];
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___abuse-report___notification-recipient___delete': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ };
+ };
};
- };
- };
- };
- /**
- * endpoint
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- endpoint: {
- requestBody: {
- content: {
- 'application/json': {
- endpoint: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- params: {
- name: string;
- type: string;
- }[];
- } | null;
- };
- };
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___abuse-report___notification-recipient___list': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ method?: ('email' | 'webhook')[];
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['AbuseReportNotificationRecipient'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * endpoints
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- endpoints: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': string[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___abuse-report___notification-recipient___show': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['AbuseReportNotificationRecipient'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * export-custom-emojis
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'export-custom-emojis': {
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___abuse-report___notification-recipient___update': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ isActive: boolean;
+ name: string;
+ /** @enum {string} */
+ method: 'email' | 'webhook';
+ /** Format: misskey:id */
+ userId?: string;
+ /** Format: misskey:id */
+ systemWebhookId?: string;
+ };
+ };
};
- };
- };
- };
- /**
- * federation/followers
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- federation___followers: {
- requestBody: {
- content: {
- 'application/json': {
- host: string;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default 10 */
- limit?: number;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['AbuseReportNotificationRecipient'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Following'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___abuse-user-reports': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default null */
+ state?: string | null;
+ /**
+ * @default combined
+ * @enum {string}
+ */
+ reporterOrigin?: 'combined' | 'local' | 'remote';
+ /**
+ * @default combined
+ * @enum {string}
+ */
+ targetUserOrigin?: 'combined' | 'local' | 'remote';
+ };
+ };
};
- };
- };
- };
- /**
- * federation/following
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- federation___following: {
- requestBody: {
- content: {
- 'application/json': {
- host: string;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default 10 */
- limit?: number;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ comment: string;
+ /** @example false */
+ resolved: boolean;
+ /** Format: id */
+ reporterId: string;
+ /** Format: id */
+ targetUserId: string;
+ /** Format: id */
+ assigneeId: string | null;
+ reporter: components['schemas']['UserDetailedNotMe'];
+ targetUser: components['schemas']['UserDetailedNotMe'];
+ assignee: components['schemas']['UserDetailedNotMe'] | null;
+ forwarded: boolean;
+ /** @enum {string|null} */
+ resolvedAs: 'accept' | 'reject' | null;
+ moderationNote: string;
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Following'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___accounts___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ username: string;
+ password: string;
+ setupPassword?: string | null;
+ };
+ };
};
- };
- };
- };
- /**
- * federation/instances
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- federation___instances: {
- requestBody: {
- content: {
- 'application/json': {
- /** @description Omit or use `null` to not filter by host. */
- host?: string | null;
- blocked?: boolean | null;
- notResponding?: boolean | null;
- suspended?: boolean | null;
- silenced?: boolean | null;
- federating?: boolean | null;
- subscribing?: boolean | null;
- publishing?: boolean | null;
- /** @default 30 */
- limit?: number;
- /** @default 0 */
- offset?: number;
- /** @enum {string|null} */
- sort?: '+pubSub' | '-pubSub' | '+notes' | '-notes' | '+users' | '-users' | '+following' | '-following' | '+followers' | '-followers' | '+firstRetrievedAt' | '-firstRetrievedAt' | '+latestRequestReceivedAt' | '-latestRequestReceivedAt' | null;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['MeDetailed'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['FederationInstance'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___accounts___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * federation/show-instance
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- 'federation___show-instance': {
- requestBody: {
- content: {
- 'application/json': {
- host: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['FederationInstance'] | null;
- };
- };
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___accounts___find-by-email': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ email: string;
+ };
+ };
};
- };
- };
- };
- /**
- * federation/stats
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- federation___stats: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserDetailedNotMe'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- topSubInstances: components['schemas']['FederationInstance'][];
- otherFollowersCount: number;
- topPubInstances: components['schemas']['FederationInstance'][];
- otherFollowingCount: number;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___ad___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ url: string;
+ memo: string;
+ place: string;
+ priority: string;
+ ratio: number;
+ expiresAt: number;
+ startsAt: number;
+ imageUrl: string;
+ dayOfWeek: number;
+ };
+ };
};
- };
- };
- };
- /**
- * federation/update-remote-user
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- 'federation___update-remote-user': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Ad'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___ad___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ };
+ };
};
- };
- };
- };
- /**
- * federation/users
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- federation___users: {
- requestBody: {
- content: {
- 'application/json': {
- host: string;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default 10 */
- limit?: number;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserDetailedNotMe'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___ad___list: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default null */
+ publishing?: boolean | null;
+ };
+ };
};
- };
- };
- };
- /**
- * fetch-external-resources
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'fetch-external-resources': {
- requestBody: {
- content: {
- 'application/json': {
- url: string;
- hash: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Ad'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- type: string;
- data: string;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___ad___update: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ memo?: string;
+ url?: string;
+ imageUrl?: string;
+ place?: string;
+ priority?: string;
+ ratio?: number;
+ expiresAt?: number;
+ startsAt?: number;
+ dayOfWeek?: number;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * fetch-rss
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- 'fetch-rss': {
- requestBody: {
- content: {
- 'application/json': {
- url: string;
+ admin___announcements___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ title: string;
+ text: string;
+ imageUrl: string | null;
+ /**
+ * @default info
+ * @enum {string}
+ */
+ icon?: 'info' | 'warning' | 'error' | 'success';
+ /**
+ * @default normal
+ * @enum {string}
+ */
+ display?: 'normal' | 'banner' | 'dialog';
+ /** @default false */
+ forExistingUsers?: boolean;
+ /** @default false */
+ silence?: boolean;
+ /** @default false */
+ needConfirmationToRead?: boolean;
+ /**
+ * Format: misskey:id
+ * @default null
+ */
+ userId?: string | null;
+ };
+ };
};
- };
- };
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- image?: {
- link?: string;
- url: string;
- title?: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: date-time */
+ updatedAt: string | null;
+ title: string;
+ text: string;
+ imageUrl: string | null;
+ };
+ };
};
- paginationLinks?: {
- self?: string;
- first?: string;
- next?: string;
- last?: string;
- prev?: string;
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
};
- link?: string;
- title?: string;
- items: {
- link?: string;
- guid?: string;
- title?: string;
- pubDate?: string;
- creator?: string;
- summary?: string;
- content?: string;
- isoDate?: string;
- categories?: string[];
- contentSnippet?: string;
- enclosure?: {
- url: string;
- length?: number;
- type?: string;
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
};
- }[];
- feedUrl?: string;
- description?: string;
- itunes?: {
- image?: string;
- owner?: {
- name?: string;
- email?: string;
- };
- author?: string;
- summary?: string;
- explicit?: string;
- categories?: string[];
- keywords?: string[];
- [key: string]: unknown;
};
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- };
- };
- /**
- * flash/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:flash*
- */
- flash___create: {
- requestBody: {
- content: {
- 'application/json': {
- title: string;
- summary: string;
- script: string;
- permissions: string[];
- /**
- * @default public
- * @enum {string}
- */
- visibility?: 'public' | 'private';
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Flash'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___announcements___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ };
+ };
};
- };
- };
- };
- /**
- * flash/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:flash*
- */
- flash___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- flashId: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___announcements___list: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** Format: misskey:id */
+ userId?: string | null;
+ /**
+ * @default active
+ * @enum {string}
+ */
+ status?: 'all' | 'active' | 'archived';
+ };
+ };
};
- };
- };
- };
- /**
- * flash/featured
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- flash___featured: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 0 */
- offset?: number;
- /** @default 10 */
- limit?: number;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: date-time */
+ updatedAt: string | null;
+ text: string;
+ title: string;
+ imageUrl: string | null;
+ reads: number;
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Flash'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___announcements___update: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ title?: string;
+ text?: string;
+ imageUrl?: string | null;
+ /** @enum {string} */
+ icon?: 'info' | 'warning' | 'error' | 'success';
+ /** @enum {string} */
+ display?: 'normal' | 'banner' | 'dialog';
+ forExistingUsers?: boolean;
+ silence?: boolean;
+ needConfirmationToRead?: boolean;
+ isActive?: boolean;
+ };
+ };
};
- };
- };
- };
- /**
- * flash/like
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:flash-likes*
- */
- flash___like: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- flashId: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___avatar-decorations___create': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ name: string;
+ description: string;
+ url: string;
+ roleIdsThatCanBeUsedThisDecoration?: string[];
+ };
+ };
};
- };
- };
- };
- /**
- * flash/my
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:flash*
- */
- flash___my: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: date-time */
+ updatedAt: string | null;
+ name: string;
+ description: string;
+ url: string;
+ roleIdsThatCanBeUsedThisDecoration: string[];
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Flash'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___avatar-decorations___delete': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ };
+ };
};
- };
- };
- };
- /**
- * flash/my-likes
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:flash-likes*
- */
- 'flash___my-likes': {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /** Format: id */
- id: string;
- flash: components['schemas']['Flash'];
- }[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___avatar-decorations___list': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** Format: misskey:id */
+ userId?: string | null;
+ };
+ };
};
- };
- };
- };
- /**
- * flash/show
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- flash___show: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- flashId: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: date-time */
+ updatedAt: string | null;
+ name: string;
+ description: string;
+ url: string;
+ roleIdsThatCanBeUsedThisDecoration: string[];
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Flash'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___avatar-decorations___update': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ name?: string;
+ description?: string;
+ url?: string;
+ roleIdsThatCanBeUsedThisDecoration?: string[];
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * flash/unlike
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:flash-likes*
- */
- flash___unlike: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- flashId: string;
+ admin___captcha___current: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ provider: 'none' | 'hcaptcha' | 'mcaptcha' | 'recaptcha' | 'turnstile' | 'testcaptcha';
+ hcaptcha: {
+ siteKey: string | null;
+ secretKey: string | null;
+ };
+ mcaptcha: {
+ siteKey: string | null;
+ secretKey: string | null;
+ instanceUrl: string | null;
+ };
+ recaptcha: {
+ siteKey: string | null;
+ secretKey: string | null;
+ };
+ turnstile: {
+ siteKey: string | null;
+ secretKey: string | null;
+ };
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___captcha___save: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ provider: 'none' | 'hcaptcha' | 'mcaptcha' | 'recaptcha' | 'turnstile' | 'testcaptcha';
+ captchaResult?: string | null;
+ sitekey?: string | null;
+ secret?: string | null;
+ instanceUrl?: string | null;
+ };
+ };
};
- };
- };
- };
- /**
- * flash/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:flash*
- */
- flash___update: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- flashId: string;
- title?: string;
- summary?: string;
- script?: string;
- permissions?: string[];
- /** @enum {string} */
- visibility?: 'public' | 'private';
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___delete-account': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * following/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:following*
- */
- following___create: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- withReplies?: boolean;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserLite'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___delete-all-files-of-a-user': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * following/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:following*
- */
- following___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserLite'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___drive___clean-remote-files': {
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * following/invalidate
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:following*
- */
- following___invalidate: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
+ admin___drive___cleanup: {
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserLite'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___drive___files: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** Format: misskey:id */
+ userId?: string | null;
+ type?: string | null;
+ /**
+ * @default local
+ * @enum {string}
+ */
+ origin?: 'combined' | 'local' | 'remote';
+ /**
+ * @description The local host is represented with `null`.
+ * @default null
+ */
+ hostname?: string | null;
+ };
+ };
};
- };
- };
- };
- /**
- * following/requests/accept
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:following*
- */
- following___requests___accept: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['DriveFile'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___drive___show-file': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ fileId: string;
+ } | {
+ url: string;
+ };
+ };
};
- };
- };
- };
- /**
- * following/requests/cancel
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:following*
- */
- following___requests___cancel: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ userId: string | null;
+ /** @description The local host is represented with `null`. */
+ userHost: string | null;
+ /**
+ * Format: md5
+ * @example 15eca7fba0480996e2245f5185bf39f2
+ */
+ md5: string;
+ /** @example 192.jpg */
+ name: string;
+ /** @example image/jpeg */
+ type: string;
+ /** @example 51469 */
+ size: number;
+ comment: string | null;
+ blurhash: string | null;
+ properties: {
+ width?: number;
+ height?: number;
+ orientation?: number;
+ avgColor?: string;
+ };
+ /** @example true */
+ storedInternal: boolean | null;
+ /** Format: url */
+ url: string | null;
+ /** Format: url */
+ thumbnailUrl: string | null;
+ /** Format: url */
+ webpublicUrl: string | null;
+ accessKey: string | null;
+ thumbnailAccessKey: string | null;
+ webpublicAccessKey: string | null;
+ uri: string | null;
+ src: string | null;
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ folderId: string | null;
+ isSensitive: boolean;
+ isLink: boolean;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserLite'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___emoji___add: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ name: string;
+ /** Format: misskey:id */
+ fileId: string;
+ /** @description Use `null` to reset the category. */
+ category?: string | null;
+ aliases?: string[];
+ license?: string | null;
+ isSensitive?: boolean;
+ localOnly?: boolean;
+ roleIdsThatCanBeUsedThisEmojiAsReaction?: string[];
+ };
+ };
};
- };
- };
- };
- /**
- * following/requests/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:following*
- */
- following___requests___list: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default 10 */
- limit?: number;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['EmojiDetailed'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /** Format: id */
- id: string;
- follower: components['schemas']['UserLite'];
- followee: components['schemas']['UserLite'];
- }[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___emoji___add-aliases-bulk': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ ids: string[];
+ aliases: string[];
+ };
+ };
};
- };
- };
- };
- /**
- * following/requests/reject
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:following*
- */
- following___requests___reject: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___emoji___copy: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ emojiId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * following/requests/sent
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:following*
- */
- following___requests___sent: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default 10 */
- limit?: number;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: id */
+ id: string;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /** Format: id */
- id: string;
- follower: components['schemas']['UserLite'];
- followee: components['schemas']['UserLite'];
- }[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___emoji___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ };
+ };
};
- };
- };
- };
- /**
- * following/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:following*
- */
- following___update: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- /** @enum {string} */
- notify?: 'normal' | 'none';
- withReplies?: boolean;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserLite'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___emoji___delete-bulk': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ ids: string[];
+ };
+ };
};
- };
- };
- };
- /**
- * following/update-all
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:following*
- */
- 'following___update-all': {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- notify?: 'normal' | 'none';
- withReplies?: boolean;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___emoji___import-zip': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ fileId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * gallery/featured
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- gallery___featured: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- untilId?: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['GalleryPost'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___emoji___list: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default null */
+ query?: string | null;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: id */
+ id: string;
+ aliases: string[];
+ name: string;
+ category: string | null;
+ /** @description The local host is represented with `null`. The field exists for compatibility with other API endpoints that return files. */
+ host: string | null;
+ url: string;
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * gallery/popular
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- gallery___popular: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['GalleryPost'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___emoji___list-remote': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default null */
+ query?: string | null;
+ /**
+ * @description Use `null` to represent the local host.
+ * @default null
+ */
+ host?: string | null;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- };
- };
- /**
- * gallery/posts
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- gallery___posts: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: id */
+ id: string;
+ aliases: string[];
+ name: string;
+ category: string | null;
+ /** @description The local host is represented with `null`. */
+ host: string | null;
+ url: string;
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['GalleryPost'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___emoji___remove-aliases-bulk': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ ids: string[];
+ aliases: string[];
+ };
+ };
};
- };
- };
- };
- /**
- * gallery/posts/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:gallery*
- */
- gallery___posts___create: {
- requestBody: {
- content: {
- 'application/json': {
- title: string;
- description?: string | null;
- fileIds: string[];
- /** @default false */
- isSensitive?: boolean;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['GalleryPost'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___emoji___set-aliases-bulk': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ ids: string[];
+ aliases: string[];
+ };
+ };
};
- };
- };
- };
- /**
- * gallery/posts/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:gallery*
- */
- gallery___posts___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- postId: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___emoji___set-category-bulk': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ ids: string[];
+ /** @description Use `null` to reset the category. */
+ category?: string | null;
+ };
+ };
};
- };
- };
- };
- /**
- * gallery/posts/like
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:gallery-likes*
- */
- gallery___posts___like: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- postId: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___emoji___set-license-bulk': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ ids: string[];
+ /** @description Use `null` to reset the license. */
+ license?: string | null;
+ };
+ };
};
- };
- };
- };
- /**
- * gallery/posts/show
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- gallery___posts___show: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- postId: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['GalleryPost'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___emoji___update: {
+ requestBody: {
+ content: {
+ 'application/json': ({
+ /** Format: misskey:id */
+ id: string;
+ } | {
+ name: string;
+ }) & {
+ /** Format: misskey:id */
+ fileId?: string;
+ /** @description Use `null` to reset the category. */
+ category?: string | null;
+ aliases?: string[];
+ license?: string | null;
+ isSensitive?: boolean;
+ localOnly?: boolean;
+ roleIdsThatCanBeUsedThisEmojiAsReaction?: string[];
+ };
+ };
};
- };
- };
- };
- /**
- * gallery/posts/unlike
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:gallery-likes*
- */
- gallery___posts___unlike: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- postId: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___federation___delete-all-files': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ host: string;
+ };
+ };
};
- };
- };
- };
- /**
- * gallery/posts/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:gallery*
- */
- gallery___posts___update: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- postId: string;
- title?: string;
- description?: string | null;
- fileIds?: string[];
- /** @default false */
- isSensitive?: boolean;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['GalleryPost'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___federation___refresh-remote-instance-metadata': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ host: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * get-avatar-decorations
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- 'get-avatar-decorations': {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /**
- * Format: id
- * @example xxxxxxxxxx
- */
- id: string;
- name: string;
- description: string;
- url: string;
- roleIdsThatCanBeUsedThisDecoration: string[];
- }[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___federation___remove-all-following': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ host: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * get-online-users-count
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- 'get-online-users-count': {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- count: number;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___federation___update-instance': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ host: string;
+ isSuspended?: boolean;
+ moderationNote?: string;
+ };
+ };
};
- };
- };
- };
- /**
- * hashtags/list
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- hashtags___list: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** @default false */
- attachedToUserOnly?: boolean;
- /** @default false */
- attachedToLocalUserOnly?: boolean;
- /** @default false */
- attachedToRemoteUserOnly?: boolean;
- /** @enum {string} */
- sort: '+mentionedUsers' | '-mentionedUsers' | '+mentionedLocalUsers' | '-mentionedLocalUsers' | '+mentionedRemoteUsers' | '-mentionedRemoteUsers' | '+attachedUsers' | '-attachedUsers' | '+attachedLocalUsers' | '-attachedLocalUsers' | '+attachedRemoteUsers' | '-attachedRemoteUsers';
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Hashtag'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___forward-abuse-user-report': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ reportId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * hashtags/search
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- hashtags___search: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- query: string;
- /** @default 0 */
- offset?: number;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': string[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___get-index-stats': {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ tablename: string;
+ indexname: string;
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * hashtags/show
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- hashtags___show: {
- requestBody: {
- content: {
- 'application/json': {
- tag: string;
+ 'admin___get-table-stats': {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ [key: string]: {
+ count: number;
+ size: number;
+ };
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Hashtag'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___get-user-ips': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ ip: string;
+ /** Format: date-time */
+ createdAt: string;
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * hashtags/trend
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- hashtags___trend: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- tag: string;
- chart: number[];
- usersCount: number;
- }[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___invite___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 1 */
+ count?: number;
+ expiresAt?: string | null;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['InviteCode'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ admin___invite___list: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 30 */
+ limit?: number;
+ /** @default 0 */
+ offset?: number;
+ /**
+ * @default all
+ * @enum {string}
+ */
+ type?: 'unused' | 'used' | 'expired' | 'all';
+ /** @enum {string} */
+ sort?: '+createdAt' | '-createdAt' | '+usedAt' | '-usedAt';
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['InviteCode'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * hashtags/users
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- hashtags___users: {
- requestBody: {
- content: {
- 'application/json': {
- tag: string;
- /** @default 10 */
- limit?: number;
- /** @enum {string} */
- sort: '+follower' | '-follower' | '+createdAt' | '-createdAt' | '+updatedAt' | '-updatedAt';
- /**
- * @default all
- * @enum {string}
- */
- state?: 'all' | 'alive';
- /**
- * @default local
- * @enum {string}
- */
- origin?: 'combined' | 'local' | 'remote';
+ admin___meta: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ cacheRemoteFiles: boolean;
+ cacheRemoteSensitiveFiles: boolean;
+ emailRequiredForSignup: boolean;
+ enableHcaptcha: boolean;
+ hcaptchaSiteKey: string | null;
+ enableMcaptcha: boolean;
+ mcaptchaSiteKey: string | null;
+ mcaptchaInstanceUrl: string | null;
+ enableRecaptcha: boolean;
+ recaptchaSiteKey: string | null;
+ enableTurnstile: boolean;
+ turnstileSiteKey: string | null;
+ enableTestcaptcha: boolean;
+ googleAnalyticsMeasurementId: string | null;
+ swPublickey: string | null;
+ /** @default /assets/ai.png */
+ mascotImageUrl: string | null;
+ bannerUrl: string | null;
+ serverErrorImageUrl: string | null;
+ infoImageUrl: string | null;
+ notFoundImageUrl: string | null;
+ iconUrl: string | null;
+ app192IconUrl: string | null;
+ app512IconUrl: string | null;
+ enableEmail: boolean;
+ enableServiceWorker: boolean;
+ translatorAvailable: boolean;
+ silencedHosts?: string[];
+ mediaSilencedHosts: string[];
+ pinnedUsers: string[];
+ hiddenTags: string[];
+ blockedHosts: string[];
+ sensitiveWords: string[];
+ prohibitedWords: string[];
+ prohibitedWordsForNameOfUser: string[];
+ bannedEmailDomains?: string[];
+ preservedUsernames: string[];
+ hcaptchaSecretKey: string | null;
+ mcaptchaSecretKey: string | null;
+ recaptchaSecretKey: string | null;
+ turnstileSecretKey: string | null;
+ sensitiveMediaDetection: string;
+ sensitiveMediaDetectionSensitivity: string;
+ setSensitiveFlagAutomatically: boolean;
+ enableSensitiveMediaDetectionForVideos: boolean;
+ /** Format: id */
+ proxyAccountId: string;
+ email: string | null;
+ smtpSecure: boolean;
+ smtpHost: string | null;
+ smtpPort: number | null;
+ smtpUser: string | null;
+ smtpPass: string | null;
+ swPrivateKey: string | null;
+ useObjectStorage: boolean;
+ objectStorageBaseUrl: string | null;
+ objectStorageBucket: string | null;
+ objectStoragePrefix: string | null;
+ objectStorageEndpoint: string | null;
+ objectStorageRegion: string | null;
+ objectStoragePort: number | null;
+ objectStorageAccessKey: string | null;
+ objectStorageSecretKey: string | null;
+ objectStorageUseSSL: boolean;
+ objectStorageUseProxy: boolean;
+ objectStorageSetPublicRead: boolean;
+ enableIpLogging: boolean;
+ enableActiveEmailValidation: boolean;
+ enableVerifymailApi: boolean;
+ verifymailAuthKey: string | null;
+ enableTruemailApi: boolean;
+ truemailInstance: string | null;
+ truemailAuthKey: string | null;
+ enableChartsForRemoteUser: boolean;
+ enableChartsForFederatedInstances: boolean;
+ enableStatsForFederatedInstances: boolean;
+ enableServerMachineStats: boolean;
+ enableIdenticonGeneration: boolean;
+ manifestJsonOverride: string;
+ policies: Record<string, never>;
+ enableFanoutTimeline: boolean;
+ enableFanoutTimelineDbFallback: boolean;
+ perLocalUserUserTimelineCacheMax: number;
+ perRemoteUserUserTimelineCacheMax: number;
+ perUserHomeTimelineCacheMax: number;
+ perUserListTimelineCacheMax: number;
+ enableReactionsBuffering: boolean;
+ notesPerOneAd: number;
+ backgroundImageUrl: string | null;
+ deeplAuthKey: string | null;
+ deeplIsPro: boolean;
+ defaultDarkTheme: string | null;
+ defaultLightTheme: string | null;
+ description: string | null;
+ disableRegistration: boolean;
+ impressumUrl: string | null;
+ maintainerEmail: string | null;
+ maintainerName: string | null;
+ name: string | null;
+ shortName: string | null;
+ objectStorageS3ForcePathStyle: boolean;
+ privacyPolicyUrl: string | null;
+ inquiryUrl: string | null;
+ repositoryUrl: string | null;
+ /**
+ * @deprecated
+ * @description [Deprecated] Use "urlPreviewSummaryProxyUrl" instead.
+ */
+ summalyProxy: string | null;
+ themeColor: string | null;
+ tosUrl: string | null;
+ uri: string;
+ version: string;
+ urlPreviewEnabled: boolean;
+ urlPreviewAllowRedirect: boolean;
+ urlPreviewTimeout: number;
+ urlPreviewMaximumContentLength: number;
+ urlPreviewRequireContentLength: boolean;
+ urlPreviewUserAgent: string | null;
+ urlPreviewSummaryProxyUrl: string | null;
+ /** @enum {string} */
+ federation: 'all' | 'specified' | 'none';
+ federationHosts: string[];
+ deliverSuspendedSoftware: {
+ software: string;
+ versionRange: string;
+ }[];
+ singleUserMode: boolean;
+ /** @enum {string} */
+ ugcVisibilityForVisitor: 'all' | 'local' | 'none';
+ proxyRemoteFiles: boolean;
+ signToActivityPubGet: boolean;
+ allowExternalApRedirect: boolean;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserDetailed'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___promo___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ expiresAt: number;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * i
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- i: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['MeDetailed'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___queue___clear: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ queue: 'system' | 'endedPollNotification' | 'deliver' | 'inbox' | 'db' | 'relationship' | 'objectStorage' | 'userWebhookDeliver' | 'systemWebhookDeliver';
+ /** @enum {string} */
+ state: '*' | 'completed' | 'wait' | 'active' | 'paused' | 'prioritized' | 'delayed' | 'failed';
+ };
+ };
};
- };
- };
- };
- /**
- * i/2fa/done
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- i___2fa___done: {
- requestBody: {
- content: {
- 'application/json': {
- token: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- backupCodes: string[];
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___queue___deliver-delayed': {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': [
+ string,
+ number,
+ ][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * i/2fa/key-done
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___2fa___key-done': {
- requestBody: {
- content: {
- 'application/json': {
- password: string;
- token?: string | null;
- name: string;
- credential: Record<string, never>;
+ 'admin___queue___inbox-delayed': {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': [
+ string,
+ number,
+ ][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- id: string;
- name: string;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___queue___jobs: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ queue: 'system' | 'endedPollNotification' | 'deliver' | 'inbox' | 'db' | 'relationship' | 'objectStorage' | 'userWebhookDeliver' | 'systemWebhookDeliver';
+ state: ('active' | 'wait' | 'delayed' | 'completed' | 'failed' | 'paused')[];
+ search?: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/2fa/password-less
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___2fa___password-less': {
- requestBody: {
- content: {
- 'application/json': {
- value: boolean;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['QueueJob'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___queue___promote-jobs': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ queue: 'system' | 'endedPollNotification' | 'deliver' | 'inbox' | 'db' | 'relationship' | 'objectStorage' | 'userWebhookDeliver' | 'systemWebhookDeliver';
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'admin___queue___queue-stats': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ queue: 'system' | 'endedPollNotification' | 'deliver' | 'inbox' | 'db' | 'relationship' | 'objectStorage' | 'userWebhookDeliver' | 'systemWebhookDeliver';
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ name: 'system' | 'endedPollNotification' | 'deliver' | 'inbox' | 'db' | 'relationship' | 'objectStorage' | 'userWebhookDeliver' | 'systemWebhookDeliver';
+ qualifiedName: string;
+ counts: {
+ [key: string]: number;
+ };
+ isPaused: boolean;
+ metrics: {
+ completed: components['schemas']['QueueMetrics'];
+ failed: components['schemas']['QueueMetrics'];
+ };
+ db: {
+ version: string;
+ /** @enum {string} */
+ mode: 'cluster' | 'standalone' | 'sentinel';
+ runId: string;
+ processId: string;
+ port: number;
+ os: string;
+ uptime: number;
+ memory: {
+ total: number;
+ used: number;
+ fragmentationRatio: number;
+ peak: number;
+ };
+ clients: {
+ blocked: number;
+ connected: number;
+ };
+ };
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * i/2fa/register
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- i___2fa___register: {
- requestBody: {
- content: {
- 'application/json': {
- password: string;
- token?: string | null;
+ admin___queue___queues: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ name: 'system' | 'endedPollNotification' | 'deliver' | 'inbox' | 'db' | 'relationship' | 'objectStorage' | 'userWebhookDeliver' | 'systemWebhookDeliver';
+ counts: {
+ [key: string]: number;
+ };
+ isPaused: boolean;
+ metrics: {
+ completed: components['schemas']['QueueMetrics'];
+ failed: components['schemas']['QueueMetrics'];
+ };
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- qr: string;
- url: string;
- secret: string;
- label: string;
- issuer: string;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___queue___remove-job': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ queue: 'system' | 'endedPollNotification' | 'deliver' | 'inbox' | 'db' | 'relationship' | 'objectStorage' | 'userWebhookDeliver' | 'systemWebhookDeliver';
+ jobId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * i/2fa/register-key
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___2fa___register-key': {
- requestBody: {
- content: {
- 'application/json': {
- password: string;
- token?: string | null;
+ 'admin___queue___retry-job': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ queue: 'system' | 'endedPollNotification' | 'deliver' | 'inbox' | 'db' | 'relationship' | 'objectStorage' | 'userWebhookDeliver' | 'systemWebhookDeliver';
+ jobId: string;
+ };
+ };
};
- };
- };
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- rp: {
- id?: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
};
- user: {
- id: string;
- name: string;
- displayName: string;
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
};
- challenge: string;
- pubKeyCredParams: {
- type: string;
- alg: number;
- }[];
- timeout: number | null;
- excludeCredentials: (({
- id: string;
- type: string;
- transports: ('ble' | 'cable' | 'hybrid' | 'internal' | 'nfc' | 'smart-card' | 'usb')[];
- })[]) | null;
- authenticatorSelection: ({
- /** @enum {string} */
- authenticatorAttachment: 'cross-platform' | 'platform';
- requireResidentKey: boolean;
- /** @enum {string} */
- userVerification: 'discouraged' | 'preferred' | 'required';
- }) | null;
- /** @enum {string|null} */
- attestation: 'direct' | 'enterprise' | 'indirect' | 'none' | null;
- extensions: ({
- appid: string | null;
- credProps: boolean | null;
- hmacCreateSecret: boolean | null;
- }) | null;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- };
- };
- /**
- * i/2fa/remove-key
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___2fa___remove-key': {
- requestBody: {
- content: {
- 'application/json': {
- password: string;
- token?: string | null;
- credentialId: string;
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___queue___show-job': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ queue: 'system' | 'endedPollNotification' | 'deliver' | 'inbox' | 'db' | 'relationship' | 'objectStorage' | 'userWebhookDeliver' | 'systemWebhookDeliver';
+ jobId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['QueueJob'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * i/2fa/unregister
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- i___2fa___unregister: {
- requestBody: {
- content: {
- 'application/json': {
- password: string;
- token?: string | null;
+ admin___queue___stats: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ deliver: components['schemas']['QueueCount'];
+ inbox: components['schemas']['QueueCount'];
+ db: components['schemas']['QueueCount'];
+ objectStorage: components['schemas']['QueueCount'];
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___relays___add: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ inbox: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: id */
+ id: string;
+ /** Format: url */
+ inbox: string;
+ /**
+ * @default requesting
+ * @enum {string}
+ */
+ status: 'requesting' | 'accepted' | 'rejected';
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * i/2fa/update-key
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___2fa___update-key': {
- requestBody: {
- content: {
- 'application/json': {
- name: string;
- credentialId: string;
+ admin___relays___list: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: id */
+ id: string;
+ /** Format: url */
+ inbox: string;
+ /**
+ * @default requesting
+ * @enum {string}
+ */
+ status: 'requesting' | 'accepted' | 'rejected';
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___relays___remove: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ inbox: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/apps
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- i___apps: {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- sort?: '+createdAt' | '-createdAt' | '+lastUsedAt' | '-lastUsedAt';
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- id: string;
- name?: string;
- /** Format: date-time */
- createdAt: string;
- /** Format: date-time */
- lastUsedAt?: string;
- permission: string[];
- }[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___reset-password': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/authorized-apps
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___authorized-apps': {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** @default 0 */
- offset?: number;
- /**
- * @default desc
- * @enum {string}
- */
- sort?: 'desc' | 'asc';
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ password: string;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': ({
- /** Format: misskey:id */
- id: string;
- name: string;
- callbackUrl: string | null;
- permission: string[];
- isAuthorized?: boolean;
- })[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___resolve-abuse-user-report': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ reportId: string;
+ /** @enum {string|null} */
+ resolvedAs?: 'accept' | 'reject' | null;
+ };
+ };
};
- };
- };
- };
- /**
- * i/change-password
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___change-password': {
- requestBody: {
- content: {
- 'application/json': {
- currentPassword: string;
- newPassword: string;
- token?: string | null;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___roles___assign: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ roleId: string;
+ /** Format: misskey:id */
+ userId: string;
+ expiresAt?: number | null;
+ };
+ };
};
- };
- };
- };
- /**
- * i/claim-achievement
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- 'i___claim-achievement': {
- requestBody: {
- content: {
- 'application/json': {
- /** @enum {string} */
- name: 'notes1' | 'notes10' | 'notes100' | 'notes500' | 'notes1000' | 'notes5000' | 'notes10000' | 'notes20000' | 'notes30000' | 'notes40000' | 'notes50000' | 'notes60000' | 'notes70000' | 'notes80000' | 'notes90000' | 'notes100000' | 'login3' | 'login7' | 'login15' | 'login30' | 'login60' | 'login100' | 'login200' | 'login300' | 'login400' | 'login500' | 'login600' | 'login700' | 'login800' | 'login900' | 'login1000' | 'passedSinceAccountCreated1' | 'passedSinceAccountCreated2' | 'passedSinceAccountCreated3' | 'loggedInOnBirthday' | 'loggedInOnNewYearsDay' | 'noteClipped1' | 'noteFavorited1' | 'myNoteFavorited1' | 'profileFilled' | 'markedAsCat' | 'following1' | 'following10' | 'following50' | 'following100' | 'following300' | 'followers1' | 'followers10' | 'followers50' | 'followers100' | 'followers300' | 'followers500' | 'followers1000' | 'collectAchievements30' | 'viewAchievements3min' | 'iLoveMisskey' | 'foundTreasure' | 'client30min' | 'client60min' | 'noteDeletedWithin1min' | 'postedAtLateNight' | 'postedAt0min0sec' | 'selfQuote' | 'htl20npm' | 'viewInstanceChart' | 'outputHelloWorldOnScratchpad' | 'open3windows' | 'driveFolderCircularReference' | 'reactWithoutRead' | 'clickedClickHere' | 'justPlainLucky' | 'setNameToSyuilo' | 'cookieClicked' | 'brainDiver' | 'smashTestNotificationButton' | 'tutorialCompleted' | 'bubbleGameExplodingHead' | 'bubbleGameDoubleExplodingHead';
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___roles___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ name: string;
+ description: string;
+ color: string | null;
+ iconUrl: string | null;
+ /** @enum {string} */
+ target: 'manual' | 'conditional';
+ condFormula: Record<string, never>;
+ isPublic: boolean;
+ isModerator: boolean;
+ isAdministrator: boolean;
+ /** @default false */
+ isExplorable?: boolean;
+ asBadge: boolean;
+ preserveAssignmentOnMoveAccount?: boolean;
+ canEditMembersByModerator: boolean;
+ displayOrder: number;
+ policies: Record<string, never>;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Role'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ admin___roles___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ roleId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * i/delete-account
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___delete-account': {
- requestBody: {
- content: {
- 'application/json': {
- password: string;
- token?: string | null;
+ admin___roles___list: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Role'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___roles___show: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ roleId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Role'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * i/export-antennas
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___export-antennas': {
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___roles___unassign: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ roleId: string;
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * i/export-blocking
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___export-blocking': {
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___roles___update: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ roleId: string;
+ name?: string;
+ description?: string;
+ color?: string | null;
+ iconUrl?: string | null;
+ /** @enum {string} */
+ target?: 'manual' | 'conditional';
+ condFormula?: Record<string, never>;
+ isPublic?: boolean;
+ isModerator?: boolean;
+ isAdministrator?: boolean;
+ isExplorable?: boolean;
+ asBadge?: boolean;
+ preserveAssignmentOnMoveAccount?: boolean;
+ canEditMembersByModerator?: boolean;
+ displayOrder?: number;
+ policies?: Record<string, never>;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * i/export-clips
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___export-clips': {
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___roles___update-default-policies': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ policies: Record<string, never>;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * i/export-favorites
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___export-favorites': {
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ admin___roles___users: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ roleId: string;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default 10 */
+ limit?: number;
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ user: components['schemas']['UserDetailed'];
+ /** Format: date-time */
+ expiresAt: string | null;
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'admin___send-email': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ to: string;
+ subject: string;
+ text: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * i/export-following
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___export-following': {
- requestBody: {
- content: {
- 'application/json': {
- /** @default false */
- excludeMuting?: boolean;
- /** @default false */
- excludeInactive?: boolean;
+ 'admin___server-info': {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ machine: string;
+ /** @example linux */
+ os: string;
+ node: string;
+ psql: string;
+ cpu: {
+ model: string;
+ cores: number;
+ };
+ mem: {
+ /** Format: bytes */
+ total: number;
+ };
+ fs: {
+ /** Format: bytes */
+ total: number;
+ /** Format: bytes */
+ used: number;
+ };
+ net: {
+ /** @example eth0 */
+ interface: string;
+ };
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___show-moderation-logs': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ type?: string | null;
+ /** Format: misskey:id */
+ userId?: string | null;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ type: string;
+ info: Record<string, never>;
+ /** Format: id */
+ userId: string;
+ user: components['schemas']['UserDetailedNotMe'];
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * i/export-mute
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___export-mute': {
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___show-user': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ email: string | null;
+ emailVerified: boolean;
+ followedMessage: string | null;
+ autoAcceptFollowed: boolean;
+ noCrawle: boolean;
+ preventAiLearning: boolean;
+ alwaysMarkNsfw: boolean;
+ autoSensitive: boolean;
+ carefulBot: boolean;
+ injectFeaturedNote: boolean;
+ receiveAnnouncementEmail: boolean;
+ mutedWords: (string | string[])[];
+ mutedInstances: string[];
+ notificationRecieveConfig: {
+ note?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ follow?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ mention?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ reply?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ renote?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ quote?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ reaction?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ pollEnded?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ receiveFollowRequest?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ followRequestAccepted?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ roleAssigned?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ chatRoomInvitationReceived?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ achievementEarned?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ app?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ test?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ };
+ isModerator: boolean;
+ isSilenced: boolean;
+ isSuspended: boolean;
+ isHibernated: boolean;
+ lastActiveDate: string | null;
+ moderationNote: string;
+ signins: components['schemas']['Signin'][];
+ policies: components['schemas']['RolePolicies'];
+ roles: components['schemas']['Role'][];
+ roleAssigns: {
+ createdAt: string;
+ expiresAt: string | null;
+ roleId: string;
+ }[];
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * i/export-notes
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___export-notes': {
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___show-users': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** @default 0 */
+ offset?: number;
+ /** @enum {string} */
+ sort?: '+follower' | '-follower' | '+createdAt' | '-createdAt' | '+updatedAt' | '-updatedAt' | '+lastActiveDate' | '-lastActiveDate';
+ /**
+ * @default all
+ * @enum {string}
+ */
+ state?: 'all' | 'alive' | 'available' | 'admin' | 'moderator' | 'adminOrModerator' | 'suspended';
+ /**
+ * @default combined
+ * @enum {string}
+ */
+ origin?: 'combined' | 'local' | 'remote';
+ /** @default null */
+ username?: string | null;
+ /**
+ * @description The local host is represented with `null`.
+ * @default null
+ */
+ hostname?: string | null;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserDetailed'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * i/export-user-lists
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___export-user-lists': {
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___suspend-user': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/favorites
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:favorites*
- */
- i___favorites: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['NoteFavorite'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___system-webhook___create': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ isActive: boolean;
+ name: string;
+ on: ('abuseReport' | 'abuseReportResolved' | 'userCreated' | 'inactiveModeratorsWarning' | 'inactiveModeratorsInvitationOnlyChanged')[];
+ url: string;
+ secret: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/gallery/likes
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:gallery-likes*
- */
- i___gallery___likes: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['SystemWebhook'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /** Format: id */
- id: string;
- post: components['schemas']['GalleryPost'];
- }[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___system-webhook___delete': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/gallery/posts
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:gallery*
- */
- i___gallery___posts: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['GalleryPost'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___system-webhook___list': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ isActive?: boolean;
+ on?: ('abuseReport' | 'abuseReportResolved' | 'userCreated' | 'inactiveModeratorsWarning' | 'inactiveModeratorsInvitationOnlyChanged')[];
+ };
+ };
};
- };
- };
- };
- /**
- * i/import-antennas
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___import-antennas': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- fileId: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['SystemWebhook'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___system-webhook___show': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/import-blocking
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___import-blocking': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- fileId: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['SystemWebhook'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___system-webhook___test': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ webhookId: string;
+ /** @enum {string} */
+ type: 'abuseReport' | 'abuseReportResolved' | 'userCreated' | 'inactiveModeratorsWarning' | 'inactiveModeratorsInvitationOnlyChanged';
+ override?: {
+ url?: string;
+ secret?: string;
+ };
+ };
+ };
};
- };
- };
- };
- /**
- * i/import-following
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___import-following': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- fileId: string;
- withReplies?: boolean;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___system-webhook___update': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ isActive: boolean;
+ name: string;
+ on: ('abuseReport' | 'abuseReportResolved' | 'userCreated' | 'inactiveModeratorsWarning' | 'inactiveModeratorsInvitationOnlyChanged')[];
+ url: string;
+ secret: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/import-muting
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___import-muting': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- fileId: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['SystemWebhook'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___unset-user-avatar': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/import-user-lists
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___import-user-lists': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- fileId: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___unset-user-banner': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/move
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- i___move: {
- requestBody: {
- content: {
- 'application/json': {
- moveToAccount: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': Record<string, never>;
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___unsuspend-user': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/notifications
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:notifications*
- */
- i___notifications: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default true */
- markAsRead?: boolean;
- includeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'chatRoomInvitationReceived' | 'achievementEarned' | 'exportCompleted' | 'login' | 'createToken' | 'app' | 'test' | 'pollVote' | 'groupInvited')[];
- excludeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'chatRoomInvitationReceived' | 'achievementEarned' | 'exportCompleted' | 'login' | 'createToken' | 'app' | 'test' | 'pollVote' | 'groupInvited')[];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Notification'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___update-abuse-user-report': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ reportId: string;
+ moderationNote?: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/notifications-grouped
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:notifications*
- */
- 'i___notifications-grouped': {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default true */
- markAsRead?: boolean;
- includeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'chatRoomInvitationReceived' | 'achievementEarned' | 'exportCompleted' | 'login' | 'createToken' | 'app' | 'test' | 'pollVote' | 'groupInvited')[];
- excludeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'chatRoomInvitationReceived' | 'achievementEarned' | 'exportCompleted' | 'login' | 'createToken' | 'app' | 'test' | 'pollVote' | 'groupInvited')[];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Notification'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___update-meta': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ disableRegistration?: boolean | null;
+ pinnedUsers?: string[] | null;
+ hiddenTags?: string[] | null;
+ blockedHosts?: string[] | null;
+ sensitiveWords?: string[] | null;
+ prohibitedWords?: string[] | null;
+ prohibitedWordsForNameOfUser?: string[] | null;
+ themeColor?: string | null;
+ mascotImageUrl?: string | null;
+ bannerUrl?: string | null;
+ serverErrorImageUrl?: string | null;
+ infoImageUrl?: string | null;
+ notFoundImageUrl?: string | null;
+ iconUrl?: string | null;
+ app192IconUrl?: string | null;
+ app512IconUrl?: string | null;
+ backgroundImageUrl?: string | null;
+ logoImageUrl?: string | null;
+ name?: string | null;
+ shortName?: string | null;
+ description?: string | null;
+ defaultLightTheme?: string | null;
+ defaultDarkTheme?: string | null;
+ cacheRemoteFiles?: boolean;
+ cacheRemoteSensitiveFiles?: boolean;
+ emailRequiredForSignup?: boolean;
+ enableHcaptcha?: boolean;
+ hcaptchaSiteKey?: string | null;
+ hcaptchaSecretKey?: string | null;
+ enableMcaptcha?: boolean;
+ mcaptchaSiteKey?: string | null;
+ mcaptchaInstanceUrl?: string | null;
+ mcaptchaSecretKey?: string | null;
+ enableRecaptcha?: boolean;
+ recaptchaSiteKey?: string | null;
+ recaptchaSecretKey?: string | null;
+ enableTurnstile?: boolean;
+ turnstileSiteKey?: string | null;
+ turnstileSecretKey?: string | null;
+ enableTestcaptcha?: boolean;
+ googleAnalyticsMeasurementId?: string | null;
+ /** @enum {string} */
+ sensitiveMediaDetection?: 'none' | 'all' | 'local' | 'remote';
+ /** @enum {string} */
+ sensitiveMediaDetectionSensitivity?: 'medium' | 'low' | 'high' | 'veryLow' | 'veryHigh';
+ setSensitiveFlagAutomatically?: boolean;
+ enableSensitiveMediaDetectionForVideos?: boolean;
+ maintainerName?: string | null;
+ maintainerEmail?: string | null;
+ langs?: string[];
+ deeplAuthKey?: string | null;
+ deeplIsPro?: boolean;
+ enableEmail?: boolean;
+ email?: string | null;
+ smtpSecure?: boolean;
+ smtpHost?: string | null;
+ smtpPort?: number | null;
+ smtpUser?: string | null;
+ smtpPass?: string | null;
+ enableServiceWorker?: boolean;
+ swPublicKey?: string | null;
+ swPrivateKey?: string | null;
+ tosUrl?: string | null;
+ repositoryUrl?: string | null;
+ feedbackUrl?: string | null;
+ impressumUrl?: string | null;
+ privacyPolicyUrl?: string | null;
+ inquiryUrl?: string | null;
+ useObjectStorage?: boolean;
+ objectStorageBaseUrl?: string | null;
+ objectStorageBucket?: string | null;
+ objectStoragePrefix?: string | null;
+ objectStorageEndpoint?: string | null;
+ objectStorageRegion?: string | null;
+ objectStoragePort?: number | null;
+ objectStorageAccessKey?: string | null;
+ objectStorageSecretKey?: string | null;
+ objectStorageUseSSL?: boolean;
+ objectStorageUseProxy?: boolean;
+ objectStorageSetPublicRead?: boolean;
+ objectStorageS3ForcePathStyle?: boolean;
+ enableIpLogging?: boolean;
+ enableActiveEmailValidation?: boolean;
+ enableVerifymailApi?: boolean;
+ verifymailAuthKey?: string | null;
+ enableTruemailApi?: boolean;
+ truemailInstance?: string | null;
+ truemailAuthKey?: string | null;
+ enableChartsForRemoteUser?: boolean;
+ enableChartsForFederatedInstances?: boolean;
+ enableStatsForFederatedInstances?: boolean;
+ enableServerMachineStats?: boolean;
+ enableIdenticonGeneration?: boolean;
+ serverRules?: string[];
+ bannedEmailDomains?: string[];
+ preservedUsernames?: string[];
+ manifestJsonOverride?: string;
+ enableFanoutTimeline?: boolean;
+ enableFanoutTimelineDbFallback?: boolean;
+ perLocalUserUserTimelineCacheMax?: number;
+ perRemoteUserUserTimelineCacheMax?: number;
+ perUserHomeTimelineCacheMax?: number;
+ perUserListTimelineCacheMax?: number;
+ enableReactionsBuffering?: boolean;
+ notesPerOneAd?: number;
+ silencedHosts?: string[] | null;
+ mediaSilencedHosts?: string[] | null;
+ /** @description [Deprecated] Use "urlPreviewSummaryProxyUrl" instead. */
+ summalyProxy?: string | null;
+ urlPreviewEnabled?: boolean;
+ urlPreviewAllowRedirect?: boolean;
+ urlPreviewTimeout?: number;
+ urlPreviewMaximumContentLength?: number;
+ urlPreviewRequireContentLength?: boolean;
+ urlPreviewUserAgent?: string | null;
+ urlPreviewSummaryProxyUrl?: string | null;
+ /** @enum {string} */
+ federation?: 'all' | 'none' | 'specified';
+ federationHosts?: string[];
+ deliverSuspendedSoftware?: {
+ software: string;
+ versionRange: string;
+ }[];
+ singleUserMode?: boolean;
+ /** @enum {string} */
+ ugcVisibilityForVisitor?: 'all' | 'local' | 'none';
+ proxyRemoteFiles?: boolean;
+ signToActivityPubGet?: boolean;
+ allowExternalApRedirect?: boolean;
+ };
+ };
};
- };
- };
- };
- /**
- * i/page-likes
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:page-likes*
- */
- 'i___page-likes': {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /** Format: id */
- id: string;
- page: components['schemas']['Page'];
- }[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___update-proxy-account': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ description?: string | null;
+ };
+ };
};
- };
- };
- };
- /**
- * i/pages
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:pages*
- */
- i___pages: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserDetailed'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Page'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'admin___update-user-note': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ text: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/pin
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- i___pin: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['MeDetailed'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ announcements: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default true */
+ isActive?: boolean;
+ };
+ };
};
- };
- };
- };
- /**
- * i/read-announcement
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- 'i___read-announcement': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- announcementId: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Announcement'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ announcements___show: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ announcementId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/regenerate-token
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___regenerate-token': {
- requestBody: {
- content: {
- 'application/json': {
- password: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Announcement'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ antennas___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ name: string;
+ /** @enum {string} */
+ src: 'home' | 'all' | 'users' | 'list' | 'users_blacklist';
+ /** Format: misskey:id */
+ userListId?: string | null;
+ keywords: string[][];
+ excludeKeywords: string[][];
+ users: string[];
+ caseSensitive: boolean;
+ localOnly?: boolean;
+ excludeBots?: boolean;
+ withReplies: boolean;
+ withFile: boolean;
+ excludeNotesInSensitiveChannel?: boolean;
+ };
+ };
};
- };
- };
- };
- /**
- * i/registry/get
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- i___registry___get: {
- requestBody: {
- content: {
- 'application/json': {
- key: string;
- /** @default [] */
- scope: string[];
- domain?: string | null;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Antenna'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': Record<string, never>;
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ antennas___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ antennaId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * i/registry/get-all
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- 'i___registry___get-all': {
- requestBody: {
- content: {
- 'application/json': {
- /** @default [] */
- scope: string[];
- domain?: string | null;
+ antennas___list: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Antenna'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': Record<string, never>;
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ antennas___notes: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ antennaId: string;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ sinceDate?: number;
+ untilDate?: number;
+ };
+ };
};
- };
- };
- };
- /**
- * i/registry/get-detail
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- 'i___registry___get-detail': {
- requestBody: {
- content: {
- 'application/json': {
- key: string;
- /** @default [] */
- scope: string[];
- domain?: string | null;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- updatedAt: string;
- value: unknown;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ antennas___show: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ antennaId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/registry/keys
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- i___registry___keys: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default [] */
- scope: string[];
- domain?: string | null;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Antenna'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': string[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ antennas___update: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ antennaId: string;
+ name?: string;
+ /** @enum {string} */
+ src?: 'home' | 'all' | 'users' | 'list' | 'users_blacklist';
+ /** Format: misskey:id */
+ userListId?: string | null;
+ keywords?: string[][];
+ excludeKeywords?: string[][];
+ users?: string[];
+ caseSensitive?: boolean;
+ localOnly?: boolean;
+ excludeBots?: boolean;
+ withReplies?: boolean;
+ withFile?: boolean;
+ excludeNotesInSensitiveChannel?: boolean;
+ };
+ };
};
- };
- };
- };
- /**
- * i/registry/keys-with-type
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- 'i___registry___keys-with-type': {
- requestBody: {
- content: {
- 'application/json': {
- /** @default [] */
- scope: string[];
- domain?: string | null;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Antenna'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- [key: string]: string;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ ap___get: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ uri: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/registry/remove
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- i___registry___remove: {
- requestBody: {
- content: {
- 'application/json': {
- key: string;
- /** @default [] */
- scope: string[];
- domain?: string | null;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': Record<string, never>;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ ap___show: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ uri: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ type: 'User';
+ object: components['schemas']['UserDetailedNotMe'];
+ } | {
+ /** @enum {string} */
+ type: 'Note';
+ object: components['schemas']['Note'];
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * i/registry/scopes-with-domain
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___registry___scopes-with-domain': {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': ({
- scopes: string[][];
- domain: string | null;
- })[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ app___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ name: string;
+ description: string;
+ permission: string[];
+ callbackUrl?: string | null;
+ };
+ };
};
- };
- };
- };
- /**
- * i/registry/set
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- i___registry___set: {
- requestBody: {
- content: {
- 'application/json': {
- key: string;
- value: unknown;
- /** @default [] */
- scope: string[];
- domain?: string | null;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['App'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ app___show: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ appId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['App'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- };
- };
- /**
- * i/revoke-token
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___revoke-token': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- tokenId: string;
- } | ({
- token: string | null;
- });
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ auth___accept: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ token: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/signin-history
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___signin-history': {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Signin'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ auth___session___generate: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ appSecret: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/unpin
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- i___unpin: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ token: string;
+ /** Format: url */
+ url: string;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['MeDetailed'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ auth___session___show: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ token: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- i___update: {
- requestBody: {
- content: {
- 'application/json': {
- name?: string | null;
- description?: string | null;
- followedMessage?: string | null;
- location?: string | null;
- birthday?: string | null;
- /** @enum {string|null} */
- lang?: null | 'ach' | 'ady' | 'af' | 'af-NA' | 'af-ZA' | 'ak' | 'ar' | 'ar-AR' | 'ar-MA' | 'ar-SA' | 'ay-BO' | 'az' | 'az-AZ' | 'be-BY' | 'bg' | 'bg-BG' | 'bn' | 'bn-IN' | 'bn-BD' | 'br' | 'bs-BA' | 'ca' | 'ca-ES' | 'cak' | 'ck-US' | 'cs' | 'cs-CZ' | 'cy' | 'cy-GB' | 'da' | 'da-DK' | 'de' | 'de-AT' | 'de-DE' | 'de-CH' | 'dsb' | 'el' | 'el-GR' | 'en' | 'en-GB' | 'en-AU' | 'en-CA' | 'en-IE' | 'en-IN' | 'en-PI' | 'en-SG' | 'en-UD' | 'en-US' | 'en-ZA' | 'en@pirate' | 'eo' | 'eo-EO' | 'es' | 'es-AR' | 'es-419' | 'es-CL' | 'es-CO' | 'es-EC' | 'es-ES' | 'es-LA' | 'es-NI' | 'es-MX' | 'es-US' | 'es-VE' | 'et' | 'et-EE' | 'eu' | 'eu-ES' | 'fa' | 'fa-IR' | 'fb-LT' | 'ff' | 'fi' | 'fi-FI' | 'fo' | 'fo-FO' | 'fr' | 'fr-CA' | 'fr-FR' | 'fr-BE' | 'fr-CH' | 'fy-NL' | 'ga' | 'ga-IE' | 'gd' | 'gl' | 'gl-ES' | 'gn-PY' | 'gu-IN' | 'gv' | 'gx-GR' | 'he' | 'he-IL' | 'hi' | 'hi-IN' | 'hr' | 'hr-HR' | 'hsb' | 'ht' | 'hu' | 'hu-HU' | 'hy' | 'hy-AM' | 'id' | 'id-ID' | 'is' | 'is-IS' | 'it' | 'it-IT' | 'ja' | 'ja-JP' | 'jv-ID' | 'ka-GE' | 'kk-KZ' | 'km' | 'kl' | 'km-KH' | 'kab' | 'kn' | 'kn-IN' | 'ko' | 'ko-KR' | 'ku-TR' | 'kw' | 'la' | 'la-VA' | 'lb' | 'li-NL' | 'lt' | 'lt-LT' | 'lv' | 'lv-LV' | 'mai' | 'mg-MG' | 'mk' | 'mk-MK' | 'ml' | 'ml-IN' | 'mn-MN' | 'mr' | 'mr-IN' | 'ms' | 'ms-MY' | 'mt' | 'mt-MT' | 'my' | 'no' | 'nb' | 'nb-NO' | 'ne' | 'ne-NP' | 'nl' | 'nl-BE' | 'nl-NL' | 'nn-NO' | 'oc' | 'or-IN' | 'pa' | 'pa-IN' | 'pl' | 'pl-PL' | 'ps-AF' | 'pt' | 'pt-BR' | 'pt-PT' | 'qu-PE' | 'rm-CH' | 'ro' | 'ro-RO' | 'ru' | 'ru-RU' | 'sa-IN' | 'se-NO' | 'sh' | 'si-LK' | 'sk' | 'sk-SK' | 'sl' | 'sl-SI' | 'so-SO' | 'sq' | 'sq-AL' | 'sr' | 'sr-RS' | 'su' | 'sv' | 'sv-SE' | 'sw' | 'sw-KE' | 'ta' | 'ta-IN' | 'te' | 'te-IN' | 'tg' | 'tg-TJ' | 'th' | 'th-TH' | 'fil' | 'tlh' | 'tr' | 'tr-TR' | 'tt-RU' | 'uk' | 'uk-UA' | 'ur' | 'ur-PK' | 'uz' | 'uz-UZ' | 'vi' | 'vi-VN' | 'xh-ZA' | 'yi' | 'yi-DE' | 'zh' | 'zh-Hans' | 'zh-Hant' | 'zh-CN' | 'zh-HK' | 'zh-SG' | 'zh-TW' | 'zu-ZA';
- /** Format: misskey:id */
- avatarId?: string | null;
- avatarDecorations?: ({
- /** Format: misskey:id */
- id: string;
- angle?: number | null;
- flipH?: boolean | null;
- offsetX?: number | null;
- offsetY?: number | null;
- })[];
- /** Format: misskey:id */
- bannerId?: string | null;
- fields?: {
- name: string;
- value: string;
- }[];
- isLocked?: boolean;
- isExplorable?: boolean;
- hideOnlineStatus?: boolean;
- publicReactions?: boolean;
- carefulBot?: boolean;
- autoAcceptFollowed?: boolean;
- noCrawle?: boolean;
- preventAiLearning?: boolean;
- requireSigninToViewContents?: boolean;
- makeNotesFollowersOnlyBefore?: number | null;
- makeNotesHiddenBefore?: number | null;
- isBot?: boolean;
- isCat?: boolean;
- injectFeaturedNote?: boolean;
- receiveAnnouncementEmail?: boolean;
- alwaysMarkNsfw?: boolean;
- autoSensitive?: boolean;
- /** @enum {string} */
- followingVisibility?: 'public' | 'followers' | 'private';
- /** @enum {string} */
- followersVisibility?: 'public' | 'followers' | 'private';
- /** @enum {string} */
- chatScope?: 'everyone' | 'followers' | 'following' | 'mutual' | 'none';
- /** Format: misskey:id */
- pinnedPageId?: string | null;
- mutedWords?: (string[] | string)[];
- hardMutedWords?: (string[] | string)[];
- mutedInstances?: string[];
- notificationRecieveConfig?: {
- note?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- follow?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- mention?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- reply?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- renote?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- quote?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- reaction?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- pollEnded?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- receiveFollowRequest?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- followRequestAccepted?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- roleAssigned?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- chatRoomInvitationReceived?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- achievementEarned?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- app?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- test?: OneOf<[{
- /** @enum {string} */
- type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
- }, {
- /** @enum {string} */
- type: 'list';
- /** Format: misskey:id */
- userListId: string;
- }]>;
- };
- emailNotificationTypes?: string[];
- alsoKnownAs?: string[];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: id */
+ id: string;
+ app: components['schemas']['App'];
+ token: string;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['MeDetailed'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ auth___session___userkey: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ appSecret: string;
+ token: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/update-email
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'i___update-email': {
- requestBody: {
- content: {
- 'application/json': {
- password: string;
- email?: string | null;
- token?: string | null;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ accessToken: string;
+ user: components['schemas']['UserDetailedNotMe'];
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['MeDetailed'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ blocking___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/webhooks/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- i___webhooks___create: {
- requestBody: {
- content: {
- 'application/json': {
- name: string;
- url: string;
- /** @default */
- secret?: string;
- on: ('mention' | 'unfollow' | 'follow' | 'followed' | 'note' | 'reply' | 'renote' | 'reaction')[];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserDetailedNotMe'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- id: string;
- /** Format: misskey:id */
- userId: string;
- name: string;
- on: ('mention' | 'unfollow' | 'follow' | 'followed' | 'note' | 'reply' | 'renote' | 'reaction')[];
- url: string;
- secret: string;
- active: boolean;
- /** Format: date-time */
- latestSentAt: string | null;
- latestStatus: number | null;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ blocking___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/webhooks/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- i___webhooks___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- webhookId: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserDetailedNotMe'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ blocking___list: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 30 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Blocking'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * i/webhooks/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- i___webhooks___list: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': ({
- /** Format: misskey:id */
- id: string;
- /** Format: misskey:id */
- userId: string;
- name: string;
- on: ('mention' | 'unfollow' | 'follow' | 'followed' | 'note' | 'reply' | 'renote' | 'reaction')[];
- url: string;
- secret: string;
- active: boolean;
- /** Format: date-time */
- latestSentAt: string | null;
- latestStatus: number | null;
- })[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'bubble-game___ranking': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ gameMode: string;
+ };
+ };
};
- };
- };
- };
- /**
- * i/webhooks/show
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- i___webhooks___show: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- webhookId: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ score: number;
+ user?: components['schemas']['UserLite'];
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- id: string;
- /** Format: misskey:id */
- userId: string;
- name: string;
- on: ('mention' | 'unfollow' | 'follow' | 'followed' | 'note' | 'reply' | 'renote' | 'reaction')[];
- url: string;
- secret: string;
- active: boolean;
- /** Format: date-time */
- latestSentAt: string | null;
- latestStatus: number | null;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'bubble-game___register': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ score: number;
+ seed: string;
+ logs: number[][];
+ gameMode: string;
+ gameVersion: number;
+ };
+ };
};
- };
- };
- };
- /**
- * i/webhooks/test
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- i___webhooks___test: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- webhookId: string;
- /** @enum {string} */
- type: 'mention' | 'unfollow' | 'follow' | 'followed' | 'note' | 'reply' | 'renote' | 'reaction';
- override?: {
- url?: string;
- secret?: string;
- };
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ channels___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ name: string;
+ description?: string | null;
+ /** Format: misskey:id */
+ bannerId?: string | null;
+ color?: string;
+ isSensitive?: boolean | null;
+ allowRenoteToExternal?: boolean | null;
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Channel'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ channels___favorite: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ channelId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * i/webhooks/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- i___webhooks___update: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- webhookId: string;
- name?: string;
- url?: string;
- secret?: string | null;
- on?: ('mention' | 'unfollow' | 'follow' | 'followed' | 'note' | 'reply' | 'renote' | 'reaction')[];
- active?: boolean;
+ channels___featured: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Channel'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ channels___follow: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ channelId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * invite/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:invite-codes*
- */
- invite___create: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['InviteCode'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ channels___followed: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default 5 */
+ limit?: number;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Channel'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * invite/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:invite-codes*
- */
- invite___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- inviteId: string;
+ 'channels___my-favorites': {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Channel'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ channels___owned: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default 5 */
+ limit?: number;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Channel'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * invite/limit
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:invite-codes*
- */
- invite___limit: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- remaining: number | null;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ channels___search: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ query: string;
+ /**
+ * @default nameAndDescription
+ * @enum {string}
+ */
+ type?: 'nameAndDescription' | 'nameOnly';
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default 5 */
+ limit?: number;
+ };
+ };
};
- };
- };
- };
- /**
- * invite/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:invite-codes*
- */
- invite___list: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 30 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Channel'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['InviteCode'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ channels___show: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ channelId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * meta
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- meta: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default true */
- detail?: boolean;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Channel'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['MetaLite'] | components['schemas']['MetaDetailed'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ channels___timeline: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ channelId: string;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ sinceDate?: number;
+ untilDate?: number;
+ /** @default false */
+ allowPartial?: boolean;
+ };
+ };
};
- };
- };
- };
- /**
- * miauth/gen-token
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'miauth___gen-token': {
- requestBody: {
- content: {
- 'application/json': {
- session: string | null;
- name?: string | null;
- description?: string | null;
- iconUrl?: string | null;
- permission: string[];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- token: string;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ channels___unfavorite: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ channelId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * mute/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:mutes*
- */
- mute___create: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- /** @description A Unix Epoch timestamp that must lie in the future. `null` means an indefinite mute. */
- expiresAt?: number | null;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ channels___unfollow: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ channelId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * mute/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:mutes*
- */
- mute___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ channels___update: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ channelId: string;
+ name?: string;
+ description?: string | null;
+ /** Format: misskey:id */
+ bannerId?: string | null;
+ isArchived?: boolean | null;
+ pinnedNoteIds?: string[];
+ color?: string;
+ isSensitive?: boolean | null;
+ allowRenoteToExternal?: boolean | null;
+ };
+ };
};
- };
- };
- };
- /**
- * mute/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:mutes*
- */
- mute___list: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 30 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Channel'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Muting'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'charts___active-users': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ span: 'day' | 'hour';
+ /** @default 30 */
+ limit?: number;
+ /** @default null */
+ offset?: number | null;
+ };
+ };
};
- };
- };
- };
- /**
- * my/apps
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- my___apps: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** @default 0 */
- offset?: number;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ readWrite: number[];
+ read: number[];
+ write: number[];
+ registeredWithinWeek: number[];
+ registeredWithinMonth: number[];
+ registeredWithinYear: number[];
+ registeredOutsideWeek: number[];
+ registeredOutsideMonth: number[];
+ registeredOutsideYear: number[];
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['App'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'charts___ap-request': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ span: 'day' | 'hour';
+ /** @default 30 */
+ limit?: number;
+ /** @default null */
+ offset?: number | null;
+ };
+ };
};
- };
- };
- };
- /**
- * notes
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- notes: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default false */
- local?: boolean;
- reply?: boolean;
- renote?: boolean;
- withFiles?: boolean;
- poll?: boolean;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ deliverFailed: number[];
+ deliverSucceeded: number[];
+ inboxReceived: number[];
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ charts___drive: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ span: 'day' | 'hour';
+ /** @default 30 */
+ limit?: number;
+ /** @default null */
+ offset?: number | null;
+ };
+ };
};
- };
- };
- };
- /**
- * notes/children
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- notes___children: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ local: {
+ incCount: number[];
+ incSize: number[];
+ decCount: number[];
+ decSize: number[];
+ };
+ remote: {
+ incCount: number[];
+ incSize: number[];
+ decCount: number[];
+ decSize: number[];
+ };
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ charts___federation: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ span: 'day' | 'hour';
+ /** @default 30 */
+ limit?: number;
+ /** @default null */
+ offset?: number | null;
+ };
+ };
};
- };
- };
- };
- /**
- * notes/clips
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- notes___clips: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ deliveredInstances: number[];
+ inboxInstances: number[];
+ stalled: number[];
+ sub: number[];
+ pub: number[];
+ pubsub: number[];
+ subActive: number[];
+ pubActive: number[];
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Clip'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ charts___instance: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ span: 'day' | 'hour';
+ /** @default 30 */
+ limit?: number;
+ /** @default null */
+ offset?: number | null;
+ host: string;
+ };
+ };
};
- };
- };
- };
- /**
- * notes/conversation
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- notes___conversation: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
- /** @default 10 */
- limit?: number;
- /** @default 0 */
- offset?: number;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ requests: {
+ failed: number[];
+ succeeded: number[];
+ received: number[];
+ };
+ notes: {
+ total: number[];
+ inc: number[];
+ dec: number[];
+ diffs: {
+ normal: number[];
+ reply: number[];
+ renote: number[];
+ withFile: number[];
+ };
+ };
+ users: {
+ total: number[];
+ inc: number[];
+ dec: number[];
+ };
+ following: {
+ total: number[];
+ inc: number[];
+ dec: number[];
+ };
+ followers: {
+ total: number[];
+ inc: number[];
+ dec: number[];
+ };
+ drive: {
+ totalFiles: number[];
+ incFiles: number[];
+ decFiles: number[];
+ incUsage: number[];
+ decUsage: number[];
+ };
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ charts___notes: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ span: 'day' | 'hour';
+ /** @default 30 */
+ limit?: number;
+ /** @default null */
+ offset?: number | null;
+ };
+ };
};
- };
- };
- };
- /**
- * notes/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:notes*
- */
- notes___create: {
- requestBody: {
- content: {
- 'application/json': {
- /**
- * @default public
- * @enum {string}
- */
- visibility?: 'public' | 'home' | 'followers' | 'specified';
- visibleUserIds?: string[];
- cw?: string | null;
- /** @default false */
- localOnly?: boolean;
- /**
- * @default null
- * @enum {string|null}
- */
- reactionAcceptance?: null | 'likeOnly' | 'likeOnlyForRemote' | 'nonSensitiveOnly' | 'nonSensitiveOnlyForLocalLikeOnlyForRemote';
- /** @default false */
- noExtractMentions?: boolean;
- /** @default false */
- noExtractHashtags?: boolean;
- /** @default false */
- noExtractEmojis?: boolean;
- /** Format: misskey:id */
- replyId?: string | null;
- /** Format: misskey:id */
- renoteId?: string | null;
- /** Format: misskey:id */
- channelId?: string | null;
- text?: string | null;
- fileIds?: string[];
- mediaIds?: string[];
- poll?: ({
- choices: string[];
- multiple?: boolean;
- expiresAt?: number | null;
- expiredAfter?: number | null;
- }) | null;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ local: {
+ total: number[];
+ inc: number[];
+ dec: number[];
+ diffs: {
+ normal: number[];
+ reply: number[];
+ renote: number[];
+ withFile: number[];
+ };
+ };
+ remote: {
+ total: number[];
+ inc: number[];
+ dec: number[];
+ diffs: {
+ normal: number[];
+ reply: number[];
+ renote: number[];
+ withFile: number[];
+ };
+ };
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- createdNote: components['schemas']['Note'];
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ charts___user___drive: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ span: 'day' | 'hour';
+ /** @default 30 */
+ limit?: number;
+ /** @default null */
+ offset?: number | null;
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * notes/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:notes*
- */
- notes___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ totalCount: number[];
+ totalSize: number[];
+ incCount: number[];
+ incSize: number[];
+ decCount: number[];
+ decSize: number[];
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ charts___user___following: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ span: 'day' | 'hour';
+ /** @default 30 */
+ limit?: number;
+ /** @default null */
+ offset?: number | null;
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * notes/favorites/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:favorites*
- */
- notes___favorites___create: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ local: {
+ followings: {
+ total: number[];
+ inc: number[];
+ dec: number[];
+ };
+ followers: {
+ total: number[];
+ inc: number[];
+ dec: number[];
+ };
+ };
+ remote: {
+ followings: {
+ total: number[];
+ inc: number[];
+ dec: number[];
+ };
+ followers: {
+ total: number[];
+ inc: number[];
+ dec: number[];
+ };
+ };
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ charts___user___notes: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ span: 'day' | 'hour';
+ /** @default 30 */
+ limit?: number;
+ /** @default null */
+ offset?: number | null;
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * notes/favorites/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:favorites*
- */
- notes___favorites___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ total: number[];
+ inc: number[];
+ dec: number[];
+ diffs: {
+ normal: number[];
+ reply: number[];
+ renote: number[];
+ withFile: number[];
+ };
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ charts___user___pv: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ span: 'day' | 'hour';
+ /** @default 30 */
+ limit?: number;
+ /** @default null */
+ offset?: number | null;
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * notes/featured
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- notes___featured: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- untilId?: string;
- /** Format: misskey:id */
- channelId?: string | null;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ upv: {
+ user: number[];
+ visitor: number[];
+ };
+ pv: {
+ user: number[];
+ visitor: number[];
+ };
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ charts___user___reactions: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ span: 'day' | 'hour';
+ /** @default 30 */
+ limit?: number;
+ /** @default null */
+ offset?: number | null;
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * notes/global-timeline
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- 'notes___global-timeline': {
- requestBody: {
- content: {
- 'application/json': {
- /** @default false */
- withFiles?: boolean;
- /** @default true */
- withRenotes?: boolean;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- sinceDate?: number;
- untilDate?: number;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ local: {
+ count: number[];
+ };
+ remote: {
+ count: number[];
+ };
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ charts___users: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ span: 'day' | 'hour';
+ /** @default 30 */
+ limit?: number;
+ /** @default null */
+ offset?: number | null;
+ };
+ };
};
- };
- };
- };
- /**
- * notes/hybrid-timeline
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- 'notes___hybrid-timeline': {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- sinceDate?: number;
- untilDate?: number;
- /** @default false */
- allowPartial?: boolean;
- /** @default true */
- includeMyRenotes?: boolean;
- /** @default true */
- includeRenotedMyNotes?: boolean;
- /** @default true */
- includeLocalRenotes?: boolean;
- /** @default false */
- withFiles?: boolean;
- /** @default true */
- withRenotes?: boolean;
- /** @default false */
- withReplies?: boolean;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ local: {
+ total: number[];
+ inc: number[];
+ dec: number[];
+ };
+ remote: {
+ total: number[];
+ inc: number[];
+ dec: number[];
+ };
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ chat___history: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** @default false */
+ room?: boolean;
+ };
+ };
};
- };
- };
- };
- /**
- * notes/local-timeline
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- 'notes___local-timeline': {
- requestBody: {
- content: {
- 'application/json': {
- /** @default false */
- withFiles?: boolean;
- /** @default true */
- withRenotes?: boolean;
- /** @default false */
- withReplies?: boolean;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default false */
- allowPartial?: boolean;
- sinceDate?: number;
- untilDate?: number;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['ChatMessage'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'chat___messages___create-to-room': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ text?: string | null;
+ /** Format: misskey:id */
+ fileId?: string;
+ /** Format: misskey:id */
+ toRoomId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * notes/mentions
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- notes___mentions: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default false */
- following?: boolean;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- visibility?: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['ChatMessageLiteForRoom'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'chat___messages___create-to-user': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ text?: string | null;
+ /** Format: misskey:id */
+ fileId?: string;
+ /** Format: misskey:id */
+ toUserId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * notes/polls/recommendation
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- notes___polls___recommendation: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** @default 0 */
- offset?: number;
- /** @default false */
- excludeChannels?: boolean;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['ChatMessageLiteFor1on1'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ chat___messages___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ messageId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * notes/polls/vote
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:votes*
- */
- notes___polls___vote: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
- choice: number;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ chat___messages___react: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ messageId: string;
+ reaction: string;
+ };
+ };
};
- };
- };
- };
- /**
- * notes/reactions
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- notes___reactions: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
- type?: string | null;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['NoteReaction'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'chat___messages___room-timeline': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** Format: misskey:id */
+ roomId: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['ChatMessageLiteForRoom'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ chat___messages___search: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ query: string;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ userId?: string | null;
+ /** Format: misskey:id */
+ roomId?: string | null;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['ChatMessage'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * notes/reactions/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:reactions*
- */
- notes___reactions___create: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
- reaction: string;
+ chat___messages___show: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ messageId: string;
+ };
+ };
};
- };
- };
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['ChatMessage'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ chat___messages___unreact: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ messageId: string;
+ reaction: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'chat___messages___user-timeline': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['ChatMessageLiteFor1on1'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * notes/reactions/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:reactions*
- */
- notes___reactions___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
+ 'chat___read-all': {
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ chat___rooms___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ name: string;
+ description?: string;
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['ChatRoom'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ chat___rooms___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ roomId: string;
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ chat___rooms___invitations___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ roomId: string;
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['ChatRoomInvitation'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * notes/renotes
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- notes___renotes: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
+ chat___rooms___invitations___ignore: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ roomId: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
+ chat___rooms___invitations___inbox: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 30 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['ChatRoomInvitation'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ chat___rooms___invitations___outbox: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ roomId: string;
+ /** @default 30 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['ChatRoomInvitation'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ chat___rooms___join: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ roomId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * notes/replies
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- notes___replies: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default 10 */
- limit?: number;
+ chat___rooms___joining: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 30 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['ChatRoomMembership'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
+ chat___rooms___leave: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ roomId: string;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ chat___rooms___members: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ roomId: string;
+ /** @default 30 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['ChatRoomMembership'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ chat___rooms___mute: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ roomId: string;
+ mute: boolean;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * notes/search
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- notes___search: {
- requestBody: {
- content: {
- 'application/json': {
- query: string;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default 10 */
- limit?: number;
- /** @default 0 */
- offset?: number;
- /** @description The local host is represented with `.`. */
- host?: string;
- /**
- * Format: misskey:id
- * @default null
- */
- userId?: string | null;
- /**
- * Format: misskey:id
- * @default null
- */
- channelId?: string | null;
+ chat___rooms___owned: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 30 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['ChatRoom'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
+ chat___rooms___show: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ roomId: string;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['ChatRoom'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ chat___rooms___update: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ roomId: string;
+ name?: string;
+ description?: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['ChatRoom'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'clips___add-note': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ clipId: string;
+ /** Format: misskey:id */
+ noteId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- };
- };
- /**
- * notes/search-by-tag
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- 'notes___search-by-tag': {
- requestBody: {
- content: {
- 'application/json': ({
- tag: string;
- } | {
- /** @description The outer arrays are chained with OR, the inner arrays are chained with AND. */
- query: string[][];
- }) & ({
- /** @default null */
- reply?: boolean | null;
- /** @default null */
- renote?: boolean | null;
- /**
- * @description Only show notes that have attached files.
- * @default false
- */
- withFiles?: boolean;
- /** @default null */
- poll?: boolean | null;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default 10 */
- limit?: number;
- });
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
+ clips___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ name: string;
+ /** @default false */
+ isPublic?: boolean;
+ description?: string | null;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Clip'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ clips___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ clipId: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ clips___favorite: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ clipId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * notes/show
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- notes___show: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
+ clips___list: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Clip'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'clips___my-favorites': {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Clip'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ clips___notes: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ clipId: string;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * notes/show-partial-bulk
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- 'notes___show-partial-bulk': {
- requestBody: {
- content: {
- 'application/json': {
- noteIds: string[];
+ 'clips___remove-note': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ clipId: string;
+ /** Format: misskey:id */
+ noteId: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- id: string;
- reactions: {
- [key: string]: number;
- };
- reactionEmojis: {
- [key: string]: string;
- };
- }[];
+ clips___show: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ clipId: string;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Clip'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ clips___unfavorite: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ clipId: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ clips___update: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ clipId: string;
+ name?: string;
+ isPublic?: boolean;
+ description?: string | null;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Clip'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * notes/state
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- notes___state: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
+ drive: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ capacity: number;
+ usage: number;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- isFavorited: boolean;
- isMutedThread: boolean;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ drive___files: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /**
+ * Format: misskey:id
+ * @default null
+ */
+ folderId?: string | null;
+ type?: string | null;
+ /** @enum {string|null} */
+ sort?: '+createdAt' | '-createdAt' | '+name' | '-name' | '+size' | '-size' | null;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['DriveFile'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * notes/thread-muting/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- 'notes___thread-muting___create': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
+ 'drive___files___attached-notes': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ fileId: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'drive___files___check-existence': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ md5: string;
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': boolean;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ drive___files___create: {
+ requestBody: {
+ content: {
+ 'multipart/form-data': {
+ /**
+ * Format: misskey:id
+ * @default null
+ */
+ folderId?: string | null;
+ /** @default null */
+ name?: string | null;
+ /** @default null */
+ comment?: string | null;
+ /** @default false */
+ isSensitive?: boolean;
+ /** @default false */
+ force?: boolean;
+ /**
+ * Format: binary
+ * @description The file contents.
+ */
+ file: Blob;
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['DriveFile'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ drive___files___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ fileId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * notes/thread-muting/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- 'notes___thread-muting___delete': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
+ drive___files___find: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ name: string;
+ /**
+ * Format: misskey:id
+ * @default null
+ */
+ folderId?: string | null;
+ };
+ };
};
- };
- };
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['DriveFile'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'drive___files___find-by-hash': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ md5: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['DriveFile'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'drive___files___move-bulk': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ fileIds: string[];
+ /** Format: misskey:id */
+ folderId?: string | null;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * notes/timeline
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- notes___timeline: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- sinceDate?: number;
- untilDate?: number;
- /** @default false */
- allowPartial?: boolean;
- /** @default true */
- includeMyRenotes?: boolean;
- /** @default true */
- includeRenotedMyNotes?: boolean;
- /** @default true */
- includeLocalRenotes?: boolean;
- /** @default false */
- withFiles?: boolean;
- /** @default true */
- withRenotes?: boolean;
+ drive___files___show: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ fileId: string;
+ } | {
+ url: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['DriveFile'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
+ drive___files___update: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ fileId: string;
+ /** Format: misskey:id */
+ folderId?: string | null;
+ name?: string;
+ isSensitive?: boolean;
+ comment?: string | null;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['DriveFile'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'drive___files___upload-from-url': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ url: string;
+ /**
+ * Format: misskey:id
+ * @default null
+ */
+ folderId?: string | null;
+ /** @default false */
+ isSensitive?: boolean;
+ /** @default null */
+ comment?: string | null;
+ /** @default null */
+ marker?: string | null;
+ /** @default false */
+ force?: boolean;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ drive___folders: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /**
+ * Format: misskey:id
+ * @default null
+ */
+ folderId?: string | null;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['DriveFolder'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * notes/translate
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- notes___translate: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
- targetLang: string;
+ drive___folders___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default Untitled */
+ name?: string;
+ /** Format: misskey:id */
+ parentId?: string | null;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['DriveFolder'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- sourceLang: string;
- text: string;
- };
+ drive___folders___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ folderId: string;
+ };
+ };
};
- };
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ drive___folders___find: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ name: string;
+ /**
+ * Format: misskey:id
+ * @default null
+ */
+ parentId?: string | null;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['DriveFolder'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ drive___folders___show: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ folderId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['DriveFolder'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * notes/unrenote
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:notes*
- */
- notes___unrenote: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
+ drive___folders___update: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ folderId: string;
+ name?: string;
+ /** Format: misskey:id */
+ parentId?: string | null;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['DriveFolder'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ drive___stream: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ type?: string;
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['DriveFile'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'email-address___available': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ emailAddress: string;
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ available: boolean;
+ reason: string | null;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ emoji: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ name: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['EmojiDetailed'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * notes/user-list-timeline
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- 'notes___user-list-timeline': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- listId: string;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- sinceDate?: number;
- untilDate?: number;
- /** @default false */
- allowPartial?: boolean;
- /** @default true */
- includeMyRenotes?: boolean;
- /** @default true */
- includeRenotedMyNotes?: boolean;
- /** @default true */
- includeLocalRenotes?: boolean;
- /** @default true */
- withRenotes?: boolean;
- /**
- * @description Only show notes that have attached files.
- * @default false
- */
- withFiles?: boolean;
+ emojis: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ emojis: components['schemas']['EmojiSimple'][];
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ endpoint: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ endpoint: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ params: {
+ name: string;
+ type: string;
+ }[];
+ } | null;
+ };
+ };
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * notifications/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:notifications*
- */
- notifications___create: {
- requestBody: {
- content: {
- 'application/json': {
- body: string;
- header?: string | null;
- icon?: string | null;
+ endpoints: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': string[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'export-custom-emojis': {
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * notifications/flush
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:notifications*
- */
- notifications___flush: {
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ federation___followers: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ host: string;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default 10 */
+ limit?: number;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Following'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * notifications/mark-all-as-read
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:notifications*
- */
- 'notifications___mark-all-as-read': {
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ federation___following: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ host: string;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default 10 */
+ limit?: number;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Following'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ federation___instances: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @description Omit or use `null` to not filter by host. */
+ host?: string | null;
+ blocked?: boolean | null;
+ notResponding?: boolean | null;
+ suspended?: boolean | null;
+ silenced?: boolean | null;
+ federating?: boolean | null;
+ subscribing?: boolean | null;
+ publishing?: boolean | null;
+ /** @default 30 */
+ limit?: number;
+ /** @default 0 */
+ offset?: number;
+ /** @enum {string|null} */
+ sort?: '+pubSub' | '-pubSub' | '+notes' | '-notes' | '+users' | '-users' | '+following' | '-following' | '+followers' | '-followers' | '+firstRetrievedAt' | '-firstRetrievedAt' | '+latestRequestReceivedAt' | '-latestRequestReceivedAt' | null;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['FederationInstance'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * notifications/test-notification
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:notifications*
- */
- 'notifications___test-notification': {
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'federation___show-instance': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ host: string;
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['FederationInstance'] | null;
+ };
+ };
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ federation___stats: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ topSubInstances: components['schemas']['FederationInstance'][];
+ otherFollowersCount: number;
+ topPubInstances: components['schemas']['FederationInstance'][];
+ otherFollowingCount: number;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'federation___update-remote-user': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * page-push
- * @description No description provided.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'page-push': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- pageId: string;
- event: string;
- var?: unknown;
+ federation___users: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ host: string;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default 10 */
+ limit?: number;
+ };
+ };
};
- };
- };
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserDetailedNotMe'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'fetch-external-resources': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ url: string;
+ hash: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ type: string;
+ data: string;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'fetch-rss': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ url: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ image?: {
+ link?: string;
+ url: string;
+ title?: string;
+ };
+ paginationLinks?: {
+ self?: string;
+ first?: string;
+ next?: string;
+ last?: string;
+ prev?: string;
+ };
+ link?: string;
+ title?: string;
+ items: {
+ link?: string;
+ guid?: string;
+ title?: string;
+ pubDate?: string;
+ creator?: string;
+ summary?: string;
+ content?: string;
+ isoDate?: string;
+ categories?: string[];
+ contentSnippet?: string;
+ enclosure?: {
+ url: string;
+ length?: number;
+ type?: string;
+ };
+ }[];
+ feedUrl?: string;
+ description?: string;
+ itunes?: {
+ image?: string;
+ owner?: {
+ name?: string;
+ email?: string;
+ };
+ author?: string;
+ summary?: string;
+ explicit?: string;
+ categories?: string[];
+ keywords?: string[];
+ } & {
+ [key: string]: unknown;
+ };
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * pages/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:pages*
- */
- pages___create: {
- requestBody: {
- content: {
- 'application/json': {
- title: string;
- name: string;
- summary?: string | null;
- content: {
- [key: string]: unknown;
- }[];
- variables: {
- [key: string]: unknown;
- }[];
- script: string;
- /** Format: misskey:id */
- eyeCatchingImageId?: string | null;
- /**
- * @default sans-serif
- * @enum {string}
- */
- font?: 'serif' | 'sans-serif';
- /** @default false */
- alignCenter?: boolean;
- /** @default false */
- hideTitleWhenPinned?: boolean;
+ flash___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ title: string;
+ summary: string;
+ script: string;
+ permissions: string[];
+ /**
+ * @default public
+ * @enum {string}
+ */
+ visibility?: 'public' | 'private';
+ };
+ };
};
- };
- };
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Page'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Flash'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ flash___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ flashId: string;
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ flash___featured: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 0 */
+ offset?: number;
+ /** @default 10 */
+ limit?: number;
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Flash'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ flash___like: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ flashId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * pages/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:pages*
- */
- pages___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- pageId: string;
+ flash___my: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- };
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Flash'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'flash___my-likes': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: id */
+ id: string;
+ flash: components['schemas']['Flash'];
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ flash___show: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ flashId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Flash'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * pages/featured
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- pages___featured: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Page'][];
+ flash___unlike: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ flashId: string;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ flash___update: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ flashId: string;
+ title?: string;
+ summary?: string;
+ script?: string;
+ permissions?: string[];
+ /** @enum {string} */
+ visibility?: 'public' | 'private';
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ following___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ withReplies?: boolean;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserLite'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * pages/like
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:page-likes*
- */
- pages___like: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- pageId: string;
+ following___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- };
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserLite'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ following___invalidate: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserLite'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ following___requests___accept: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * pages/show
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- pages___show: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- pageId: string;
- } | {
- name: string;
- username: string;
+ following___requests___cancel: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserLite'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Page'];
+ following___requests___list: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default 10 */
+ limit?: number;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: id */
+ id: string;
+ follower: components['schemas']['UserLite'];
+ followee: components['schemas']['UserLite'];
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ following___requests___reject: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ following___requests___sent: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default 10 */
+ limit?: number;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: id */
+ id: string;
+ follower: components['schemas']['UserLite'];
+ followee: components['schemas']['UserLite'];
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * pages/unlike
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:page-likes*
- */
- pages___unlike: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- pageId: string;
+ following___update: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ /** @enum {string} */
+ notify?: 'normal' | 'none';
+ withReplies?: boolean;
+ };
+ };
};
- };
- };
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserLite'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'following___update-all': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ notify?: 'normal' | 'none';
+ withReplies?: boolean;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ gallery___featured: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['GalleryPost'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * pages/update
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:pages*
- */
- pages___update: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- pageId: string;
- title?: string;
- name?: string;
- summary?: string | null;
- content?: {
- [key: string]: unknown;
- }[];
- variables?: {
- [key: string]: unknown;
- }[];
- script?: string;
- /** Format: misskey:id */
- eyeCatchingImageId?: string | null;
- /** @enum {string} */
- font?: 'serif' | 'sans-serif';
- alignCenter?: boolean;
- hideTitleWhenPinned?: boolean;
+ gallery___popular: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['GalleryPost'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
+ gallery___posts: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['GalleryPost'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * ping
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- ping: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- pong: number;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ gallery___posts___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ title: string;
+ description?: string | null;
+ fileIds: string[];
+ /** @default false */
+ isSensitive?: boolean;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['GalleryPost'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * pinned-users
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- 'pinned-users': {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserDetailed'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ gallery___posts___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ postId: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ gallery___posts___like: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ postId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * promo/read
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- promo___read: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- noteId: string;
+ gallery___posts___show: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ postId: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['GalleryPost'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ gallery___posts___unlike: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ postId: string;
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ gallery___posts___update: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ postId: string;
+ title?: string;
+ description?: string | null;
+ fileIds?: string[];
+ /** @default false */
+ isSensitive?: boolean;
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['GalleryPost'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'get-avatar-decorations': {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ name: string;
+ description: string;
+ url: string;
+ roleIdsThatCanBeUsedThisDecoration: string[];
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * renote-mute/create
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:mutes*
- */
- 'renote-mute___create': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
+ 'get-online-users-count': {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ count: number;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ hashtags___list: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** @default false */
+ attachedToUserOnly?: boolean;
+ /** @default false */
+ attachedToLocalUserOnly?: boolean;
+ /** @default false */
+ attachedToRemoteUserOnly?: boolean;
+ /** @enum {string} */
+ sort: '+mentionedUsers' | '-mentionedUsers' | '+mentionedLocalUsers' | '-mentionedLocalUsers' | '+mentionedRemoteUsers' | '-mentionedRemoteUsers' | '+attachedUsers' | '-attachedUsers' | '+attachedLocalUsers' | '-attachedLocalUsers' | '+attachedRemoteUsers' | '-attachedRemoteUsers';
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Hashtag'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ hashtags___search: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ query: string;
+ /** @default 0 */
+ offset?: number;
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': string[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ hashtags___show: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ tag: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Hashtag'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * renote-mute/delete
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:mutes*
- */
- 'renote-mute___delete': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
+ hashtags___trend: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ tag: string;
+ chart: number[];
+ usersCount: number;
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ hashtags___users: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ tag: string;
+ /** @default 10 */
+ limit?: number;
+ /** @enum {string} */
+ sort: '+follower' | '-follower' | '+createdAt' | '-createdAt' | '+updatedAt' | '-updatedAt';
+ /**
+ * @default all
+ * @enum {string}
+ */
+ state?: 'all' | 'alive';
+ /**
+ * @default local
+ * @enum {string}
+ */
+ origin?: 'combined' | 'local' | 'remote';
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserDetailed'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * renote-mute/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:mutes*
- */
- 'renote-mute___list': {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 30 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
+ i: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['MeDetailed'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['RenoteMuting'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ i___2fa___done: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ token: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ backupCodes: string[];
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * request-reset-password
- * @description Request a users password to be reset.
- *
- * **Credential required**: *No*
- */
- 'request-reset-password': {
- requestBody: {
- content: {
- 'application/json': {
- username: string;
- email: string;
+ 'i___2fa___key-done': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ password: string;
+ token?: string | null;
+ name: string;
+ credential: Record<string, never>;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ id: string;
+ name: string;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'i___2fa___password-less': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ value: boolean;
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ i___2fa___register: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ password: string;
+ token?: string | null;
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ qr: string;
+ url: string;
+ secret: string;
+ label: string;
+ issuer: string;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'i___2fa___register-key': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ password: string;
+ token?: string | null;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ rp: {
+ id?: string;
+ };
+ user: {
+ id: string;
+ name: string;
+ displayName: string;
+ };
+ challenge: string;
+ pubKeyCredParams: {
+ type: string;
+ alg: number;
+ }[];
+ timeout: number | null;
+ excludeCredentials: {
+ id: string;
+ type: string;
+ transports: ('ble' | 'cable' | 'hybrid' | 'internal' | 'nfc' | 'smart-card' | 'usb')[];
+ }[] | null;
+ authenticatorSelection: {
+ /** @enum {string} */
+ authenticatorAttachment: 'cross-platform' | 'platform';
+ requireResidentKey: boolean;
+ /** @enum {string} */
+ userVerification: 'discouraged' | 'preferred' | 'required';
+ } | null;
+ /** @enum {string|null} */
+ attestation: 'direct' | 'enterprise' | 'indirect' | 'none' | null;
+ extensions: {
+ appid: string | null;
+ credProps: boolean | null;
+ hmacCreateSecret: boolean | null;
+ } | null;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * reset-db
- * @description Only available when running with <code>NODE_ENV=testing</code>. Reset the database and flush Redis.
- *
- * **Credential required**: *No*
- */
- 'reset-db': {
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'i___2fa___remove-key': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ password: string;
+ token?: string | null;
+ credentialId: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ i___2fa___unregister: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ password: string;
+ token?: string | null;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * reset-password
- * @description Complete the password reset that was previously requested.
- *
- * **Credential required**: *No*
- */
- 'reset-password': {
- requestBody: {
- content: {
- 'application/json': {
- token: string;
- password: string;
+ 'i___2fa___update-key': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ name: string;
+ credentialId: string;
+ };
+ };
};
- };
- };
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ i___apps: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ sort?: '+createdAt' | '-createdAt' | '+lastUsedAt' | '-lastUsedAt';
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ name?: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: date-time */
+ lastUsedAt?: string;
+ permission: string[];
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'i___authorized-apps': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** @default 0 */
+ offset?: number;
+ /**
+ * @default desc
+ * @enum {string}
+ */
+ sort?: 'desc' | 'asc';
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ name: string;
+ callbackUrl: string | null;
+ permission: string[];
+ isAuthorized?: boolean;
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * retention
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- retention: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /** Format: date-time */
- createdAt: string;
- users: number;
- data: {
- [key: string]: number;
- };
- }[];
+ 'i___change-password': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ currentPassword: string;
+ newPassword: string;
+ token?: string | null;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'i___claim-achievement': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ name: 'notes1' | 'notes10' | 'notes100' | 'notes500' | 'notes1000' | 'notes5000' | 'notes10000' | 'notes20000' | 'notes30000' | 'notes40000' | 'notes50000' | 'notes60000' | 'notes70000' | 'notes80000' | 'notes90000' | 'notes100000' | 'login3' | 'login7' | 'login15' | 'login30' | 'login60' | 'login100' | 'login200' | 'login300' | 'login400' | 'login500' | 'login600' | 'login700' | 'login800' | 'login900' | 'login1000' | 'passedSinceAccountCreated1' | 'passedSinceAccountCreated2' | 'passedSinceAccountCreated3' | 'loggedInOnBirthday' | 'loggedInOnNewYearsDay' | 'noteClipped1' | 'noteFavorited1' | 'myNoteFavorited1' | 'profileFilled' | 'markedAsCat' | 'following1' | 'following10' | 'following50' | 'following100' | 'following300' | 'followers1' | 'followers10' | 'followers50' | 'followers100' | 'followers300' | 'followers500' | 'followers1000' | 'collectAchievements30' | 'viewAchievements3min' | 'iLoveMisskey' | 'foundTreasure' | 'client30min' | 'client60min' | 'noteDeletedWithin1min' | 'postedAtLateNight' | 'postedAt0min0sec' | 'selfQuote' | 'htl20npm' | 'viewInstanceChart' | 'outputHelloWorldOnScratchpad' | 'open3windows' | 'driveFolderCircularReference' | 'reactWithoutRead' | 'clickedClickHere' | 'justPlainLucky' | 'setNameToSyuilo' | 'cookieClicked' | 'brainDiver' | 'smashTestNotificationButton' | 'tutorialCompleted' | 'bubbleGameExplodingHead' | 'bubbleGameDoubleExplodingHead';
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'i___delete-account': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ password: string;
+ token?: string | null;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * reversi/cancel-match
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- 'reversi___cancel-match': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId?: string | null;
+ 'i___export-antennas': {
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'i___export-blocking': {
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * reversi/games
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- reversi___games: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default false */
- my?: boolean;
+ 'i___export-clips': {
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['ReversiGameLite'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'i___export-favorites': {
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * reversi/invitations
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- reversi___invitations: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserLite'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'i___export-following': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default false */
+ excludeMuting?: boolean;
+ /** @default false */
+ excludeInactive?: boolean;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * reversi/match
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- reversi___match: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId?: string | null;
- /** @default false */
- noIrregularRules?: boolean;
- /** @default false */
- multiple?: boolean;
+ 'i___export-mute': {
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['ReversiGameDetailed'];
- };
- };
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'i___export-notes': {
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * reversi/show-game
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- 'reversi___show-game': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- gameId: string;
+ 'i___export-user-lists': {
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['ReversiGameDetailed'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ i___favorites: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- };
- };
- /**
- * reversi/surrender
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- reversi___surrender: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- gameId: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['NoteFavorite'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ i___gallery___likes: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: id */
+ id: string;
+ post: components['schemas']['GalleryPost'];
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ i___gallery___posts: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['GalleryPost'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * reversi/verify
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- reversi___verify: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- gameId: string;
- crc32: string;
+ 'i___import-antennas': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ fileId: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- desynced: boolean;
- game?: components['schemas']['ReversiGameDetailed'] | null;
- };
+ 'i___import-blocking': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ fileId: string;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'i___import-following': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ fileId: string;
+ withReplies?: boolean;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'i___import-muting': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ fileId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * roles/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- roles___list: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Role'][];
+ 'i___import-user-lists': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ fileId: string;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ i___move: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ moveToAccount: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': Record<string, never>;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ i___notifications: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default true */
+ markAsRead?: boolean;
+ includeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'chatRoomInvitationReceived' | 'achievementEarned' | 'exportCompleted' | 'login' | 'createToken' | 'app' | 'test' | 'pollVote' | 'groupInvited')[];
+ excludeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'chatRoomInvitationReceived' | 'achievementEarned' | 'exportCompleted' | 'login' | 'createToken' | 'app' | 'test' | 'pollVote' | 'groupInvited')[];
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Notification'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * roles/notes
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- roles___notes: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- roleId: string;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- sinceDate?: number;
- untilDate?: number;
+ 'i___notifications-grouped': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default true */
+ markAsRead?: boolean;
+ includeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'chatRoomInvitationReceived' | 'achievementEarned' | 'exportCompleted' | 'login' | 'createToken' | 'app' | 'test' | 'pollVote' | 'groupInvited')[];
+ excludeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'chatRoomInvitationReceived' | 'achievementEarned' | 'exportCompleted' | 'login' | 'createToken' | 'app' | 'test' | 'pollVote' | 'groupInvited')[];
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Notification'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
+ 'i___page-likes': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: id */
+ id: string;
+ page: components['schemas']['Page'];
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ i___pages: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Page'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ i___pin: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['MeDetailed'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * roles/show
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- roles___show: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- roleId: string;
+ 'i___read-announcement': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ announcementId: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Role'];
+ 'i___regenerate-token': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ password: string;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ i___registry___get: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ key: string;
+ /** @default [] */
+ scope: string[];
+ domain?: string | null;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': Record<string, never>;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'i___registry___get-all': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default [] */
+ scope: string[];
+ domain?: string | null;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': Record<string, never>;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * roles/users
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- roles___users: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- roleId: string;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default 10 */
- limit?: number;
+ 'i___registry___get-detail': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ key: string;
+ /** @default [] */
+ scope: string[];
+ domain?: string | null;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ updatedAt: string;
+ value: unknown;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- id: string;
- user: components['schemas']['UserDetailed'];
- }[];
+ i___registry___keys: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default [] */
+ scope: string[];
+ domain?: string | null;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': string[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'i___registry___keys-with-type': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default [] */
+ scope: string[];
+ domain?: string | null;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ [key: string]: string;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ i___registry___remove: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ key: string;
+ /** @default [] */
+ scope: string[];
+ domain?: string | null;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * server-info
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- 'server-info': {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- machine: string;
- cpu: {
- model: string;
- cores: number;
+ 'i___registry___scopes-with-domain': {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ scopes: string[][];
+ domain: string | null;
+ }[];
+ };
};
- mem: {
- total: number;
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
};
- fs: {
- total: number;
- used: number;
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
};
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ i___registry___set: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ key: string;
+ value: unknown;
+ /** @default [] */
+ scope: string[];
+ domain?: string | null;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * stats
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- stats: {
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- notesCount: number;
- originalNotesCount: number;
- usersCount: number;
- originalUsersCount: number;
- instances: number;
- driveUsageLocal: number;
- driveUsageRemote: number;
- };
+ 'i___revoke-token': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ tokenId: string;
+ } | {
+ token: string | null;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'i___signin-history': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Signin'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ i___unpin: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['MeDetailed'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * sw/register
- * @description Register to receive push notifications.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- sw___register: {
- requestBody: {
- content: {
- 'application/json': {
- endpoint: string;
- auth: string;
- publickey: string;
- /** @default false */
- sendReadMessage?: boolean;
+ i___update: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ name?: string | null;
+ description?: string | null;
+ followedMessage?: string | null;
+ location?: string | null;
+ birthday?: string | null;
+ /** @enum {string|null} */
+ lang?: null | 'ach' | 'ady' | 'af' | 'af-NA' | 'af-ZA' | 'ak' | 'ar' | 'ar-AR' | 'ar-MA' | 'ar-SA' | 'ay-BO' | 'az' | 'az-AZ' | 'be-BY' | 'bg' | 'bg-BG' | 'bn' | 'bn-IN' | 'bn-BD' | 'br' | 'bs-BA' | 'ca' | 'ca-ES' | 'cak' | 'ck-US' | 'cs' | 'cs-CZ' | 'cy' | 'cy-GB' | 'da' | 'da-DK' | 'de' | 'de-AT' | 'de-DE' | 'de-CH' | 'dsb' | 'el' | 'el-GR' | 'en' | 'en-GB' | 'en-AU' | 'en-CA' | 'en-IE' | 'en-IN' | 'en-PI' | 'en-SG' | 'en-UD' | 'en-US' | 'en-ZA' | 'en@pirate' | 'eo' | 'eo-EO' | 'es' | 'es-AR' | 'es-419' | 'es-CL' | 'es-CO' | 'es-EC' | 'es-ES' | 'es-LA' | 'es-NI' | 'es-MX' | 'es-US' | 'es-VE' | 'et' | 'et-EE' | 'eu' | 'eu-ES' | 'fa' | 'fa-IR' | 'fb-LT' | 'ff' | 'fi' | 'fi-FI' | 'fo' | 'fo-FO' | 'fr' | 'fr-CA' | 'fr-FR' | 'fr-BE' | 'fr-CH' | 'fy-NL' | 'ga' | 'ga-IE' | 'gd' | 'gl' | 'gl-ES' | 'gn-PY' | 'gu-IN' | 'gv' | 'gx-GR' | 'he' | 'he-IL' | 'hi' | 'hi-IN' | 'hr' | 'hr-HR' | 'hsb' | 'ht' | 'hu' | 'hu-HU' | 'hy' | 'hy-AM' | 'id' | 'id-ID' | 'is' | 'is-IS' | 'it' | 'it-IT' | 'ja' | 'ja-JP' | 'jv-ID' | 'ka-GE' | 'kk-KZ' | 'km' | 'kl' | 'km-KH' | 'kab' | 'kn' | 'kn-IN' | 'ko' | 'ko-KR' | 'ku-TR' | 'kw' | 'la' | 'la-VA' | 'lb' | 'li-NL' | 'lt' | 'lt-LT' | 'lv' | 'lv-LV' | 'mai' | 'mg-MG' | 'mk' | 'mk-MK' | 'ml' | 'ml-IN' | 'mn-MN' | 'mr' | 'mr-IN' | 'ms' | 'ms-MY' | 'mt' | 'mt-MT' | 'my' | 'no' | 'nb' | 'nb-NO' | 'ne' | 'ne-NP' | 'nl' | 'nl-BE' | 'nl-NL' | 'nn-NO' | 'oc' | 'or-IN' | 'pa' | 'pa-IN' | 'pl' | 'pl-PL' | 'ps-AF' | 'pt' | 'pt-BR' | 'pt-PT' | 'qu-PE' | 'rm-CH' | 'ro' | 'ro-RO' | 'ru' | 'ru-RU' | 'sa-IN' | 'se-NO' | 'sh' | 'si-LK' | 'sk' | 'sk-SK' | 'sl' | 'sl-SI' | 'so-SO' | 'sq' | 'sq-AL' | 'sr' | 'sr-RS' | 'su' | 'sv' | 'sv-SE' | 'sw' | 'sw-KE' | 'ta' | 'ta-IN' | 'te' | 'te-IN' | 'tg' | 'tg-TJ' | 'th' | 'th-TH' | 'fil' | 'tlh' | 'tr' | 'tr-TR' | 'tt-RU' | 'uk' | 'uk-UA' | 'ur' | 'ur-PK' | 'uz' | 'uz-UZ' | 'vi' | 'vi-VN' | 'xh-ZA' | 'yi' | 'yi-DE' | 'zh' | 'zh-Hans' | 'zh-Hant' | 'zh-CN' | 'zh-HK' | 'zh-SG' | 'zh-TW' | 'zu-ZA';
+ /** Format: misskey:id */
+ avatarId?: string | null;
+ avatarDecorations?: {
+ /** Format: misskey:id */
+ id: string;
+ angle?: number | null;
+ flipH?: boolean | null;
+ offsetX?: number | null;
+ offsetY?: number | null;
+ }[];
+ /** Format: misskey:id */
+ bannerId?: string | null;
+ fields?: {
+ name: string;
+ value: string;
+ }[];
+ isLocked?: boolean;
+ isExplorable?: boolean;
+ hideOnlineStatus?: boolean;
+ publicReactions?: boolean;
+ carefulBot?: boolean;
+ autoAcceptFollowed?: boolean;
+ noCrawle?: boolean;
+ preventAiLearning?: boolean;
+ requireSigninToViewContents?: boolean;
+ makeNotesFollowersOnlyBefore?: number | null;
+ makeNotesHiddenBefore?: number | null;
+ isBot?: boolean;
+ isCat?: boolean;
+ injectFeaturedNote?: boolean;
+ receiveAnnouncementEmail?: boolean;
+ alwaysMarkNsfw?: boolean;
+ autoSensitive?: boolean;
+ /** @enum {string} */
+ followingVisibility?: 'public' | 'followers' | 'private';
+ /** @enum {string} */
+ followersVisibility?: 'public' | 'followers' | 'private';
+ /** @enum {string} */
+ chatScope?: 'everyone' | 'followers' | 'following' | 'mutual' | 'none';
+ /** Format: misskey:id */
+ pinnedPageId?: string | null;
+ mutedWords?: (string[] | string)[];
+ hardMutedWords?: (string[] | string)[];
+ mutedInstances?: string[];
+ notificationRecieveConfig?: {
+ note?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ follow?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ mention?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ reply?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ renote?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ quote?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ reaction?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ pollEnded?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ receiveFollowRequest?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ followRequestAccepted?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ roleAssigned?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ chatRoomInvitationReceived?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ achievementEarned?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ app?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ test?: {
+ /** @enum {string} */
+ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
+ } | {
+ /** @enum {string} */
+ type: 'list';
+ /** Format: misskey:id */
+ userListId: string;
+ };
+ };
+ emailNotificationTypes?: string[];
+ alsoKnownAs?: string[];
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['MeDetailed'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /** @enum {string} */
- state?: 'already-subscribed' | 'subscribed';
- key: string | null;
- userId: string;
- endpoint: string;
- sendReadMessage: boolean;
- };
+ 'i___update-email': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ password: string;
+ email?: string | null;
+ token?: string | null;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['MeDetailed'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ i___webhooks___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ name: string;
+ url: string;
+ /** @default */
+ secret?: string;
+ on: ('mention' | 'unfollow' | 'follow' | 'followed' | 'note' | 'reply' | 'renote' | 'reaction')[];
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ /** Format: misskey:id */
+ userId: string;
+ name: string;
+ on: ('mention' | 'unfollow' | 'follow' | 'followed' | 'note' | 'reply' | 'renote' | 'reaction')[];
+ url: string;
+ secret: string;
+ active: boolean;
+ /** Format: date-time */
+ latestSentAt: string | null;
+ latestStatus: number | null;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ i___webhooks___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ webhookId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * sw/show-registration
- * @description Check push notification registration exists.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'sw___show-registration': {
- requestBody: {
- content: {
- 'application/json': {
- endpoint: string;
+ i___webhooks___list: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ /** Format: misskey:id */
+ userId: string;
+ name: string;
+ on: ('mention' | 'unfollow' | 'follow' | 'followed' | 'note' | 'reply' | 'renote' | 'reaction')[];
+ url: string;
+ secret: string;
+ active: boolean;
+ /** Format: date-time */
+ latestSentAt: string | null;
+ latestStatus: number | null;
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- userId: string;
- endpoint: string;
- sendReadMessage: boolean;
- } | null;
- };
- };
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ i___webhooks___show: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ webhookId: string;
+ };
+ };
};
- };
- };
- };
- /**
- * sw/unregister
- * @description Unregister from receiving push notifications.
- *
- * **Credential required**: *No*
- */
- sw___unregister: {
- requestBody: {
- content: {
- 'application/json': {
- endpoint: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ /** Format: misskey:id */
+ userId: string;
+ name: string;
+ on: ('mention' | 'unfollow' | 'follow' | 'followed' | 'note' | 'reply' | 'renote' | 'reaction')[];
+ url: string;
+ secret: string;
+ active: boolean;
+ /** Format: date-time */
+ latestSentAt: string | null;
+ latestStatus: number | null;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ i___webhooks___test: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ webhookId: string;
+ /** @enum {string} */
+ type: 'mention' | 'unfollow' | 'follow' | 'followed' | 'note' | 'reply' | 'renote' | 'reaction';
+ override?: {
+ url?: string;
+ secret?: string;
+ };
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ i___webhooks___update: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ webhookId: string;
+ name?: string;
+ url?: string;
+ secret?: string | null;
+ on?: ('mention' | 'unfollow' | 'follow' | 'followed' | 'note' | 'reply' | 'renote' | 'reaction')[];
+ active?: boolean;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * sw/update-registration
- * @description Update push notification registration.
- *
- * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
- * **Credential required**: *Yes*
- */
- 'sw___update-registration': {
- requestBody: {
- content: {
- 'application/json': {
- endpoint: string;
- sendReadMessage?: boolean;
+ invite___create: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['InviteCode'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- userId: string;
- endpoint: string;
- sendReadMessage: boolean;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ invite___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ inviteId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * test
- * @description Endpoint for testing input validation.
- *
- * **Credential required**: *No*
- */
- test: {
- requestBody: {
- content: {
- 'application/json': {
- required: boolean;
- string?: string;
- /** @default hello */
- default?: string;
- /** @default hello */
- nullableDefault?: string | null;
- /** Format: misskey:id */
- id?: string;
+ invite___limit: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ remaining: number | null;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- id?: string;
- required: boolean;
- string?: string;
- default?: string;
- /** @default hello */
- nullableDefault?: string | null;
- };
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ invite___list: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 30 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- };
- };
- /**
- * username/available
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- username___available: {
- requestBody: {
- content: {
- 'application/json': {
- username: string;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['InviteCode'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- available: boolean;
- };
+ meta: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default true */
+ detail?: boolean;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['MetaLite'] | components['schemas']['MetaDetailed'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'miauth___gen-token': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ session: string | null;
+ name?: string | null;
+ description?: string | null;
+ iconUrl?: string | null;
+ permission: string[];
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ token: string;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ mute___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ /** @description A Unix Epoch timestamp that must lie in the future. `null` means an indefinite mute. */
+ expiresAt?: number | null;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- users: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** @default 0 */
- offset?: number;
- /** @enum {string} */
- sort?: '+follower' | '-follower' | '+createdAt' | '-createdAt' | '+updatedAt' | '-updatedAt';
- /**
- * @default all
- * @enum {string}
- */
- state?: 'all' | 'alive';
- /**
- * @default local
- * @enum {string}
- */
- origin?: 'combined' | 'local' | 'remote';
- /**
- * @description The local host is represented with `null`.
- * @default null
- */
- hostname?: string | null;
+ mute___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserDetailed'][];
+ mute___list: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 30 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Muting'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ my___apps: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** @default 0 */
+ offset?: number;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['App'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ notes: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default false */
+ local?: boolean;
+ reply?: boolean;
+ renote?: boolean;
+ withFiles?: boolean;
+ poll?: boolean;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/achievements
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- users___achievements: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
+ notes___children: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Achievement'][];
+ notes___clips: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Clip'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ notes___conversation: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ /** @default 10 */
+ limit?: number;
+ /** @default 0 */
+ offset?: number;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ notes___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /**
+ * @default public
+ * @enum {string}
+ */
+ visibility?: 'public' | 'home' | 'followers' | 'specified';
+ visibleUserIds?: string[];
+ cw?: string | null;
+ /** @default false */
+ localOnly?: boolean;
+ /**
+ * @default null
+ * @enum {string|null}
+ */
+ reactionAcceptance?: null | 'likeOnly' | 'likeOnlyForRemote' | 'nonSensitiveOnly' | 'nonSensitiveOnlyForLocalLikeOnlyForRemote';
+ /** @default false */
+ noExtractMentions?: boolean;
+ /** @default false */
+ noExtractHashtags?: boolean;
+ /** @default false */
+ noExtractEmojis?: boolean;
+ /** Format: misskey:id */
+ replyId?: string | null;
+ /** Format: misskey:id */
+ renoteId?: string | null;
+ /** Format: misskey:id */
+ channelId?: string | null;
+ text?: string | null;
+ fileIds?: string[];
+ mediaIds?: string[];
+ poll?: {
+ choices: string[];
+ multiple?: boolean;
+ expiresAt?: number | null;
+ expiredAfter?: number | null;
+ } | null;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ createdNote: components['schemas']['Note'];
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/clips
- * @description Show all clips this user owns.
- *
- * **Credential required**: *No*
- */
- users___clips: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
+ notes___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Clip'][];
+ notes___favorites___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ notes___favorites___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ notes___featured: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** Format: misskey:id */
+ channelId?: string | null;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/featured-notes
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- 'users___featured-notes': {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- untilId?: string;
- /** Format: misskey:id */
- userId: string;
+ 'notes___global-timeline': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default false */
+ withFiles?: boolean;
+ /** @default true */
+ withRenotes?: boolean;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ sinceDate?: number;
+ untilDate?: number;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
+ 'notes___hybrid-timeline': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ sinceDate?: number;
+ untilDate?: number;
+ /** @default false */
+ allowPartial?: boolean;
+ /** @default true */
+ includeMyRenotes?: boolean;
+ /** @default true */
+ includeRenotedMyNotes?: boolean;
+ /** @default true */
+ includeLocalRenotes?: boolean;
+ /** @default false */
+ withFiles?: boolean;
+ /** @default true */
+ withRenotes?: boolean;
+ /** @default false */
+ withReplies?: boolean;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'notes___local-timeline': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default false */
+ withFiles?: boolean;
+ /** @default true */
+ withRenotes?: boolean;
+ /** @default false */
+ withReplies?: boolean;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default false */
+ allowPartial?: boolean;
+ sinceDate?: number;
+ untilDate?: number;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ notes___mentions: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default false */
+ following?: boolean;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ visibility?: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/flashs
- * @description Show all flashs this user created.
- *
- * **Credential required**: *No*
- */
- users___flashs: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
+ notes___polls___recommendation: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** @default 0 */
+ offset?: number;
+ /** @default false */
+ excludeChannels?: boolean;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Flash'][];
+ notes___polls___vote: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ choice: number;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ notes___reactions: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ type?: string | null;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['NoteReaction'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ notes___reactions___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ reaction: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/followers
- * @description Show everyone that follows this user.
- *
- * **Credential required**: *No*
- */
- users___followers: {
- requestBody: {
- content: {
- 'application/json': ({
- /** Format: misskey:id */
- userId: string;
- } | ({
- username: string;
- /** @description The local host is represented with `null`. */
- host: string | null;
- })) & {
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default 10 */
- limit?: number;
+ notes___reactions___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Following'][];
+ notes___renotes: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ notes___replies: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default 10 */
+ limit?: number;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ notes___search: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ query: string;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default 10 */
+ limit?: number;
+ /** @default 0 */
+ offset?: number;
+ /** @description The local host is represented with `.`. */
+ host?: string;
+ /**
+ * Format: misskey:id
+ * @default null
+ */
+ userId?: string | null;
+ /**
+ * Format: misskey:id
+ * @default null
+ */
+ channelId?: string | null;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- };
- };
- /**
- * users/following
- * @description Show everyone that this user is following.
- *
- * **Credential required**: *No*
- */
- users___following: {
- requestBody: {
- content: {
- 'application/json': ({
- /** Format: misskey:id */
- userId: string;
- } | ({
- username: string;
- /** @description The local host is represented with `null`. */
- host: string | null;
- })) & ({
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default 10 */
- limit?: number;
- birthday?: string | null;
- });
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Following'][];
+ 'notes___search-by-tag': {
+ requestBody: {
+ content: {
+ 'application/json': ({
+ tag: string;
+ } | {
+ /** @description The outer arrays are chained with OR, the inner arrays are chained with AND. */
+ query: string[][];
+ }) & {
+ /** @default null */
+ reply?: boolean | null;
+ /** @default null */
+ renote?: boolean | null;
+ /**
+ * @description Only show notes that have attached files.
+ * @default false
+ */
+ withFiles?: boolean;
+ /** @default null */
+ poll?: boolean | null;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default 10 */
+ limit?: number;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ notes___show: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'notes___show-partial-bulk': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ noteIds: string[];
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ id: string;
+ reactions: {
+ [key: string]: number;
+ };
+ reactionEmojis: {
+ [key: string]: string;
+ };
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/gallery/posts
- * @description Show all gallery posts by the given user.
- *
- * **Credential required**: *No*
- */
- users___gallery___posts: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
+ notes___state: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ isFavorited: boolean;
+ isMutedThread: boolean;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['GalleryPost'][];
+ 'notes___thread-muting___create': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'notes___thread-muting___delete': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ notes___timeline: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ sinceDate?: number;
+ untilDate?: number;
+ /** @default false */
+ allowPartial?: boolean;
+ /** @default true */
+ includeMyRenotes?: boolean;
+ /** @default true */
+ includeRenotedMyNotes?: boolean;
+ /** @default true */
+ includeLocalRenotes?: boolean;
+ /** @default false */
+ withFiles?: boolean;
+ /** @default true */
+ withRenotes?: boolean;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/get-frequently-replied-users
- * @description Get a list of other users that the specified user frequently replies to.
- *
- * **Credential required**: *No*
- */
- 'users___get-frequently-replied-users': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- /** @default 10 */
- limit?: number;
+ notes___translate: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ targetLang: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ sourceLang: string;
+ text: string;
+ };
+ };
+ };
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- user: components['schemas']['UserDetailed'];
- weight: number;
- }[];
+ notes___unrenote: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'notes___user-list-timeline': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ listId: string;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ sinceDate?: number;
+ untilDate?: number;
+ /** @default false */
+ allowPartial?: boolean;
+ /** @default true */
+ includeMyRenotes?: boolean;
+ /** @default true */
+ includeRenotedMyNotes?: boolean;
+ /** @default true */
+ includeLocalRenotes?: boolean;
+ /** @default true */
+ withRenotes?: boolean;
+ /**
+ * @description Only show notes that have attached files.
+ * @default false
+ */
+ withFiles?: boolean;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ notifications___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ body: string;
+ header?: string | null;
+ icon?: string | null;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/lists/create
- * @description Create a new list of users.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- users___lists___create: {
- requestBody: {
- content: {
- 'application/json': {
- name: string;
+ notifications___flush: {
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserList'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'notifications___mark-all-as-read': {
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/lists/create-from-public
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- 'users___lists___create-from-public': {
- requestBody: {
- content: {
- 'application/json': {
- name: string;
- /** Format: misskey:id */
- listId: string;
+ 'notifications___test-notification': {
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserList'];
+ 'page-push': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ pageId: string;
+ event: string;
+ var?: unknown;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ pages___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ title: string;
+ name: string;
+ summary?: string | null;
+ content: {
+ [key: string]: unknown;
+ }[];
+ variables: {
+ [key: string]: unknown;
+ }[];
+ script: string;
+ /** Format: misskey:id */
+ eyeCatchingImageId?: string | null;
+ /**
+ * @default sans-serif
+ * @enum {string}
+ */
+ font?: 'serif' | 'sans-serif';
+ /** @default false */
+ alignCenter?: boolean;
+ /** @default false */
+ hideTitleWhenPinned?: boolean;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Page'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ pages___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ pageId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/lists/delete
- * @description Delete an existing list of users.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- users___lists___delete: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- listId: string;
+ pages___featured: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Page'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ pages___like: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ pageId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/lists/favorite
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- users___lists___favorite: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- listId: string;
+ pages___show: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ pageId: string;
+ } | {
+ name: string;
+ username: string;
+ };
+ };
};
- };
- };
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Page'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ pages___unlike: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ pageId: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ pages___update: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ pageId: string;
+ title?: string;
+ name?: string;
+ summary?: string | null;
+ content?: {
+ [key: string]: unknown;
+ }[];
+ variables?: {
+ [key: string]: unknown;
+ }[];
+ script?: string;
+ /** Format: misskey:id */
+ eyeCatchingImageId?: string | null;
+ /** @enum {string} */
+ font?: 'serif' | 'sans-serif';
+ alignCenter?: boolean;
+ hideTitleWhenPinned?: boolean;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/lists/get-memberships
- * @description No description provided.
- *
- * **Credential required**: *No* / **Permission**: *read:account*
- */
- 'users___lists___get-memberships': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- listId: string;
- /** @default false */
- forPublic?: boolean;
- /** @default 30 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
+ ping: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ pong: number;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- id: string;
- /** Format: date-time */
- createdAt: string;
- /** Format: misskey:id */
- userId: string;
- user: components['schemas']['UserLite'];
- withReplies: boolean;
- }[];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'pinned-users': {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserDetailed'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ promo___read: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ noteId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/lists/list
- * @description Show all lists that the authenticated user has created.
- *
- * **Credential required**: *No* / **Permission**: *read:account*
- */
- users___lists___list: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId?: string;
+ 'renote-mute___create': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserList'][];
+ 'renote-mute___delete': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'renote-mute___list': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 30 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['RenoteMuting'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'request-reset-password': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ username: string;
+ email: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/lists/pull
- * @description Remove a user from a list.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- users___lists___pull: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- listId: string;
- /** Format: misskey:id */
- userId: string;
+ 'reset-db': {
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'reset-password': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ token: string;
+ password: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/lists/push
- * @description Add a user to an existing list.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- users___lists___push: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- listId: string;
- /** Format: misskey:id */
- userId: string;
+ retention: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: date-time */
+ createdAt: string;
+ users: number;
+ data: {
+ [key: string]: number;
+ };
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ 'reversi___cancel-match': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId?: string | null;
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Too many requests */
- 429: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ reversi___games: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default false */
+ my?: boolean;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['ReversiGameLite'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/lists/show
- * @description Show the properties of a list.
- *
- * **Credential required**: *No* / **Permission**: *read:account*
- */
- users___lists___show: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- listId: string;
- /** @default false */
- forPublic?: boolean;
+ reversi___invitations: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserLite'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserList'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ reversi___match: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId?: string | null;
+ /** @default false */
+ noIrregularRules?: boolean;
+ /** @default false */
+ multiple?: boolean;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['ReversiGameDetailed'];
+ };
+ };
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/lists/unfavorite
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- users___lists___unfavorite: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- listId: string;
+ 'reversi___show-game': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ gameId: string;
+ };
+ };
};
- };
- };
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['ReversiGameDetailed'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ reversi___surrender: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ gameId: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ reversi___verify: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ gameId: string;
+ crc32: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ desynced: boolean;
+ game?: components['schemas']['ReversiGameDetailed'] | null;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/lists/update
- * @description Update the properties of a list.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- users___lists___update: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- listId: string;
- name?: string;
- isPublic?: boolean;
+ roles___list: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Role'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserList'];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ roles___notes: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ roleId: string;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ sinceDate?: number;
+ untilDate?: number;
+ };
+ };
};
- };
- };
- };
- /**
- * users/lists/update-membership
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- 'users___lists___update-membership': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- listId: string;
- /** Format: misskey:id */
- userId: string;
- withReplies?: boolean;
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ roles___show: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ roleId: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Role'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ roles___users: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ roleId: string;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default 10 */
+ limit?: number;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ user: components['schemas']['UserDetailed'];
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/notes
- * @description No description provided.
- *
- * **Credential required**: *No*
- */
- users___notes: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- /** @default false */
- withReplies?: boolean;
- /** @default true */
- withRenotes?: boolean;
- /** @default false */
- withChannelNotes?: boolean;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- sinceDate?: number;
- untilDate?: number;
- /** @default false */
- allowPartial?: boolean;
- /** @default false */
- withFiles?: boolean;
+ 'server-info': {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ machine: string;
+ cpu: {
+ model: string;
+ cores: number;
+ };
+ mem: {
+ total: number;
+ };
+ fs: {
+ total: number;
+ used: number;
+ };
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Note'][];
- };
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
- };
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ stats: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ notesCount: number;
+ originalNotesCount: number;
+ usersCount: number;
+ originalUsersCount: number;
+ instances: number;
+ driveUsageLocal: number;
+ driveUsageRemote: number;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ sw___register: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ endpoint: string;
+ auth: string;
+ publickey: string;
+ /** @default false */
+ sendReadMessage?: boolean;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** @enum {string} */
+ state?: 'already-subscribed' | 'subscribed';
+ key: string | null;
+ userId: string;
+ endpoint: string;
+ sendReadMessage: boolean;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/pages
- * @description Show all pages this user created.
- *
- * **Credential required**: *No*
- */
- users___pages: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
+ 'sw___show-registration': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ endpoint: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ userId: string;
+ endpoint: string;
+ sendReadMessage: boolean;
+ } | null;
+ };
+ };
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['Page'][];
+ sw___unregister: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ endpoint: string;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'sw___update-registration': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ endpoint: string;
+ sendReadMessage?: boolean;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ userId: string;
+ endpoint: string;
+ sendReadMessage: boolean;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ test: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ required: boolean;
+ string?: string;
+ /** @default hello */
+ default?: string;
+ /** @default hello */
+ nullableDefault?: string | null;
+ /** Format: misskey:id */
+ id?: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id?: string;
+ required: boolean;
+ string?: string;
+ default?: string;
+ /** @default hello */
+ nullableDefault: string | null;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/reactions
- * @description Show all reactions this user made.
- *
- * **Credential required**: *No*
- */
- users___reactions: {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- /** @default 10 */
- limit?: number;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- sinceDate?: number;
- untilDate?: number;
+ username___available: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ username: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ available: boolean;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['NoteReaction'][];
+ users: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** @default 0 */
+ offset?: number;
+ /** @enum {string} */
+ sort?: '+follower' | '-follower' | '+createdAt' | '-createdAt' | '+updatedAt' | '-updatedAt';
+ /**
+ * @default all
+ * @enum {string}
+ */
+ state?: 'all' | 'alive';
+ /**
+ * @default local
+ * @enum {string}
+ */
+ origin?: 'combined' | 'local' | 'remote';
+ /**
+ * @description The local host is represented with `null`.
+ * @default null
+ */
+ hostname?: string | null;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserDetailed'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ users___achievements: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Achievement'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ users___clips: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Clip'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/recommendation
- * @description Show users that the authenticated user might be interested to follow.
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- users___recommendation: {
- requestBody: {
- content: {
- 'application/json': {
- /** @default 10 */
- limit?: number;
- /** @default 0 */
- offset?: number;
+ 'users___featured-notes': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserDetailed'][];
+ users___flashs: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Flash'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ users___followers: {
+ requestBody: {
+ content: {
+ 'application/json': ({
+ /** Format: misskey:id */
+ userId: string;
+ } | {
+ username: string;
+ /** @description The local host is represented with `null`. */
+ host: string | null;
+ }) & {
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default 10 */
+ limit?: number;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Following'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ users___following: {
+ requestBody: {
+ content: {
+ 'application/json': ({
+ /** Format: misskey:id */
+ userId: string;
+ } | {
+ username: string;
+ /** @description The local host is represented with `null`. */
+ host: string | null;
+ }) & {
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default 10 */
+ limit?: number;
+ birthday?: string | null;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Following'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/relation
- * @description Show the different kinds of relations between the authenticated user and the specified user(s).
- *
- * **Credential required**: *Yes* / **Permission**: *read:account*
- */
- users___relation: {
- requestBody: {
- content: {
- 'application/json': {
- userId: string | string[];
+ users___gallery___posts: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['GalleryPost'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': OneOf<[{
- /** Format: id */
- id: string;
- isFollowing: boolean;
- hasPendingFollowRequestFromYou: boolean;
- hasPendingFollowRequestToYou: boolean;
- isFollowed: boolean;
- isBlocking: boolean;
- isBlocked: boolean;
- isMuted: boolean;
- isRenoteMuted: boolean;
- }, {
- /** Format: id */
- id: string;
- isFollowing: boolean;
- hasPendingFollowRequestFromYou: boolean;
- hasPendingFollowRequestToYou: boolean;
- isFollowed: boolean;
- isBlocking: boolean;
- isBlocked: boolean;
- isMuted: boolean;
- isRenoteMuted: boolean;
- }[]]>;
+ 'users___get-frequently-replied-users': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ /** @default 10 */
+ limit?: number;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ user: components['schemas']['UserDetailed'];
+ weight: number;
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ users___lists___create: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ name: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserList'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'users___lists___create-from-public': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ name: string;
+ /** Format: misskey:id */
+ listId: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserList'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/report-abuse
- * @description File a report.
- *
- * **Credential required**: *Yes* / **Permission**: *write:report-abuse*
- */
- 'users___report-abuse': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- comment: string;
+ users___lists___delete: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ listId: string;
+ };
+ };
};
- };
- };
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ users___lists___favorite: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ listId: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'users___lists___get-memberships': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ listId: string;
+ /** @default false */
+ forPublic?: boolean;
+ /** @default 30 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: misskey:id */
+ userId: string;
+ user: components['schemas']['UserLite'];
+ withReplies: boolean;
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/search
- * @description Search for users.
- *
- * **Credential required**: *No*
- */
- users___search: {
- requestBody: {
- content: {
- 'application/json': {
- query: string;
- /** @default 0 */
- offset?: number;
- /** @default 10 */
- limit?: number;
- /**
- * @default combined
- * @enum {string}
- */
- origin?: 'local' | 'remote' | 'combined';
- /** @default true */
- detail?: boolean;
+ users___lists___list: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId?: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserList'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['User'][];
+ users___lists___pull: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ listId: string;
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ users___lists___push: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ listId: string;
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Too many requests */
+ 429: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ users___lists___show: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ listId: string;
+ /** @default false */
+ forPublic?: boolean;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserList'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/search-by-username-and-host
- * @description Search for a user by username and/or host.
- *
- * **Credential required**: *No*
- */
- 'users___search-by-username-and-host': {
- requestBody: {
- content: {
- 'application/json': (({
- username: string | null;
- }) | ({
- host: string | null;
- })) & {
- /** @default 10 */
- limit?: number;
- /** @default true */
- detail?: boolean;
+ users___lists___unfavorite: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ listId: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['User'][];
+ users___lists___update: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ listId: string;
+ name?: string;
+ isPublic?: boolean;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserList'];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'users___lists___update-membership': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ listId: string;
+ /** Format: misskey:id */
+ userId: string;
+ withReplies?: boolean;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ users___notes: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ /** @default false */
+ withReplies?: boolean;
+ /** @default true */
+ withRenotes?: boolean;
+ /** @default false */
+ withChannelNotes?: boolean;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ sinceDate?: number;
+ untilDate?: number;
+ /** @default false */
+ allowPartial?: boolean;
+ /** @default false */
+ withFiles?: boolean;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Note'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/show
- * @description Show the properties of a user.
- *
- * **Credential required**: *No*
- */
- users___show: {
- requestBody: {
- content: {
- 'application/json': ({
- /** Format: misskey:id */
- userId: string;
- } | {
- userIds: string[];
- } | {
- username: string;
- }) & ({
- /** @description The local host is represented with `null`. */
- host?: string | null;
- });
- };
- };
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': components['schemas']['UserDetailed'] | components['schemas']['UserDetailed'][];
+ users___pages: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Page'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ users___reactions: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ sinceDate?: number;
+ untilDate?: number;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['NoteReaction'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ users___recommendation: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** @default 10 */
+ limit?: number;
+ /** @default 0 */
+ offset?: number;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserDetailed'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * users/update-memo
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *write:account*
- */
- 'users___update-memo': {
- requestBody: {
- content: {
- 'application/json': {
- /** Format: misskey:id */
- userId: string;
- /** @description A personal memo for the target user. If null or empty, delete the memo. */
- memo: string | null;
+ users___relation: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ userId: string | string[];
+ };
+ };
};
- };
- };
- responses: {
- /** @description OK (without any results) */
- 204: {
- content: never;
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ /** Format: id */
+ id: string;
+ isFollowing: boolean;
+ hasPendingFollowRequestFromYou: boolean;
+ hasPendingFollowRequestToYou: boolean;
+ isFollowed: boolean;
+ isBlocking: boolean;
+ isBlocked: boolean;
+ isMuted: boolean;
+ isRenoteMuted: boolean;
+ } | {
+ /** Format: id */
+ id: string;
+ isFollowing: boolean;
+ hasPendingFollowRequestFromYou: boolean;
+ hasPendingFollowRequestToYou: boolean;
+ isFollowed: boolean;
+ isBlocking: boolean;
+ isBlocked: boolean;
+ isMuted: boolean;
+ isRenoteMuted: boolean;
+ }[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'users___report-abuse': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ comment: string;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ users___search: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ query: string;
+ /** @default 0 */
+ offset?: number;
+ /** @default 10 */
+ limit?: number;
+ /**
+ * @default combined
+ * @enum {string}
+ */
+ origin?: 'local' | 'remote' | 'combined';
+ /** @default true */
+ detail?: boolean;
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['User'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
- /**
- * v2/admin/emoji/list
- * @description No description provided.
- *
- * **Credential required**: *Yes* / **Permission**: *read:admin:emoji*
- */
- v2___admin___emoji___list: {
- requestBody: {
- content: {
- 'application/json': {
- query?: ({
- updatedAtFrom?: string;
- updatedAtTo?: string;
- name?: string;
- host?: string;
- uri?: string;
- publicUrl?: string;
- originalUrl?: string;
- type?: string;
- aliases?: string;
- category?: string;
- license?: string;
- isSensitive?: boolean;
- localOnly?: boolean;
- /**
- * @default all
- * @enum {string}
- */
- hostType?: 'local' | 'remote' | 'all';
- roleIds?: string[];
- }) | null;
- /** Format: misskey:id */
- sinceId?: string;
- /** Format: misskey:id */
- untilId?: string;
- /** @default 10 */
- limit?: number;
- page?: number;
- /**
- * @default [
- * "-id"
- * ]
- */
- sortKeys?: ('+id' | '-id' | '+updatedAt' | '-updatedAt' | '+name' | '-name' | '+host' | '-host' | '+uri' | '-uri' | '+publicUrl' | '-publicUrl' | '+type' | '-type' | '+aliases' | '-aliases' | '+category' | '-category' | '+license' | '-license' | '+isSensitive' | '-isSensitive' | '+localOnly' | '-localOnly' | '+roleIdsThatCanBeUsedThisEmojiAsReaction' | '-roleIdsThatCanBeUsedThisEmojiAsReaction')[];
+ 'users___search-by-username-and-host': {
+ requestBody: {
+ content: {
+ 'application/json': ({
+ username: string | null;
+ } | {
+ host: string | null;
+ }) & {
+ /** @default 10 */
+ limit?: number;
+ /** @default true */
+ detail?: boolean;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['User'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- responses: {
- /** @description OK (with results) */
- 200: {
- content: {
- 'application/json': {
- emojis: components['schemas']['EmojiDetailedAdmin'][];
- count: number;
- allCount: number;
- allPages: number;
- };
+ users___show: {
+ requestBody: {
+ content: {
+ 'application/json': ({
+ /** Format: misskey:id */
+ userId: string;
+ } | {
+ userIds: string[];
+ } | {
+ username: string;
+ }) & {
+ /** @description The local host is represented with `null`. */
+ host?: string | null;
+ };
+ };
};
- };
- /** @description Client error */
- 400: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['UserDetailed'] | components['schemas']['UserDetailed'][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description Authentication error */
- 401: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ 'users___update-memo': {
+ requestBody: {
+ content: {
+ 'application/json': {
+ /** Format: misskey:id */
+ userId: string;
+ /** @description A personal memo for the target user. If null or empty, delete the memo. */
+ memo: string | null;
+ };
+ };
};
- };
- /** @description Forbidden error */
- 403: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (without any results) */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
- /** @description I'm Ai */
- 418: {
- content: {
- 'application/json': components['schemas']['Error'];
+ };
+ v2___admin___emoji___list: {
+ requestBody: {
+ content: {
+ 'application/json': {
+ query?: {
+ updatedAtFrom?: string;
+ updatedAtTo?: string;
+ name?: string;
+ host?: string;
+ uri?: string;
+ publicUrl?: string;
+ originalUrl?: string;
+ type?: string;
+ aliases?: string;
+ category?: string;
+ license?: string;
+ isSensitive?: boolean;
+ localOnly?: boolean;
+ /**
+ * @default all
+ * @enum {string}
+ */
+ hostType?: 'local' | 'remote' | 'all';
+ roleIds?: string[];
+ } | null;
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default 10 */
+ limit?: number;
+ page?: number;
+ /** @default [
+ * "-id"
+ * ] */
+ sortKeys?: ('+id' | '-id' | '+updatedAt' | '-updatedAt' | '+name' | '-name' | '+host' | '-host' | '+uri' | '-uri' | '+publicUrl' | '-publicUrl' | '+type' | '-type' | '+aliases' | '-aliases' | '+category' | '-category' | '+license' | '-license' | '+isSensitive' | '-isSensitive' | '+localOnly' | '-localOnly' | '+roleIdsThatCanBeUsedThisEmojiAsReaction' | '-roleIdsThatCanBeUsedThisEmojiAsReaction')[];
+ };
+ };
};
- };
- /** @description Internal server error */
- 500: {
- content: {
- 'application/json': components['schemas']['Error'];
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': {
+ emojis: components['schemas']['EmojiDetailedAdmin'][];
+ count: number;
+ allCount: number;
+ allPages: number;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ 'application/json': components['schemas']['Error'];
+ };
+ };
};
- };
};
- };
-};
+}
diff --git a/packages/misskey-js/src/entities.ts b/packages/misskey-js/src/entities.ts
index ed1d89a685..9bc9aa6668 100644
--- a/packages/misskey-js/src/entities.ts
+++ b/packages/misskey-js/src/entities.ts
@@ -24,10 +24,14 @@ type NonNullableRecord<T> = {
type AllNullRecord<T> = {
[P in keyof T]: null;
};
+type AllNullOrOptionalRecord<T> = {
+ [P in keyof T]: never;
+};
export type PureRenote =
Omit<Note, 'renote' | 'renoteId' | 'reply' | 'replyId' | 'text' | 'cw' | 'files' | 'fileIds' | 'poll'>
- & AllNullRecord<Pick<Note, 'reply' | 'replyId' | 'text' | 'cw' | 'poll'>>
+ & AllNullRecord<Pick<Note, 'text'>>
+ & AllNullOrOptionalRecord<Pick<Note, 'reply' | 'replyId' | 'cw' | 'poll'>>
& { files: []; fileIds: []; }
& NonNullableRecord<Pick<Note, 'renote' | 'renoteId'>>;