From a1786020afbfd974b2d52169905d65b43f53e1e3 Mon Sep 17 00:00:00 2001
From: osamu <46447427+sam-osamu@users.noreply.github.com>
Date: Mon, 27 Nov 2023 07:57:51 +0900
Subject: [PATCH] =?UTF-8?q?=E9=83=BD=E5=BA=A6=E8=87=AA=E5=8B=95=E7=94=9F?=
=?UTF-8?q?=E6=88=90=E3=82=92=E3=82=84=E3=82=81=E3=82=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
packages/misskey-js/.gitignore | 2 +-
packages/misskey-js/api.json | 1 -
packages/misskey-js/package.json | 2 +-
packages/misskey-js/src/autogen/endpoint.ts | 797 +
packages/misskey-js/src/autogen/entities.ts | 473 +
packages/misskey-js/src/autogen/meta.json | 1 +
packages/misskey-js/src/autogen/models.ts | 34 +
packages/misskey-js/src/autogen/types.ts | 22552 ++++++++++++++++++
packages/misskey-js/src/generator.ts | 6 +
9 files changed, 23865 insertions(+), 3 deletions(-)
delete mode 100644 packages/misskey-js/api.json
create mode 100644 packages/misskey-js/src/autogen/endpoint.ts
create mode 100644 packages/misskey-js/src/autogen/entities.ts
create mode 100644 packages/misskey-js/src/autogen/meta.json
create mode 100644 packages/misskey-js/src/autogen/models.ts
create mode 100644 packages/misskey-js/src/autogen/types.ts
diff --git a/packages/misskey-js/.gitignore b/packages/misskey-js/.gitignore
index 8e151b45ed..1a11577de7 100644
--- a/packages/misskey-js/.gitignore
+++ b/packages/misskey-js/.gitignore
@@ -1 +1 @@
-src/autogen
+api.json
diff --git a/packages/misskey-js/api.json b/packages/misskey-js/api.json
deleted file mode 100644
index afd0c73c87..0000000000
--- a/packages/misskey-js/api.json
+++ /dev/null
@@ -1 +0,0 @@
-{"openapi":"3.0.0","info":{"version":"2023.11.1","title":"Misskey API","x-logo":{"url":"/static-assets/api-doc.png"}},"externalDocs":{"description":"Repository","url":"https://github.com/misskey-dev/misskey"},"servers":[{"url":"http://localhost:3000/api"}],"paths":{"/admin/meta":{"post":{"operationId":"admin/meta","summary":"admin/meta","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/meta.ts"},"tags":["meta"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"cacheRemoteFiles":{"type":"boolean","nullable":false},"cacheRemoteSensitiveFiles":{"type":"boolean","nullable":false},"emailRequiredForSignup":{"type":"boolean","nullable":false},"enableHcaptcha":{"type":"boolean","nullable":false},"hcaptchaSiteKey":{"type":"string","nullable":true},"enableRecaptcha":{"type":"boolean","nullable":false},"recaptchaSiteKey":{"type":"string","nullable":true},"enableTurnstile":{"type":"boolean","nullable":false},"turnstileSiteKey":{"type":"string","nullable":true},"swPublickey":{"type":"string","nullable":true},"mascotImageUrl":{"type":"string","nullable":true,"default":"/assets/ai.png"},"bannerUrl":{"type":"string","nullable":true},"serverErrorImageUrl":{"type":"string","nullable":true},"infoImageUrl":{"type":"string","nullable":true},"notFoundImageUrl":{"type":"string","nullable":true},"iconUrl":{"type":"string","nullable":true},"app192IconUrl":{"type":"string","nullable":true},"app512IconUrl":{"type":"string","nullable":true},"enableEmail":{"type":"boolean","nullable":false},"enableServiceWorker":{"type":"boolean","nullable":false},"translatorAvailable":{"type":"boolean","nullable":false},"silencedHosts":{"type":"array","nullable":false,"items":{"type":"string","nullable":false}},"pinnedUsers":{"type":"array","nullable":false,"items":{"type":"string"}},"hiddenTags":{"type":"array","nullable":false,"items":{"type":"string"}},"blockedHosts":{"type":"array","nullable":false,"items":{"type":"string"}},"sensitiveWords":{"type":"array","nullable":false,"items":{"type":"string"}},"preservedUsernames":{"type":"array","nullable":false,"items":{"type":"string"}},"hcaptchaSecretKey":{"type":"string","nullable":true},"recaptchaSecretKey":{"type":"string","nullable":true},"turnstileSecretKey":{"type":"string","nullable":true},"sensitiveMediaDetection":{"type":"string","nullable":false},"sensitiveMediaDetectionSensitivity":{"type":"string","nullable":false},"setSensitiveFlagAutomatically":{"type":"boolean","nullable":false},"enableSensitiveMediaDetectionForVideos":{"type":"boolean","nullable":false},"proxyAccountId":{"type":"string","nullable":true,"format":"id"},"email":{"type":"string","nullable":true},"smtpSecure":{"type":"boolean","nullable":false},"smtpHost":{"type":"string","nullable":true},"smtpPort":{"type":"number","nullable":true},"smtpUser":{"type":"string","nullable":true},"smtpPass":{"type":"string","nullable":true},"swPrivateKey":{"type":"string","nullable":true},"useObjectStorage":{"type":"boolean","nullable":false},"objectStorageBaseUrl":{"type":"string","nullable":true},"objectStorageBucket":{"type":"string","nullable":true},"objectStoragePrefix":{"type":"string","nullable":true},"objectStorageEndpoint":{"type":"string","nullable":true},"objectStorageRegion":{"type":"string","nullable":true},"objectStoragePort":{"type":"number","nullable":true},"objectStorageAccessKey":{"type":"string","nullable":true},"objectStorageSecretKey":{"type":"string","nullable":true},"objectStorageUseSSL":{"type":"boolean","nullable":false},"objectStorageUseProxy":{"type":"boolean","nullable":false},"objectStorageSetPublicRead":{"type":"boolean","nullable":false},"enableIpLogging":{"type":"boolean","nullable":false},"enableActiveEmailValidation":{"type":"boolean","nullable":false},"enableVerifymailApi":{"type":"boolean","nullable":false},"verifymailAuthKey":{"type":"string","nullable":true},"enableChartsForRemoteUser":{"type":"boolean","nullable":false},"enableChartsForFederatedInstances":{"type":"boolean","nullable":false},"enableServerMachineStats":{"type":"boolean","nullable":false},"enableIdenticonGeneration":{"type":"boolean","nullable":false},"manifestJsonOverride":{"type":"string","nullable":false},"policies":{"type":"object","nullable":false},"enableFanoutTimeline":{"type":"boolean","nullable":false},"enableFanoutTimelineDbFallback":{"type":"boolean","nullable":false},"perLocalUserUserTimelineCacheMax":{"type":"number","nullable":false},"perRemoteUserUserTimelineCacheMax":{"type":"number","nullable":false},"perUserHomeTimelineCacheMax":{"type":"number","nullable":false},"perUserListTimelineCacheMax":{"type":"number","nullable":false},"notesPerOneAd":{"type":"number","nullable":false},"backgroundImageUrl":{"type":"string","nullable":true},"deeplAuthKey":{"type":"string","nullable":true},"deeplIsPro":{"type":"boolean","nullable":false},"defaultDarkTheme":{"type":"string","nullable":true},"defaultLightTheme":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"disableRegistration":{"type":"boolean","nullable":false},"impressumUrl":{"type":"string","nullable":true},"maintainerEmail":{"type":"string","nullable":true},"maintainerName":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"objectStorageS3ForcePathStyle":{"type":"boolean","nullable":false},"privacyPolicyUrl":{"type":"string","nullable":true},"repositoryUrl":{"type":"string","nullable":false},"summalyProxy":{"type":"string","nullable":true},"themeColor":{"type":"string","nullable":true},"tosUrl":{"type":"string","nullable":true},"uri":{"type":"string","nullable":false},"version":{"type":"string","nullable":false}},"required":["cacheRemoteFiles","cacheRemoteSensitiveFiles","emailRequiredForSignup","enableHcaptcha","hcaptchaSiteKey","enableRecaptcha","recaptchaSiteKey","enableTurnstile","turnstileSiteKey","swPublickey","mascotImageUrl","bannerUrl","serverErrorImageUrl","infoImageUrl","notFoundImageUrl","iconUrl","app192IconUrl","app512IconUrl","enableEmail","enableServiceWorker","translatorAvailable","pinnedUsers","hiddenTags","blockedHosts","sensitiveWords","preservedUsernames","hcaptchaSecretKey","recaptchaSecretKey","turnstileSecretKey","sensitiveMediaDetection","sensitiveMediaDetectionSensitivity","setSensitiveFlagAutomatically","enableSensitiveMediaDetectionForVideos","proxyAccountId","email","smtpSecure","smtpHost","smtpPort","smtpUser","smtpPass","swPrivateKey","useObjectStorage","objectStorageBaseUrl","objectStorageBucket","objectStoragePrefix","objectStorageEndpoint","objectStorageRegion","objectStoragePort","objectStorageAccessKey","objectStorageSecretKey","objectStorageUseSSL","objectStorageUseProxy","objectStorageSetPublicRead","enableIpLogging","enableActiveEmailValidation","enableVerifymailApi","verifymailAuthKey","enableChartsForRemoteUser","enableChartsForFederatedInstances","enableServerMachineStats","enableIdenticonGeneration","manifestJsonOverride","policies","enableFanoutTimeline","enableFanoutTimelineDbFallback","perLocalUserUserTimelineCacheMax","perRemoteUserUserTimelineCacheMax","perUserHomeTimelineCacheMax","perUserListTimelineCacheMax","notesPerOneAd","backgroundImageUrl","deeplAuthKey","deeplIsPro","defaultDarkTheme","defaultLightTheme","description","disableRegistration","impressumUrl","maintainerEmail","maintainerName","name","objectStorageS3ForcePathStyle","privacyPolicyUrl","repositoryUrl","summalyProxy","themeColor","tosUrl","uri","version"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/abuse-user-reports":{"post":{"operationId":"admin/abuse-user-reports","summary":"admin/abuse-user-reports","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/abuse-user-reports.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"state":{"type":"string","nullable":true,"default":null},"reporterOrigin":{"type":"string","enum":["combined","local","remote"],"default":"combined"},"targetUserOrigin":{"type":"string","enum":["combined","local","remote"],"default":"combined"},"forwarded":{"type":"boolean","default":false}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"comment":{"type":"string","nullable":false},"resolved":{"type":"boolean","nullable":false,"example":false},"reporterId":{"type":"string","nullable":false,"format":"id"},"targetUserId":{"type":"string","nullable":false,"format":"id"},"assigneeId":{"type":"string","nullable":true,"format":"id"},"reporter":{"type":"object","nullable":false,"$ref":"#/components/schemas/User"},"targetUser":{"type":"object","nullable":false,"$ref":"#/components/schemas/User"},"assignee":{"type":"object","nullable":true,"allOf":[{"$ref":"#/components/schemas/User"}]}},"required":["id","createdAt","comment","resolved","reporterId","targetUserId","assigneeId","reporter","targetUser"]}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/accounts/create":{"post":{"operationId":"admin/accounts/create","summary":"admin/accounts/create","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/accounts/create.ts"},"tags":["admin"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"username":{"type":"string","pattern":"^\\w{1,20}$"},"password":{"type":"string","minLength":1}},"required":["username","password"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"token":{"type":"string","nullable":false}},"required":["token"],"$ref":"#/components/schemas/User"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/accounts/delete":{"post":{"operationId":"admin/accounts/delete","summary":"admin/accounts/delete","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/accounts/delete.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/accounts/find-by-email":{"post":{"operationId":"admin/accounts/find-by-email","summary":"admin/accounts/find-by-email","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/accounts/find-by-email.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"}},"required":["email"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"USER_NOT_FOUND":{"value":{"error":{"message":"No such user who has the email address.","code":"USER_NOT_FOUND","id":"cb865949-8af5-4062-a88c-ef55e8786d1d"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/ad/create":{"post":{"operationId":"admin/ad/create","summary":"admin/ad/create","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/ad/create.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","minLength":1},"memo":{"type":"string"},"place":{"type":"string"},"priority":{"type":"string"},"ratio":{"type":"integer"},"expiresAt":{"type":"integer"},"startsAt":{"type":"integer"},"imageUrl":{"type":"string","minLength":1},"dayOfWeek":{"type":"integer"}},"required":["url","memo","place","priority","ratio","expiresAt","startsAt","imageUrl","dayOfWeek"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/ad/delete":{"post":{"operationId":"admin/ad/delete","summary":"admin/ad/delete","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/ad/delete.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"misskey:id"}},"required":["id"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_AD":{"value":{"error":{"message":"No such ad.","code":"NO_SUCH_AD","id":"ccac9863-3a03-416e-b899-8a64041118b1"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/ad/list":{"post":{"operationId":"admin/ad/list","summary":"admin/ad/list","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/ad/list.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"publishing":{"type":"boolean","default":null,"nullable":true}}}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/ad/update":{"post":{"operationId":"admin/ad/update","summary":"admin/ad/update","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/ad/update.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"misskey:id"},"memo":{"type":"string"},"url":{"type":"string","minLength":1},"imageUrl":{"type":"string","minLength":1},"place":{"type":"string"},"priority":{"type":"string"},"ratio":{"type":"integer"},"expiresAt":{"type":"integer"},"startsAt":{"type":"integer"},"dayOfWeek":{"type":"integer"}},"required":["id","memo","url","imageUrl","place","priority","ratio","expiresAt","startsAt","dayOfWeek"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_AD":{"value":{"error":{"message":"No such ad.","code":"NO_SUCH_AD","id":"b7aa1727-1354-47bc-a182-3a9c3973d300"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/announcements/create":{"post":{"operationId":"admin/announcements/create","summary":"admin/announcements/create","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/announcements/create.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1},"text":{"type":"string","minLength":1},"imageUrl":{"type":"string","nullable":true,"minLength":1},"icon":{"type":"string","enum":["info","warning","error","success"],"default":"info"},"display":{"type":"string","enum":["normal","banner","dialog"],"default":"normal"},"forExistingUsers":{"type":"boolean","default":false},"silence":{"type":"boolean","default":false},"needConfirmationToRead":{"type":"boolean","default":false},"userId":{"type":"string","format":"misskey:id","nullable":true,"default":null}},"required":["title","text","imageUrl"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"title":{"type":"string","nullable":false},"text":{"type":"string","nullable":false},"imageUrl":{"type":"string","nullable":true}},"required":["id","createdAt","updatedAt","title","text","imageUrl"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/announcements/delete":{"post":{"operationId":"admin/announcements/delete","summary":"admin/announcements/delete","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/announcements/delete.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"misskey:id"}},"required":["id"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_ANNOUNCEMENT":{"value":{"error":{"message":"No such announcement.","code":"NO_SUCH_ANNOUNCEMENT","id":"ecad8040-a276-4e85-bda9-015a708d291e"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/announcements/list":{"post":{"operationId":"admin/announcements/list","summary":"admin/announcements/list","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/announcements/list.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"userId":{"type":"string","format":"misskey:id","nullable":true}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"text":{"type":"string","nullable":false},"title":{"type":"string","nullable":false},"imageUrl":{"type":"string","nullable":true},"reads":{"type":"number","nullable":false}},"required":["id","createdAt","updatedAt","text","title","imageUrl","reads"]}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/announcements/update":{"post":{"operationId":"admin/announcements/update","summary":"admin/announcements/update","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/announcements/update.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"misskey:id"},"title":{"type":"string","minLength":1},"text":{"type":"string","minLength":1},"imageUrl":{"type":"string","nullable":true,"minLength":0},"icon":{"type":"string","enum":["info","warning","error","success"]},"display":{"type":"string","enum":["normal","banner","dialog"]},"forExistingUsers":{"type":"boolean"},"silence":{"type":"boolean"},"needConfirmationToRead":{"type":"boolean"},"isActive":{"type":"boolean"}},"required":["id"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_ANNOUNCEMENT":{"value":{"error":{"message":"No such announcement.","code":"NO_SUCH_ANNOUNCEMENT","id":"d3aae5a7-6372-4cb4-b61c-f511ffc2d7cc"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/avatar-decorations/create":{"post":{"operationId":"admin/avatar-decorations/create","summary":"admin/avatar-decorations/create","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/avatar-decorations/create.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"description":{"type":"string"},"url":{"type":"string","minLength":1},"roleIdsThatCanBeUsedThisDecoration":{"type":"array","items":{"type":"string"}}},"required":["name","description","url"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/avatar-decorations/delete":{"post":{"operationId":"admin/avatar-decorations/delete","summary":"admin/avatar-decorations/delete","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/avatar-decorations/delete.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"misskey:id"}},"required":["id"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/avatar-decorations/list":{"post":{"operationId":"admin/avatar-decorations/list","summary":"admin/avatar-decorations/list","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/avatar-decorations/list.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"userId":{"type":"string","format":"misskey:id","nullable":true}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"name":{"type":"string","nullable":false},"description":{"type":"string","nullable":false},"url":{"type":"string","nullable":false},"roleIdsThatCanBeUsedThisDecoration":{"type":"array","nullable":false,"items":{"type":"string","nullable":false,"format":"id"}}},"required":["id","createdAt","updatedAt","name","description","url","roleIdsThatCanBeUsedThisDecoration"]}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/avatar-decorations/update":{"post":{"operationId":"admin/avatar-decorations/update","summary":"admin/avatar-decorations/update","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/avatar-decorations/update.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"misskey:id"},"name":{"type":"string","minLength":1},"description":{"type":"string"},"url":{"type":"string","minLength":1},"roleIdsThatCanBeUsedThisDecoration":{"type":"array","items":{"type":"string"}}},"required":["id"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/delete-all-files-of-a-user":{"post":{"operationId":"admin/delete-all-files-of-a-user","summary":"admin/delete-all-files-of-a-user","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/delete-all-files-of-a-user.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/unset-user-avatar":{"post":{"operationId":"admin/unset-user-avatar","summary":"admin/unset-user-avatar","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/unset-user-avatar.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/unset-user-banner":{"post":{"operationId":"admin/unset-user-banner","summary":"admin/unset-user-banner","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/unset-user-banner.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/drive/clean-remote-files":{"post":{"operationId":"admin/drive/clean-remote-files","summary":"admin/drive/clean-remote-files","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/drive/clean-remote-files.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/drive/cleanup":{"post":{"operationId":"admin/drive/cleanup","summary":"admin/drive/cleanup","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/drive/cleanup.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/drive/files":{"post":{"operationId":"admin/drive/files","summary":"admin/drive/files","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/drive/files.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"userId":{"type":"string","format":"misskey:id","nullable":true},"type":{"type":"string","nullable":true,"pattern":"^[a-zA-Z0-9\\/\\-*]+$"},"origin":{"type":"string","enum":["combined","local","remote"],"default":"local"},"hostname":{"type":"string","nullable":true,"default":null,"description":"The local host is represented with `null`."}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/DriveFile"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/drive/show-file":{"post":{"operationId":"admin/drive/show-file","summary":"admin/drive/show-file","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/drive/show-file.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"fileId":{"type":"string","format":"misskey:id"},"url":{"type":"string"}},"anyOf":[{"required":["fileId"]},{"required":["url"]}]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"userId":{"type":"string","nullable":true,"format":"id","example":"xxxxxxxxxx"},"userHost":{"type":"string","nullable":true,"description":"The local host is represented with `null`."},"md5":{"type":"string","nullable":false,"format":"md5","example":"15eca7fba0480996e2245f5185bf39f2"},"name":{"type":"string","nullable":false,"example":"lenna.jpg"},"type":{"type":"string","nullable":false,"example":"image/jpeg"},"size":{"type":"number","nullable":false,"example":51469},"comment":{"type":"string","nullable":true},"blurhash":{"type":"string","nullable":true},"properties":{"type":"object","nullable":false},"storedInternal":{"type":"boolean","nullable":true,"example":true},"url":{"type":"string","nullable":true,"format":"url"},"thumbnailUrl":{"type":"string","nullable":true,"format":"url"},"webpublicUrl":{"type":"string","nullable":true,"format":"url"},"accessKey":{"type":"string","nullable":true},"thumbnailAccessKey":{"type":"string","nullable":true},"webpublicAccessKey":{"type":"string","nullable":true},"uri":{"type":"string","nullable":true},"src":{"type":"string","nullable":true},"folderId":{"type":"string","nullable":true,"format":"id","example":"xxxxxxxxxx"},"isSensitive":{"type":"boolean","nullable":false},"isLink":{"type":"boolean","nullable":false}},"required":["id","createdAt","userId","userHost","md5","name","type","size","comment","blurhash","properties","storedInternal","url","thumbnailUrl","webpublicUrl","accessKey","thumbnailAccessKey","webpublicAccessKey","uri","src","folderId","isSensitive","isLink"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_FILE":{"value":{"error":{"message":"No such file.","code":"NO_SUCH_FILE","id":"caf3ca38-c6e5-472e-a30c-b05377dcc240"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/emoji/add-aliases-bulk":{"post":{"operationId":"admin/emoji/add-aliases-bulk","summary":"admin/emoji/add-aliases-bulk","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/emoji/add-aliases-bulk.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","format":"misskey:id"}},"aliases":{"type":"array","items":{"type":"string"}}},"required":["ids","aliases"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/emoji/add":{"post":{"operationId":"admin/emoji/add","summary":"admin/emoji/add","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/emoji/add.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","pattern":"^[a-zA-Z0-9_]+$"},"fileId":{"type":"string","format":"misskey:id"},"category":{"type":"string","nullable":true,"description":"Use `null` to reset the category."},"aliases":{"type":"array","items":{"type":"string"}},"license":{"type":"string","nullable":true},"isSensitive":{"type":"boolean"},"localOnly":{"type":"boolean"},"roleIdsThatCanBeUsedThisEmojiAsReaction":{"type":"array","items":{"type":"string"}}},"required":["name","fileId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_FILE":{"value":{"error":{"message":"No such file.","code":"NO_SUCH_FILE","id":"fc46b5a4-6b92-4c33-ac66-b806659bb5cf"}}},"DUPLICATE_NAME":{"value":{"error":{"message":"Duplicate name.","code":"DUPLICATE_NAME","id":"f7a3462c-4e6e-4069-8421-b9bd4f4c3975"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/emoji/copy":{"post":{"operationId":"admin/emoji/copy","summary":"admin/emoji/copy","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/emoji/copy.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"emojiId":{"type":"string","format":"misskey:id"}},"required":["emojiId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"id":{"type":"string","nullable":false,"format":"id"}},"required":["id"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_EMOJI":{"value":{"error":{"message":"No such emoji.","code":"NO_SUCH_EMOJI","id":"e2785b66-dca3-4087-9cac-b93c541cc425"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/emoji/delete-bulk":{"post":{"operationId":"admin/emoji/delete-bulk","summary":"admin/emoji/delete-bulk","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/emoji/delete-bulk.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","format":"misskey:id"}}},"required":["ids"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/emoji/delete":{"post":{"operationId":"admin/emoji/delete","summary":"admin/emoji/delete","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/emoji/delete.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"misskey:id"}},"required":["id"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_EMOJI":{"value":{"error":{"message":"No such emoji.","code":"NO_SUCH_EMOJI","id":"be83669b-773a-44b7-b1f8-e5e5170ac3c2"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/emoji/list-remote":{"post":{"operationId":"admin/emoji/list-remote","summary":"admin/emoji/list-remote","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/emoji/list-remote.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","nullable":true,"default":null},"host":{"type":"string","nullable":true,"default":null,"description":"Use `null` to represent the local host."},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"properties":{"id":{"type":"string","nullable":false,"format":"id"},"aliases":{"type":"array","nullable":false,"items":{"type":"string","nullable":false}},"name":{"type":"string","nullable":false},"category":{"type":"string","nullable":true},"host":{"type":"string","nullable":true,"description":"The local host is represented with `null`."},"url":{"type":"string","nullable":false}},"required":["id","aliases","name","category","host","url"]}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/emoji/list":{"post":{"operationId":"admin/emoji/list","summary":"admin/emoji/list","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/emoji/list.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","nullable":true,"default":null},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"properties":{"id":{"type":"string","nullable":false,"format":"id"},"aliases":{"type":"array","nullable":false,"items":{"type":"string","nullable":false}},"name":{"type":"string","nullable":false},"category":{"type":"string","nullable":true},"host":{"type":"string","nullable":true,"description":"The local host is represented with `null`. The field exists for compatibility with other API endpoints that return files."},"url":{"type":"string","nullable":false}},"required":["id","aliases","name","category","host","url"]}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/emoji/remove-aliases-bulk":{"post":{"operationId":"admin/emoji/remove-aliases-bulk","summary":"admin/emoji/remove-aliases-bulk","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/emoji/remove-aliases-bulk.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","format":"misskey:id"}},"aliases":{"type":"array","items":{"type":"string"}}},"required":["ids","aliases"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/emoji/set-aliases-bulk":{"post":{"operationId":"admin/emoji/set-aliases-bulk","summary":"admin/emoji/set-aliases-bulk","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/emoji/set-aliases-bulk.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","format":"misskey:id"}},"aliases":{"type":"array","items":{"type":"string"}}},"required":["ids","aliases"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/emoji/set-category-bulk":{"post":{"operationId":"admin/emoji/set-category-bulk","summary":"admin/emoji/set-category-bulk","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/emoji/set-category-bulk.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","format":"misskey:id"}},"category":{"type":"string","nullable":true,"description":"Use `null` to reset the category."}},"required":["ids"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/emoji/set-license-bulk":{"post":{"operationId":"admin/emoji/set-license-bulk","summary":"admin/emoji/set-license-bulk","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/emoji/set-license-bulk.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","format":"misskey:id"}},"license":{"type":"string","nullable":true,"description":"Use `null` to reset the license."}},"required":["ids"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/emoji/update":{"post":{"operationId":"admin/emoji/update","summary":"admin/emoji/update","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/emoji/update.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"misskey:id"},"name":{"type":"string","pattern":"^[a-zA-Z0-9_]+$"},"fileId":{"type":"string","format":"misskey:id"},"category":{"type":"string","nullable":true,"description":"Use `null` to reset the category."},"aliases":{"type":"array","items":{"type":"string"}},"license":{"type":"string","nullable":true},"isSensitive":{"type":"boolean"},"localOnly":{"type":"boolean"},"roleIdsThatCanBeUsedThisEmojiAsReaction":{"type":"array","items":{"type":"string"}}},"required":["id","name","aliases"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_EMOJI":{"value":{"error":{"message":"No such emoji.","code":"NO_SUCH_EMOJI","id":"684dec9d-a8c2-4364-9aa8-456c49cb1dc8"}}},"NO_SUCH_FILE":{"value":{"error":{"message":"No such file.","code":"NO_SUCH_FILE","id":"14fb9fd9-0731-4e2f-aeb9-f09e4740333d"}}},"SAME_NAME_EMOJI_EXISTS":{"value":{"error":{"message":"Emoji that have same name already exists.","code":"SAME_NAME_EMOJI_EXISTS","id":"7180fe9d-1ee3-bff9-647d-fe9896d2ffb8"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/federation/delete-all-files":{"post":{"operationId":"admin/federation/delete-all-files","summary":"admin/federation/delete-all-files","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/federation/delete-all-files.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"host":{"type":"string"}},"required":["host"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/federation/refresh-remote-instance-metadata":{"post":{"operationId":"admin/federation/refresh-remote-instance-metadata","summary":"admin/federation/refresh-remote-instance-metadata","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/federation/refresh-remote-instance-metadata.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"host":{"type":"string"}},"required":["host"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/federation/remove-all-following":{"post":{"operationId":"admin/federation/remove-all-following","summary":"admin/federation/remove-all-following","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/federation/remove-all-following.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"host":{"type":"string"}},"required":["host"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/federation/update-instance":{"post":{"operationId":"admin/federation/update-instance","summary":"admin/federation/update-instance","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/federation/update-instance.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"host":{"type":"string"},"isSuspended":{"type":"boolean"}},"required":["host","isSuspended"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/get-index-stats":{"post":{"operationId":"admin/get-index-stats","summary":"admin/get-index-stats","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/get-index-stats.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/get-table-stats":{"post":{"operationId":"admin/get-table-stats","summary":"admin/get-table-stats","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/get-table-stats.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"example":{"migrations":{"count":66,"size":32768}}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/get-user-ips":{"post":{"operationId":"admin/get-user-ips","summary":"admin/get-user-ips","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/get-user-ips.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/invite/create":{"post":{"operationId":"admin/invite/create","summary":"admin/invite/create","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/invite/create.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","minimum":1,"maximum":100,"default":1},"expiresAt":{"type":"string","nullable":true}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"properties":{"code":{"type":"string","nullable":false,"example":"GR6S02ERUA5VR"}},"required":["code"]}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_DATE_TIME":{"value":{"error":{"message":"Invalid date-time format","code":"INVALID_DATE_TIME","id":"f1380b15-3760-4c6c-a1db-5c3aaf1cbd49"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/invite/list":{"post":{"operationId":"admin/invite/list","summary":"admin/invite/list","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/invite/list.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":30},"offset":{"type":"integer","default":0},"type":{"type":"string","enum":["unused","used","expired","all"],"default":"all"},"sort":{"type":"string","enum":["+createdAt","-createdAt","+usedAt","-usedAt"]}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/promo/create":{"post":{"operationId":"admin/promo/create","summary":"admin/promo/create","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/promo/create.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"},"expiresAt":{"type":"integer"}},"required":["noteId","expiresAt"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"ee449fbe-af2a-453b-9cae-cf2fe7c895fc"}}},"ALREADY_PROMOTED":{"value":{"error":{"message":"The note has already promoted.","code":"ALREADY_PROMOTED","id":"ae427aa2-7a41-484f-a18c-2c1104051604"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/queue/clear":{"post":{"operationId":"admin/queue/clear","summary":"admin/queue/clear","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/queue/clear.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/queue/deliver-delayed":{"post":{"operationId":"admin/queue/deliver-delayed","summary":"admin/queue/deliver-delayed","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/queue/deliver-delayed.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"array","nullable":false,"items":{"anyOf":[{"type":"string"},{"type":"number"}]}},"example":[["example.com",12]]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/queue/inbox-delayed":{"post":{"operationId":"admin/queue/inbox-delayed","summary":"admin/queue/inbox-delayed","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/queue/inbox-delayed.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"array","nullable":false,"items":{"anyOf":[{"type":"string"},{"type":"number"}]}},"example":[["example.com",12]]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/queue/promote":{"post":{"operationId":"admin/queue/promote","summary":"admin/queue/promote","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/queue/promote.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["deliver","inbox"]}},"required":["type"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/queue/stats":{"post":{"operationId":"admin/queue/stats","summary":"admin/queue/stats","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/queue/stats.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"deliver":{"nullable":false,"$ref":"#/components/schemas/QueueCount"},"inbox":{"nullable":false,"$ref":"#/components/schemas/QueueCount"},"db":{"nullable":false,"$ref":"#/components/schemas/QueueCount"},"objectStorage":{"nullable":false,"$ref":"#/components/schemas/QueueCount"}},"required":["deliver","inbox","db","objectStorage"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/relays/add":{"post":{"operationId":"admin/relays/add","summary":"admin/relays/add","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/relays/add.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"inbox":{"type":"string"}},"required":["inbox"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"id":{"type":"string","nullable":false,"format":"id"},"inbox":{"type":"string","nullable":false,"format":"url"},"status":{"type":"string","nullable":false,"default":"requesting","enum":["requesting","accepted","rejected"]}},"required":["id","inbox","status"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_URL":{"value":{"error":{"message":"Invalid URL","code":"INVALID_URL","id":"fb8c92d3-d4e5-44e7-b3d4-800d5cef8b2c"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/relays/list":{"post":{"operationId":"admin/relays/list","summary":"admin/relays/list","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/relays/list.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"properties":{"id":{"type":"string","nullable":false,"format":"id"},"inbox":{"type":"string","nullable":false,"format":"url"},"status":{"type":"string","nullable":false,"default":"requesting","enum":["requesting","accepted","rejected"]}},"required":["id","inbox","status"]}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/relays/remove":{"post":{"operationId":"admin/relays/remove","summary":"admin/relays/remove","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/relays/remove.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"inbox":{"type":"string"}},"required":["inbox"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/reset-password":{"post":{"operationId":"admin/reset-password","summary":"admin/reset-password","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/reset-password.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"password":{"type":"string","nullable":false,"minLength":8,"maxLength":8}},"required":["password"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/resolve-abuse-user-report":{"post":{"operationId":"admin/resolve-abuse-user-report","summary":"admin/resolve-abuse-user-report","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/resolve-abuse-user-report.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reportId":{"type":"string","format":"misskey:id"},"forward":{"type":"boolean","default":false}},"required":["reportId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/send-email":{"post":{"operationId":"admin/send-email","summary":"admin/send-email","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/send-email.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"to":{"type":"string"},"subject":{"type":"string"},"text":{"type":"string"}},"required":["to","subject","text"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/server-info":{"post":{"operationId":"admin/server-info","summary":"admin/server-info","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/server-info.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"machine":{"type":"string","nullable":false},"os":{"type":"string","nullable":false,"example":"linux"},"node":{"type":"string","nullable":false},"psql":{"type":"string","nullable":false},"cpu":{"type":"object","nullable":false,"properties":{"model":{"type":"string","nullable":false},"cores":{"type":"number","nullable":false}},"required":["model","cores"]},"mem":{"type":"object","nullable":false,"properties":{"total":{"type":"number","nullable":false,"format":"bytes"}},"required":["total"]},"fs":{"type":"object","nullable":false,"properties":{"total":{"type":"number","nullable":false,"format":"bytes"},"used":{"type":"number","nullable":false,"format":"bytes"}},"required":["total","used"]},"net":{"type":"object","nullable":false,"properties":{"interface":{"type":"string","nullable":false,"example":"eth0"}},"required":["interface"]}},"required":["machine","os","node","psql","cpu","mem","fs","net"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/show-moderation-logs":{"post":{"operationId":"admin/show-moderation-logs","summary":"admin/show-moderation-logs","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/show-moderation-logs.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"type":{"type":"string","nullable":true},"userId":{"type":"string","format":"misskey:id","nullable":true}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"properties":{"id":{"type":"string","nullable":false,"format":"id"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"type":{"type":"string","nullable":false},"info":{"type":"object","nullable":false},"userId":{"type":"string","nullable":false,"format":"id"},"user":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserDetailed"}},"required":["id","createdAt","type","info","userId","user"]}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/show-user":{"post":{"operationId":"admin/show-user","summary":"admin/show-user","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/show-user.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/show-users":{"post":{"operationId":"admin/show-users","summary":"admin/show-users","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/show-users.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"offset":{"type":"integer","default":0},"sort":{"type":"string","enum":["+follower","-follower","+createdAt","-createdAt","+updatedAt","-updatedAt","+lastActiveDate","-lastActiveDate"]},"state":{"type":"string","enum":["all","alive","available","admin","moderator","adminOrModerator","suspended"],"default":"all"},"origin":{"type":"string","enum":["combined","local","remote"],"default":"combined"},"username":{"type":"string","nullable":true,"default":null},"hostname":{"type":"string","nullable":true,"default":null,"description":"The local host is represented with `null`."}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserDetailed"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/suspend-user":{"post":{"operationId":"admin/suspend-user","summary":"admin/suspend-user","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/suspend-user.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/unsuspend-user":{"post":{"operationId":"admin/unsuspend-user","summary":"admin/unsuspend-user","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/unsuspend-user.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/update-meta":{"post":{"operationId":"admin/update-meta","summary":"admin/update-meta","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/update-meta.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"disableRegistration":{"type":"boolean","nullable":true},"pinnedUsers":{"type":"array","nullable":true,"items":{"type":"string"}},"hiddenTags":{"type":"array","nullable":true,"items":{"type":"string"}},"blockedHosts":{"type":"array","nullable":true,"items":{"type":"string"}},"sensitiveWords":{"type":"array","nullable":true,"items":{"type":"string"}},"themeColor":{"type":"string","nullable":true,"pattern":"^#[0-9a-fA-F]{6}$"},"mascotImageUrl":{"type":"string","nullable":true},"bannerUrl":{"type":"string","nullable":true},"serverErrorImageUrl":{"type":"string","nullable":true},"infoImageUrl":{"type":"string","nullable":true},"notFoundImageUrl":{"type":"string","nullable":true},"iconUrl":{"type":"string","nullable":true},"app192IconUrl":{"type":"string","nullable":true},"app512IconUrl":{"type":"string","nullable":true},"backgroundImageUrl":{"type":"string","nullable":true},"logoImageUrl":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"shortName":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"defaultLightTheme":{"type":"string","nullable":true},"defaultDarkTheme":{"type":"string","nullable":true},"cacheRemoteFiles":{"type":"boolean"},"cacheRemoteSensitiveFiles":{"type":"boolean"},"emailRequiredForSignup":{"type":"boolean"},"enableHcaptcha":{"type":"boolean"},"hcaptchaSiteKey":{"type":"string","nullable":true},"hcaptchaSecretKey":{"type":"string","nullable":true},"enableRecaptcha":{"type":"boolean"},"recaptchaSiteKey":{"type":"string","nullable":true},"recaptchaSecretKey":{"type":"string","nullable":true},"enableTurnstile":{"type":"boolean"},"turnstileSiteKey":{"type":"string","nullable":true},"turnstileSecretKey":{"type":"string","nullable":true},"sensitiveMediaDetection":{"type":"string","enum":["none","all","local","remote"]},"sensitiveMediaDetectionSensitivity":{"type":"string","enum":["medium","low","high","veryLow","veryHigh"]},"setSensitiveFlagAutomatically":{"type":"boolean"},"enableSensitiveMediaDetectionForVideos":{"type":"boolean"},"proxyAccountId":{"type":"string","format":"misskey:id","nullable":true},"maintainerName":{"type":"string","nullable":true},"maintainerEmail":{"type":"string","nullable":true},"langs":{"type":"array","items":{"type":"string"}},"summalyProxy":{"type":"string","nullable":true},"deeplAuthKey":{"type":"string","nullable":true},"deeplIsPro":{"type":"boolean"},"enableEmail":{"type":"boolean"},"email":{"type":"string","nullable":true},"smtpSecure":{"type":"boolean"},"smtpHost":{"type":"string","nullable":true},"smtpPort":{"type":"integer","nullable":true},"smtpUser":{"type":"string","nullable":true},"smtpPass":{"type":"string","nullable":true},"enableServiceWorker":{"type":"boolean"},"swPublicKey":{"type":"string","nullable":true},"swPrivateKey":{"type":"string","nullable":true},"tosUrl":{"type":"string","nullable":true},"repositoryUrl":{"type":"string"},"feedbackUrl":{"type":"string"},"impressumUrl":{"type":"string","nullable":true},"privacyPolicyUrl":{"type":"string","nullable":true},"useObjectStorage":{"type":"boolean"},"objectStorageBaseUrl":{"type":"string","nullable":true},"objectStorageBucket":{"type":"string","nullable":true},"objectStoragePrefix":{"type":"string","nullable":true},"objectStorageEndpoint":{"type":"string","nullable":true},"objectStorageRegion":{"type":"string","nullable":true},"objectStoragePort":{"type":"integer","nullable":true},"objectStorageAccessKey":{"type":"string","nullable":true},"objectStorageSecretKey":{"type":"string","nullable":true},"objectStorageUseSSL":{"type":"boolean"},"objectStorageUseProxy":{"type":"boolean"},"objectStorageSetPublicRead":{"type":"boolean"},"objectStorageS3ForcePathStyle":{"type":"boolean"},"enableIpLogging":{"type":"boolean"},"enableActiveEmailValidation":{"type":"boolean"},"enableVerifymailApi":{"type":"boolean"},"verifymailAuthKey":{"type":"string","nullable":true},"enableChartsForRemoteUser":{"type":"boolean"},"enableChartsForFederatedInstances":{"type":"boolean"},"enableServerMachineStats":{"type":"boolean"},"enableIdenticonGeneration":{"type":"boolean"},"serverRules":{"type":"array","items":{"type":"string"}},"preservedUsernames":{"type":"array","items":{"type":"string"}},"manifestJsonOverride":{"type":"string"},"enableFanoutTimeline":{"type":"boolean"},"enableFanoutTimelineDbFallback":{"type":"boolean"},"perLocalUserUserTimelineCacheMax":{"type":"integer"},"perRemoteUserUserTimelineCacheMax":{"type":"integer"},"perUserHomeTimelineCacheMax":{"type":"integer"},"perUserListTimelineCacheMax":{"type":"integer"},"notesPerOneAd":{"type":"integer"},"silencedHosts":{"type":"array","nullable":true,"items":{"type":"string"}}}}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/delete-account":{"post":{"operationId":"admin/delete-account","summary":"admin/delete-account","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/delete-account.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/update-user-note":{"post":{"operationId":"admin/update-user-note","summary":"admin/update-user-note","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/update-user-note.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"},"text":{"type":"string"}},"required":["userId","text"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/roles/create":{"post":{"operationId":"admin/roles/create","summary":"admin/roles/create","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/roles/create.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"color":{"type":"string","nullable":true},"iconUrl":{"type":"string","nullable":true},"target":{"type":"string","enum":["manual","conditional"]},"condFormula":{"type":"object"},"isPublic":{"type":"boolean"},"isModerator":{"type":"boolean"},"isAdministrator":{"type":"boolean"},"isExplorable":{"type":"boolean","default":false},"asBadge":{"type":"boolean"},"canEditMembersByModerator":{"type":"boolean"},"displayOrder":{"type":"number"},"policies":{"type":"object"}},"required":["name","description","color","iconUrl","target","condFormula","isPublic","isModerator","isAdministrator","asBadge","canEditMembersByModerator","displayOrder","policies"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/roles/delete":{"post":{"operationId":"admin/roles/delete","summary":"admin/roles/delete","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/roles/delete.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"roleId":{"type":"string","format":"misskey:id"}},"required":["roleId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_ROLE":{"value":{"error":{"message":"No such role.","code":"NO_SUCH_ROLE","id":"de0d6ecd-8e0a-4253-88ff-74bc89ae3d45"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/roles/list":{"post":{"operationId":"admin/roles/list","summary":"admin/roles/list","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/roles/list.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/roles/show":{"post":{"operationId":"admin/roles/show","summary":"admin/roles/show","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/roles/show.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"roleId":{"type":"string","format":"misskey:id"}},"required":["roleId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_ROLE":{"value":{"error":{"message":"No such role.","code":"NO_SUCH_ROLE","id":"07dc7d34-c0d8-49b7-96c6-db3ce64ee0b3"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/roles/update":{"post":{"operationId":"admin/roles/update","summary":"admin/roles/update","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/roles/update.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"roleId":{"type":"string","format":"misskey:id"},"name":{"type":"string"},"description":{"type":"string"},"color":{"type":"string","nullable":true},"iconUrl":{"type":"string","nullable":true},"target":{"type":"string","enum":["manual","conditional"]},"condFormula":{"type":"object"},"isPublic":{"type":"boolean"},"isModerator":{"type":"boolean"},"isAdministrator":{"type":"boolean"},"isExplorable":{"type":"boolean"},"asBadge":{"type":"boolean"},"canEditMembersByModerator":{"type":"boolean"},"displayOrder":{"type":"number"},"policies":{"type":"object"}},"required":["roleId","name","description","color","iconUrl","target","condFormula","isPublic","isModerator","isAdministrator","asBadge","canEditMembersByModerator","displayOrder","policies"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_ROLE":{"value":{"error":{"message":"No such role.","code":"NO_SUCH_ROLE","id":"cd23ef55-09ad-428a-ac61-95a45e124b32"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/roles/assign":{"post":{"operationId":"admin/roles/assign","summary":"admin/roles/assign","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/roles/assign.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"roleId":{"type":"string","format":"misskey:id"},"userId":{"type":"string","format":"misskey:id"},"expiresAt":{"type":"integer","nullable":true}},"required":["roleId","userId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_ROLE":{"value":{"error":{"message":"No such role.","code":"NO_SUCH_ROLE","id":"6503c040-6af4-4ed9-bf07-f2dd16678eab"}}},"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"558ea170-f653-4700-94d0-5a818371d0df"}}},"ACCESS_DENIED":{"value":{"error":{"message":"Only administrators can edit members of the role.","code":"ACCESS_DENIED","id":"25b5bc31-dc79-4ebd-9bd2-c84978fd052c"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/roles/unassign":{"post":{"operationId":"admin/roles/unassign","summary":"admin/roles/unassign","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/roles/unassign.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"roleId":{"type":"string","format":"misskey:id"},"userId":{"type":"string","format":"misskey:id"}},"required":["roleId","userId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_ROLE":{"value":{"error":{"message":"No such role.","code":"NO_SUCH_ROLE","id":"6e519036-a70d-4c76-b679-bc8fb18194e2"}}},"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"2b730f78-1179-461b-88ad-d24c9af1a5ce"}}},"NOT_ASSIGNED":{"value":{"error":{"message":"Not assigned.","code":"NOT_ASSIGNED","id":"b9060ac7-5c94-4da4-9f55-2047c953df44"}}},"ACCESS_DENIED":{"value":{"error":{"message":"Only administrators can edit members of the role.","code":"ACCESS_DENIED","id":"24636eee-e8c1-493e-94b2-e16ad401e262"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/roles/update-default-policies":{"post":{"operationId":"admin/roles/update-default-policies","summary":"admin/roles/update-default-policies","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/roles/update-default-policies.ts"},"tags":["admin"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"policies":{"type":"object"}},"required":["policies"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/admin/roles/users":{"post":{"operationId":"admin/roles/users","summary":"admin/roles/users","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/roles/users.ts"},"tags":["admin"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"roleId":{"type":"string","format":"misskey:id"},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10}},"required":["roleId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_ROLE":{"value":{"error":{"message":"No such role.","code":"NO_SUCH_ROLE","id":"224eff5e-2488-4b18-b3e7-f50d94421648"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/announcements":{"post":{"operationId":"announcements","summary":"announcements","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/announcements.ts"},"tags":["meta"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"isActive":{"type":"boolean","default":true}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Announcement"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/antennas/create":{"post":{"operationId":"antennas/create","summary":"antennas/create","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/antennas/create.ts"},"tags":["antennas"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"src":{"type":"string","enum":["home","all","users","list","users_blacklist"]},"userListId":{"type":"string","format":"misskey:id","nullable":true},"keywords":{"type":"array","items":{"type":"array","items":{"type":"string"}}},"excludeKeywords":{"type":"array","items":{"type":"array","items":{"type":"string"}}},"users":{"type":"array","items":{"type":"string"}},"caseSensitive":{"type":"boolean"},"localOnly":{"type":"boolean"},"withReplies":{"type":"boolean"},"withFile":{"type":"boolean"},"notify":{"type":"boolean"}},"required":["name","src","keywords","excludeKeywords","users","caseSensitive","withReplies","withFile","notify"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/Antenna"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER_LIST":{"value":{"error":{"message":"No such user list.","code":"NO_SUCH_USER_LIST","id":"95063e93-a283-4b8b-9aa5-bcdb8df69a7f"}}},"TOO_MANY_ANTENNAS":{"value":{"error":{"message":"You cannot create antenna any more.","code":"TOO_MANY_ANTENNAS","id":"faf47050-e8b5-438c-913c-db2b1576fde4"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/antennas/delete":{"post":{"operationId":"antennas/delete","summary":"antennas/delete","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/antennas/delete.ts"},"tags":["antennas"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"antennaId":{"type":"string","format":"misskey:id"}},"required":["antennaId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_ANTENNA":{"value":{"error":{"message":"No such antenna.","code":"NO_SUCH_ANTENNA","id":"b34dcf9d-348f-44bb-99d0-6c9314cfe2df"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/antennas/list":{"post":{"operationId":"antennas/list","summary":"antennas/list","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/antennas/list.ts"},"tags":["antennas"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Antenna"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/antennas/notes":{"post":{"operationId":"antennas/notes","summary":"antennas/notes","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/antennas/notes.ts"},"tags":["antennas"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"antennaId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"sinceDate":{"type":"integer"},"untilDate":{"type":"integer"}},"required":["antennaId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_ANTENNA":{"value":{"error":{"message":"No such antenna.","code":"NO_SUCH_ANTENNA","id":"850926e0-fd3b-49b6-b69a-b28a5dbd82fe"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/antennas/show":{"post":{"operationId":"antennas/show","summary":"antennas/show","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/antennas/show.ts"},"tags":["antennas"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"antennaId":{"type":"string","format":"misskey:id"}},"required":["antennaId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/Antenna"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_ANTENNA":{"value":{"error":{"message":"No such antenna.","code":"NO_SUCH_ANTENNA","id":"c06569fb-b025-4f23-b22d-1fcd20d2816b"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/antennas/update":{"post":{"operationId":"antennas/update","summary":"antennas/update","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/antennas/update.ts"},"tags":["antennas"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"antennaId":{"type":"string","format":"misskey:id"},"name":{"type":"string","minLength":1,"maxLength":100},"src":{"type":"string","enum":["home","all","users","list","users_blacklist"]},"userListId":{"type":"string","format":"misskey:id","nullable":true},"keywords":{"type":"array","items":{"type":"array","items":{"type":"string"}}},"excludeKeywords":{"type":"array","items":{"type":"array","items":{"type":"string"}}},"users":{"type":"array","items":{"type":"string"}},"caseSensitive":{"type":"boolean"},"localOnly":{"type":"boolean"},"withReplies":{"type":"boolean"},"withFile":{"type":"boolean"},"notify":{"type":"boolean"}},"required":["antennaId","name","src","keywords","excludeKeywords","users","caseSensitive","withReplies","withFile","notify"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/Antenna"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_ANTENNA":{"value":{"error":{"message":"No such antenna.","code":"NO_SUCH_ANTENNA","id":"10c673ac-8852-48eb-aa1f-f5b67f069290"}}},"NO_SUCH_USER_LIST":{"value":{"error":{"message":"No such user list.","code":"NO_SUCH_USER_LIST","id":"1c6b35c9-943e-48c2-81e4-2844989407f7"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/ap/get":{"post":{"operationId":"ap/get","summary":"ap/get","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/ap/get.ts"},"tags":["federation"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"uri":{"type":"string"}},"required":["uri"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/ap/show":{"post":{"operationId":"ap/show","summary":"ap/show","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/ap/show.ts"},"tags":["federation"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"uri":{"type":"string"}},"required":["uri"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"nullable":false,"oneOf":[{"type":"object","properties":{"type":{"type":"string","nullable":false,"enum":["User"]},"object":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserDetailedNotMe"}},"required":["type","object"]},{"type":"object","properties":{"type":{"type":"string","nullable":false,"enum":["Note"]},"object":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}},"required":["type","object"]}]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_OBJECT":{"value":{"error":{"message":"No such object.","code":"NO_SUCH_OBJECT","id":"dc94d745-1262-4e63-a17d-fecaa57efc82"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/app/create":{"post":{"operationId":"app/create","summary":"app/create","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/app/create.ts"},"tags":["app"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"permission":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"callbackUrl":{"type":"string","nullable":true}},"required":["name","description","permission"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/App"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/app/show":{"post":{"operationId":"app/show","summary":"app/show","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/app/show.ts"},"tags":["app"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"appId":{"type":"string","format":"misskey:id"}},"required":["appId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/App"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_APP":{"value":{"error":{"message":"No such app.","code":"NO_SUCH_APP","id":"dce83913-2dc6-4093-8a7b-71dbb11718a3"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/auth/session/generate":{"post":{"operationId":"auth/session/generate","summary":"auth/session/generate","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/auth/session/generate.ts"},"tags":["auth"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"appSecret":{"type":"string"}},"required":["appSecret"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"token":{"type":"string","nullable":false},"url":{"type":"string","nullable":false,"format":"url"}},"required":["token","url"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_APP":{"value":{"error":{"message":"No such app.","code":"NO_SUCH_APP","id":"92f93e63-428e-4f2f-a5a4-39e1407fe998"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/auth/session/show":{"post":{"operationId":"auth/session/show","summary":"auth/session/show","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/auth/session/show.ts"},"tags":["auth"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string"}},"required":["token"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"id":{"type":"string","nullable":false,"format":"id"},"app":{"type":"object","nullable":false,"$ref":"#/components/schemas/App"},"token":{"type":"string","nullable":false}},"required":["id","app","token"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_SESSION":{"value":{"error":{"message":"No such session.","code":"NO_SUCH_SESSION","id":"bd72c97d-eba7-4adb-a467-f171b8847250"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/auth/session/userkey":{"post":{"operationId":"auth/session/userkey","summary":"auth/session/userkey","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/auth/session/userkey.ts"},"tags":["auth"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"appSecret":{"type":"string"},"token":{"type":"string"}},"required":["appSecret","token"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"accessToken":{"type":"string","nullable":false},"user":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserDetailedNotMe"}},"required":["accessToken","user"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_APP":{"value":{"error":{"message":"No such app.","code":"NO_SUCH_APP","id":"fcab192a-2c5a-43b7-8ad8-9b7054d8d40d"}}},"NO_SUCH_SESSION":{"value":{"error":{"message":"No such session.","code":"NO_SUCH_SESSION","id":"5b5a1503-8bc8-4bd0-8054-dc189e8cdcb3"}}},"PENDING_SESSION":{"value":{"error":{"message":"This session is not completed yet.","code":"PENDING_SESSION","id":"8c8a4145-02cc-4cca-8e66-29ba60445a8e"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/blocking/create":{"post":{"operationId":"blocking/create","summary":"blocking/create","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:blocks*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/blocking/create.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserDetailedNotMe"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"7cc4f851-e2f1-4621-9633-ec9e1d00c01e"}}},"BLOCKEE_IS_YOURSELF":{"value":{"error":{"message":"Blockee is yourself.","code":"BLOCKEE_IS_YOURSELF","id":"88b19138-f28d-42c0-8499-6a31bbd0fdc6"}}},"ALREADY_BLOCKING":{"value":{"error":{"message":"You are already blocking that user.","code":"ALREADY_BLOCKING","id":"787fed64-acb9-464a-82eb-afbd745b9614"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/blocking/delete":{"post":{"operationId":"blocking/delete","summary":"blocking/delete","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:blocks*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/blocking/delete.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserDetailedNotMe"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"8621d8bf-c358-4303-a066-5ea78610eb3f"}}},"BLOCKEE_IS_YOURSELF":{"value":{"error":{"message":"Blockee is yourself.","code":"BLOCKEE_IS_YOURSELF","id":"06f6fac6-524b-473c-a354-e97a40ae6eac"}}},"NOT_BLOCKING":{"value":{"error":{"message":"You are not blocking that user.","code":"NOT_BLOCKING","id":"291b2efa-60c6-45c0-9f6a-045c8f9b02cd"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/blocking/list":{"post":{"operationId":"blocking/list","summary":"blocking/list","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:blocks*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/blocking/list.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":30},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Blocking"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/channels/create":{"post":{"operationId":"channels/create","summary":"channels/create","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:channels*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/channels/create.ts"},"tags":["channels"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128},"description":{"type":"string","nullable":true,"minLength":1,"maxLength":2048},"bannerId":{"type":"string","format":"misskey:id","nullable":true},"color":{"type":"string","minLength":1,"maxLength":16},"isSensitive":{"type":"boolean","nullable":true},"allowRenoteToExternal":{"type":"boolean","nullable":true}},"required":["name"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/Channel"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_FILE":{"value":{"error":{"message":"No such file.","code":"NO_SUCH_FILE","id":"cd1e9f3e-5a12-4ab4-96f6-5d0a2cc32050"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/channels/featured":{"post":{"operationId":"channels/featured","summary":"channels/featured","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/channels/featured.ts"},"tags":["channels"],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Channel"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/channels/follow":{"post":{"operationId":"channels/follow","summary":"channels/follow","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:channels*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/channels/follow.ts"},"tags":["channels"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"channelId":{"type":"string","format":"misskey:id"}},"required":["channelId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_CHANNEL":{"value":{"error":{"message":"No such channel.","code":"NO_SUCH_CHANNEL","id":"c0031718-d573-4e85-928e-10039f1fbb68"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/channels/followed":{"post":{"operationId":"channels/followed","summary":"channels/followed","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:channels*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/channels/followed.ts"},"tags":["channels"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":5}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Channel"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/channels/owned":{"post":{"operationId":"channels/owned","summary":"channels/owned","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:channels*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/channels/owned.ts"},"tags":["channels"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":5}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Channel"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/channels/show":{"post":{"operationId":"channels/show","summary":"channels/show","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/channels/show.ts"},"tags":["channels"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"channelId":{"type":"string","format":"misskey:id"}},"required":["channelId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/Channel"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_CHANNEL":{"value":{"error":{"message":"No such channel.","code":"NO_SUCH_CHANNEL","id":"6f6c314b-7486-4897-8966-c04a66a02923"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/channels/timeline":{"post":{"operationId":"channels/timeline","summary":"channels/timeline","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/channels/timeline.ts"},"tags":["notes"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"channelId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"sinceDate":{"type":"integer"},"untilDate":{"type":"integer"}},"required":["channelId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_CHANNEL":{"value":{"error":{"message":"No such channel.","code":"NO_SUCH_CHANNEL","id":"4d0eeeba-a02c-4c3c-9966-ef60d38d2e7f"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/channels/unfollow":{"post":{"operationId":"channels/unfollow","summary":"channels/unfollow","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:channels*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/channels/unfollow.ts"},"tags":["channels"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"channelId":{"type":"string","format":"misskey:id"}},"required":["channelId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_CHANNEL":{"value":{"error":{"message":"No such channel.","code":"NO_SUCH_CHANNEL","id":"19959ee9-0153-4c51-bbd9-a98c49dc59d6"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/channels/update":{"post":{"operationId":"channels/update","summary":"channels/update","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:channels*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/channels/update.ts"},"tags":["channels"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"channelId":{"type":"string","format":"misskey:id"},"name":{"type":"string","minLength":1,"maxLength":128},"description":{"type":"string","nullable":true,"minLength":1,"maxLength":2048},"bannerId":{"type":"string","format":"misskey:id","nullable":true},"isArchived":{"type":"boolean","nullable":true},"pinnedNoteIds":{"type":"array","items":{"type":"string","format":"misskey:id"}},"color":{"type":"string","minLength":1,"maxLength":16},"isSensitive":{"type":"boolean","nullable":true},"allowRenoteToExternal":{"type":"boolean","nullable":true}},"required":["channelId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/Channel"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_CHANNEL":{"value":{"error":{"message":"No such channel.","code":"NO_SUCH_CHANNEL","id":"f9c5467f-d492-4c3c-9a8d-a70dacc86512"}}},"ACCESS_DENIED":{"value":{"error":{"message":"You do not have edit privilege of the channel.","code":"ACCESS_DENIED","id":"1fb7cb09-d46a-4fdf-b8df-057788cce513"}}},"NO_SUCH_FILE":{"value":{"error":{"message":"No such file.","code":"NO_SUCH_FILE","id":"e86c14a4-0da2-4032-8df3-e737a04c7f3b"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/channels/favorite":{"post":{"operationId":"channels/favorite","summary":"channels/favorite","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:channels*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/channels/favorite.ts"},"tags":["channels"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"channelId":{"type":"string","format":"misskey:id"}},"required":["channelId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_CHANNEL":{"value":{"error":{"message":"No such channel.","code":"NO_SUCH_CHANNEL","id":"4938f5f3-6167-4c04-9149-6607b7542861"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/channels/unfavorite":{"post":{"operationId":"channels/unfavorite","summary":"channels/unfavorite","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:channels*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/channels/unfavorite.ts"},"tags":["channels"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"channelId":{"type":"string","format":"misskey:id"}},"required":["channelId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_CHANNEL":{"value":{"error":{"message":"No such channel.","code":"NO_SUCH_CHANNEL","id":"353c68dd-131a-476c-aa99-88a345e83668"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/channels/my-favorites":{"post":{"operationId":"channels/my-favorites","summary":"channels/my-favorites","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:channels*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/channels/my-favorites.ts"},"tags":["channels"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Channel"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/channels/search":{"post":{"operationId":"channels/search","summary":"channels/search","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/channels/search.ts"},"tags":["channels"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string"},"type":{"type":"string","enum":["nameAndDescription","nameOnly"],"default":"nameAndDescription"},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":5}},"required":["query"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Channel"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/charts/active-users":{"get":{"operationId":"charts/active-users","summary":"charts/active-users","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/active-users.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null}},"required":["span"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"readWrite":{"type":"array","items":{"type":"number"}},"read":{"type":"array","items":{"type":"number"}},"write":{"type":"array","items":{"type":"number"}},"registeredWithinWeek":{"type":"array","items":{"type":"number"}},"registeredWithinMonth":{"type":"array","items":{"type":"number"}},"registeredWithinYear":{"type":"array","items":{"type":"number"}},"registeredOutsideWeek":{"type":"array","items":{"type":"number"}},"registeredOutsideMonth":{"type":"array","items":{"type":"number"}},"registeredOutsideYear":{"type":"array","items":{"type":"number"}}},"required":["readWrite","read","write","registeredWithinWeek","registeredWithinMonth","registeredWithinYear","registeredOutsideWeek","registeredOutsideMonth","registeredOutsideYear"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"charts/active-users","summary":"charts/active-users","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/active-users.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null}},"required":["span"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"readWrite":{"type":"array","items":{"type":"number"}},"read":{"type":"array","items":{"type":"number"}},"write":{"type":"array","items":{"type":"number"}},"registeredWithinWeek":{"type":"array","items":{"type":"number"}},"registeredWithinMonth":{"type":"array","items":{"type":"number"}},"registeredWithinYear":{"type":"array","items":{"type":"number"}},"registeredOutsideWeek":{"type":"array","items":{"type":"number"}},"registeredOutsideMonth":{"type":"array","items":{"type":"number"}},"registeredOutsideYear":{"type":"array","items":{"type":"number"}}},"required":["readWrite","read","write","registeredWithinWeek","registeredWithinMonth","registeredWithinYear","registeredOutsideWeek","registeredOutsideMonth","registeredOutsideYear"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/charts/ap-request":{"get":{"operationId":"charts/ap-request","summary":"charts/ap-request","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/ap-request.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null}},"required":["span"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"deliverFailed":{"type":"array","items":{"type":"number"}},"deliverSucceeded":{"type":"array","items":{"type":"number"}},"inboxReceived":{"type":"array","items":{"type":"number"}}},"required":["deliverFailed","deliverSucceeded","inboxReceived"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"charts/ap-request","summary":"charts/ap-request","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/ap-request.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null}},"required":["span"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"deliverFailed":{"type":"array","items":{"type":"number"}},"deliverSucceeded":{"type":"array","items":{"type":"number"}},"inboxReceived":{"type":"array","items":{"type":"number"}}},"required":["deliverFailed","deliverSucceeded","inboxReceived"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/charts/drive":{"get":{"operationId":"charts/drive","summary":"charts/drive","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/drive.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null}},"required":["span"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"local.incCount":{"type":"array","items":{"type":"number"}},"local.incSize":{"type":"array","items":{"type":"number"}},"local.decCount":{"type":"array","items":{"type":"number"}},"local.decSize":{"type":"array","items":{"type":"number"}},"remote.incCount":{"type":"array","items":{"type":"number"}},"remote.incSize":{"type":"array","items":{"type":"number"}},"remote.decCount":{"type":"array","items":{"type":"number"}},"remote.decSize":{"type":"array","items":{"type":"number"}}},"required":["local.incCount","local.incSize","local.decCount","local.decSize","remote.incCount","remote.incSize","remote.decCount","remote.decSize"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"charts/drive","summary":"charts/drive","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/drive.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null}},"required":["span"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"local.incCount":{"type":"array","items":{"type":"number"}},"local.incSize":{"type":"array","items":{"type":"number"}},"local.decCount":{"type":"array","items":{"type":"number"}},"local.decSize":{"type":"array","items":{"type":"number"}},"remote.incCount":{"type":"array","items":{"type":"number"}},"remote.incSize":{"type":"array","items":{"type":"number"}},"remote.decCount":{"type":"array","items":{"type":"number"}},"remote.decSize":{"type":"array","items":{"type":"number"}}},"required":["local.incCount","local.incSize","local.decCount","local.decSize","remote.incCount","remote.incSize","remote.decCount","remote.decSize"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/charts/federation":{"get":{"operationId":"charts/federation","summary":"charts/federation","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/federation.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null}},"required":["span"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"deliveredInstances":{"type":"array","items":{"type":"number"}},"inboxInstances":{"type":"array","items":{"type":"number"}},"stalled":{"type":"array","items":{"type":"number"}},"sub":{"type":"array","items":{"type":"number"}},"pub":{"type":"array","items":{"type":"number"}},"pubsub":{"type":"array","items":{"type":"number"}},"subActive":{"type":"array","items":{"type":"number"}},"pubActive":{"type":"array","items":{"type":"number"}}},"required":["deliveredInstances","inboxInstances","stalled","sub","pub","pubsub","subActive","pubActive"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"charts/federation","summary":"charts/federation","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/federation.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null}},"required":["span"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"deliveredInstances":{"type":"array","items":{"type":"number"}},"inboxInstances":{"type":"array","items":{"type":"number"}},"stalled":{"type":"array","items":{"type":"number"}},"sub":{"type":"array","items":{"type":"number"}},"pub":{"type":"array","items":{"type":"number"}},"pubsub":{"type":"array","items":{"type":"number"}},"subActive":{"type":"array","items":{"type":"number"}},"pubActive":{"type":"array","items":{"type":"number"}}},"required":["deliveredInstances","inboxInstances","stalled","sub","pub","pubsub","subActive","pubActive"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/charts/instance":{"get":{"operationId":"charts/instance","summary":"charts/instance","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/instance.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null},"host":{"type":"string"}},"required":["span","host"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"requests.failed":{"type":"array","items":{"type":"number"}},"requests.succeeded":{"type":"array","items":{"type":"number"}},"requests.received":{"type":"array","items":{"type":"number"}},"notes.total":{"type":"array","items":{"type":"number"}},"notes.inc":{"type":"array","items":{"type":"number"}},"notes.dec":{"type":"array","items":{"type":"number"}},"notes.diffs.normal":{"type":"array","items":{"type":"number"}},"notes.diffs.reply":{"type":"array","items":{"type":"number"}},"notes.diffs.renote":{"type":"array","items":{"type":"number"}},"notes.diffs.withFile":{"type":"array","items":{"type":"number"}},"users.total":{"type":"array","items":{"type":"number"}},"users.inc":{"type":"array","items":{"type":"number"}},"users.dec":{"type":"array","items":{"type":"number"}},"following.total":{"type":"array","items":{"type":"number"}},"following.inc":{"type":"array","items":{"type":"number"}},"following.dec":{"type":"array","items":{"type":"number"}},"followers.total":{"type":"array","items":{"type":"number"}},"followers.inc":{"type":"array","items":{"type":"number"}},"followers.dec":{"type":"array","items":{"type":"number"}},"drive.totalFiles":{"type":"array","items":{"type":"number"}},"drive.incFiles":{"type":"array","items":{"type":"number"}},"drive.decFiles":{"type":"array","items":{"type":"number"}},"drive.incUsage":{"type":"array","items":{"type":"number"}},"drive.decUsage":{"type":"array","items":{"type":"number"}}},"required":["requests.failed","requests.succeeded","requests.received","notes.total","notes.inc","notes.dec","notes.diffs.normal","notes.diffs.reply","notes.diffs.renote","notes.diffs.withFile","users.total","users.inc","users.dec","following.total","following.inc","following.dec","followers.total","followers.inc","followers.dec","drive.totalFiles","drive.incFiles","drive.decFiles","drive.incUsage","drive.decUsage"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"charts/instance","summary":"charts/instance","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/instance.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null},"host":{"type":"string"}},"required":["span","host"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"requests.failed":{"type":"array","items":{"type":"number"}},"requests.succeeded":{"type":"array","items":{"type":"number"}},"requests.received":{"type":"array","items":{"type":"number"}},"notes.total":{"type":"array","items":{"type":"number"}},"notes.inc":{"type":"array","items":{"type":"number"}},"notes.dec":{"type":"array","items":{"type":"number"}},"notes.diffs.normal":{"type":"array","items":{"type":"number"}},"notes.diffs.reply":{"type":"array","items":{"type":"number"}},"notes.diffs.renote":{"type":"array","items":{"type":"number"}},"notes.diffs.withFile":{"type":"array","items":{"type":"number"}},"users.total":{"type":"array","items":{"type":"number"}},"users.inc":{"type":"array","items":{"type":"number"}},"users.dec":{"type":"array","items":{"type":"number"}},"following.total":{"type":"array","items":{"type":"number"}},"following.inc":{"type":"array","items":{"type":"number"}},"following.dec":{"type":"array","items":{"type":"number"}},"followers.total":{"type":"array","items":{"type":"number"}},"followers.inc":{"type":"array","items":{"type":"number"}},"followers.dec":{"type":"array","items":{"type":"number"}},"drive.totalFiles":{"type":"array","items":{"type":"number"}},"drive.incFiles":{"type":"array","items":{"type":"number"}},"drive.decFiles":{"type":"array","items":{"type":"number"}},"drive.incUsage":{"type":"array","items":{"type":"number"}},"drive.decUsage":{"type":"array","items":{"type":"number"}}},"required":["requests.failed","requests.succeeded","requests.received","notes.total","notes.inc","notes.dec","notes.diffs.normal","notes.diffs.reply","notes.diffs.renote","notes.diffs.withFile","users.total","users.inc","users.dec","following.total","following.inc","following.dec","followers.total","followers.inc","followers.dec","drive.totalFiles","drive.incFiles","drive.decFiles","drive.incUsage","drive.decUsage"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/charts/notes":{"get":{"operationId":"charts/notes","summary":"charts/notes","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/notes.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null}},"required":["span"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"local.total":{"type":"array","items":{"type":"number"}},"local.inc":{"type":"array","items":{"type":"number"}},"local.dec":{"type":"array","items":{"type":"number"}},"local.diffs.normal":{"type":"array","items":{"type":"number"}},"local.diffs.reply":{"type":"array","items":{"type":"number"}},"local.diffs.renote":{"type":"array","items":{"type":"number"}},"local.diffs.withFile":{"type":"array","items":{"type":"number"}},"remote.total":{"type":"array","items":{"type":"number"}},"remote.inc":{"type":"array","items":{"type":"number"}},"remote.dec":{"type":"array","items":{"type":"number"}},"remote.diffs.normal":{"type":"array","items":{"type":"number"}},"remote.diffs.reply":{"type":"array","items":{"type":"number"}},"remote.diffs.renote":{"type":"array","items":{"type":"number"}},"remote.diffs.withFile":{"type":"array","items":{"type":"number"}}},"required":["local.total","local.inc","local.dec","local.diffs.normal","local.diffs.reply","local.diffs.renote","local.diffs.withFile","remote.total","remote.inc","remote.dec","remote.diffs.normal","remote.diffs.reply","remote.diffs.renote","remote.diffs.withFile"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"charts/notes","summary":"charts/notes","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/notes.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null}},"required":["span"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"local.total":{"type":"array","items":{"type":"number"}},"local.inc":{"type":"array","items":{"type":"number"}},"local.dec":{"type":"array","items":{"type":"number"}},"local.diffs.normal":{"type":"array","items":{"type":"number"}},"local.diffs.reply":{"type":"array","items":{"type":"number"}},"local.diffs.renote":{"type":"array","items":{"type":"number"}},"local.diffs.withFile":{"type":"array","items":{"type":"number"}},"remote.total":{"type":"array","items":{"type":"number"}},"remote.inc":{"type":"array","items":{"type":"number"}},"remote.dec":{"type":"array","items":{"type":"number"}},"remote.diffs.normal":{"type":"array","items":{"type":"number"}},"remote.diffs.reply":{"type":"array","items":{"type":"number"}},"remote.diffs.renote":{"type":"array","items":{"type":"number"}},"remote.diffs.withFile":{"type":"array","items":{"type":"number"}}},"required":["local.total","local.inc","local.dec","local.diffs.normal","local.diffs.reply","local.diffs.renote","local.diffs.withFile","remote.total","remote.inc","remote.dec","remote.diffs.normal","remote.diffs.reply","remote.diffs.renote","remote.diffs.withFile"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/charts/user/drive":{"get":{"operationId":"charts/user/drive","summary":"charts/user/drive","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/user/drive.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null},"userId":{"type":"string","format":"misskey:id"}},"required":["span","userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"totalCount":{"type":"array","items":{"type":"number"}},"totalSize":{"type":"array","items":{"type":"number"}},"incCount":{"type":"array","items":{"type":"number"}},"incSize":{"type":"array","items":{"type":"number"}},"decCount":{"type":"array","items":{"type":"number"}},"decSize":{"type":"array","items":{"type":"number"}}},"required":["totalCount","totalSize","incCount","incSize","decCount","decSize"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"charts/user/drive","summary":"charts/user/drive","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/user/drive.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null},"userId":{"type":"string","format":"misskey:id"}},"required":["span","userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"totalCount":{"type":"array","items":{"type":"number"}},"totalSize":{"type":"array","items":{"type":"number"}},"incCount":{"type":"array","items":{"type":"number"}},"incSize":{"type":"array","items":{"type":"number"}},"decCount":{"type":"array","items":{"type":"number"}},"decSize":{"type":"array","items":{"type":"number"}}},"required":["totalCount","totalSize","incCount","incSize","decCount","decSize"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/charts/user/following":{"get":{"operationId":"charts/user/following","summary":"charts/user/following","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/user/following.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null},"userId":{"type":"string","format":"misskey:id"}},"required":["span","userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"local.followings.total":{"type":"array","items":{"type":"number"}},"local.followings.inc":{"type":"array","items":{"type":"number"}},"local.followings.dec":{"type":"array","items":{"type":"number"}},"local.followers.total":{"type":"array","items":{"type":"number"}},"local.followers.inc":{"type":"array","items":{"type":"number"}},"local.followers.dec":{"type":"array","items":{"type":"number"}},"remote.followings.total":{"type":"array","items":{"type":"number"}},"remote.followings.inc":{"type":"array","items":{"type":"number"}},"remote.followings.dec":{"type":"array","items":{"type":"number"}},"remote.followers.total":{"type":"array","items":{"type":"number"}},"remote.followers.inc":{"type":"array","items":{"type":"number"}},"remote.followers.dec":{"type":"array","items":{"type":"number"}}},"required":["local.followings.total","local.followings.inc","local.followings.dec","local.followers.total","local.followers.inc","local.followers.dec","remote.followings.total","remote.followings.inc","remote.followings.dec","remote.followers.total","remote.followers.inc","remote.followers.dec"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"charts/user/following","summary":"charts/user/following","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/user/following.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null},"userId":{"type":"string","format":"misskey:id"}},"required":["span","userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"local.followings.total":{"type":"array","items":{"type":"number"}},"local.followings.inc":{"type":"array","items":{"type":"number"}},"local.followings.dec":{"type":"array","items":{"type":"number"}},"local.followers.total":{"type":"array","items":{"type":"number"}},"local.followers.inc":{"type":"array","items":{"type":"number"}},"local.followers.dec":{"type":"array","items":{"type":"number"}},"remote.followings.total":{"type":"array","items":{"type":"number"}},"remote.followings.inc":{"type":"array","items":{"type":"number"}},"remote.followings.dec":{"type":"array","items":{"type":"number"}},"remote.followers.total":{"type":"array","items":{"type":"number"}},"remote.followers.inc":{"type":"array","items":{"type":"number"}},"remote.followers.dec":{"type":"array","items":{"type":"number"}}},"required":["local.followings.total","local.followings.inc","local.followings.dec","local.followers.total","local.followers.inc","local.followers.dec","remote.followings.total","remote.followings.inc","remote.followings.dec","remote.followers.total","remote.followers.inc","remote.followers.dec"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/charts/user/notes":{"get":{"operationId":"charts/user/notes","summary":"charts/user/notes","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/user/notes.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null},"userId":{"type":"string","format":"misskey:id"}},"required":["span","userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"total":{"type":"array","items":{"type":"number"}},"inc":{"type":"array","items":{"type":"number"}},"dec":{"type":"array","items":{"type":"number"}},"diffs.normal":{"type":"array","items":{"type":"number"}},"diffs.reply":{"type":"array","items":{"type":"number"}},"diffs.renote":{"type":"array","items":{"type":"number"}},"diffs.withFile":{"type":"array","items":{"type":"number"}}},"required":["total","inc","dec","diffs.normal","diffs.reply","diffs.renote","diffs.withFile"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"charts/user/notes","summary":"charts/user/notes","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/user/notes.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null},"userId":{"type":"string","format":"misskey:id"}},"required":["span","userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"total":{"type":"array","items":{"type":"number"}},"inc":{"type":"array","items":{"type":"number"}},"dec":{"type":"array","items":{"type":"number"}},"diffs.normal":{"type":"array","items":{"type":"number"}},"diffs.reply":{"type":"array","items":{"type":"number"}},"diffs.renote":{"type":"array","items":{"type":"number"}},"diffs.withFile":{"type":"array","items":{"type":"number"}}},"required":["total","inc","dec","diffs.normal","diffs.reply","diffs.renote","diffs.withFile"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/charts/user/pv":{"get":{"operationId":"charts/user/pv","summary":"charts/user/pv","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/user/pv.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null},"userId":{"type":"string","format":"misskey:id"}},"required":["span","userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"upv.user":{"type":"array","items":{"type":"number"}},"pv.user":{"type":"array","items":{"type":"number"}},"upv.visitor":{"type":"array","items":{"type":"number"}},"pv.visitor":{"type":"array","items":{"type":"number"}}},"required":["upv.user","pv.user","upv.visitor","pv.visitor"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"charts/user/pv","summary":"charts/user/pv","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/user/pv.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null},"userId":{"type":"string","format":"misskey:id"}},"required":["span","userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"upv.user":{"type":"array","items":{"type":"number"}},"pv.user":{"type":"array","items":{"type":"number"}},"upv.visitor":{"type":"array","items":{"type":"number"}},"pv.visitor":{"type":"array","items":{"type":"number"}}},"required":["upv.user","pv.user","upv.visitor","pv.visitor"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/charts/user/reactions":{"get":{"operationId":"charts/user/reactions","summary":"charts/user/reactions","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/user/reactions.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null},"userId":{"type":"string","format":"misskey:id"}},"required":["span","userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"local.count":{"type":"array","items":{"type":"number"}},"remote.count":{"type":"array","items":{"type":"number"}}},"required":["local.count","remote.count"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"charts/user/reactions","summary":"charts/user/reactions","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/user/reactions.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null},"userId":{"type":"string","format":"misskey:id"}},"required":["span","userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"local.count":{"type":"array","items":{"type":"number"}},"remote.count":{"type":"array","items":{"type":"number"}}},"required":["local.count","remote.count"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/charts/users":{"get":{"operationId":"charts/users","summary":"charts/users","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/users.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null}},"required":["span"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"local.total":{"type":"array","items":{"type":"number"}},"local.inc":{"type":"array","items":{"type":"number"}},"local.dec":{"type":"array","items":{"type":"number"}},"remote.total":{"type":"array","items":{"type":"number"}},"remote.inc":{"type":"array","items":{"type":"number"}},"remote.dec":{"type":"array","items":{"type":"number"}}},"required":["local.total","local.inc","local.dec","remote.total","remote.inc","remote.dec"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"charts/users","summary":"charts/users","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/charts/users.ts"},"tags":["charts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"span":{"type":"string","enum":["day","hour"]},"limit":{"type":"integer","minimum":1,"maximum":500,"default":30},"offset":{"type":"integer","nullable":true,"default":null}},"required":["span"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","properties":{"local.total":{"type":"array","items":{"type":"number"}},"local.inc":{"type":"array","items":{"type":"number"}},"local.dec":{"type":"array","items":{"type":"number"}},"remote.total":{"type":"array","items":{"type":"number"}},"remote.inc":{"type":"array","items":{"type":"number"}},"remote.dec":{"type":"array","items":{"type":"number"}}},"required":["local.total","local.inc","local.dec","remote.total","remote.inc","remote.dec"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/clips/add-note":{"post":{"operationId":"clips/add-note","summary":"clips/add-note","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/clips/add-note.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"clipId":{"type":"string","format":"misskey:id"},"noteId":{"type":"string","format":"misskey:id"}},"required":["clipId","noteId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_CLIP":{"value":{"error":{"message":"No such clip.","code":"NO_SUCH_CLIP","id":"d6e76cc0-a1b5-4c7c-a287-73fa9c716dcf"}}},"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"fc8c0b49-c7a3-4664-a0a6-b418d386bb8b"}}},"ALREADY_CLIPPED":{"value":{"error":{"message":"The note has already been clipped.","code":"ALREADY_CLIPPED","id":"734806c4-542c-463a-9311-15c512803965"}}},"TOO_MANY_CLIP_NOTES":{"value":{"error":{"message":"You cannot add notes to the clip any more.","code":"TOO_MANY_CLIP_NOTES","id":"f0dba960-ff73-4615-8df4-d6ac5d9dc118"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/clips/remove-note":{"post":{"operationId":"clips/remove-note","summary":"clips/remove-note","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/clips/remove-note.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"clipId":{"type":"string","format":"misskey:id"},"noteId":{"type":"string","format":"misskey:id"}},"required":["clipId","noteId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_CLIP":{"value":{"error":{"message":"No such clip.","code":"NO_SUCH_CLIP","id":"b80525c6-97f7-49d7-a42d-ebccd49cfd52"}}},"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"aff017de-190e-434b-893e-33a9ff5049d8"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/clips/create":{"post":{"operationId":"clips/create","summary":"clips/create","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/clips/create.ts"},"tags":["clips"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"isPublic":{"type":"boolean","default":false},"description":{"type":"string","nullable":true,"minLength":1,"maxLength":2048}},"required":["name"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/Clip"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"TOO_MANY_CLIPS":{"value":{"error":{"message":"You cannot create clip any more.","code":"TOO_MANY_CLIPS","id":"920f7c2d-6208-4b76-8082-e632020f5883"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/clips/delete":{"post":{"operationId":"clips/delete","summary":"clips/delete","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/clips/delete.ts"},"tags":["clips"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"clipId":{"type":"string","format":"misskey:id"}},"required":["clipId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_CLIP":{"value":{"error":{"message":"No such clip.","code":"NO_SUCH_CLIP","id":"70ca08ba-6865-4630-b6fb-8494759aa754"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/clips/list":{"post":{"operationId":"clips/list","summary":"clips/list","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/clips/list.ts"},"tags":["clips"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Clip"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/clips/notes":{"post":{"operationId":"clips/notes","summary":"clips/notes","description":"No description provided.\n\n**Credential required**: *No* / **Permission**: *read:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/clips/notes.ts"},"tags":["account"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"clipId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}},"required":["clipId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_CLIP":{"value":{"error":{"message":"No such clip.","code":"NO_SUCH_CLIP","id":"1d7645e6-2b6d-4635-b0fe-fe22b0e72e00"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/clips/show":{"post":{"operationId":"clips/show","summary":"clips/show","description":"No description provided.\n\n**Credential required**: *No* / **Permission**: *read:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/clips/show.ts"},"tags":["clips"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"clipId":{"type":"string","format":"misskey:id"}},"required":["clipId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/Clip"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_CLIP":{"value":{"error":{"message":"No such clip.","code":"NO_SUCH_CLIP","id":"c3c5fe33-d62c-44d2-9ea5-d997703f5c20"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/clips/update":{"post":{"operationId":"clips/update","summary":"clips/update","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/clips/update.ts"},"tags":["clips"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"clipId":{"type":"string","format":"misskey:id"},"name":{"type":"string","minLength":1,"maxLength":100},"isPublic":{"type":"boolean"},"description":{"type":"string","nullable":true,"minLength":1,"maxLength":2048}},"required":["clipId","name"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/Clip"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_CLIP":{"value":{"error":{"message":"No such clip.","code":"NO_SUCH_CLIP","id":"b4d92d70-b216-46fa-9a3f-a8c811699257"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/clips/favorite":{"post":{"operationId":"clips/favorite","summary":"clips/favorite","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:clip-favorite*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/clips/favorite.ts"},"tags":["clip"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"clipId":{"type":"string","format":"misskey:id"}},"required":["clipId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_CLIP":{"value":{"error":{"message":"No such clip.","code":"NO_SUCH_CLIP","id":"4c2aaeae-80d8-4250-9606-26cb1fdb77a5"}}},"ALREADY_FAVORITED":{"value":{"error":{"message":"The clip has already been favorited.","code":"ALREADY_FAVORITED","id":"92658936-c625-4273-8326-2d790129256e"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/clips/unfavorite":{"post":{"operationId":"clips/unfavorite","summary":"clips/unfavorite","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:clip-favorite*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/clips/unfavorite.ts"},"tags":["clip"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"clipId":{"type":"string","format":"misskey:id"}},"required":["clipId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_CLIP":{"value":{"error":{"message":"No such clip.","code":"NO_SUCH_CLIP","id":"2603966e-b865-426c-94a7-af4a01241dc1"}}},"NOT_FAVORITED":{"value":{"error":{"message":"You have not favorited the clip.","code":"NOT_FAVORITED","id":"90c3a9e8-b321-4dae-bf57-2bf79bbcc187"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/clips/my-favorites":{"post":{"operationId":"clips/my-favorites","summary":"clips/my-favorites","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:clip-favorite*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/clips/my-favorites.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Clip"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/drive":{"post":{"operationId":"drive","summary":"drive","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:drive*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/drive.ts"},"tags":["drive"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"capacity":{"type":"number","nullable":false},"usage":{"type":"number","nullable":false}},"required":["capacity","usage"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/drive/files":{"post":{"operationId":"drive/files","summary":"drive/files","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:drive*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/drive/files.ts"},"tags":["drive"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"folderId":{"type":"string","format":"misskey:id","nullable":true,"default":null},"type":{"type":"string","nullable":true,"pattern":"^[a-zA-Z\\/\\-*]+$"},"sort":{"type":"string","nullable":true,"enum":["+createdAt","-createdAt","+name","-name","+size","-size"]}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/DriveFile"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/drive/files/attached-notes":{"post":{"operationId":"drive/files/attached-notes","summary":"drive/files/attached-notes","description":"Find the notes to which the given file is attached.\n\n**Credential required**: *Yes* / **Permission**: *read:drive*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/drive/files/attached-notes.ts"},"tags":["drive"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"fileId":{"type":"string","format":"misskey:id"}},"required":["fileId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_FILE":{"value":{"error":{"message":"No such file.","code":"NO_SUCH_FILE","id":"c118ece3-2e4b-4296-99d1-51756e32d232"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/drive/files/check-existence":{"post":{"operationId":"drive/files/check-existence","summary":"drive/files/check-existence","description":"Check if a given file exists.\n\n**Credential required**: *Yes* / **Permission**: *read:drive*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/drive/files/check-existence.ts"},"tags":["drive"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"md5":{"type":"string"}},"required":["md5"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"boolean","nullable":false}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/drive/files/create":{"post":{"operationId":"drive/files/create","summary":"drive/files/create","description":"Upload a new drive file.\n\n**Credential required**: *Yes* / **Permission**: *write:drive*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/drive/files/create.ts"},"tags":["drive"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"folderId":{"type":"string","format":"misskey:id","nullable":true,"default":null},"name":{"type":"string","nullable":true,"default":null},"comment":{"type":"string","nullable":true,"maxLength":512,"default":null},"isSensitive":{"type":"boolean","default":false},"force":{"type":"boolean","default":false},"file":{"type":"string","format":"binary","description":"The file contents."}},"required":["file"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/DriveFile"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_FILE_NAME":{"value":{"error":{"message":"Invalid file name.","code":"INVALID_FILE_NAME","id":"f449b209-0c60-4e51-84d5-29486263bfd4"}}},"INAPPROPRIATE":{"value":{"error":{"message":"Cannot upload the file because it has been determined that it possibly contains inappropriate content.","code":"INAPPROPRIATE","id":"bec5bd69-fba3-43c9-b4fb-2894b66ad5d2"}}},"NO_FREE_SPACE":{"value":{"error":{"message":"Cannot upload the file because you have no free space of drive.","code":"NO_FREE_SPACE","id":"d08dbc37-a6a9-463a-8c47-96c32ab5f064"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/drive/files/delete":{"post":{"operationId":"drive/files/delete","summary":"drive/files/delete","description":"Delete an existing drive file.\n\n**Credential required**: *Yes* / **Permission**: *write:drive*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/drive/files/delete.ts"},"tags":["drive"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"fileId":{"type":"string","format":"misskey:id"}},"required":["fileId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_FILE":{"value":{"error":{"message":"No such file.","code":"NO_SUCH_FILE","id":"908939ec-e52b-4458-b395-1025195cea58"}}},"ACCESS_DENIED":{"value":{"error":{"message":"Access denied.","code":"ACCESS_DENIED","id":"5eb8d909-2540-4970-90b8-dd6f86088121"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/drive/files/find-by-hash":{"post":{"operationId":"drive/files/find-by-hash","summary":"drive/files/find-by-hash","description":"Search for a drive file by a hash of the contents.\n\n**Credential required**: *Yes* / **Permission**: *read:drive*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/drive/files/find-by-hash.ts"},"tags":["drive"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"md5":{"type":"string"}},"required":["md5"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/DriveFile"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/drive/files/find":{"post":{"operationId":"drive/files/find","summary":"drive/files/find","description":"Search for a drive file by the given parameters.\n\n**Credential required**: *Yes* / **Permission**: *read:drive*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/drive/files/find.ts"},"tags":["drive"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"folderId":{"type":"string","format":"misskey:id","nullable":true,"default":null}},"required":["name"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/DriveFile"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/drive/files/show":{"post":{"operationId":"drive/files/show","summary":"drive/files/show","description":"Show the properties of a drive file.\n\n**Credential required**: *Yes* / **Permission**: *read:drive*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/drive/files/show.ts"},"tags":["drive"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"fileId":{"type":"string","format":"misskey:id"},"url":{"type":"string"}},"anyOf":[{"required":["fileId"]},{"required":["url"]}]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/DriveFile"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_FILE":{"value":{"error":{"message":"No such file.","code":"NO_SUCH_FILE","id":"067bc436-2718-4795-b0fb-ecbe43949e31"}}},"ACCESS_DENIED":{"value":{"error":{"message":"Access denied.","code":"ACCESS_DENIED","id":"25b73c73-68b1-41d0-bad1-381cfdf6579f"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/drive/files/update":{"post":{"operationId":"drive/files/update","summary":"drive/files/update","description":"Update the properties of a drive file.\n\n**Credential required**: *Yes* / **Permission**: *write:drive*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/drive/files/update.ts"},"tags":["drive"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"fileId":{"type":"string","format":"misskey:id"},"folderId":{"type":"string","format":"misskey:id","nullable":true},"name":{"type":"string"},"isSensitive":{"type":"boolean"},"comment":{"type":"string","nullable":true,"maxLength":512}},"required":["fileId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/DriveFile"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_FILE_NAME":{"value":{"error":{"message":"Invalid file name.","code":"INVALID_FILE_NAME","id":"395e7156-f9f0-475e-af89-53c3c23080c2"}}},"NO_SUCH_FILE":{"value":{"error":{"message":"No such file.","code":"NO_SUCH_FILE","id":"e7778c7e-3af9-49cd-9690-6dbc3e6c972d"}}},"ACCESS_DENIED":{"value":{"error":{"message":"Access denied.","code":"ACCESS_DENIED","id":"01a53b27-82fc-445b-a0c1-b558465a8ed2"}}},"NO_SUCH_FOLDER":{"value":{"error":{"message":"No such folder.","code":"NO_SUCH_FOLDER","id":"ea8fb7a5-af77-4a08-b608-c0218176cd73"}}},"RESTRICTED_BY_ROLE":{"value":{"error":{"message":"This feature is restricted by your role.","code":"RESTRICTED_BY_ROLE","id":"7f59dccb-f465-75ab-5cf4-3ce44e3282f7"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/drive/files/upload-from-url":{"post":{"operationId":"drive/files/upload-from-url","summary":"drive/files/upload-from-url","description":"Request the server to download a new drive file from the specified URL.\n\n**Credential required**: *Yes* / **Permission**: *write:drive*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/drive/files/upload-from-url.ts"},"tags":["drive"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"folderId":{"type":"string","format":"misskey:id","nullable":true,"default":null},"isSensitive":{"type":"boolean","default":false},"comment":{"type":"string","nullable":true,"maxLength":512,"default":null},"marker":{"type":"string","nullable":true,"default":null},"force":{"type":"boolean","default":false}},"required":["url"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/drive/folders":{"post":{"operationId":"drive/folders","summary":"drive/folders","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:drive*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/drive/folders.ts"},"tags":["drive"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"folderId":{"type":"string","format":"misskey:id","nullable":true,"default":null}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/DriveFolder"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/drive/folders/create":{"post":{"operationId":"drive/folders/create","summary":"drive/folders/create","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:drive*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/drive/folders/create.ts"},"tags":["drive"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","default":"Untitled","maxLength":200},"parentId":{"type":"string","format":"misskey:id","nullable":true}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/DriveFolder"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_FOLDER":{"value":{"error":{"message":"No such folder.","code":"NO_SUCH_FOLDER","id":"53326628-a00d-40a6-a3cd-8975105c0f95"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/drive/folders/delete":{"post":{"operationId":"drive/folders/delete","summary":"drive/folders/delete","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:drive*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/drive/folders/delete.ts"},"tags":["drive"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"folderId":{"type":"string","format":"misskey:id"}},"required":["folderId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_FOLDER":{"value":{"error":{"message":"No such folder.","code":"NO_SUCH_FOLDER","id":"1069098f-c281-440f-b085-f9932edbe091"}}},"HAS_CHILD_FILES_OR_FOLDERS":{"value":{"error":{"message":"This folder has child files or folders.","code":"HAS_CHILD_FILES_OR_FOLDERS","id":"b0fc8a17-963c-405d-bfbc-859a487295e1"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/drive/folders/find":{"post":{"operationId":"drive/folders/find","summary":"drive/folders/find","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:drive*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/drive/folders/find.ts"},"tags":["drive"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"parentId":{"type":"string","format":"misskey:id","nullable":true,"default":null}},"required":["name"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/DriveFolder"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/drive/folders/show":{"post":{"operationId":"drive/folders/show","summary":"drive/folders/show","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:drive*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/drive/folders/show.ts"},"tags":["drive"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"folderId":{"type":"string","format":"misskey:id"}},"required":["folderId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/DriveFolder"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_FOLDER":{"value":{"error":{"message":"No such folder.","code":"NO_SUCH_FOLDER","id":"d74ab9eb-bb09-4bba-bf24-fb58f761e1e9"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/drive/folders/update":{"post":{"operationId":"drive/folders/update","summary":"drive/folders/update","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:drive*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/drive/folders/update.ts"},"tags":["drive"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"folderId":{"type":"string","format":"misskey:id"},"name":{"type":"string","maxLength":200},"parentId":{"type":"string","format":"misskey:id","nullable":true}},"required":["folderId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/DriveFolder"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_FOLDER":{"value":{"error":{"message":"No such folder.","code":"NO_SUCH_FOLDER","id":"f7974dac-2c0d-4a27-926e-23583b28e98e"}}},"NO_SUCH_PARENT_FOLDER":{"value":{"error":{"message":"No such parent folder.","code":"NO_SUCH_PARENT_FOLDER","id":"ce104e3a-faaf-49d5-b459-10ff0cbbcaa1"}}},"RECURSIVE_NESTING":{"value":{"error":{"message":"It can not be structured like nesting folders recursively.","code":"RECURSIVE_NESTING","id":"dbeb024837894013aed44279f9199740"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/drive/stream":{"post":{"operationId":"drive/stream","summary":"drive/stream","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:drive*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/drive/stream.ts"},"tags":["drive"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"type":{"type":"string","pattern":"^[a-zA-Z\\/\\-*]+$"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/DriveFile"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/email-address/available":{"post":{"operationId":"email-address/available","summary":"email-address/available","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/email-address/available.ts"},"tags":["users"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"emailAddress":{"type":"string"}},"required":["emailAddress"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"available":{"type":"boolean","nullable":false},"reason":{"type":"string","nullable":true}},"required":["available","reason"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/endpoint":{"post":{"operationId":"endpoint","summary":"endpoint","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/endpoint.ts"},"tags":["meta"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"endpoint":{"type":"string"}},"required":["endpoint"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/endpoints":{"post":{"operationId":"endpoints","summary":"endpoints","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/endpoints.ts"},"tags":["meta"],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"string","nullable":false},"example":["admin/abuse-user-reports","admin/accounts/create","admin/announcements/create","..."]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/federation/followers":{"post":{"operationId":"federation/followers","summary":"federation/followers","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/federation/followers.ts"},"tags":["federation"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"host":{"type":"string"},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10}},"required":["host"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Following"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/federation/following":{"post":{"operationId":"federation/following","summary":"federation/following","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/federation/following.ts"},"tags":["federation"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"host":{"type":"string"},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10}},"required":["host"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Following"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/federation/instances":{"get":{"operationId":"federation/instances","summary":"federation/instances","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/federation/instances.ts"},"tags":["federation"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"host":{"type":"string","nullable":true,"description":"Omit or use `null` to not filter by host."},"blocked":{"type":"boolean","nullable":true},"notResponding":{"type":"boolean","nullable":true},"suspended":{"type":"boolean","nullable":true},"silenced":{"type":"boolean","nullable":true},"federating":{"type":"boolean","nullable":true},"subscribing":{"type":"boolean","nullable":true},"publishing":{"type":"boolean","nullable":true},"limit":{"type":"integer","minimum":1,"maximum":100,"default":30},"offset":{"type":"integer","default":0},"sort":{"type":"string","nullable":true,"enum":["+pubSub","-pubSub","+notes","-notes","+users","-users","+following","-following","+followers","-followers","+firstRetrievedAt","-firstRetrievedAt","+latestRequestReceivedAt","-latestRequestReceivedAt"]}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/FederationInstance"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"federation/instances","summary":"federation/instances","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/federation/instances.ts"},"tags":["federation"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"host":{"type":"string","nullable":true,"description":"Omit or use `null` to not filter by host."},"blocked":{"type":"boolean","nullable":true},"notResponding":{"type":"boolean","nullable":true},"suspended":{"type":"boolean","nullable":true},"silenced":{"type":"boolean","nullable":true},"federating":{"type":"boolean","nullable":true},"subscribing":{"type":"boolean","nullable":true},"publishing":{"type":"boolean","nullable":true},"limit":{"type":"integer","minimum":1,"maximum":100,"default":30},"offset":{"type":"integer","default":0},"sort":{"type":"string","nullable":true,"enum":["+pubSub","-pubSub","+notes","-notes","+users","-users","+following","-following","+followers","-followers","+firstRetrievedAt","-firstRetrievedAt","+latestRequestReceivedAt","-latestRequestReceivedAt"]}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/FederationInstance"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/federation/show-instance":{"post":{"operationId":"federation/show-instance","summary":"federation/show-instance","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/federation/show-instance.ts"},"tags":["federation"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"host":{"type":"string"}},"required":["host"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":true,"allOf":[{"$ref":"#/components/schemas/FederationInstance"}]}}}},"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/federation/update-remote-user":{"post":{"operationId":"federation/update-remote-user","summary":"federation/update-remote-user","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/federation/update-remote-user.ts"},"tags":["federation"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/federation/users":{"post":{"operationId":"federation/users","summary":"federation/users","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/federation/users.ts"},"tags":["federation"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"host":{"type":"string"},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10}},"required":["host"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserDetailedNotMe"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/federation/stats":{"get":{"operationId":"federation/stats","summary":"federation/stats","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/federation/stats.ts"},"tags":["federation"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10}}}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"federation/stats","summary":"federation/stats","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/federation/stats.ts"},"tags":["federation"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10}}}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/following/create":{"post":{"operationId":"following/create","summary":"following/create","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:following*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/following/create.ts"},"tags":["following"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"},"withReplies":{"type":"boolean"}},"required":["userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserLite"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"fcd2eef9-a9b2-4c4f-8624-038099e90aa5"}}},"FOLLOWEE_IS_YOURSELF":{"value":{"error":{"message":"Followee is yourself.","code":"FOLLOWEE_IS_YOURSELF","id":"26fbe7bb-a331-4857-af17-205b426669a9"}}},"ALREADY_FOLLOWING":{"value":{"error":{"message":"You are already following that user.","code":"ALREADY_FOLLOWING","id":"35387507-38c7-4cb9-9197-300b93783fa0"}}},"BLOCKING":{"value":{"error":{"message":"You are blocking that user.","code":"BLOCKING","id":"4e2206ec-aa4f-4960-b865-6c23ac38e2d9"}}},"BLOCKED":{"value":{"error":{"message":"You are blocked by that user.","code":"BLOCKED","id":"c4ab57cc-4e41-45e9-bfd9-584f61e35ce0"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/following/delete":{"post":{"operationId":"following/delete","summary":"following/delete","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:following*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/following/delete.ts"},"tags":["following"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserLite"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"5b12c78d-2b28-4dca-99d2-f56139b42ff8"}}},"FOLLOWEE_IS_YOURSELF":{"value":{"error":{"message":"Followee is yourself.","code":"FOLLOWEE_IS_YOURSELF","id":"d9e400b9-36b0-4808-b1d8-79e707f1296c"}}},"NOT_FOLLOWING":{"value":{"error":{"message":"You are not following that user.","code":"NOT_FOLLOWING","id":"5dbf82f5-c92b-40b1-87d1-6c8c0741fd09"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/following/update":{"post":{"operationId":"following/update","summary":"following/update","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:following*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/following/update.ts"},"tags":["following"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"},"notify":{"type":"string","enum":["normal","none"]},"withReplies":{"type":"boolean"}},"required":["userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserLite"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"14318698-f67e-492a-99da-5353a5ac52be"}}},"FOLLOWEE_IS_YOURSELF":{"value":{"error":{"message":"Followee is yourself.","code":"FOLLOWEE_IS_YOURSELF","id":"4c4cbaf9-962a-463b-8418-a5e365dbf2eb"}}},"NOT_FOLLOWING":{"value":{"error":{"message":"You are not following that user.","code":"NOT_FOLLOWING","id":"b8dc75cf-1cb5-46c9-b14b-5f1ffbd782c9"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/following/update-all":{"post":{"operationId":"following/update-all","summary":"following/update-all","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:following*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/following/update-all.ts"},"tags":["following"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"notify":{"type":"string","enum":["normal","none"]},"withReplies":{"type":"boolean"}}}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/following/invalidate":{"post":{"operationId":"following/invalidate","summary":"following/invalidate","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:following*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/following/invalidate.ts"},"tags":["following"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserLite"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"b77e6ae6-a3e5-40da-9cc8-c240115479cc"}}},"FOLLOWER_IS_YOURSELF":{"value":{"error":{"message":"Follower is yourself.","code":"FOLLOWER_IS_YOURSELF","id":"07dc03b9-03da-422d-885b-438313707662"}}},"NOT_FOLLOWING":{"value":{"error":{"message":"The other use is not following you.","code":"NOT_FOLLOWING","id":"918faac3-074f-41ae-9c43-ed5d2946770d"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/following/requests/accept":{"post":{"operationId":"following/requests/accept","summary":"following/requests/accept","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:following*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/following/requests/accept.ts"},"tags":["following"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"66ce1645-d66c-46bb-8b79-96739af885bd"}}},"NO_FOLLOW_REQUEST":{"value":{"error":{"message":"No follow request.","code":"NO_FOLLOW_REQUEST","id":"bcde4f8b-0913-4614-8881-614e522fb041"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/following/requests/cancel":{"post":{"operationId":"following/requests/cancel","summary":"following/requests/cancel","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:following*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/following/requests/cancel.ts"},"tags":["following"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserLite"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"4e68c551-fc4c-4e46-bb41-7d4a37bf9dab"}}},"FOLLOW_REQUEST_NOT_FOUND":{"value":{"error":{"message":"Follow request not found.","code":"FOLLOW_REQUEST_NOT_FOUND","id":"089b125b-d338-482a-9a09-e2622ac9f8d4"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/following/requests/list":{"post":{"operationId":"following/requests/list","summary":"following/requests/list","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:following*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/following/requests/list.ts"},"tags":["following"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"properties":{"id":{"type":"string","nullable":false,"format":"id"},"follower":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserLite"},"followee":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserLite"}},"required":["id","follower","followee"]}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/following/requests/reject":{"post":{"operationId":"following/requests/reject","summary":"following/requests/reject","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:following*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/following/requests/reject.ts"},"tags":["following"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"abc2ffa6-25b2-4380-ba99-321ff3a94555"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/gallery/featured":{"post":{"operationId":"gallery/featured","summary":"gallery/featured","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/gallery/featured.ts"},"tags":["gallery"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"untilId":{"type":"string","format":"misskey:id"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/GalleryPost"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/gallery/popular":{"post":{"operationId":"gallery/popular","summary":"gallery/popular","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/gallery/popular.ts"},"tags":["gallery"],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/GalleryPost"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/gallery/posts":{"post":{"operationId":"gallery/posts","summary":"gallery/posts","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/gallery/posts.ts"},"tags":["gallery"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/GalleryPost"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/gallery/posts/create":{"post":{"operationId":"gallery/posts/create","summary":"gallery/posts/create","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:gallery*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/gallery/posts/create.ts"},"tags":["gallery"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1},"description":{"type":"string","nullable":true},"fileIds":{"type":"array","uniqueItems":true,"minItems":1,"maxItems":32,"items":{"type":"string","format":"misskey:id"}},"isSensitive":{"type":"boolean","default":false}},"required":["title","fileIds"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/GalleryPost"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/gallery/posts/delete":{"post":{"operationId":"gallery/posts/delete","summary":"gallery/posts/delete","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:gallery*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/gallery/posts/delete.ts"},"tags":["gallery"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"postId":{"type":"string","format":"misskey:id"}},"required":["postId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_POST":{"value":{"error":{"message":"No such post.","code":"NO_SUCH_POST","id":"ae52f367-4bd7-4ecd-afc6-5672fff427f5"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/gallery/posts/like":{"post":{"operationId":"gallery/posts/like","summary":"gallery/posts/like","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:gallery-likes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/gallery/posts/like.ts"},"tags":["gallery"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"postId":{"type":"string","format":"misskey:id"}},"required":["postId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_POST":{"value":{"error":{"message":"No such post.","code":"NO_SUCH_POST","id":"56c06af3-1287-442f-9701-c93f7c4a62ff"}}},"YOUR_POST":{"value":{"error":{"message":"You cannot like your post.","code":"YOUR_POST","id":"f78f1511-5ebc-4478-a888-1198d752da68"}}},"ALREADY_LIKED":{"value":{"error":{"message":"The post has already been liked.","code":"ALREADY_LIKED","id":"40e9ed56-a59c-473a-bf3f-f289c54fb5a7"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/gallery/posts/show":{"post":{"operationId":"gallery/posts/show","summary":"gallery/posts/show","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/gallery/posts/show.ts"},"tags":["gallery"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"postId":{"type":"string","format":"misskey:id"}},"required":["postId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/GalleryPost"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_POST":{"value":{"error":{"message":"No such post.","code":"NO_SUCH_POST","id":"1137bf14-c5b0-4604-85bb-5b5371b1cd45"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/gallery/posts/unlike":{"post":{"operationId":"gallery/posts/unlike","summary":"gallery/posts/unlike","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:gallery-likes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/gallery/posts/unlike.ts"},"tags":["gallery"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"postId":{"type":"string","format":"misskey:id"}},"required":["postId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_POST":{"value":{"error":{"message":"No such post.","code":"NO_SUCH_POST","id":"c32e6dd0-b555-4413-925e-b3757d19ed84"}}},"NOT_LIKED":{"value":{"error":{"message":"You have not liked that post.","code":"NOT_LIKED","id":"e3e8e06e-be37-41f7-a5b4-87a8250288f0"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/gallery/posts/update":{"post":{"operationId":"gallery/posts/update","summary":"gallery/posts/update","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:gallery*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/gallery/posts/update.ts"},"tags":["gallery"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"postId":{"type":"string","format":"misskey:id"},"title":{"type":"string","minLength":1},"description":{"type":"string","nullable":true},"fileIds":{"type":"array","uniqueItems":true,"minItems":1,"maxItems":32,"items":{"type":"string","format":"misskey:id"}},"isSensitive":{"type":"boolean","default":false}},"required":["postId","title","fileIds"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/GalleryPost"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/get-online-users-count":{"get":{"operationId":"get-online-users-count","summary":"get-online-users-count","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/get-online-users-count.ts"},"tags":["meta"],"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"get-online-users-count","summary":"get-online-users-count","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/get-online-users-count.ts"},"tags":["meta"],"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/get-avatar-decorations":{"post":{"operationId":"get-avatar-decorations","summary":"get-avatar-decorations","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/get-avatar-decorations.ts"},"tags":["users"],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"name":{"type":"string","nullable":false},"description":{"type":"string","nullable":false},"url":{"type":"string","nullable":false},"roleIdsThatCanBeUsedThisDecoration":{"type":"array","nullable":false,"items":{"type":"string","nullable":false,"format":"id"}}},"required":["id","name","description","url","roleIdsThatCanBeUsedThisDecoration"]}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/hashtags/list":{"post":{"operationId":"hashtags/list","summary":"hashtags/list","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/hashtags/list.ts"},"tags":["hashtags"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"attachedToUserOnly":{"type":"boolean","default":false},"attachedToLocalUserOnly":{"type":"boolean","default":false},"attachedToRemoteUserOnly":{"type":"boolean","default":false},"sort":{"type":"string","enum":["+mentionedUsers","-mentionedUsers","+mentionedLocalUsers","-mentionedLocalUsers","+mentionedRemoteUsers","-mentionedRemoteUsers","+attachedUsers","-attachedUsers","+attachedLocalUsers","-attachedLocalUsers","+attachedRemoteUsers","-attachedRemoteUsers"]}},"required":["sort"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Hashtag"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/hashtags/search":{"post":{"operationId":"hashtags/search","summary":"hashtags/search","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/hashtags/search.ts"},"tags":["hashtags"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"query":{"type":"string"},"offset":{"type":"integer","default":0}},"required":["query"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"string","nullable":false}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/hashtags/show":{"post":{"operationId":"hashtags/show","summary":"hashtags/show","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/hashtags/show.ts"},"tags":["hashtags"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"tag":{"type":"string"}},"required":["tag"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/Hashtag"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_HASHTAG":{"value":{"error":{"message":"No such hashtag.","code":"NO_SUCH_HASHTAG","id":"110ee688-193e-4a3a-9ecf-c167b2e6981e"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/hashtags/trend":{"get":{"operationId":"hashtags/trend","summary":"hashtags/trend","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/hashtags/trend.ts"},"tags":["hashtags"],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"properties":{"tag":{"type":"string","nullable":false},"chart":{"type":"array","nullable":false,"items":{"type":"number","nullable":false}},"usersCount":{"type":"number","nullable":false}},"required":["tag","chart","usersCount"]}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"hashtags/trend","summary":"hashtags/trend","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/hashtags/trend.ts"},"tags":["hashtags"],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"properties":{"tag":{"type":"string","nullable":false},"chart":{"type":"array","nullable":false,"items":{"type":"number","nullable":false}},"usersCount":{"type":"number","nullable":false}},"required":["tag","chart","usersCount"]}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/hashtags/users":{"post":{"operationId":"hashtags/users","summary":"hashtags/users","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/hashtags/users.ts"},"tags":["hashtags"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"tag":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sort":{"type":"string","enum":["+follower","-follower","+createdAt","-createdAt","+updatedAt","-updatedAt"]},"state":{"type":"string","enum":["all","alive"],"default":"all"},"origin":{"type":"string","enum":["combined","local","remote"],"default":"local"}},"required":["tag","sort"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserDetailed"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i":{"post":{"operationId":"i","summary":"i","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/MeDetailed"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"USER_IS_DELETED":{"value":{"error":{"message":"User is deleted.","code":"USER_IS_DELETED","id":"e5b3b9f0-2b8f-4b9f-9c1f-8c5c1b2e1b1a","kind":"permission"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/claim-achievement":{"post":{"operationId":"i/claim-achievement","summary":"i/claim-achievement","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/claim-achievement.ts"},"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","enum":["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"]}},"required":["name"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/favorites":{"post":{"operationId":"i/favorites","summary":"i/favorites","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:favorites*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/favorites.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/NoteFavorite"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/gallery/likes":{"post":{"operationId":"i/gallery/likes","summary":"i/gallery/likes","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:gallery-likes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/gallery/likes.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"properties":{"id":{"type":"string","nullable":false,"format":"id"},"post":{"type":"object","nullable":false,"$ref":"#/components/schemas/GalleryPost"}},"required":["id","post"]}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/gallery/posts":{"post":{"operationId":"i/gallery/posts","summary":"i/gallery/posts","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:gallery*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/gallery/posts.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/GalleryPost"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/notifications":{"post":{"operationId":"i/notifications","summary":"i/notifications","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:notifications*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/notifications.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"markAsRead":{"type":"boolean","default":true},"includeTypes":{"type":"array","items":{"type":"string","enum":["note","follow","mention","reply","renote","quote","reaction","pollEnded","receiveFollowRequest","followRequestAccepted","achievementEarned","app","test","pollVote","groupInvited"]}},"excludeTypes":{"type":"array","items":{"type":"string","enum":["note","follow","mention","reply","renote","quote","reaction","pollEnded","receiveFollowRequest","followRequestAccepted","achievementEarned","app","test","pollVote","groupInvited"]}}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Notification"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/notifications-grouped":{"post":{"operationId":"i/notifications-grouped","summary":"i/notifications-grouped","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:notifications*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/notifications-grouped.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"markAsRead":{"type":"boolean","default":true},"includeTypes":{"type":"array","items":{"type":"string","enum":["note","follow","mention","reply","renote","quote","reaction","pollEnded","receiveFollowRequest","followRequestAccepted","achievementEarned","app","test","pollVote","groupInvited"]}},"excludeTypes":{"type":"array","items":{"type":"string","enum":["note","follow","mention","reply","renote","quote","reaction","pollEnded","receiveFollowRequest","followRequestAccepted","achievementEarned","app","test","pollVote","groupInvited"]}}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Notification"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/page-likes":{"post":{"operationId":"i/page-likes","summary":"i/page-likes","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:page-likes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/page-likes.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id"},"page":{"type":"object","nullable":false,"$ref":"#/components/schemas/Page"}},"required":["id","page"]}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/pages":{"post":{"operationId":"i/pages","summary":"i/pages","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:pages*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/pages.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Page"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/pin":{"post":{"operationId":"i/pin","summary":"i/pin","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/pin.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"}},"required":["noteId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/MeDetailed"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"56734f8b-3928-431e-bf80-6ff87df40cb3"}}},"PIN_LIMIT_EXCEEDED":{"value":{"error":{"message":"You can not pin notes any more.","code":"PIN_LIMIT_EXCEEDED","id":"72dab508-c64d-498f-8740-a8eec1ba385a"}}},"ALREADY_PINNED":{"value":{"error":{"message":"That note has already been pinned.","code":"ALREADY_PINNED","id":"8b18c2b7-68fe-4edb-9892-c0cbaeb6c913"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/read-all-unread-notes":{"post":{"operationId":"i/read-all-unread-notes","summary":"i/read-all-unread-notes","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/read-all-unread-notes.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/read-announcement":{"post":{"operationId":"i/read-announcement","summary":"i/read-announcement","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/read-announcement.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"announcementId":{"type":"string","format":"misskey:id"}},"required":["announcementId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/registry/get-all":{"post":{"operationId":"i/registry/get-all","summary":"i/registry/get-all","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/registry/get-all.ts"},"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"scope":{"type":"array","default":[],"items":{"type":"string","pattern":"^[a-zA-Z0-9_]+$"}},"domain":{"type":"string","nullable":true}},"required":["scope"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/registry/get-detail":{"post":{"operationId":"i/registry/get-detail","summary":"i/registry/get-detail","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/registry/get-detail.ts"},"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"key":{"type":"string"},"scope":{"type":"array","default":[],"items":{"type":"string","pattern":"^[a-zA-Z0-9_]+$"}},"domain":{"type":"string","nullable":true}},"required":["key","scope"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_KEY":{"value":{"error":{"message":"No such key.","code":"NO_SUCH_KEY","id":"97a1e8e7-c0f7-47d2-957a-92e61256e01a"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/registry/get":{"post":{"operationId":"i/registry/get","summary":"i/registry/get","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/registry/get.ts"},"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"key":{"type":"string"},"scope":{"type":"array","default":[],"items":{"type":"string","pattern":"^[a-zA-Z0-9_]+$"}},"domain":{"type":"string","nullable":true}},"required":["key","scope"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_KEY":{"value":{"error":{"message":"No such key.","code":"NO_SUCH_KEY","id":"ac3ed68a-62f0-422b-a7bc-d5e09e8f6a6a"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/registry/keys-with-type":{"post":{"operationId":"i/registry/keys-with-type","summary":"i/registry/keys-with-type","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/registry/keys-with-type.ts"},"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"scope":{"type":"array","default":[],"items":{"type":"string","pattern":"^[a-zA-Z0-9_]+$"}},"domain":{"type":"string","nullable":true}},"required":["scope"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/registry/keys":{"post":{"operationId":"i/registry/keys","summary":"i/registry/keys","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/registry/keys.ts"},"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"scope":{"type":"array","default":[],"items":{"type":"string","pattern":"^[a-zA-Z0-9_]+$"}},"domain":{"type":"string","nullable":true}},"required":["scope"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/registry/remove":{"post":{"operationId":"i/registry/remove","summary":"i/registry/remove","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/registry/remove.ts"},"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"key":{"type":"string"},"scope":{"type":"array","default":[],"items":{"type":"string","pattern":"^[a-zA-Z0-9_]+$"}},"domain":{"type":"string","nullable":true}},"required":["key","scope"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_KEY":{"value":{"error":{"message":"No such key.","code":"NO_SUCH_KEY","id":"1fac4e8a-a6cd-4e39-a4a5-3a7e11f1b019"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/registry/set":{"post":{"operationId":"i/registry/set","summary":"i/registry/set","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/registry/set.ts"},"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"key":{"type":"string","minLength":1},"value":{},"scope":{"type":"array","default":[],"items":{"type":"string","pattern":"^[a-zA-Z0-9_]+$"}},"domain":{"type":"string","nullable":true}},"required":["key","value","scope"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/unpin":{"post":{"operationId":"i/unpin","summary":"i/unpin","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/unpin.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"}},"required":["noteId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/MeDetailed"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"454170ce-9d63-4a43-9da1-ea10afe81e21"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/update":{"post":{"operationId":"i/update","summary":"i/update","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/update.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50,"nullable":true},"description":{"type":"string","minLength":1,"maxLength":1500,"nullable":true},"location":{"type":"string","minLength":1,"maxLength":50,"nullable":true},"birthday":{"type":"string","pattern":"^([0-9]{4})-([0-9]{2})-([0-9]{2})$","nullable":true},"lang":{"type":"string","enum":[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"],"nullable":true},"avatarId":{"type":"string","format":"misskey:id","nullable":true},"avatarDecorations":{"type":"array","maxItems":1,"items":{"type":"object","properties":{"id":{"type":"string","format":"misskey:id"},"angle":{"type":"number","nullable":true,"maximum":0.5,"minimum":-0.5},"flipH":{"type":"boolean","nullable":true}},"required":["id"]}},"bannerId":{"type":"string","format":"misskey:id","nullable":true},"fields":{"type":"array","minItems":0,"maxItems":16,"items":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value"]}},"isLocked":{"type":"boolean"},"isExplorable":{"type":"boolean"},"hideOnlineStatus":{"type":"boolean"},"publicReactions":{"type":"boolean"},"carefulBot":{"type":"boolean"},"autoAcceptFollowed":{"type":"boolean"},"noCrawle":{"type":"boolean"},"preventAiLearning":{"type":"boolean"},"isBot":{"type":"boolean"},"isCat":{"type":"boolean"},"injectFeaturedNote":{"type":"boolean"},"receiveAnnouncementEmail":{"type":"boolean"},"alwaysMarkNsfw":{"type":"boolean"},"autoSensitive":{"type":"boolean"},"ffVisibility":{"type":"string","enum":["public","followers","private"]},"pinnedPageId":{"type":"string","format":"misskey:id","nullable":true},"mutedWords":{"type":"array","items":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"string"}]}},"hardMutedWords":{"type":"array","items":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"string"}]}},"mutedInstances":{"type":"array","items":{"type":"string"}},"notificationRecieveConfig":{"type":"object"},"emailNotificationTypes":{"type":"array","items":{"type":"string"}},"alsoKnownAs":{"type":"array","maxItems":10,"uniqueItems":true,"items":{"type":"string"}}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/MeDetailed"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_AVATAR":{"value":{"error":{"message":"No such avatar file.","code":"NO_SUCH_AVATAR","id":"539f3a45-f215-4f81-a9a8-31293640207f"}}},"NO_SUCH_BANNER":{"value":{"error":{"message":"No such banner file.","code":"NO_SUCH_BANNER","id":"0d8f5629-f210-41c2-9433-735831a58595"}}},"AVATAR_NOT_AN_IMAGE":{"value":{"error":{"message":"The file specified as an avatar is not an image.","code":"AVATAR_NOT_AN_IMAGE","id":"f419f9f8-2f4d-46b1-9fb4-49d3a2fd7191"}}},"BANNER_NOT_AN_IMAGE":{"value":{"error":{"message":"The file specified as a banner is not an image.","code":"BANNER_NOT_AN_IMAGE","id":"75aedb19-2afd-4e6d-87fc-67941256fa60"}}},"NO_SUCH_PAGE":{"value":{"error":{"message":"No such page.","code":"NO_SUCH_PAGE","id":"8e01b590-7eb9-431b-a239-860e086c408e"}}},"INVALID_REGEXP":{"value":{"error":{"message":"Invalid Regular Expression.","code":"INVALID_REGEXP","id":"0d786918-10df-41cd-8f33-8dec7d9a89a5"}}},"TOO_MANY_MUTED_WORDS":{"value":{"error":{"message":"Too many muted words.","code":"TOO_MANY_MUTED_WORDS","id":"010665b1-a211-42d2-bc64-8f6609d79785"}}},"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"fcd2eef9-a9b2-4c4f-8624-038099e90aa5"}}},"URI_NULL":{"value":{"error":{"message":"User ActivityPup URI is null.","code":"URI_NULL","id":"bf326f31-d430-4f97-9933-5d61e4d48a23"}}},"FORBIDDEN_TO_SET_YOURSELF":{"value":{"error":{"message":"You can't set yourself as your own alias.","code":"FORBIDDEN_TO_SET_YOURSELF","id":"25c90186-4ab0-49c8-9bba-a1fa6c202ba4"}}},"RESTRICTED_BY_ROLE":{"value":{"error":{"message":"This feature is restricted by your role.","code":"RESTRICTED_BY_ROLE","id":"8feff0ba-5ab5-585b-31f4-4df816663fad"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/webhooks/create":{"post":{"operationId":"i/webhooks/create","summary":"i/webhooks/create","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/webhooks/create.ts"},"tags":["webhooks"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"url":{"type":"string","minLength":1,"maxLength":1024},"secret":{"type":"string","maxLength":1024,"default":""},"on":{"type":"array","items":{"type":"string","enum":["mention","unfollow","follow","followed","note","reply","renote","reaction"]}}},"required":["name","url","on"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"TOO_MANY_WEBHOOKS":{"value":{"error":{"message":"You cannot create webhook any more.","code":"TOO_MANY_WEBHOOKS","id":"87a9bb19-111e-4e37-81d3-a3e7426453b0"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/webhooks/list":{"post":{"operationId":"i/webhooks/list","summary":"i/webhooks/list","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/webhooks/list.ts"},"tags":["webhooks"],"security":[{"bearerAuth":[]}],"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/webhooks/show":{"post":{"operationId":"i/webhooks/show","summary":"i/webhooks/show","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/webhooks/show.ts"},"tags":["webhooks"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"webhookId":{"type":"string","format":"misskey:id"}},"required":["webhookId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_WEBHOOK":{"value":{"error":{"message":"No such webhook.","code":"NO_SUCH_WEBHOOK","id":"50f614d9-3047-4f7e-90d8-ad6b2d5fb098"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/webhooks/update":{"post":{"operationId":"i/webhooks/update","summary":"i/webhooks/update","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/webhooks/update.ts"},"tags":["webhooks"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"webhookId":{"type":"string","format":"misskey:id"},"name":{"type":"string","minLength":1,"maxLength":100},"url":{"type":"string","minLength":1,"maxLength":1024},"secret":{"type":"string","maxLength":1024,"default":""},"on":{"type":"array","items":{"type":"string","enum":["mention","unfollow","follow","followed","note","reply","renote","reaction"]}},"active":{"type":"boolean"}},"required":["webhookId","name","url","on","active"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_WEBHOOK":{"value":{"error":{"message":"No such webhook.","code":"NO_SUCH_WEBHOOK","id":"fb0fea69-da18-45b1-828d-bd4fd1612518"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/i/webhooks/delete":{"post":{"operationId":"i/webhooks/delete","summary":"i/webhooks/delete","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/webhooks/delete.ts"},"tags":["webhooks"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"webhookId":{"type":"string","format":"misskey:id"}},"required":["webhookId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_WEBHOOK":{"value":{"error":{"message":"No such webhook.","code":"NO_SUCH_WEBHOOK","id":"bae73e5a-5522-4965-ae19-3a8688e71d82"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/invite/create":{"post":{"operationId":"invite/create","summary":"invite/create","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/invite/create.ts"},"tags":["meta"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"code":{"type":"string","nullable":false,"example":"GR6S02ERUA5VR"}},"required":["code"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"EXCEEDED_LIMIT_OF_CREATE_INVITE_CODE":{"value":{"error":{"message":"You have exceeded the limit for creating an invitation code.","code":"EXCEEDED_LIMIT_OF_CREATE_INVITE_CODE","id":"8b165dd3-6f37-4557-8db1-73175d63c641"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/invite/delete":{"post":{"operationId":"invite/delete","summary":"invite/delete","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/invite/delete.ts"},"tags":["meta"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"inviteId":{"type":"string","format":"misskey:id"}},"required":["inviteId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_INVITE_CODE":{"value":{"error":{"message":"No such invite code.","code":"NO_SUCH_INVITE_CODE","id":"cd4f9ae4-7854-4e3e-8df9-c296f051e634"}}},"CAN_NOT_DELETE_INVITE_CODE":{"value":{"error":{"message":"You can't delete this invite code.","code":"CAN_NOT_DELETE_INVITE_CODE","id":"ff17af39-000c-4d4e-abdf-848fa30fc1ce"}}},"ACCESS_DENIED":{"value":{"error":{"message":"Access denied.","code":"ACCESS_DENIED","id":"5eb8d909-2540-4970-90b8-dd6f86088121"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/invite/list":{"post":{"operationId":"invite/list","summary":"invite/list","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/invite/list.ts"},"tags":["meta"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":30},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/InviteCode"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/invite/limit":{"post":{"operationId":"invite/limit","summary":"invite/limit","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/invite/limit.ts"},"tags":["meta"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"remaining":{"type":"integer","nullable":true}},"required":["remaining"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/meta":{"post":{"operationId":"meta","summary":"meta","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/meta.ts"},"tags":["meta"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"boolean","default":true}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"maintainerName":{"type":"string","nullable":true},"maintainerEmail":{"type":"string","nullable":true},"version":{"type":"string","nullable":false},"name":{"type":"string","nullable":false},"shortName":{"type":"string","nullable":true},"uri":{"type":"string","nullable":false,"format":"url","example":"https://misskey.example.com"},"description":{"type":"string","nullable":true},"langs":{"type":"array","nullable":false,"items":{"type":"string","nullable":false}},"tosUrl":{"type":"string","nullable":true},"repositoryUrl":{"type":"string","nullable":false,"default":"https://github.com/misskey-dev/misskey"},"feedbackUrl":{"type":"string","nullable":false,"default":"https://github.com/misskey-dev/misskey/issues/new"},"defaultDarkTheme":{"type":"string","nullable":true},"defaultLightTheme":{"type":"string","nullable":true},"disableRegistration":{"type":"boolean","nullable":false},"cacheRemoteFiles":{"type":"boolean","nullable":false},"cacheRemoteSensitiveFiles":{"type":"boolean","nullable":false},"emailRequiredForSignup":{"type":"boolean","nullable":false},"enableHcaptcha":{"type":"boolean","nullable":false},"hcaptchaSiteKey":{"type":"string","nullable":true},"enableRecaptcha":{"type":"boolean","nullable":false},"recaptchaSiteKey":{"type":"string","nullable":true},"enableTurnstile":{"type":"boolean","nullable":false},"turnstileSiteKey":{"type":"string","nullable":true},"swPublickey":{"type":"string","nullable":true},"mascotImageUrl":{"type":"string","nullable":false,"default":"/assets/ai.png"},"bannerUrl":{"type":"string","nullable":false},"serverErrorImageUrl":{"type":"string","nullable":true},"infoImageUrl":{"type":"string","nullable":true},"notFoundImageUrl":{"type":"string","nullable":true},"iconUrl":{"type":"string","nullable":true},"maxNoteTextLength":{"type":"number","nullable":false},"ads":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"properties":{"place":{"type":"string","nullable":false},"url":{"type":"string","nullable":false,"format":"url"},"imageUrl":{"type":"string","nullable":false,"format":"url"}},"required":["place","url","imageUrl"]}},"notesPerOneAd":{"type":"number","nullable":false,"default":0},"requireSetup":{"type":"boolean","nullable":false,"example":false},"enableEmail":{"type":"boolean","nullable":false},"enableServiceWorker":{"type":"boolean","nullable":false},"translatorAvailable":{"type":"boolean","nullable":false},"proxyAccountName":{"type":"string","nullable":true},"mediaProxy":{"type":"string","nullable":false},"features":{"type":"object","nullable":false,"properties":{"registration":{"type":"boolean","nullable":false},"localTimeline":{"type":"boolean","nullable":false},"globalTimeline":{"type":"boolean","nullable":false},"hcaptcha":{"type":"boolean","nullable":false},"recaptcha":{"type":"boolean","nullable":false},"objectStorage":{"type":"boolean","nullable":false},"serviceWorker":{"type":"boolean","nullable":false},"miauth":{"type":"boolean","nullable":false,"default":true}},"required":["registration","localTimeline","globalTimeline","hcaptcha","recaptcha","objectStorage","serviceWorker"]},"backgroundImageUrl":{"type":"string","nullable":true},"impressumUrl":{"type":"string","nullable":true},"logoImageUrl":{"type":"string","nullable":true},"privacyPolicyUrl":{"type":"string","nullable":true},"serverRules":{"type":"array","nullable":false,"items":{"type":"string"}},"themeColor":{"type":"string","nullable":true}},"required":["maintainerName","maintainerEmail","version","name","shortName","uri","description","langs","tosUrl","repositoryUrl","feedbackUrl","defaultDarkTheme","defaultLightTheme","disableRegistration","cacheRemoteFiles","cacheRemoteSensitiveFiles","emailRequiredForSignup","enableHcaptcha","hcaptchaSiteKey","enableRecaptcha","recaptchaSiteKey","enableTurnstile","turnstileSiteKey","swPublickey","mascotImageUrl","bannerUrl","serverErrorImageUrl","infoImageUrl","notFoundImageUrl","iconUrl","maxNoteTextLength","ads","notesPerOneAd","requireSetup","enableEmail","enableServiceWorker","translatorAvailable","proxyAccountName","mediaProxy","backgroundImageUrl","impressumUrl","logoImageUrl","privacyPolicyUrl","serverRules","themeColor"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/emojis":{"get":{"operationId":"emojis","summary":"emojis","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/emojis.ts"},"tags":["meta"],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"emojis":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/EmojiSimple"}}},"required":["emojis"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"emojis","summary":"emojis","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/emojis.ts"},"tags":["meta"],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"emojis":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/EmojiSimple"}}},"required":["emojis"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/emoji":{"get":{"operationId":"emoji","summary":"emoji","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/emoji.ts"},"tags":["meta"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/EmojiDetailed"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"emoji","summary":"emoji","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/emoji.ts"},"tags":["meta"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/EmojiDetailed"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/mute/create":{"post":{"operationId":"mute/create","summary":"mute/create","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:mutes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/mute/create.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"},"expiresAt":{"type":"integer","nullable":true,"description":"A Unix Epoch timestamp that must lie in the future. `null` means an indefinite mute."}},"required":["userId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"6fef56f3-e765-4957-88e5-c6f65329b8a5"}}},"MUTEE_IS_YOURSELF":{"value":{"error":{"message":"Mutee is yourself.","code":"MUTEE_IS_YOURSELF","id":"a4619cb2-5f23-484b-9301-94c903074e10"}}},"ALREADY_MUTING":{"value":{"error":{"message":"You are already muting that user.","code":"ALREADY_MUTING","id":"7e7359cb-160c-4956-b08f-4d1c653cd007"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/mute/delete":{"post":{"operationId":"mute/delete","summary":"mute/delete","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:mutes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/mute/delete.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"b851d00b-8ab1-4a56-8b1b-e24187cb48ef"}}},"MUTEE_IS_YOURSELF":{"value":{"error":{"message":"Mutee is yourself.","code":"MUTEE_IS_YOURSELF","id":"f428b029-6b39-4d48-a1d2-cc1ae6dd5cf9"}}},"NOT_MUTING":{"value":{"error":{"message":"You are not muting that user.","code":"NOT_MUTING","id":"5467d020-daa9-4553-81e1-135c0c35a96d"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/mute/list":{"post":{"operationId":"mute/list","summary":"mute/list","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:mutes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/mute/list.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":30},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Muting"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/renote-mute/create":{"post":{"operationId":"renote-mute/create","summary":"renote-mute/create","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:mutes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/renote-mute/create.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"5e0a5dff-1e94-4202-87ae-4d9c89eb2271"}}},"MUTEE_IS_YOURSELF":{"value":{"error":{"message":"Mutee is yourself.","code":"MUTEE_IS_YOURSELF","id":"37285718-52f7-4aef-b7de-c38b8e8a8420"}}},"ALREADY_MUTING":{"value":{"error":{"message":"You are already muting that user.","code":"ALREADY_MUTING","id":"ccfecbe4-1f1c-4fc2-8a3d-c3ffee61cb7b"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/renote-mute/delete":{"post":{"operationId":"renote-mute/delete","summary":"renote-mute/delete","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:mutes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/renote-mute/delete.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"9b6728cf-638c-4aa1-bedb-e07d8101474d"}}},"MUTEE_IS_YOURSELF":{"value":{"error":{"message":"Mutee is yourself.","code":"MUTEE_IS_YOURSELF","id":"619b1314-0850-4597-a242-e245f3da42af"}}},"NOT_MUTING":{"value":{"error":{"message":"You are not muting that user.","code":"NOT_MUTING","id":"2e4ef874-8bf0-4b4b-b069-4598f6d05817"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/renote-mute/list":{"post":{"operationId":"renote-mute/list","summary":"renote-mute/list","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:mutes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/renote-mute/list.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":30},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/RenoteMuting"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/my/apps":{"post":{"operationId":"my/apps","summary":"my/apps","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/my/apps.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"offset":{"type":"integer","default":0}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/App"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes":{"post":{"operationId":"notes","summary":"notes","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes.ts"},"tags":["notes"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"local":{"type":"boolean","default":false},"reply":{"type":"boolean"},"renote":{"type":"boolean"},"withFiles":{"type":"boolean"},"poll":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/children":{"post":{"operationId":"notes/children","summary":"notes/children","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/children.ts"},"tags":["notes"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}},"required":["noteId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/clips":{"post":{"operationId":"notes/clips","summary":"notes/clips","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/clips.ts"},"tags":["clips"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"}},"required":["noteId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Clip"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"47db1a1c-b0af-458d-8fb4-986e4efafe1e"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/conversation":{"post":{"operationId":"notes/conversation","summary":"notes/conversation","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/conversation.ts"},"tags":["notes"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"offset":{"type":"integer","default":0}},"required":["noteId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"e1035875-9551-45ec-afa8-1ded1fcb53c8"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/create":{"post":{"operationId":"notes/create","summary":"notes/create","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:notes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/create.ts"},"tags":["notes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"visibility":{"type":"string","enum":["public","home","followers","specified"],"default":"public"},"visibleUserIds":{"type":"array","uniqueItems":true,"items":{"type":"string","format":"misskey:id"}},"cw":{"type":"string","nullable":true,"minLength":1,"maxLength":100},"localOnly":{"type":"boolean","default":false},"reactionAcceptance":{"type":"string","nullable":true,"enum":[null,"likeOnly","likeOnlyForRemote","nonSensitiveOnly","nonSensitiveOnlyForLocalLikeOnlyForRemote"],"default":null},"noExtractMentions":{"type":"boolean","default":false},"noExtractHashtags":{"type":"boolean","default":false},"noExtractEmojis":{"type":"boolean","default":false},"replyId":{"type":"string","format":"misskey:id","nullable":true},"renoteId":{"type":"string","format":"misskey:id","nullable":true},"channelId":{"type":"string","format":"misskey:id","nullable":true},"text":{"type":"string","minLength":1,"maxLength":3000,"nullable":true},"fileIds":{"type":"array","uniqueItems":true,"minItems":1,"maxItems":16,"items":{"type":"string","format":"misskey:id"}},"mediaIds":{"type":"array","uniqueItems":true,"minItems":1,"maxItems":16,"items":{"type":"string","format":"misskey:id"}},"poll":{"type":"object","nullable":true,"properties":{"choices":{"type":"array","uniqueItems":true,"minItems":2,"maxItems":10,"items":{"type":"string","minLength":1,"maxLength":50}},"multiple":{"type":"boolean"},"expiresAt":{"type":"integer","nullable":true},"expiredAfter":{"type":"integer","nullable":true,"minimum":1}},"required":["choices"]}},"anyOf":[{"required":["text"]},{"required":["renoteId"]},{"required":["fileIds"]},{"required":["mediaIds"]},{"required":["poll"]}]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"createdNote":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}},"required":["createdNote"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_RENOTE_TARGET":{"value":{"error":{"message":"No such renote target.","code":"NO_SUCH_RENOTE_TARGET","id":"b5c90186-4ab0-49c8-9bba-a1f76c282ba4"}}},"CANNOT_RENOTE_TO_A_PURE_RENOTE":{"value":{"error":{"message":"You can not Renote a pure Renote.","code":"CANNOT_RENOTE_TO_A_PURE_RENOTE","id":"fd4cc33e-2a37-48dd-99cc-9b806eb2031a"}}},"CANNOT_RENOTE_DUE_TO_VISIBILITY":{"value":{"error":{"message":"You can not Renote due to target visibility.","code":"CANNOT_RENOTE_DUE_TO_VISIBILITY","id":"be9529e9-fe72-4de0-ae43-0b363c4938af"}}},"NO_SUCH_REPLY_TARGET":{"value":{"error":{"message":"No such reply target.","code":"NO_SUCH_REPLY_TARGET","id":"749ee0f6-d3da-459a-bf02-282e2da4292c"}}},"CANNOT_REPLY_TO_AN_INVISIBLE_NOTE":{"value":{"error":{"message":"You cannot reply to an invisible Note.","code":"CANNOT_REPLY_TO_AN_INVISIBLE_NOTE","id":"b98980fa-3780-406c-a935-b6d0eeee10d1"}}},"CANNOT_REPLY_TO_A_PURE_RENOTE":{"value":{"error":{"message":"You can not reply to a pure Renote.","code":"CANNOT_REPLY_TO_A_PURE_RENOTE","id":"3ac74a84-8fd5-4bb0-870f-01804f82ce15"}}},"CANNOT_CREATE_ALREADY_EXPIRED_POLL":{"value":{"error":{"message":"Poll is already expired.","code":"CANNOT_CREATE_ALREADY_EXPIRED_POLL","id":"04da457d-b083-4055-9082-955525eda5a5"}}},"NO_SUCH_CHANNEL":{"value":{"error":{"message":"No such channel.","code":"NO_SUCH_CHANNEL","id":"b1653923-5453-4edc-b786-7c4f39bb0bbb"}}},"YOU_HAVE_BEEN_BLOCKED":{"value":{"error":{"message":"You have been blocked by this user.","code":"YOU_HAVE_BEEN_BLOCKED","id":"b390d7e1-8a5e-46ed-b625-06271cafd3d3"}}},"NO_SUCH_FILE":{"value":{"error":{"message":"Some files are not found.","code":"NO_SUCH_FILE","id":"b6992544-63e7-67f0-fa7f-32444b1b5306"}}},"CANNOT_RENOTE_OUTSIDE_OF_CHANNEL":{"value":{"error":{"message":"Cannot renote outside of channel.","code":"CANNOT_RENOTE_OUTSIDE_OF_CHANNEL","id":"33510210-8452-094c-6227-4a6c05d99f00"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/delete":{"post":{"operationId":"notes/delete","summary":"notes/delete","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:notes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/delete.ts"},"tags":["notes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"}},"required":["noteId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"490be23f-8c1f-4796-819f-94cb4f9d1630"}}},"ACCESS_DENIED":{"value":{"error":{"message":"Access denied.","code":"ACCESS_DENIED","id":"fe8d7103-0ea8-4ec3-814d-f8b401dc69e9"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/favorites/create":{"post":{"operationId":"notes/favorites/create","summary":"notes/favorites/create","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:favorites*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/favorites/create.ts"},"tags":["notes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"}},"required":["noteId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"6dd26674-e060-4816-909a-45ba3f4da458"}}},"ALREADY_FAVORITED":{"value":{"error":{"message":"The note has already been marked as a favorite.","code":"ALREADY_FAVORITED","id":"a402c12b-34dd-41d2-97d8-4d2ffd96a1a6"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/favorites/delete":{"post":{"operationId":"notes/favorites/delete","summary":"notes/favorites/delete","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:favorites*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/favorites/delete.ts"},"tags":["notes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"}},"required":["noteId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"80848a2c-398f-4343-baa9-df1d57696c56"}}},"NOT_FAVORITED":{"value":{"error":{"message":"You have not marked that note a favorite.","code":"NOT_FAVORITED","id":"b625fc69-635e-45e9-86f4-dbefbef35af5"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/featured":{"get":{"operationId":"notes/featured","summary":"notes/featured","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/featured.ts"},"tags":["notes"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"untilId":{"type":"string","format":"misskey:id"},"channelId":{"type":"string","nullable":true,"format":"misskey:id"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"notes/featured","summary":"notes/featured","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/featured.ts"},"tags":["notes"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"untilId":{"type":"string","format":"misskey:id"},"channelId":{"type":"string","nullable":true,"format":"misskey:id"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/global-timeline":{"post":{"operationId":"notes/global-timeline","summary":"notes/global-timeline","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/global-timeline.ts"},"tags":["notes"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"withFiles":{"type":"boolean","default":false},"withRenotes":{"type":"boolean","default":true},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"sinceDate":{"type":"integer"},"untilDate":{"type":"integer"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"GTL_DISABLED":{"value":{"error":{"message":"Global timeline has been disabled.","code":"GTL_DISABLED","id":"0332fc13-6ab2-4427-ae80-a9fadffd1a6b"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/hybrid-timeline":{"post":{"operationId":"notes/hybrid-timeline","summary":"notes/hybrid-timeline","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/hybrid-timeline.ts"},"tags":["notes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"sinceDate":{"type":"integer"},"untilDate":{"type":"integer"},"includeMyRenotes":{"type":"boolean","default":true},"includeRenotedMyNotes":{"type":"boolean","default":true},"includeLocalRenotes":{"type":"boolean","default":true},"withFiles":{"type":"boolean","default":false},"withRenotes":{"type":"boolean","default":true},"withReplies":{"type":"boolean","default":false}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"STL_DISABLED":{"value":{"error":{"message":"Hybrid timeline has been disabled.","code":"STL_DISABLED","id":"620763f4-f621-4533-ab33-0577a1a3c342"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/local-timeline":{"post":{"operationId":"notes/local-timeline","summary":"notes/local-timeline","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/local-timeline.ts"},"tags":["notes"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"withFiles":{"type":"boolean","default":false},"withRenotes":{"type":"boolean","default":true},"withReplies":{"type":"boolean","default":false},"excludeNsfw":{"type":"boolean","default":false},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"sinceDate":{"type":"integer"},"untilDate":{"type":"integer"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"LTL_DISABLED":{"value":{"error":{"message":"Local timeline has been disabled.","code":"LTL_DISABLED","id":"45a6eb02-7695-4393-b023-dd3be9aaaefd"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/mentions":{"post":{"operationId":"notes/mentions","summary":"notes/mentions","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/mentions.ts"},"tags":["notes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"following":{"type":"boolean","default":false},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"visibility":{"type":"string"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/polls/recommendation":{"post":{"operationId":"notes/polls/recommendation","summary":"notes/polls/recommendation","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/polls/recommendation.ts"},"tags":["notes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"offset":{"type":"integer","default":0}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/polls/vote":{"post":{"operationId":"notes/polls/vote","summary":"notes/polls/vote","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:votes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/polls/vote.ts"},"tags":["notes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"},"choice":{"type":"integer"}},"required":["noteId","choice"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"ecafbd2e-c283-4d6d-aecb-1a0a33b75396"}}},"NO_POLL":{"value":{"error":{"message":"The note does not attach a poll.","code":"NO_POLL","id":"5f979967-52d9-4314-a911-1c673727f92f"}}},"INVALID_CHOICE":{"value":{"error":{"message":"Choice ID is invalid.","code":"INVALID_CHOICE","id":"e0cc9a04-f2e8-41e4-a5f1-4127293260cc"}}},"ALREADY_VOTED":{"value":{"error":{"message":"You have already voted.","code":"ALREADY_VOTED","id":"0963fc77-efac-419b-9424-b391608dc6d8"}}},"ALREADY_EXPIRED":{"value":{"error":{"message":"The poll is already expired.","code":"ALREADY_EXPIRED","id":"1022a357-b085-4054-9083-8f8de358337e"}}},"YOU_HAVE_BEEN_BLOCKED":{"value":{"error":{"message":"You cannot vote this poll because you have been blocked by this user.","code":"YOU_HAVE_BEEN_BLOCKED","id":"85a5377e-b1e9-4617-b0b9-5bea73331e49"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/reactions":{"get":{"operationId":"notes/reactions","summary":"notes/reactions","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/reactions.ts"},"tags":["notes"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"},"type":{"type":"string","nullable":true},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}},"required":["noteId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/NoteReaction"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"263fff3d-d0e1-4af4-bea7-8408059b451a"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"notes/reactions","summary":"notes/reactions","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/reactions.ts"},"tags":["notes"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"},"type":{"type":"string","nullable":true},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}},"required":["noteId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/NoteReaction"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"263fff3d-d0e1-4af4-bea7-8408059b451a"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/reactions/create":{"post":{"operationId":"notes/reactions/create","summary":"notes/reactions/create","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:reactions*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/reactions/create.ts"},"tags":["reactions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"},"reaction":{"type":"string"}},"required":["noteId","reaction"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"033d0620-5bfe-4027-965d-980b0c85a3ea"}}},"ALREADY_REACTED":{"value":{"error":{"message":"You are already reacting to that note.","code":"ALREADY_REACTED","id":"71efcf98-86d6-4e2b-b2ad-9d032369366b"}}},"YOU_HAVE_BEEN_BLOCKED":{"value":{"error":{"message":"You cannot react this note because you have been blocked by this user.","code":"YOU_HAVE_BEEN_BLOCKED","id":"20ef5475-9f38-4e4c-bd33-de6d979498ec"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/reactions/delete":{"post":{"operationId":"notes/reactions/delete","summary":"notes/reactions/delete","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:reactions*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/reactions/delete.ts"},"tags":["reactions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"}},"required":["noteId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"764d9fce-f9f2-4a0e-92b1-6ceac9a7ad37"}}},"NOT_REACTED":{"value":{"error":{"message":"You are not reacting to that note.","code":"NOT_REACTED","id":"92f4426d-4196-4125-aa5b-02943e2ec8fc"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/renotes":{"post":{"operationId":"notes/renotes","summary":"notes/renotes","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/renotes.ts"},"tags":["notes"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}},"required":["noteId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"12908022-2e21-46cd-ba6a-3edaf6093f46"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/replies":{"post":{"operationId":"notes/replies","summary":"notes/replies","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/replies.ts"},"tags":["notes"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10}},"required":["noteId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/search-by-tag":{"post":{"operationId":"notes/search-by-tag","summary":"notes/search-by-tag","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/search-by-tag.ts"},"tags":["notes"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reply":{"type":"boolean","nullable":true,"default":null},"renote":{"type":"boolean","nullable":true,"default":null},"withFiles":{"type":"boolean","default":false,"description":"Only show notes that have attached files."},"poll":{"type":"boolean","nullable":true,"default":null},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"tag":{"type":"string","minLength":1},"query":{"type":"array","description":"The outer arrays are chained with OR, the inner arrays are chained with AND.","items":{"type":"array","items":{"type":"string","minLength":1},"minItems":1},"minItems":1}},"anyOf":[{"required":["tag"]},{"required":["query"]}]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/search":{"post":{"operationId":"notes/search","summary":"notes/search","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/search.ts"},"tags":["notes"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string"},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"offset":{"type":"integer","default":0},"host":{"type":"string","description":"The local host is represented with `.`."},"userId":{"type":"string","format":"misskey:id","nullable":true,"default":null},"channelId":{"type":"string","format":"misskey:id","nullable":true,"default":null}},"required":["query"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"UNAVAILABLE":{"value":{"error":{"message":"Search of notes unavailable.","code":"UNAVAILABLE","id":"0b44998d-77aa-4427-80d0-d2c9b8523011"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/show":{"post":{"operationId":"notes/show","summary":"notes/show","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/show.ts"},"tags":["notes"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"}},"required":["noteId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"24fcbfc6-2e37-42b6-8388-c29b3861a08d"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/state":{"post":{"operationId":"notes/state","summary":"notes/state","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/state.ts"},"tags":["notes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"}},"required":["noteId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"isFavorited":{"type":"boolean","nullable":false},"isMutedThread":{"type":"boolean","nullable":false}},"required":["isFavorited","isMutedThread"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/thread-muting/create":{"post":{"operationId":"notes/thread-muting/create","summary":"notes/thread-muting/create","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/thread-muting/create.ts"},"tags":["notes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"}},"required":["noteId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"5ff67ada-ed3b-2e71-8e87-a1a421e177d2"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/thread-muting/delete":{"post":{"operationId":"notes/thread-muting/delete","summary":"notes/thread-muting/delete","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/thread-muting/delete.ts"},"tags":["notes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"}},"required":["noteId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"bddd57ac-ceb3-b29d-4334-86ea5fae481a"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/timeline":{"post":{"operationId":"notes/timeline","summary":"notes/timeline","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/timeline.ts"},"tags":["notes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"sinceDate":{"type":"integer"},"untilDate":{"type":"integer"},"includeMyRenotes":{"type":"boolean","default":true},"includeRenotedMyNotes":{"type":"boolean","default":true},"includeLocalRenotes":{"type":"boolean","default":true},"withFiles":{"type":"boolean","default":false},"withRenotes":{"type":"boolean","default":true}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/translate":{"post":{"operationId":"notes/translate","summary":"notes/translate","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/translate.ts"},"tags":["notes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"},"targetLang":{"type":"string"}},"required":["noteId","targetLang"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"UNAVAILABLE":{"value":{"error":{"message":"Translate of notes unavailable.","code":"UNAVAILABLE","id":"50a70314-2d8a-431b-b433-efa5cc56444c"}}},"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"bea9b03f-36e0-49c5-a4db-627a029f8971"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/unrenote":{"post":{"operationId":"notes/unrenote","summary":"notes/unrenote","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:notes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/unrenote.ts"},"tags":["notes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"}},"required":["noteId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"efd4a259-2442-496b-8dd7-b255aa1a160f"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notes/user-list-timeline":{"post":{"operationId":"notes/user-list-timeline","summary":"notes/user-list-timeline","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/user-list-timeline.ts"},"tags":["notes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"listId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"sinceDate":{"type":"integer"},"untilDate":{"type":"integer"},"includeMyRenotes":{"type":"boolean","default":true},"includeRenotedMyNotes":{"type":"boolean","default":true},"includeLocalRenotes":{"type":"boolean","default":true},"withRenotes":{"type":"boolean","default":true},"withFiles":{"type":"boolean","default":false,"description":"Only show notes that have attached files."}},"required":["listId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_LIST":{"value":{"error":{"message":"No such list.","code":"NO_SUCH_LIST","id":"8fb1fbd5-e476-4c37-9fb0-43d55b63a2ff"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notifications/create":{"post":{"operationId":"notifications/create","summary":"notifications/create","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:notifications*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notifications/create.ts"},"tags":["notifications"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"body":{"type":"string"},"header":{"type":"string","nullable":true},"icon":{"type":"string","nullable":true}},"required":["body"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notifications/mark-all-as-read":{"post":{"operationId":"notifications/mark-all-as-read","summary":"notifications/mark-all-as-read","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:notifications*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notifications/mark-all-as-read.ts"},"tags":["notifications"],"security":[{"bearerAuth":[]}],"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/notifications/test-notification":{"post":{"operationId":"notifications/test-notification","summary":"notifications/test-notification","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:notifications*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notifications/test-notification.ts"},"tags":["notifications"],"security":[{"bearerAuth":[]}],"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/pages/create":{"post":{"operationId":"pages/create","summary":"pages/create","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:pages*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/pages/create.ts"},"tags":["pages"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"name":{"type":"string","minLength":1},"summary":{"type":"string","nullable":true},"content":{"type":"array","items":{"type":"object","additionalProperties":true}},"variables":{"type":"array","items":{"type":"object","additionalProperties":true}},"script":{"type":"string"},"eyeCatchingImageId":{"type":"string","format":"misskey:id","nullable":true},"font":{"type":"string","enum":["serif","sans-serif"],"default":"sans-serif"},"alignCenter":{"type":"boolean","default":false},"hideTitleWhenPinned":{"type":"boolean","default":false}},"required":["title","name","content","variables","script"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/Page"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_FILE":{"value":{"error":{"message":"No such file.","code":"NO_SUCH_FILE","id":"b7b97489-0f66-4b12-a5ff-b21bd63f6e1c"}}},"NAME_ALREADY_EXISTS":{"value":{"error":{"message":"Specified name already exists.","code":"NAME_ALREADY_EXISTS","id":"4650348e-301c-499a-83c9-6aa988c66bc1"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/pages/delete":{"post":{"operationId":"pages/delete","summary":"pages/delete","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:pages*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/pages/delete.ts"},"tags":["pages"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"pageId":{"type":"string","format":"misskey:id"}},"required":["pageId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_PAGE":{"value":{"error":{"message":"No such page.","code":"NO_SUCH_PAGE","id":"eb0c6e1d-d519-4764-9486-52a7e1c6392a"}}},"ACCESS_DENIED":{"value":{"error":{"message":"Access denied.","code":"ACCESS_DENIED","id":"8b741b3e-2c22-44b3-a15f-29949aa1601e"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/pages/featured":{"post":{"operationId":"pages/featured","summary":"pages/featured","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/pages/featured.ts"},"tags":["pages"],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Page"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/pages/like":{"post":{"operationId":"pages/like","summary":"pages/like","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:page-likes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/pages/like.ts"},"tags":["pages"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"pageId":{"type":"string","format":"misskey:id"}},"required":["pageId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_PAGE":{"value":{"error":{"message":"No such page.","code":"NO_SUCH_PAGE","id":"cc98a8a2-0dc3-4123-b198-62c71df18ed3"}}},"YOUR_PAGE":{"value":{"error":{"message":"You cannot like your page.","code":"YOUR_PAGE","id":"28800466-e6db-40f2-8fae-bf9e82aa92b8"}}},"ALREADY_LIKED":{"value":{"error":{"message":"The page has already been liked.","code":"ALREADY_LIKED","id":"d4c1edbe-7da2-4eae-8714-1acfd2d63941"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/pages/show":{"post":{"operationId":"pages/show","summary":"pages/show","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/pages/show.ts"},"tags":["pages"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"pageId":{"type":"string","format":"misskey:id"},"name":{"type":"string"},"username":{"type":"string"}},"anyOf":[{"required":["pageId"]},{"required":["name","username"]}]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/Page"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_PAGE":{"value":{"error":{"message":"No such page.","code":"NO_SUCH_PAGE","id":"222120c0-3ead-4528-811b-b96f233388d7"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/pages/unlike":{"post":{"operationId":"pages/unlike","summary":"pages/unlike","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:page-likes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/pages/unlike.ts"},"tags":["pages"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"pageId":{"type":"string","format":"misskey:id"}},"required":["pageId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_PAGE":{"value":{"error":{"message":"No such page.","code":"NO_SUCH_PAGE","id":"a0d41e20-1993-40bd-890e-f6e560ae648e"}}},"NOT_LIKED":{"value":{"error":{"message":"You have not liked that page.","code":"NOT_LIKED","id":"f5e586b0-ce93-4050-b0e3-7f31af5259ee"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/pages/update":{"post":{"operationId":"pages/update","summary":"pages/update","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:pages*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/pages/update.ts"},"tags":["pages"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"pageId":{"type":"string","format":"misskey:id"},"title":{"type":"string"},"name":{"type":"string","minLength":1},"summary":{"type":"string","nullable":true},"content":{"type":"array","items":{"type":"object","additionalProperties":true}},"variables":{"type":"array","items":{"type":"object","additionalProperties":true}},"script":{"type":"string"},"eyeCatchingImageId":{"type":"string","format":"misskey:id","nullable":true},"font":{"type":"string","enum":["serif","sans-serif"]},"alignCenter":{"type":"boolean"},"hideTitleWhenPinned":{"type":"boolean"}},"required":["pageId","title","name","content","variables","script"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_PAGE":{"value":{"error":{"message":"No such page.","code":"NO_SUCH_PAGE","id":"21149b9e-3616-4778-9592-c4ce89f5a864"}}},"ACCESS_DENIED":{"value":{"error":{"message":"Access denied.","code":"ACCESS_DENIED","id":"3c15cd52-3b4b-4274-967d-6456fc4f792b"}}},"NO_SUCH_FILE":{"value":{"error":{"message":"No such file.","code":"NO_SUCH_FILE","id":"cfc23c7c-3887-490e-af30-0ed576703c82"}}},"NAME_ALREADY_EXISTS":{"value":{"error":{"message":"Specified name already exists.","code":"NAME_ALREADY_EXISTS","id":"2298a392-d4a1-44c5-9ebb-ac1aeaa5a9ab"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/flash/create":{"post":{"operationId":"flash/create","summary":"flash/create","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:flash*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/flash/create.ts"},"tags":["flash"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"summary":{"type":"string"},"script":{"type":"string"},"permissions":{"type":"array","items":{"type":"string"}}},"required":["title","summary","script","permissions"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/flash/delete":{"post":{"operationId":"flash/delete","summary":"flash/delete","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:flash*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/flash/delete.ts"},"tags":["flashs"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"flashId":{"type":"string","format":"misskey:id"}},"required":["flashId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_FLASH":{"value":{"error":{"message":"No such flash.","code":"NO_SUCH_FLASH","id":"de1623ef-bbb3-4289-a71e-14cfa83d9740"}}},"ACCESS_DENIED":{"value":{"error":{"message":"Access denied.","code":"ACCESS_DENIED","id":"1036ad7b-9f92-4fff-89c3-0e50dc941704"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/flash/featured":{"post":{"operationId":"flash/featured","summary":"flash/featured","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/flash/featured.ts"},"tags":["flash"],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Flash"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/flash/like":{"post":{"operationId":"flash/like","summary":"flash/like","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:flash-likes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/flash/like.ts"},"tags":["flash"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"flashId":{"type":"string","format":"misskey:id"}},"required":["flashId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_FLASH":{"value":{"error":{"message":"No such flash.","code":"NO_SUCH_FLASH","id":"c07c1491-9161-4c5c-9d75-01906f911f73"}}},"YOUR_FLASH":{"value":{"error":{"message":"You cannot like your flash.","code":"YOUR_FLASH","id":"3fd8a0e7-5955-4ba9-85bb-bf3e0c30e13b"}}},"ALREADY_LIKED":{"value":{"error":{"message":"The flash has already been liked.","code":"ALREADY_LIKED","id":"010065cf-ad43-40df-8067-abff9f4686e3"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/flash/show":{"post":{"operationId":"flash/show","summary":"flash/show","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/flash/show.ts"},"tags":["flashs"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"flashId":{"type":"string","format":"misskey:id"}},"required":["flashId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/Flash"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_FLASH":{"value":{"error":{"message":"No such flash.","code":"NO_SUCH_FLASH","id":"f0d34a1a-d29a-401d-90ba-1982122b5630"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/flash/unlike":{"post":{"operationId":"flash/unlike","summary":"flash/unlike","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:flash-likes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/flash/unlike.ts"},"tags":["flash"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"flashId":{"type":"string","format":"misskey:id"}},"required":["flashId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_FLASH":{"value":{"error":{"message":"No such flash.","code":"NO_SUCH_FLASH","id":"afe8424a-a69e-432d-a5f2-2f0740c62410"}}},"NOT_LIKED":{"value":{"error":{"message":"You have not liked that flash.","code":"NOT_LIKED","id":"755f25a7-9871-4f65-9f34-51eaad9ae0ac"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/flash/update":{"post":{"operationId":"flash/update","summary":"flash/update","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:flash*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/flash/update.ts"},"tags":["flash"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"flashId":{"type":"string","format":"misskey:id"},"title":{"type":"string"},"summary":{"type":"string"},"script":{"type":"string"},"permissions":{"type":"array","items":{"type":"string"}},"visibility":{"type":"string","enum":["public","private"]}},"required":["flashId","title","summary","script","permissions"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_FLASH":{"value":{"error":{"message":"No such flash.","code":"NO_SUCH_FLASH","id":"611e13d2-309e-419a-a5e4-e0422da39b02"}}},"ACCESS_DENIED":{"value":{"error":{"message":"Access denied.","code":"ACCESS_DENIED","id":"08e60c88-5948-478e-a132-02ec701d67b2"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/flash/my":{"post":{"operationId":"flash/my","summary":"flash/my","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:flash*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/flash/my.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Flash"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/flash/my-likes":{"post":{"operationId":"flash/my-likes","summary":"flash/my-likes","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:flash-likes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/flash/my-likes.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id"},"flash":{"type":"object","nullable":false,"$ref":"#/components/schemas/Flash"}},"required":["id","flash"]}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/ping":{"post":{"operationId":"ping","summary":"ping","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/ping.ts"},"tags":["meta"],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"pong":{"type":"number","nullable":false}},"required":["pong"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/pinned-users":{"post":{"operationId":"pinned-users","summary":"pinned-users","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/pinned-users.ts"},"tags":["users"],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserDetailed"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/promo/read":{"post":{"operationId":"promo/read","summary":"promo/read","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/promo/read.ts"},"tags":["notes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"noteId":{"type":"string","format":"misskey:id"}},"required":["noteId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_NOTE":{"value":{"error":{"message":"No such note.","code":"NO_SUCH_NOTE","id":"d785b897-fcd3-4fe9-8fc3-b85c26e6c932"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/roles/list":{"post":{"operationId":"roles/list","summary":"roles/list","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/roles/list.ts"},"tags":["role"],"security":[{"bearerAuth":[]}],"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/roles/show":{"post":{"operationId":"roles/show","summary":"roles/show","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/roles/show.ts"},"tags":["role"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"roleId":{"type":"string","format":"misskey:id"}},"required":["roleId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_ROLE":{"value":{"error":{"message":"No such role.","code":"NO_SUCH_ROLE","id":"de5502bf-009a-4639-86c1-fec349e46dcb"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/roles/users":{"post":{"operationId":"roles/users","summary":"roles/users","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/roles/users.ts"},"tags":["role"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"roleId":{"type":"string","format":"misskey:id"},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10}},"required":["roleId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_ROLE":{"value":{"error":{"message":"No such role.","code":"NO_SUCH_ROLE","id":"30aaaee3-4792-48dc-ab0d-cf501a575ac5"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/roles/notes":{"post":{"operationId":"roles/notes","summary":"roles/notes","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/roles/notes.ts"},"tags":["role"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"roleId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"sinceDate":{"type":"integer"},"untilDate":{"type":"integer"}},"required":["roleId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_ROLE":{"value":{"error":{"message":"No such role.","code":"NO_SUCH_ROLE","id":"eb70323a-df61-4dd4-ad90-89c83c7cf26e"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/request-reset-password":{"post":{"operationId":"request-reset-password","summary":"request-reset-password","description":"Request a users password to be reset.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/request-reset-password.ts"},"tags":["reset password"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"username":{"type":"string"},"email":{"type":"string"}},"required":["username","email"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/reset-db":{"post":{"operationId":"reset-db","summary":"reset-db","description":"Only available when running with NODE_ENV=testing. Reset the database and flush Redis.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/reset-db.ts"},"tags":["non-productive"],"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/reset-password":{"post":{"operationId":"reset-password","summary":"reset-password","description":"Complete the password reset that was previously requested.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/reset-password.ts"},"tags":["reset password"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string"},"password":{"type":"string"}},"required":["token","password"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/server-info":{"get":{"operationId":"server-info","summary":"server-info","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/server-info.ts"},"tags":["meta"],"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"server-info","summary":"server-info","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/server-info.ts"},"tags":["meta"],"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/stats":{"post":{"operationId":"stats","summary":"stats","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/stats.ts"},"tags":["meta"],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"notesCount":{"type":"number","nullable":false},"originalNotesCount":{"type":"number","nullable":false},"usersCount":{"type":"number","nullable":false},"originalUsersCount":{"type":"number","nullable":false},"instances":{"type":"number","nullable":false},"driveUsageLocal":{"type":"number","nullable":false},"driveUsageRemote":{"type":"number","nullable":false}},"required":["notesCount","originalNotesCount","usersCount","originalUsersCount","instances","driveUsageLocal","driveUsageRemote"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/sw/show-registration":{"post":{"operationId":"sw/show-registration","summary":"sw/show-registration","description":"Check push notification registration exists.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/sw/show-registration.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"endpoint":{"type":"string"}},"required":["endpoint"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":true,"properties":{"userId":{"type":"string","nullable":false},"endpoint":{"type":"string","nullable":false},"sendReadMessage":{"type":"boolean","nullable":false}},"required":["userId","endpoint","sendReadMessage"]}}}},"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/sw/update-registration":{"post":{"operationId":"sw/update-registration","summary":"sw/update-registration","description":"Update push notification registration.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/sw/update-registration.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"endpoint":{"type":"string"},"sendReadMessage":{"type":"boolean"}},"required":["endpoint"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"userId":{"type":"string","nullable":false},"endpoint":{"type":"string","nullable":false},"sendReadMessage":{"type":"boolean","nullable":false}},"required":["userId","endpoint","sendReadMessage"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_REGISTRATION":{"value":{"error":{"message":"No such registration.","code":"NO_SUCH_REGISTRATION","id":" b09d8066-8064-5613-efb6-0e963b21d012"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/sw/register":{"post":{"operationId":"sw/register","summary":"sw/register","description":"Register to receive push notifications.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/sw/register.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"endpoint":{"type":"string"},"auth":{"type":"string"},"publickey":{"type":"string"},"sendReadMessage":{"type":"boolean","default":false}},"required":["endpoint","auth","publickey"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"state":{"type":"string","nullable":false,"enum":["already-subscribed","subscribed"]},"key":{"type":"string","nullable":true},"userId":{"type":"string","nullable":false},"endpoint":{"type":"string","nullable":false},"sendReadMessage":{"type":"boolean","nullable":false}},"required":["key","userId","endpoint","sendReadMessage"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/sw/unregister":{"post":{"operationId":"sw/unregister","summary":"sw/unregister","description":"Unregister from receiving push notifications.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/sw/unregister.ts"},"tags":["account"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"endpoint":{"type":"string"}},"required":["endpoint"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/test":{"post":{"operationId":"test","summary":"test","description":"Endpoint for testing input validation.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/test.ts"},"tags":["non-productive"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"required":{"type":"boolean"},"string":{"type":"string"},"default":{"type":"string","default":"hello"},"nullableDefault":{"type":"string","nullable":true,"default":"hello"},"id":{"type":"string","format":"misskey:id"}},"required":["required"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/username/available":{"post":{"operationId":"username/available","summary":"username/available","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/username/available.ts"},"tags":["users"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"username":{"type":"string","pattern":"^\\w{1,20}$"}},"required":["username"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"properties":{"available":{"type":"boolean","nullable":false}},"required":["available"]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users":{"post":{"operationId":"users","summary":"users","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users.ts"},"tags":["users"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"offset":{"type":"integer","default":0},"sort":{"type":"string","enum":["+follower","-follower","+createdAt","-createdAt","+updatedAt","-updatedAt"]},"state":{"type":"string","enum":["all","alive"],"default":"all"},"origin":{"type":"string","enum":["combined","local","remote"],"default":"local"},"hostname":{"type":"string","nullable":true,"default":null,"description":"The local host is represented with `null`."}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserDetailed"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/clips":{"post":{"operationId":"users/clips","summary":"users/clips","description":"Show all clips this user owns.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/clips.ts"},"tags":["users"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Clip"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/followers":{"post":{"operationId":"users/followers","summary":"users/followers","description":"Show everyone that follows this user.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/followers.ts"},"tags":["users"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"userId":{"type":"string","format":"misskey:id"},"username":{"type":"string"},"host":{"type":"string","nullable":true,"description":"The local host is represented with `null`."}},"anyOf":[{"required":["userId"]},{"required":["username","host"]}]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Following"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"27fa5435-88ab-43de-9360-387de88727cd"}}},"FORBIDDEN":{"value":{"error":{"message":"Forbidden.","code":"FORBIDDEN","id":"3c6a84db-d619-26af-ca14-06232a21df8a"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/following":{"post":{"operationId":"users/following","summary":"users/following","description":"Show everyone that this user is following.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/following.ts"},"tags":["users"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"userId":{"type":"string","format":"misskey:id"},"username":{"type":"string"},"host":{"type":"string","nullable":true,"description":"The local host is represented with `null`."}},"anyOf":[{"required":["userId"]},{"required":["username","host"]}]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Following"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"63e4aba4-4156-4e53-be25-c9559e42d71b"}}},"FORBIDDEN":{"value":{"error":{"message":"Forbidden.","code":"FORBIDDEN","id":"f6cdb0df-c19f-ec5c-7dbb-0ba84a1f92ba"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/gallery/posts":{"post":{"operationId":"users/gallery/posts","summary":"users/gallery/posts","description":"Show all gallery posts by the given user.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/gallery/posts.ts"},"tags":["users"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/GalleryPost"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/get-frequently-replied-users":{"post":{"operationId":"users/get-frequently-replied-users","summary":"users/get-frequently-replied-users","description":"Get a list of other users that the specified user frequently replies to.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/get-frequently-replied-users.ts"},"tags":["users"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10}},"required":["userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"properties":{"user":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserDetailed"},"weight":{"type":"number","nullable":false}},"required":["user","weight"]}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"e6965129-7b2a-40a4-bae2-cd84cd434822"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/featured-notes":{"get":{"operationId":"users/featured-notes","summary":"users/featured-notes","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/featured-notes.ts"},"tags":["notes"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"untilId":{"type":"string","format":"misskey:id"},"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"users/featured-notes","summary":"users/featured-notes","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/featured-notes.ts"},"tags":["notes"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"untilId":{"type":"string","format":"misskey:id"},"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/lists/create":{"post":{"operationId":"users/lists/create","summary":"users/lists/create","description":"Create a new list of users.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/lists/create.ts"},"tags":["lists"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100}},"required":["name"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserList"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"TOO_MANY_USERLISTS":{"value":{"error":{"message":"You cannot create user list any more.","code":"TOO_MANY_USERLISTS","id":"0cf21a28-7715-4f39-a20d-777bfdb8d138"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/lists/delete":{"post":{"operationId":"users/lists/delete","summary":"users/lists/delete","description":"Delete an existing list of users.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/lists/delete.ts"},"tags":["lists"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"listId":{"type":"string","format":"misskey:id"}},"required":["listId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_LIST":{"value":{"error":{"message":"No such list.","code":"NO_SUCH_LIST","id":"78436795-db79-42f5-b1e2-55ea2cf19166"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/lists/list":{"post":{"operationId":"users/lists/list","summary":"users/lists/list","description":"Show all lists that the authenticated user has created.\n\n**Credential required**: *No* / **Permission**: *read:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/lists/list.ts"},"tags":["lists"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserList"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"a8af4a82-0980-4cc4-a6af-8b0ffd54465e"}}},"REMOTE_USER_NOT_ALLOWED":{"value":{"error":{"message":"Not allowed to load the remote user's list","code":"REMOTE_USER_NOT_ALLOWED","id":"53858f1b-3315-4a01-81b7-db9b48d4b79a"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/lists/pull":{"post":{"operationId":"users/lists/pull","summary":"users/lists/pull","description":"Remove a user from a list.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/lists/pull.ts"},"tags":["lists"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"listId":{"type":"string","format":"misskey:id"},"userId":{"type":"string","format":"misskey:id"}},"required":["listId","userId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_LIST":{"value":{"error":{"message":"No such list.","code":"NO_SUCH_LIST","id":"7f44670e-ab16-43b8-b4c1-ccd2ee89cc02"}}},"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"588e7f72-c744-4a61-b180-d354e912bda2"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/lists/push":{"post":{"operationId":"users/lists/push","summary":"users/lists/push","description":"Add a user to an existing list.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/lists/push.ts"},"tags":["lists"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"listId":{"type":"string","format":"misskey:id"},"userId":{"type":"string","format":"misskey:id"}},"required":["listId","userId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_LIST":{"value":{"error":{"message":"No such list.","code":"NO_SUCH_LIST","id":"2214501d-ac96-4049-b717-91e42272a711"}}},"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"a89abd3d-f0bc-4cce-beb1-2f446f4f1e6a"}}},"ALREADY_ADDED":{"value":{"error":{"message":"That user has already been added to that list.","code":"ALREADY_ADDED","id":"1de7c884-1595-49e9-857e-61f12f4d4fc5"}}},"YOU_HAVE_BEEN_BLOCKED":{"value":{"error":{"message":"You cannot push this user because you have been blocked by this user.","code":"YOU_HAVE_BEEN_BLOCKED","id":"990232c5-3f9d-4d83-9f3f-ef27b6332a4b"}}},"TOO_MANY_USERS":{"value":{"error":{"message":"You can not push users any more.","code":"TOO_MANY_USERS","id":"2dd9752e-a338-413d-8eec-41814430989b"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/lists/show":{"post":{"operationId":"users/lists/show","summary":"users/lists/show","description":"Show the properties of a list.\n\n**Credential required**: *No* / **Permission**: *read:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/lists/show.ts"},"tags":["lists"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"listId":{"type":"string","format":"misskey:id"},"forPublic":{"type":"boolean","default":false}},"required":["listId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserList"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_LIST":{"value":{"error":{"message":"No such list.","code":"NO_SUCH_LIST","id":"7bc05c21-1d7a-41ae-88f1-66820f4dc686"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/lists/favorite":{"post":{"operationId":"users/lists/favorite","summary":"users/lists/favorite","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/lists/favorite.ts"},"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"listId":{"type":"string","format":"misskey:id"}},"required":["listId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER_LIST":{"value":{"error":{"message":"No such user list.","code":"NO_SUCH_USER_LIST","id":"7dbaf3cf-7b42-4b8f-b431-b3919e580dbe"}}},"ALREADY_FAVORITED":{"value":{"error":{"message":"The list has already been favorited.","code":"ALREADY_FAVORITED","id":"6425bba0-985b-461e-af1b-518070e72081"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/lists/unfavorite":{"post":{"operationId":"users/lists/unfavorite","summary":"users/lists/unfavorite","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/lists/unfavorite.ts"},"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"listId":{"type":"string","format":"misskey:id"}},"required":["listId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER_LIST":{"value":{"error":{"message":"No such user list.","code":"NO_SUCH_USER_LIST","id":"baedb33e-76b8-4b0c-86a8-9375c0a7b94b"}}},"ALREADY_FAVORITED":{"value":{"error":{"message":"You have not favorited the list.","code":"ALREADY_FAVORITED","id":"835c4b27-463d-4cfa-969b-a9058678d465"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/lists/update":{"post":{"operationId":"users/lists/update","summary":"users/lists/update","description":"Update the properties of a list.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/lists/update.ts"},"tags":["lists"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"listId":{"type":"string","format":"misskey:id"},"name":{"type":"string","minLength":1,"maxLength":100},"isPublic":{"type":"boolean"}},"required":["listId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserList"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_LIST":{"value":{"error":{"message":"No such list.","code":"NO_SUCH_LIST","id":"796666fe-3dff-4d39-becb-8a5932c1d5b7"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/lists/create-from-public":{"post":{"operationId":"users/lists/create-from-public","summary":"users/lists/create-from-public","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/lists/create-from-public.ts"},"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"listId":{"type":"string","format":"misskey:id"}},"required":["name","listId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserList"}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"TOO_MANY_USERLISTS":{"value":{"error":{"message":"You cannot create user list any more.","code":"TOO_MANY_USERLISTS","id":"e9c105b2-c595-47de-97fb-7f7c2c33e92f"}}},"NO_SUCH_LIST":{"value":{"error":{"message":"No such list.","code":"NO_SUCH_LIST","id":"9292f798-6175-4f7d-93f4-b6742279667d"}}},"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"13c457db-a8cb-4d88-b70a-211ceeeabb5f"}}},"ALREADY_ADDED":{"value":{"error":{"message":"That user has already been added to that list.","code":"ALREADY_ADDED","id":"c3ad6fdb-692b-47ee-a455-7bd12c7af615"}}},"YOU_HAVE_BEEN_BLOCKED":{"value":{"error":{"message":"You cannot push this user because you have been blocked by this user.","code":"YOU_HAVE_BEEN_BLOCKED","id":"a2497f2a-2389-439c-8626-5298540530f4"}}},"TOO_MANY_USERS":{"value":{"error":{"message":"You can not push users any more.","code":"TOO_MANY_USERS","id":"1845ea77-38d1-426e-8e4e-8b83b24f5bd7"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/lists/update-membership":{"post":{"operationId":"users/lists/update-membership","summary":"users/lists/update-membership","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/lists/update-membership.ts"},"tags":["lists"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"listId":{"type":"string","format":"misskey:id"},"userId":{"type":"string","format":"misskey:id"},"withReplies":{"type":"boolean"}},"required":["listId","userId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_LIST":{"value":{"error":{"message":"No such list.","code":"NO_SUCH_LIST","id":"7f44670e-ab16-43b8-b4c1-ccd2ee89cc02"}}},"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"588e7f72-c744-4a61-b180-d354e912bda2"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/lists/get-memberships":{"post":{"operationId":"users/lists/get-memberships","summary":"users/lists/get-memberships","description":"No description provided.\n\n**Credential required**: *No* / **Permission**: *read:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/lists/get-memberships.ts"},"tags":["lists"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"listId":{"type":"string","format":"misskey:id"},"forPublic":{"type":"boolean","default":false},"limit":{"type":"integer","minimum":1,"maximum":100,"default":30},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}},"required":["listId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_LIST":{"value":{"error":{"message":"No such list.","code":"NO_SUCH_LIST","id":"7bc05c21-1d7a-41ae-88f1-66820f4dc686"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/notes":{"post":{"operationId":"users/notes","summary":"users/notes","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/notes.ts"},"tags":["users"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"},"withReplies":{"type":"boolean","default":false},"withRenotes":{"type":"boolean","default":true},"withChannelNotes":{"type":"boolean","default":false},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"sinceDate":{"type":"integer"},"untilDate":{"type":"integer"},"withFiles":{"type":"boolean","default":false},"excludeNsfw":{"type":"boolean","default":false}},"required":["userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"27e494ba-2ac2-48e8-893b-10d4d8c2387b"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/pages":{"post":{"operationId":"users/pages","summary":"users/pages","description":"Show all pages this user created.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/pages.ts"},"tags":["users"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Page"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/flashs":{"post":{"operationId":"users/flashs","summary":"users/flashs","description":"Show all flashs this user created.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/flashs.ts"},"tags":["users"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Flash"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/reactions":{"post":{"operationId":"users/reactions","summary":"users/reactions","description":"Show all reactions this user made.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/reactions.ts"},"tags":["users"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"sinceId":{"type":"string","format":"misskey:id"},"untilId":{"type":"string","format":"misskey:id"},"sinceDate":{"type":"integer"},"untilDate":{"type":"integer"}},"required":["userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/NoteReaction"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"REACTIONS_NOT_PUBLIC":{"value":{"error":{"message":"Reactions of the user is not public.","code":"REACTIONS_NOT_PUBLIC","id":"673a7dd2-6924-1093-e0c0-e68456ceae5c"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/recommendation":{"post":{"operationId":"users/recommendation","summary":"users/recommendation","description":"Show users that the authenticated user might be interested to follow.\n\n**Credential required**: *Yes* / **Permission**: *read:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/recommendation.ts"},"tags":["users"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"offset":{"type":"integer","default":0}}}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserDetailed"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/relation":{"post":{"operationId":"users/relation","summary":"users/relation","description":"Show the different kinds of relations between the authenticated user and the specified user(s).\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/relation.ts"},"tags":["users"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"anyOf":[{"type":"string","format":"misskey:id"},{"type":"array","items":{"type":"string","format":"misskey:id"}}]}},"required":["userId"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"nullable":false,"oneOf":[{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id"},"isFollowing":{"type":"boolean","nullable":false},"hasPendingFollowRequestFromYou":{"type":"boolean","nullable":false},"hasPendingFollowRequestToYou":{"type":"boolean","nullable":false},"isFollowed":{"type":"boolean","nullable":false},"isBlocking":{"type":"boolean","nullable":false},"isBlocked":{"type":"boolean","nullable":false},"isMuted":{"type":"boolean","nullable":false},"isRenoteMuted":{"type":"boolean","nullable":false}},"required":["id","isFollowing","hasPendingFollowRequestFromYou","hasPendingFollowRequestToYou","isFollowed","isBlocking","isBlocked","isMuted","isRenoteMuted"]},{"type":"array","items":{"type":"object","nullable":false,"properties":{"id":{"type":"string","nullable":false,"format":"id"},"isFollowing":{"type":"boolean","nullable":false},"hasPendingFollowRequestFromYou":{"type":"boolean","nullable":false},"hasPendingFollowRequestToYou":{"type":"boolean","nullable":false},"isFollowed":{"type":"boolean","nullable":false},"isBlocking":{"type":"boolean","nullable":false},"isBlocked":{"type":"boolean","nullable":false},"isMuted":{"type":"boolean","nullable":false},"isRenoteMuted":{"type":"boolean","nullable":false}},"required":["id","isFollowing","hasPendingFollowRequestFromYou","hasPendingFollowRequestToYou","isFollowed","isBlocking","isBlocked","isMuted","isRenoteMuted"]}}]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/report-abuse":{"post":{"operationId":"users/report-abuse","summary":"users/report-abuse","description":"File a report.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/report-abuse.ts"},"tags":["users"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"},"comment":{"type":"string","minLength":1,"maxLength":2048}},"required":["userId","comment"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"1acefcb5-0959-43fd-9685-b48305736cb5"}}},"CANNOT_REPORT_YOURSELF":{"value":{"error":{"message":"Cannot report yourself.","code":"CANNOT_REPORT_YOURSELF","id":"1e13149e-b1e8-43cf-902e-c01dbfcb202f"}}},"CANNOT_REPORT_THE_ADMIN":{"value":{"error":{"message":"Cannot report the admin.","code":"CANNOT_REPORT_THE_ADMIN","id":"35e166f5-05fb-4f87-a2d5-adb42676d48f"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/search-by-username-and-host":{"post":{"operationId":"users/search-by-username-and-host","summary":"users/search-by-username-and-host","description":"Search for a user by username and/or host.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/search-by-username-and-host.ts"},"tags":["users"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"detail":{"type":"boolean","default":true},"username":{"type":"string","nullable":true},"host":{"type":"string","nullable":true}},"anyOf":[{"required":["username"]},{"required":["host"]}]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/User"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/search":{"post":{"operationId":"users/search","summary":"users/search","description":"Search for users.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/search.ts"},"tags":["users"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string"},"offset":{"type":"integer","default":0},"limit":{"type":"integer","minimum":1,"maximum":100,"default":10},"origin":{"type":"string","enum":["local","remote","combined"],"default":"combined"},"detail":{"type":"boolean","default":true}},"required":["query"]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/User"}}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/show":{"post":{"operationId":"users/show","summary":"users/show","description":"Show the properties of a user.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/show.ts"},"tags":["users"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"},"userIds":{"type":"array","uniqueItems":true,"items":{"type":"string","format":"misskey:id"}},"username":{"type":"string"},"host":{"type":"string","nullable":true,"description":"The local host is represented with `null`."}},"anyOf":[{"required":["userId"]},{"required":["userIds"]},{"required":["username"]}]}}}},"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{"nullable":false,"oneOf":[{"type":"object","$ref":"#/components/schemas/UserDetailed"},{"type":"array","items":{"type":"object","$ref":"#/components/schemas/UserDetailed"}}]}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"FAILED_TO_RESOLVE_REMOTE_USER":{"value":{"error":{"message":"Failed to resolve remote user.","code":"FAILED_TO_RESOLVE_REMOTE_USER","id":"ef7b9be4-9cba-4e6f-ab41-90ed171c7d3c","kind":"server"}}},"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"4362f8dc-731f-4ad8-a694-be5a88922a24","httpStatusCode":404}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/achievements":{"post":{"operationId":"users/achievements","summary":"users/achievements","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/achievements.ts"},"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"}},"required":["userId"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/users/update-memo":{"post":{"operationId":"users/update-memo","summary":"users/update-memo","description":"No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:account*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/users/update-memo.ts"},"tags":["account"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","format":"misskey:id"},"memo":{"type":"string","nullable":true,"description":"A personal memo for the target user. If null or empty, delete the memo."}},"required":["userId","memo"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"NO_SUCH_USER":{"value":{"error":{"message":"No such user.","code":"NO_SUCH_USER","id":"6fef56f3-e765-4957-88e5-c6f65329b8a5"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/fetch-rss":{"get":{"operationId":"fetch-rss","summary":"fetch-rss","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/fetch-rss.ts"},"tags":["meta"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"fetch-rss","summary":"fetch-rss","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/fetch-rss.ts"},"tags":["meta"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/fetch-external-resources":{"post":{"operationId":"fetch-external-resources","summary":"fetch-external-resources","description":"No description provided.\n\n**Credential required**: *Yes*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/fetch-external-resources.ts"},"tags":["meta"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"hash":{"type":"string"}},"required":["url","hash"]}}}},"responses":{"204":{"description":"OK (without any results)"},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"EXT_RESOURCE_RETURNED_INVALID_SCHEMA":{"value":{"error":{"message":"External resource returned invalid schema.","code":"EXT_RESOURCE_RETURNED_INVALID_SCHEMA","id":"bb774091-7a15-4a70-9dc5-6ac8cf125856"}}},"EXT_RESOURCE_HASH_DIDNT_MATCH":{"value":{"error":{"message":"Hash did not match.","code":"EXT_RESOURCE_HASH_DIDNT_MATCH","id":"693ba8ba-b486-40df-a174-72f8279b56a4"}}},"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"429":{"description":"To many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"RATE_LIMIT_EXCEEDED":{"value":{"error":{"message":"Rate limit exceeded. Please try again later.","code":"RATE_LIMIT_EXCEEDED","id":"d5826d14-3982-4d2e-8011-b9e9f02499ef"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}},"/retention":{"get":{"operationId":"retention","summary":"retention","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/retention.ts"},"tags":["users"],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}},"post":{"operationId":"retention","summary":"retention","description":"No description provided.\n\n**Credential required**: *No*","externalDocs":{"description":"Source code","url":"https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/retention.ts"},"tags":["users"],"responses":{"200":{"description":"OK (with results)","content":{"application/json":{"schema":{}}}},"400":{"description":"Client error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INVALID_PARAM":{"value":{"error":{"message":"Invalid param.","code":"INVALID_PARAM","id":"3d81ceae-475f-4600-b2a8-2bc116157532"}}}}}}},"401":{"description":"Authentication error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"CREDENTIAL_REQUIRED":{"value":{"error":{"message":"Credential required.","code":"CREDENTIAL_REQUIRED","id":"1384574d-a912-4b81-8601-c7b1c4085df1"}}}}}}},"403":{"description":"Forbidden error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"AUTHENTICATION_FAILED":{"value":{"error":{"message":"Authentication failed. Please ensure your token is correct.","code":"AUTHENTICATION_FAILED","id":"b0a7f5f8-dc2f-4171-b91f-de88ad238e14"}}}}}}},"418":{"description":"I'm Ai","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"I_AM_AI":{"value":{"error":{"message":"You sent a request to Ai-chan, Misskey's showgirl, instead of the server.","code":"I_AM_AI","id":"60c46cd1-f23a-46b1-bebe-5d2b73951a84"}}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"INTERNAL_ERROR":{"value":{"error":{"message":"Internal error occurred. Please contact us if the error persists.","code":"INTERNAL_ERROR","id":"5d37dbcb-891e-41ca-a3d6-e690c97775ac"}}}}}}}}}}},"components":{"schemas":{"Error":{"type":"object","properties":{"error":{"type":"object","description":"An error object.","properties":{"code":{"type":"string","description":"An error code. Unique within the endpoint."},"message":{"type":"string","description":"An error message."},"id":{"type":"string","format":"uuid","description":"An error ID. This ID is static."}},"required":["code","id","message"]}},"required":["error"]},"UserLite":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"name":{"type":"string","nullable":true,"example":"藍"},"username":{"type":"string","nullable":false,"example":"ai"},"host":{"type":"string","nullable":true,"example":"misskey.example.com","description":"The local host is represented with `null`."},"avatarUrl":{"type":"string","format":"url","nullable":true},"avatarBlurhash":{"type":"string","nullable":true},"avatarDecorations":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"properties":{"id":{"type":"string","nullable":false,"format":"id"},"angle":{"type":"number","nullable":false},"flipH":{"type":"boolean","nullable":false},"url":{"type":"string","format":"url","nullable":false}},"required":["id","url"]}},"isBot":{"type":"boolean","nullable":false},"isCat":{"type":"boolean","nullable":false},"instance":{"type":"object","nullable":false,"properties":{"name":{"type":"string","nullable":true},"softwareName":{"type":"string","nullable":true},"softwareVersion":{"type":"string","nullable":true},"iconUrl":{"type":"string","nullable":true},"faviconUrl":{"type":"string","nullable":true},"themeColor":{"type":"string","nullable":true}},"required":["name","softwareName","softwareVersion","iconUrl","faviconUrl","themeColor"]},"emojis":{"type":"object","nullable":false},"onlineStatus":{"type":"string","nullable":false,"enum":["unknown","online","active","offline"]},"badgeRoles":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"properties":{"name":{"type":"string","nullable":false},"iconUrl":{"type":"string","nullable":true},"displayOrder":{"type":"number","nullable":false}},"required":["name","iconUrl","displayOrder"]}}},"required":["id","name","username","host","avatarUrl","avatarBlurhash","avatarDecorations","emojis","onlineStatus"]},"UserDetailedNotMeOnly":{"type":"object","properties":{"url":{"type":"string","format":"url","nullable":true},"uri":{"type":"string","format":"uri","nullable":true},"movedTo":{"type":"string","format":"uri","nullable":true},"alsoKnownAs":{"type":"array","nullable":true,"items":{"type":"string","format":"id","nullable":false}},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"lastFetchedAt":{"type":"string","nullable":true,"format":"date-time"},"bannerUrl":{"type":"string","format":"url","nullable":true},"bannerBlurhash":{"type":"string","nullable":true},"isLocked":{"type":"boolean","nullable":false},"isSilenced":{"type":"boolean","nullable":false},"isSuspended":{"type":"boolean","nullable":false,"example":false},"description":{"type":"string","nullable":true,"example":"Hi masters, I am Ai!"},"location":{"type":"string","nullable":true},"birthday":{"type":"string","nullable":true,"example":"2018-03-12"},"lang":{"type":"string","nullable":true,"example":"ja-JP"},"fields":{"type":"array","nullable":false,"maxItems":16,"items":{"type":"object","nullable":false,"properties":{"name":{"type":"string","nullable":false},"value":{"type":"string","nullable":false}},"required":["name","value"]}},"verifiedLinks":{"type":"array","nullable":false,"items":{"type":"string","nullable":false,"format":"url"}},"followersCount":{"type":"number","nullable":false},"followingCount":{"type":"number","nullable":false},"notesCount":{"type":"number","nullable":false},"pinnedNoteIds":{"type":"array","nullable":false,"items":{"type":"string","nullable":false,"format":"id"}},"pinnedNotes":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}},"pinnedPageId":{"type":"string","nullable":true},"pinnedPage":{"type":"object","nullable":true,"allOf":[{"$ref":"#/components/schemas/Page"}]},"publicReactions":{"type":"boolean","nullable":false},"ffVisibility":{"type":"string","nullable":false,"enum":["public","followers","private"]},"twoFactorEnabled":{"type":"boolean","nullable":false,"default":false},"usePasswordLessLogin":{"type":"boolean","nullable":false,"default":false},"securityKeys":{"type":"boolean","nullable":false,"default":false},"roles":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"properties":{"id":{"type":"string","nullable":false,"format":"id"},"name":{"type":"string","nullable":false},"color":{"type":"string","nullable":true},"iconUrl":{"type":"string","nullable":true},"description":{"type":"string","nullable":false},"isModerator":{"type":"boolean","nullable":false},"isAdministrator":{"type":"boolean","nullable":false},"displayOrder":{"type":"number","nullable":false}},"required":["id","name","color","iconUrl","description","isModerator","isAdministrator","displayOrder"]}},"memo":{"type":"string","nullable":true},"moderationNote":{"type":"string","nullable":false},"isFollowing":{"type":"boolean","nullable":false},"isFollowed":{"type":"boolean","nullable":false},"hasPendingFollowRequestFromYou":{"type":"boolean","nullable":false},"hasPendingFollowRequestToYou":{"type":"boolean","nullable":false},"isBlocking":{"type":"boolean","nullable":false},"isBlocked":{"type":"boolean","nullable":false},"isMuted":{"type":"boolean","nullable":false},"isRenoteMuted":{"type":"boolean","nullable":false},"notify":{"type":"string","nullable":false},"withReplies":{"type":"boolean","nullable":false}},"required":["url","uri","movedTo","alsoKnownAs","createdAt","updatedAt","lastFetchedAt","bannerUrl","bannerBlurhash","isLocked","isSilenced","isSuspended","description","location","birthday","lang","fields","verifiedLinks","followersCount","followingCount","notesCount","pinnedNoteIds","pinnedNotes","pinnedPageId","pinnedPage","publicReactions","ffVisibility","twoFactorEnabled","usePasswordLessLogin","securityKeys","roles","memo"]},"MeDetailedOnly":{"type":"object","properties":{"avatarId":{"type":"string","nullable":true,"format":"id"},"bannerId":{"type":"string","nullable":true,"format":"id"},"isModerator":{"type":"boolean","nullable":true},"isAdmin":{"type":"boolean","nullable":true},"injectFeaturedNote":{"type":"boolean","nullable":false},"receiveAnnouncementEmail":{"type":"boolean","nullable":false},"alwaysMarkNsfw":{"type":"boolean","nullable":false},"autoSensitive":{"type":"boolean","nullable":false},"carefulBot":{"type":"boolean","nullable":false},"autoAcceptFollowed":{"type":"boolean","nullable":false},"noCrawle":{"type":"boolean","nullable":false},"preventAiLearning":{"type":"boolean","nullable":false},"isExplorable":{"type":"boolean","nullable":false},"isDeleted":{"type":"boolean","nullable":false},"twoFactorBackupCodesStock":{"type":"string","enum":["full","partial","none"],"nullable":false},"hideOnlineStatus":{"type":"boolean","nullable":false},"hasUnreadSpecifiedNotes":{"type":"boolean","nullable":false},"hasUnreadMentions":{"type":"boolean","nullable":false},"hasUnreadAnnouncement":{"type":"boolean","nullable":false},"unreadAnnouncements":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Announcement"}},"hasUnreadAntenna":{"type":"boolean","nullable":false},"hasUnreadChannel":{"type":"boolean","nullable":false},"hasUnreadNotification":{"type":"boolean","nullable":false},"hasPendingReceivedFollowRequest":{"type":"boolean","nullable":false},"unreadNotificationsCount":{"type":"number","nullable":false},"mutedWords":{"type":"array","nullable":false,"items":{"type":"array","nullable":false,"items":{"type":"string","nullable":false}}},"hardMutedWords":{"type":"array","nullable":false,"items":{"type":"array","nullable":false,"items":{"type":"string","nullable":false}}},"mutedInstances":{"type":"array","nullable":true,"items":{"type":"string","nullable":false}},"notificationRecieveConfig":{"type":"object","nullable":false},"emailNotificationTypes":{"type":"array","nullable":false,"items":{"type":"string","nullable":false}},"achievements":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"properties":{"name":{"type":"string","nullable":false},"unlockedAt":{"type":"number","nullable":false}},"required":["name","unlockedAt"]}},"loggedInDays":{"type":"number","nullable":false},"policies":{"type":"object","nullable":false,"properties":{"gtlAvailable":{"type":"boolean","nullable":false},"ltlAvailable":{"type":"boolean","nullable":false},"canPublicNote":{"type":"boolean","nullable":false},"canInvite":{"type":"boolean","nullable":false},"inviteLimit":{"type":"number","nullable":false},"inviteLimitCycle":{"type":"number","nullable":false},"inviteExpirationTime":{"type":"number","nullable":false},"canManageCustomEmojis":{"type":"boolean","nullable":false},"canManageAvatarDecorations":{"type":"boolean","nullable":false},"canSearchNotes":{"type":"boolean","nullable":false},"canUseTranslator":{"type":"boolean","nullable":false},"canHideAds":{"type":"boolean","nullable":false},"driveCapacityMb":{"type":"number","nullable":false},"alwaysMarkNsfw":{"type":"boolean","nullable":false},"pinLimit":{"type":"number","nullable":false},"antennaLimit":{"type":"number","nullable":false},"wordMuteLimit":{"type":"number","nullable":false},"webhookLimit":{"type":"number","nullable":false},"clipLimit":{"type":"number","nullable":false},"noteEachClipsLimit":{"type":"number","nullable":false},"userListLimit":{"type":"number","nullable":false},"userEachUserListsLimit":{"type":"number","nullable":false},"rateLimitFactor":{"type":"number","nullable":false}},"required":["gtlAvailable","ltlAvailable","canPublicNote","canInvite","inviteLimit","inviteLimitCycle","inviteExpirationTime","canManageCustomEmojis","canManageAvatarDecorations","canSearchNotes","canUseTranslator","canHideAds","driveCapacityMb","alwaysMarkNsfw","pinLimit","antennaLimit","wordMuteLimit","webhookLimit","clipLimit","noteEachClipsLimit","userListLimit","userEachUserListsLimit","rateLimitFactor"]},"email":{"type":"string","nullable":true},"emailVerified":{"type":"boolean","nullable":true},"securityKeysList":{"type":"array","nullable":false,"items":{"type":"object","nullable":false}}},"required":["avatarId","bannerId","isModerator","isAdmin","injectFeaturedNote","receiveAnnouncementEmail","alwaysMarkNsfw","autoSensitive","carefulBot","autoAcceptFollowed","noCrawle","preventAiLearning","isExplorable","isDeleted","twoFactorBackupCodesStock","hideOnlineStatus","hasUnreadSpecifiedNotes","hasUnreadMentions","hasUnreadAnnouncement","unreadAnnouncements","hasUnreadAntenna","hasUnreadChannel","hasUnreadNotification","hasPendingReceivedFollowRequest","unreadNotificationsCount","mutedWords","hardMutedWords","mutedInstances","notificationRecieveConfig","emailNotificationTypes","achievements","loggedInDays","policies"]},"UserDetailedNotMe":{"type":"object","allOf":[{"type":"object","$ref":"#/components/schemas/UserLite"},{"type":"object","$ref":"#/components/schemas/UserDetailedNotMeOnly"}]},"MeDetailed":{"type":"object","allOf":[{"type":"object","$ref":"#/components/schemas/UserLite"},{"type":"object","$ref":"#/components/schemas/UserDetailedNotMeOnly"},{"type":"object","$ref":"#/components/schemas/MeDetailedOnly"}]},"UserDetailed":{"oneOf":[{"type":"object","$ref":"#/components/schemas/UserDetailedNotMe"},{"type":"object","$ref":"#/components/schemas/MeDetailed"}]},"User":{"oneOf":[{"type":"object","$ref":"#/components/schemas/UserLite"},{"type":"object","$ref":"#/components/schemas/UserDetailed"},{"type":"object","$ref":"#/components/schemas/UserDetailedNotMe"},{"type":"object","$ref":"#/components/schemas/MeDetailed"}]},"UserList":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"name":{"type":"string","nullable":false},"userIds":{"type":"array","nullable":false,"items":{"type":"string","nullable":false,"format":"id"}},"isPublic":{"type":"boolean","nullable":false}},"required":["id","createdAt","name","isPublic"]},"Announcement":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"updatedAt":{"type":"string","nullable":true,"format":"date-time"},"text":{"type":"string","nullable":false},"title":{"type":"string","nullable":false},"imageUrl":{"type":"string","nullable":true},"icon":{"type":"string","nullable":false},"display":{"type":"string","nullable":false},"needConfirmationToRead":{"type":"boolean","nullable":false},"silence":{"type":"boolean","nullable":false},"forYou":{"type":"boolean","nullable":false},"isRead":{"type":"boolean","nullable":false}},"required":["id","createdAt","updatedAt","text","title","imageUrl","icon","display","needConfirmationToRead","silence","forYou"]},"App":{"type":"object","properties":{"id":{"type":"string","nullable":false},"name":{"type":"string","nullable":false},"callbackUrl":{"type":"string","nullable":true},"permission":{"type":"array","nullable":false,"items":{"type":"string","nullable":false}},"secret":{"type":"string","nullable":false},"isAuthorized":{"type":"boolean","nullable":false}},"required":["id","name","callbackUrl","permission"]},"Note":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"deletedAt":{"type":"string","nullable":true,"format":"date-time"},"text":{"type":"string","nullable":true},"cw":{"type":"string","nullable":true},"userId":{"type":"string","nullable":false,"format":"id"},"user":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserLite"},"replyId":{"type":"string","nullable":true,"format":"id","example":"xxxxxxxxxx"},"renoteId":{"type":"string","nullable":true,"format":"id","example":"xxxxxxxxxx"},"reply":{"type":"object","nullable":true,"allOf":[{"$ref":"#/components/schemas/Note"}]},"renote":{"type":"object","nullable":true,"allOf":[{"$ref":"#/components/schemas/Note"}]},"isHidden":{"type":"boolean","nullable":false},"visibility":{"type":"string","nullable":false},"mentions":{"type":"array","nullable":false,"items":{"type":"string","nullable":false,"format":"id"}},"visibleUserIds":{"type":"array","nullable":false,"items":{"type":"string","nullable":false,"format":"id"}},"fileIds":{"type":"array","nullable":false,"items":{"type":"string","nullable":false,"format":"id"}},"files":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/DriveFile"}},"tags":{"type":"array","nullable":false,"items":{"type":"string","nullable":false}},"poll":{"type":"object","nullable":true},"channelId":{"type":"string","nullable":true,"format":"id","example":"xxxxxxxxxx"},"channel":{"type":"object","nullable":true,"properties":{"id":{"type":"string","nullable":false},"name":{"type":"string","nullable":false},"color":{"type":"string","nullable":false},"isSensitive":{"type":"boolean","nullable":false},"allowRenoteToExternal":{"type":"boolean","nullable":false}},"required":["id","name","color","isSensitive","allowRenoteToExternal"]},"localOnly":{"type":"boolean","nullable":false},"reactionAcceptance":{"type":"string","nullable":true},"reactions":{"type":"object","nullable":false},"renoteCount":{"type":"number","nullable":false},"repliesCount":{"type":"number","nullable":false},"uri":{"type":"string","nullable":false},"url":{"type":"string","nullable":false},"reactionAndUserPairCache":{"type":"array","nullable":false,"items":{"type":"string","nullable":false}},"myReaction":{"type":"object","nullable":true}},"required":["id","createdAt","text","userId","user","visibility","reactionAcceptance","reactions","renoteCount","repliesCount"]},"NoteReaction":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"user":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserLite"},"type":{"type":"string","nullable":false}},"required":["id","createdAt","user","type"]},"NoteFavorite":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"note":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"},"noteId":{"type":"string","nullable":false,"format":"id"}},"required":["id","createdAt","note","noteId"]},"Notification":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"type":{"type":"string","nullable":false,"enum":["note","follow","mention","reply","renote","quote","reaction","pollEnded","receiveFollowRequest","followRequestAccepted","achievementEarned","app","test","reaction:grouped","renote:grouped"]},"user":{"type":"object","nullable":true,"allOf":[{"$ref":"#/components/schemas/UserLite"}]},"userId":{"type":"string","nullable":true,"format":"id"},"note":{"type":"object","nullable":true,"allOf":[{"$ref":"#/components/schemas/Note"}]},"reaction":{"type":"string","nullable":true},"achievement":{"type":"string","nullable":false},"body":{"type":"string","nullable":true},"header":{"type":"string","nullable":true},"icon":{"type":"string","nullable":true},"reactions":{"type":"array","nullable":true,"items":{"type":"object","properties":{"user":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserLite"},"reaction":{"type":"string","nullable":false}},"required":["user","reaction"]}},"users":{"type":"array","nullable":true,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserLite"}}},"required":["id","createdAt","type"]},"DriveFile":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"name":{"type":"string","nullable":false,"example":"lenna.jpg"},"type":{"type":"string","nullable":false,"example":"image/jpeg"},"md5":{"type":"string","nullable":false,"format":"md5","example":"15eca7fba0480996e2245f5185bf39f2"},"size":{"type":"number","nullable":false,"example":51469},"isSensitive":{"type":"boolean","nullable":false},"blurhash":{"type":"string","nullable":true},"properties":{"type":"object","nullable":false,"properties":{"width":{"type":"number","nullable":false,"example":1280},"height":{"type":"number","nullable":false,"example":720},"orientation":{"type":"number","nullable":false,"example":8},"avgColor":{"type":"string","nullable":false,"example":"rgb(40,65,87)"}}},"url":{"type":"string","nullable":false,"format":"url"},"thumbnailUrl":{"type":"string","nullable":true,"format":"url"},"comment":{"type":"string","nullable":true},"folderId":{"type":"string","nullable":true,"format":"id","example":"xxxxxxxxxx"},"folder":{"type":"object","nullable":true,"allOf":[{"$ref":"#/components/schemas/DriveFolder"}]},"userId":{"type":"string","nullable":true,"format":"id","example":"xxxxxxxxxx"},"user":{"type":"object","nullable":true,"allOf":[{"$ref":"#/components/schemas/UserLite"}]}},"required":["id","createdAt","name","type","md5","size","isSensitive","blurhash","properties","url","thumbnailUrl","comment","folderId","userId"]},"DriveFolder":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"name":{"type":"string","nullable":false},"parentId":{"type":"string","nullable":true,"format":"id","example":"xxxxxxxxxx"},"foldersCount":{"type":"number","nullable":false},"filesCount":{"type":"number","nullable":false},"parent":{"type":"object","nullable":true,"allOf":[{"$ref":"#/components/schemas/DriveFolder"}]}},"required":["id","createdAt","name","parentId"]},"Following":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"followeeId":{"type":"string","nullable":false,"format":"id"},"followerId":{"type":"string","nullable":false,"format":"id"},"followee":{"type":"object","nullable":false,"allOf":[{"$ref":"#/components/schemas/UserDetailed"}]},"follower":{"type":"object","nullable":false,"allOf":[{"$ref":"#/components/schemas/UserDetailed"}]}},"required":["id","createdAt","followeeId","followerId"]},"Muting":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"expiresAt":{"type":"string","nullable":true,"format":"date-time"},"muteeId":{"type":"string","nullable":false,"format":"id"},"mutee":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserDetailed"}},"required":["id","createdAt","expiresAt","muteeId","mutee"]},"RenoteMuting":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"muteeId":{"type":"string","nullable":false,"format":"id"},"mutee":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserDetailed"}},"required":["id","createdAt","muteeId","mutee"]},"Blocking":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"blockeeId":{"type":"string","nullable":false,"format":"id"},"blockee":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserDetailed"}},"required":["id","createdAt","blockeeId","blockee"]},"Hashtag":{"type":"object","properties":{"tag":{"type":"string","nullable":false,"example":"misskey"},"mentionedUsersCount":{"type":"number","nullable":false},"mentionedLocalUsersCount":{"type":"number","nullable":false},"mentionedRemoteUsersCount":{"type":"number","nullable":false},"attachedUsersCount":{"type":"number","nullable":false},"attachedLocalUsersCount":{"type":"number","nullable":false},"attachedRemoteUsersCount":{"type":"number","nullable":false}},"required":["tag","mentionedUsersCount","mentionedLocalUsersCount","mentionedRemoteUsersCount","attachedUsersCount","attachedLocalUsersCount","attachedRemoteUsersCount"]},"InviteCode":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"code":{"type":"string","nullable":false,"example":"GR6S02ERUA5VR"},"expiresAt":{"type":"string","nullable":true,"format":"date-time"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"createdBy":{"type":"object","nullable":true,"allOf":[{"$ref":"#/components/schemas/UserLite"}]},"usedBy":{"type":"object","nullable":true,"allOf":[{"$ref":"#/components/schemas/UserLite"}]},"usedAt":{"type":"string","nullable":true,"format":"date-time"},"used":{"type":"boolean","nullable":false}},"required":["id","code","expiresAt","createdAt","createdBy","usedBy","usedAt","used"]},"Page":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"updatedAt":{"type":"string","nullable":false,"format":"date-time"},"userId":{"type":"string","nullable":false,"format":"id"},"user":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserLite"},"content":{"type":"array","nullable":false,"items":{"type":"object","nullable":false}},"variables":{"type":"array","nullable":false,"items":{"type":"object","nullable":false}},"title":{"type":"string","nullable":false},"name":{"type":"string","nullable":false},"summary":{"type":"string","nullable":true},"hideTitleWhenPinned":{"type":"boolean","nullable":false},"alignCenter":{"type":"boolean","nullable":false},"font":{"type":"string","nullable":false},"script":{"type":"string","nullable":false},"eyeCatchingImageId":{"type":"string","nullable":true},"eyeCatchingImage":{"type":"object","nullable":true,"allOf":[{"$ref":"#/components/schemas/DriveFile"}]},"attachedFiles":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/DriveFile"}},"likedCount":{"type":"number","nullable":false},"isLiked":{"type":"boolean","nullable":false}},"required":["id","createdAt","updatedAt","userId","user","content","variables","title","name","summary","hideTitleWhenPinned","alignCenter","font","script","eyeCatchingImageId","eyeCatchingImage","attachedFiles","likedCount"]},"Channel":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"lastNotedAt":{"type":"string","nullable":true,"format":"date-time"},"name":{"type":"string","nullable":false},"description":{"type":"string","nullable":true},"userId":{"type":"string","nullable":true,"format":"id"},"bannerUrl":{"type":"string","format":"url","nullable":true},"pinnedNoteIds":{"type":"array","nullable":false,"items":{"type":"string","format":"id"}},"color":{"type":"string","nullable":false},"isArchived":{"type":"boolean","nullable":false},"usersCount":{"type":"number","nullable":false},"notesCount":{"type":"number","nullable":false},"isSensitive":{"type":"boolean","nullable":false},"allowRenoteToExternal":{"type":"boolean","nullable":false},"isFollowing":{"type":"boolean","nullable":false},"isFavorited":{"type":"boolean","nullable":false},"pinnedNotes":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/Note"}}},"required":["id","createdAt","lastNotedAt","name","description","userId","bannerUrl","pinnedNoteIds","color","isArchived","usersCount","notesCount","isSensitive","allowRenoteToExternal"]},"QueueCount":{"type":"object","properties":{"waiting":{"type":"number","nullable":false},"active":{"type":"number","nullable":false},"completed":{"type":"number","nullable":false},"failed":{"type":"number","nullable":false},"delayed":{"type":"number","nullable":false}},"required":["waiting","active","completed","failed","delayed"]},"Antenna":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"name":{"type":"string","nullable":false},"keywords":{"type":"array","nullable":false,"items":{"type":"array","nullable":false,"items":{"type":"string","nullable":false}}},"excludeKeywords":{"type":"array","nullable":false,"items":{"type":"array","nullable":false,"items":{"type":"string","nullable":false}}},"src":{"type":"string","nullable":false,"enum":["home","all","users","list","users_blacklist"]},"userListId":{"type":"string","nullable":true,"format":"id"},"users":{"type":"array","nullable":false,"items":{"type":"string","nullable":false}},"caseSensitive":{"type":"boolean","nullable":false,"default":false},"localOnly":{"type":"boolean","nullable":false,"default":false},"notify":{"type":"boolean","nullable":false},"withReplies":{"type":"boolean","nullable":false,"default":false},"withFile":{"type":"boolean","nullable":false},"isActive":{"type":"boolean","nullable":false},"hasUnreadNote":{"type":"boolean","nullable":false,"default":false}},"required":["id","createdAt","name","keywords","excludeKeywords","src","userListId","users","caseSensitive","localOnly","notify","withReplies","withFile","isActive","hasUnreadNote"]},"Clip":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"lastClippedAt":{"type":"string","nullable":true,"format":"date-time"},"userId":{"type":"string","nullable":false,"format":"id"},"user":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserLite"},"name":{"type":"string","nullable":false},"description":{"type":"string","nullable":true},"isPublic":{"type":"boolean","nullable":false},"favoritedCount":{"type":"number","nullable":false},"isFavorited":{"type":"boolean","nullable":false}},"required":["id","createdAt","lastClippedAt","userId","user","name","description","isPublic","favoritedCount"]},"FederationInstance":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id"},"firstRetrievedAt":{"type":"string","nullable":false,"format":"date-time"},"host":{"type":"string","nullable":false,"example":"misskey.example.com"},"usersCount":{"type":"number","nullable":false},"notesCount":{"type":"number","nullable":false},"followingCount":{"type":"number","nullable":false},"followersCount":{"type":"number","nullable":false},"isNotResponding":{"type":"boolean","nullable":false},"isSuspended":{"type":"boolean","nullable":false},"isBlocked":{"type":"boolean","nullable":false},"softwareName":{"type":"string","nullable":true,"example":"misskey"},"softwareVersion":{"type":"string","nullable":true},"openRegistrations":{"type":"boolean","nullable":true,"example":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"maintainerName":{"type":"string","nullable":true},"maintainerEmail":{"type":"string","nullable":true},"isSilenced":{"type":"boolean","nullable":false},"iconUrl":{"type":"string","nullable":true,"format":"url"},"faviconUrl":{"type":"string","nullable":true,"format":"url"},"themeColor":{"type":"string","nullable":true},"infoUpdatedAt":{"type":"string","nullable":true,"format":"date-time"},"latestRequestReceivedAt":{"type":"string","nullable":true,"format":"date-time"}},"required":["id","firstRetrievedAt","host","usersCount","notesCount","followingCount","followersCount","isNotResponding","isSuspended","isBlocked","softwareName","softwareVersion","openRegistrations","name","description","maintainerName","maintainerEmail","isSilenced","iconUrl","faviconUrl","themeColor","infoUpdatedAt","latestRequestReceivedAt"]},"GalleryPost":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"updatedAt":{"type":"string","nullable":false,"format":"date-time"},"userId":{"type":"string","nullable":false,"format":"id"},"user":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserLite"},"title":{"type":"string","nullable":false},"description":{"type":"string","nullable":true},"fileIds":{"type":"array","nullable":false,"items":{"type":"string","nullable":false,"format":"id"}},"files":{"type":"array","nullable":false,"items":{"type":"object","nullable":false,"$ref":"#/components/schemas/DriveFile"}},"tags":{"type":"array","nullable":false,"items":{"type":"string","nullable":false}},"isSensitive":{"type":"boolean","nullable":false},"likedCount":{"type":"number","nullable":false},"isLiked":{"type":"boolean","nullable":false}},"required":["id","createdAt","updatedAt","userId","user","title","description","isSensitive","likedCount"]},"EmojiSimple":{"type":"object","properties":{"aliases":{"type":"array","nullable":false,"items":{"type":"string","nullable":false,"format":"id"}},"name":{"type":"string","nullable":false},"category":{"type":"string","nullable":true},"url":{"type":"string","nullable":false},"isSensitive":{"type":"boolean","nullable":false},"roleIdsThatCanBeUsedThisEmojiAsReaction":{"type":"array","nullable":false,"items":{"type":"string","nullable":false,"format":"id"}}},"required":["aliases","name","category","url"]},"EmojiDetailed":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id"},"aliases":{"type":"array","nullable":false,"items":{"type":"string","nullable":false,"format":"id"}},"name":{"type":"string","nullable":false},"category":{"type":"string","nullable":true},"host":{"type":"string","nullable":true,"description":"The local host is represented with `null`."},"url":{"type":"string","nullable":false},"license":{"type":"string","nullable":true},"isSensitive":{"type":"boolean","nullable":false},"localOnly":{"type":"boolean","nullable":false},"roleIdsThatCanBeUsedThisEmojiAsReaction":{"type":"array","nullable":false,"items":{"type":"string","nullable":false,"format":"id"}}},"required":["id","aliases","name","category","host","url","license","isSensitive","localOnly","roleIdsThatCanBeUsedThisEmojiAsReaction"]},"Flash":{"type":"object","properties":{"id":{"type":"string","nullable":false,"format":"id","example":"xxxxxxxxxx"},"createdAt":{"type":"string","nullable":false,"format":"date-time"},"updatedAt":{"type":"string","nullable":false,"format":"date-time"},"userId":{"type":"string","nullable":false,"format":"id"},"user":{"type":"object","nullable":false,"$ref":"#/components/schemas/UserLite"},"title":{"type":"string","nullable":false},"summary":{"type":"string","nullable":false},"script":{"type":"string","nullable":false},"likedCount":{"type":"number","nullable":true},"isLiked":{"type":"boolean","nullable":false}},"required":["id","createdAt","updatedAt","userId","user","title","summary","script","likedCount"]}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}}}
\ No newline at end of file
diff --git a/packages/misskey-js/package.json b/packages/misskey-js/package.json
index 7eb528b824..981ab6114a 100644
--- a/packages/misskey-js/package.json
+++ b/packages/misskey-js/package.json
@@ -5,7 +5,7 @@
"main": "./built/index.js",
"types": "./built/index.d.ts",
"scripts": {
- "build": "pnpm generate && tsc",
+ "build": "tsc",
"tsd": "tsd",
"api": "pnpm api-extractor run --local --verbose",
"api-prod": "pnpm api-extractor run --verbose",
diff --git a/packages/misskey-js/src/autogen/endpoint.ts b/packages/misskey-js/src/autogen/endpoint.ts
new file mode 100644
index 0000000000..61181628bf
--- /dev/null
+++ b/packages/misskey-js/src/autogen/endpoint.ts
@@ -0,0 +1,797 @@
+import type {
+ EmptyRequest,
+ EmptyResponse,
+ AdminMetaResponse,
+ AdminAbuseUserReportsRequest,
+ AdminAbuseUserReportsResponse,
+ AdminAccountsCreateRequest,
+ AdminAccountsCreateResponse,
+ AdminAccountsDeleteRequest,
+ AdminAccountsFindByEmailRequest,
+ AdminAdCreateRequest,
+ AdminAdDeleteRequest,
+ AdminAdListRequest,
+ AdminAdUpdateRequest,
+ AdminAnnouncementsCreateRequest,
+ AdminAnnouncementsCreateResponse,
+ AdminAnnouncementsDeleteRequest,
+ AdminAnnouncementsListRequest,
+ AdminAnnouncementsListResponse,
+ AdminAnnouncementsUpdateRequest,
+ AdminAvatarDecorationsCreateRequest,
+ AdminAvatarDecorationsDeleteRequest,
+ AdminAvatarDecorationsListRequest,
+ AdminAvatarDecorationsListResponse,
+ AdminAvatarDecorationsUpdateRequest,
+ AdminDeleteAllFilesOfAUserRequest,
+ AdminUnsetUserAvatarRequest,
+ AdminUnsetUserBannerRequest,
+ AdminDriveFilesRequest,
+ AdminDriveFilesResponse,
+ AdminDriveShowFileRequest,
+ AdminDriveShowFileResponse,
+ AdminEmojiAddAliasesBulkRequest,
+ AdminEmojiAddRequest,
+ AdminEmojiCopyRequest,
+ AdminEmojiCopyResponse,
+ AdminEmojiDeleteBulkRequest,
+ AdminEmojiDeleteRequest,
+ AdminEmojiListRemoteRequest,
+ AdminEmojiListRemoteResponse,
+ AdminEmojiListRequest,
+ AdminEmojiListResponse,
+ AdminEmojiRemoveAliasesBulkRequest,
+ AdminEmojiSetAliasesBulkRequest,
+ AdminEmojiSetCategoryBulkRequest,
+ AdminEmojiSetLicenseBulkRequest,
+ AdminEmojiUpdateRequest,
+ AdminFederationDeleteAllFilesRequest,
+ AdminFederationRefreshRemoteInstanceMetadataRequest,
+ AdminFederationRemoveAllFollowingRequest,
+ AdminFederationUpdateInstanceRequest,
+ AdminGetTableStatsResponse,
+ AdminGetUserIpsRequest,
+ AdminInviteCreateRequest,
+ AdminInviteCreateResponse,
+ AdminInviteListRequest,
+ AdminInviteListResponse,
+ AdminPromoCreateRequest,
+ AdminQueueDeliverDelayedResponse,
+ AdminQueueInboxDelayedResponse,
+ AdminQueuePromoteRequest,
+ AdminQueueStatsResponse,
+ AdminRelaysAddRequest,
+ AdminRelaysAddResponse,
+ AdminRelaysListResponse,
+ AdminRelaysRemoveRequest,
+ AdminResetPasswordRequest,
+ AdminResetPasswordResponse,
+ AdminResolveAbuseUserReportRequest,
+ AdminSendEmailRequest,
+ AdminServerInfoResponse,
+ AdminShowModerationLogsRequest,
+ AdminShowModerationLogsResponse,
+ AdminShowUserRequest,
+ AdminShowUserResponse,
+ AdminShowUsersRequest,
+ AdminShowUsersResponse,
+ AdminSuspendUserRequest,
+ AdminUnsuspendUserRequest,
+ AdminUpdateMetaRequest,
+ AdminDeleteAccountRequest,
+ AdminDeleteAccountResponse,
+ AdminUpdateUserNoteRequest,
+ AdminRolesCreateRequest,
+ AdminRolesDeleteRequest,
+ AdminRolesShowRequest,
+ AdminRolesUpdateRequest,
+ AdminRolesAssignRequest,
+ AdminRolesUnassignRequest,
+ AdminRolesUpdateDefaultPoliciesRequest,
+ AdminRolesUsersRequest,
+ AnnouncementsRequest,
+ AnnouncementsResponse,
+ AntennasCreateRequest,
+ AntennasCreateResponse,
+ AntennasDeleteRequest,
+ AntennasListResponse,
+ AntennasNotesRequest,
+ AntennasNotesResponse,
+ AntennasShowRequest,
+ AntennasShowResponse,
+ AntennasUpdateRequest,
+ AntennasUpdateResponse,
+ ApGetRequest,
+ ApGetResponse,
+ ApShowRequest,
+ ApShowResponse,
+ AppCreateRequest,
+ AppCreateResponse,
+ AppShowRequest,
+ AppShowResponse,
+ AuthSessionGenerateRequest,
+ AuthSessionGenerateResponse,
+ AuthSessionShowRequest,
+ AuthSessionShowResponse,
+ AuthSessionUserkeyRequest,
+ AuthSessionUserkeyResponse,
+ BlockingCreateRequest,
+ BlockingCreateResponse,
+ BlockingDeleteRequest,
+ BlockingDeleteResponse,
+ BlockingListRequest,
+ BlockingListResponse,
+ ChannelsCreateRequest,
+ ChannelsCreateResponse,
+ ChannelsFeaturedResponse,
+ ChannelsFollowRequest,
+ ChannelsFollowedRequest,
+ ChannelsFollowedResponse,
+ ChannelsOwnedRequest,
+ ChannelsOwnedResponse,
+ ChannelsShowRequest,
+ ChannelsShowResponse,
+ ChannelsTimelineRequest,
+ ChannelsTimelineResponse,
+ ChannelsUnfollowRequest,
+ ChannelsUpdateRequest,
+ ChannelsUpdateResponse,
+ ChannelsFavoriteRequest,
+ ChannelsUnfavoriteRequest,
+ ChannelsMyFavoritesResponse,
+ ChannelsSearchRequest,
+ ChannelsSearchResponse,
+ ChartsActiveUsersRequest,
+ ChartsActiveUsersResponse,
+ ChartsApRequestRequest,
+ ChartsApRequestResponse,
+ ChartsDriveRequest,
+ ChartsDriveResponse,
+ ChartsFederationRequest,
+ ChartsFederationResponse,
+ ChartsInstanceRequest,
+ ChartsInstanceResponse,
+ ChartsNotesRequest,
+ ChartsNotesResponse,
+ ChartsUserDriveRequest,
+ ChartsUserDriveResponse,
+ ChartsUserFollowingRequest,
+ ChartsUserFollowingResponse,
+ ChartsUserNotesRequest,
+ ChartsUserNotesResponse,
+ ChartsUserPvRequest,
+ ChartsUserPvResponse,
+ ChartsUserReactionsRequest,
+ ChartsUserReactionsResponse,
+ ChartsUsersRequest,
+ ChartsUsersResponse,
+ ClipsAddNoteRequest,
+ ClipsRemoveNoteRequest,
+ ClipsCreateRequest,
+ ClipsCreateResponse,
+ ClipsDeleteRequest,
+ ClipsListResponse,
+ ClipsNotesRequest,
+ ClipsNotesResponse,
+ ClipsShowRequest,
+ ClipsShowResponse,
+ ClipsUpdateRequest,
+ ClipsUpdateResponse,
+ ClipsFavoriteRequest,
+ ClipsUnfavoriteRequest,
+ ClipsMyFavoritesResponse,
+ DriveResponse,
+ DriveFilesRequest,
+ DriveFilesResponse,
+ DriveFilesAttachedNotesRequest,
+ DriveFilesAttachedNotesResponse,
+ DriveFilesCheckExistenceRequest,
+ DriveFilesCheckExistenceResponse,
+ DriveFilesCreateRequest,
+ DriveFilesCreateResponse,
+ DriveFilesDeleteRequest,
+ DriveFilesFindByHashRequest,
+ DriveFilesFindByHashResponse,
+ DriveFilesFindRequest,
+ DriveFilesFindResponse,
+ DriveFilesShowRequest,
+ DriveFilesShowResponse,
+ DriveFilesUpdateRequest,
+ DriveFilesUpdateResponse,
+ DriveFilesUploadFromUrlRequest,
+ DriveFoldersRequest,
+ DriveFoldersResponse,
+ DriveFoldersCreateRequest,
+ DriveFoldersCreateResponse,
+ DriveFoldersDeleteRequest,
+ DriveFoldersFindRequest,
+ DriveFoldersFindResponse,
+ DriveFoldersShowRequest,
+ DriveFoldersShowResponse,
+ DriveFoldersUpdateRequest,
+ DriveFoldersUpdateResponse,
+ DriveStreamRequest,
+ DriveStreamResponse,
+ EmailAddressAvailableRequest,
+ EmailAddressAvailableResponse,
+ EndpointRequest,
+ EndpointsResponse,
+ FederationFollowersRequest,
+ FederationFollowersResponse,
+ FederationFollowingRequest,
+ FederationFollowingResponse,
+ FederationInstancesRequest,
+ FederationInstancesResponse,
+ FederationShowInstanceRequest,
+ FederationShowInstanceResponse,
+ FederationUpdateRemoteUserRequest,
+ FederationUsersRequest,
+ FederationUsersResponse,
+ FederationStatsRequest,
+ FollowingCreateRequest,
+ FollowingCreateResponse,
+ FollowingDeleteRequest,
+ FollowingDeleteResponse,
+ FollowingUpdateRequest,
+ FollowingUpdateResponse,
+ FollowingUpdateAllRequest,
+ FollowingInvalidateRequest,
+ FollowingInvalidateResponse,
+ FollowingRequestsAcceptRequest,
+ FollowingRequestsCancelRequest,
+ FollowingRequestsCancelResponse,
+ FollowingRequestsListRequest,
+ FollowingRequestsListResponse,
+ FollowingRequestsRejectRequest,
+ GalleryFeaturedRequest,
+ GalleryFeaturedResponse,
+ GalleryPopularResponse,
+ GalleryPostsRequest,
+ GalleryPostsResponse,
+ GalleryPostsCreateRequest,
+ GalleryPostsCreateResponse,
+ GalleryPostsDeleteRequest,
+ GalleryPostsLikeRequest,
+ GalleryPostsShowRequest,
+ GalleryPostsShowResponse,
+ GalleryPostsUnlikeRequest,
+ GalleryPostsUpdateRequest,
+ GalleryPostsUpdateResponse,
+ GetAvatarDecorationsResponse,
+ HashtagsListRequest,
+ HashtagsListResponse,
+ HashtagsSearchRequest,
+ HashtagsSearchResponse,
+ HashtagsShowRequest,
+ HashtagsShowResponse,
+ HashtagsTrendResponse,
+ HashtagsUsersRequest,
+ HashtagsUsersResponse,
+ IResponse,
+ IClaimAchievementRequest,
+ IFavoritesRequest,
+ IFavoritesResponse,
+ IGalleryLikesRequest,
+ IGalleryLikesResponse,
+ IGalleryPostsRequest,
+ IGalleryPostsResponse,
+ INotificationsRequest,
+ INotificationsResponse,
+ INotificationsGroupedRequest,
+ INotificationsGroupedResponse,
+ IPageLikesRequest,
+ IPageLikesResponse,
+ IPagesRequest,
+ IPagesResponse,
+ IPinRequest,
+ IPinResponse,
+ IReadAnnouncementRequest,
+ IRegistryGetAllRequest,
+ IRegistryGetDetailRequest,
+ IRegistryGetRequest,
+ IRegistryKeysWithTypeRequest,
+ IRegistryKeysRequest,
+ IRegistryRemoveRequest,
+ IRegistrySetRequest,
+ IUnpinRequest,
+ IUnpinResponse,
+ IUpdateRequest,
+ IUpdateResponse,
+ IWebhooksCreateRequest,
+ IWebhooksShowRequest,
+ IWebhooksUpdateRequest,
+ IWebhooksDeleteRequest,
+ InviteCreateResponse,
+ InviteDeleteRequest,
+ InviteListRequest,
+ InviteListResponse,
+ InviteLimitResponse,
+ MetaRequest,
+ MetaResponse,
+ EmojisResponse,
+ EmojiRequest,
+ EmojiResponse,
+ MuteCreateRequest,
+ MuteDeleteRequest,
+ MuteListRequest,
+ MuteListResponse,
+ RenoteMuteCreateRequest,
+ RenoteMuteDeleteRequest,
+ RenoteMuteListRequest,
+ RenoteMuteListResponse,
+ MyAppsRequest,
+ MyAppsResponse,
+ NotesRequest,
+ NotesResponse,
+ NotesChildrenRequest,
+ NotesChildrenResponse,
+ NotesClipsRequest,
+ NotesClipsResponse,
+ NotesConversationRequest,
+ NotesConversationResponse,
+ NotesCreateRequest,
+ NotesCreateResponse,
+ NotesDeleteRequest,
+ NotesFavoritesCreateRequest,
+ NotesFavoritesDeleteRequest,
+ NotesFeaturedRequest,
+ NotesFeaturedResponse,
+ NotesGlobalTimelineRequest,
+ NotesGlobalTimelineResponse,
+ NotesHybridTimelineRequest,
+ NotesHybridTimelineResponse,
+ NotesLocalTimelineRequest,
+ NotesLocalTimelineResponse,
+ NotesMentionsRequest,
+ NotesMentionsResponse,
+ NotesPollsRecommendationRequest,
+ NotesPollsRecommendationResponse,
+ NotesPollsVoteRequest,
+ NotesReactionsRequest,
+ NotesReactionsResponse,
+ NotesReactionsCreateRequest,
+ NotesReactionsDeleteRequest,
+ NotesRenotesRequest,
+ NotesRenotesResponse,
+ NotesRepliesRequest,
+ NotesRepliesResponse,
+ NotesSearchByTagRequest,
+ NotesSearchByTagResponse,
+ NotesSearchRequest,
+ NotesSearchResponse,
+ NotesShowRequest,
+ NotesShowResponse,
+ NotesStateRequest,
+ NotesStateResponse,
+ NotesThreadMutingCreateRequest,
+ NotesThreadMutingDeleteRequest,
+ NotesTimelineRequest,
+ NotesTimelineResponse,
+ NotesTranslateRequest,
+ NotesTranslateResponse,
+ NotesUnrenoteRequest,
+ NotesUserListTimelineRequest,
+ NotesUserListTimelineResponse,
+ NotificationsCreateRequest,
+ PagesCreateRequest,
+ PagesCreateResponse,
+ PagesDeleteRequest,
+ PagesFeaturedResponse,
+ PagesLikeRequest,
+ PagesShowRequest,
+ PagesShowResponse,
+ PagesUnlikeRequest,
+ PagesUpdateRequest,
+ FlashCreateRequest,
+ FlashDeleteRequest,
+ FlashFeaturedResponse,
+ FlashLikeRequest,
+ FlashShowRequest,
+ FlashShowResponse,
+ FlashUnlikeRequest,
+ FlashUpdateRequest,
+ FlashMyRequest,
+ FlashMyResponse,
+ FlashMyLikesRequest,
+ FlashMyLikesResponse,
+ PingResponse,
+ PinnedUsersResponse,
+ PromoReadRequest,
+ RolesShowRequest,
+ RolesUsersRequest,
+ RolesNotesRequest,
+ RolesNotesResponse,
+ RequestResetPasswordRequest,
+ ResetPasswordRequest,
+ StatsResponse,
+ SwShowRegistrationRequest,
+ SwShowRegistrationResponse,
+ SwUpdateRegistrationRequest,
+ SwUpdateRegistrationResponse,
+ SwRegisterRequest,
+ SwRegisterResponse,
+ SwUnregisterRequest,
+ TestRequest,
+ UsernameAvailableRequest,
+ UsernameAvailableResponse,
+ UsersRequest,
+ UsersResponse,
+ UsersClipsRequest,
+ UsersClipsResponse,
+ UsersFollowersRequest,
+ UsersFollowersResponse,
+ UsersFollowingRequest,
+ UsersFollowingResponse,
+ UsersGalleryPostsRequest,
+ UsersGalleryPostsResponse,
+ UsersGetFrequentlyRepliedUsersRequest,
+ UsersGetFrequentlyRepliedUsersResponse,
+ UsersFeaturedNotesRequest,
+ UsersFeaturedNotesResponse,
+ UsersListsCreateRequest,
+ UsersListsCreateResponse,
+ UsersListsDeleteRequest,
+ UsersListsListRequest,
+ UsersListsListResponse,
+ UsersListsPullRequest,
+ UsersListsPushRequest,
+ UsersListsShowRequest,
+ UsersListsShowResponse,
+ UsersListsFavoriteRequest,
+ UsersListsUnfavoriteRequest,
+ UsersListsUpdateRequest,
+ UsersListsUpdateResponse,
+ UsersListsCreateFromPublicRequest,
+ UsersListsCreateFromPublicResponse,
+ UsersListsUpdateMembershipRequest,
+ UsersListsGetMembershipsRequest,
+ UsersNotesRequest,
+ UsersNotesResponse,
+ UsersPagesRequest,
+ UsersPagesResponse,
+ UsersFlashsRequest,
+ UsersFlashsResponse,
+ UsersReactionsRequest,
+ UsersReactionsResponse,
+ UsersRecommendationRequest,
+ UsersRecommendationResponse,
+ UsersRelationRequest,
+ UsersRelationResponse,
+ UsersReportAbuseRequest,
+ UsersSearchByUsernameAndHostRequest,
+ UsersSearchByUsernameAndHostResponse,
+ UsersSearchRequest,
+ UsersSearchResponse,
+ UsersShowRequest,
+ UsersShowResponse,
+ UsersAchievementsRequest,
+ UsersUpdateMemoRequest,
+ FetchRssRequest,
+ FetchExternalResourcesRequest,
+ RetentionResponse,
+} from './entities.js';
+
+export type Endpoints = {
+ 'admin/meta': { req: EmptyRequest; res: AdminMetaResponse };
+ 'admin/abuse-user-reports': { req: AdminAbuseUserReportsRequest; res: AdminAbuseUserReportsResponse };
+ 'admin/accounts/create': { req: AdminAccountsCreateRequest; res: AdminAccountsCreateResponse };
+ 'admin/accounts/delete': { req: AdminAccountsDeleteRequest; res: EmptyResponse };
+ 'admin/accounts/find-by-email': { req: AdminAccountsFindByEmailRequest; res: EmptyResponse };
+ 'admin/ad/create': { req: AdminAdCreateRequest; res: EmptyResponse };
+ 'admin/ad/delete': { req: AdminAdDeleteRequest; res: EmptyResponse };
+ 'admin/ad/list': { req: AdminAdListRequest; res: EmptyResponse };
+ 'admin/ad/update': { req: AdminAdUpdateRequest; res: EmptyResponse };
+ 'admin/announcements/create': { req: AdminAnnouncementsCreateRequest; res: AdminAnnouncementsCreateResponse };
+ 'admin/announcements/delete': { req: AdminAnnouncementsDeleteRequest; res: EmptyResponse };
+ 'admin/announcements/list': { req: AdminAnnouncementsListRequest; res: AdminAnnouncementsListResponse };
+ 'admin/announcements/update': { req: AdminAnnouncementsUpdateRequest; res: EmptyResponse };
+ 'admin/avatar-decorations/create': { req: AdminAvatarDecorationsCreateRequest; res: EmptyResponse };
+ 'admin/avatar-decorations/delete': { req: AdminAvatarDecorationsDeleteRequest; res: EmptyResponse };
+ 'admin/avatar-decorations/list': { req: AdminAvatarDecorationsListRequest; res: AdminAvatarDecorationsListResponse };
+ 'admin/avatar-decorations/update': { req: AdminAvatarDecorationsUpdateRequest; res: EmptyResponse };
+ 'admin/delete-all-files-of-a-user': { req: AdminDeleteAllFilesOfAUserRequest; res: EmptyResponse };
+ 'admin/unset-user-avatar': { req: AdminUnsetUserAvatarRequest; res: EmptyResponse };
+ 'admin/unset-user-banner': { req: AdminUnsetUserBannerRequest; res: EmptyResponse };
+ 'admin/drive/clean-remote-files': { req: EmptyRequest; res: EmptyResponse };
+ 'admin/drive/cleanup': { req: EmptyRequest; res: EmptyResponse };
+ 'admin/drive/files': { req: AdminDriveFilesRequest; res: AdminDriveFilesResponse };
+ 'admin/drive/show-file': { req: AdminDriveShowFileRequest; res: AdminDriveShowFileResponse };
+ 'admin/emoji/add-aliases-bulk': { req: AdminEmojiAddAliasesBulkRequest; res: EmptyResponse };
+ 'admin/emoji/add': { req: AdminEmojiAddRequest; res: EmptyResponse };
+ 'admin/emoji/copy': { req: AdminEmojiCopyRequest; res: AdminEmojiCopyResponse };
+ 'admin/emoji/delete-bulk': { req: AdminEmojiDeleteBulkRequest; res: EmptyResponse };
+ 'admin/emoji/delete': { req: AdminEmojiDeleteRequest; res: EmptyResponse };
+ 'admin/emoji/list-remote': { req: AdminEmojiListRemoteRequest; res: AdminEmojiListRemoteResponse };
+ 'admin/emoji/list': { req: AdminEmojiListRequest; res: AdminEmojiListResponse };
+ 'admin/emoji/remove-aliases-bulk': { req: AdminEmojiRemoveAliasesBulkRequest; res: EmptyResponse };
+ 'admin/emoji/set-aliases-bulk': { req: AdminEmojiSetAliasesBulkRequest; res: EmptyResponse };
+ 'admin/emoji/set-category-bulk': { req: AdminEmojiSetCategoryBulkRequest; res: EmptyResponse };
+ 'admin/emoji/set-license-bulk': { req: AdminEmojiSetLicenseBulkRequest; res: EmptyResponse };
+ 'admin/emoji/update': { req: AdminEmojiUpdateRequest; res: EmptyResponse };
+ 'admin/federation/delete-all-files': { req: AdminFederationDeleteAllFilesRequest; res: EmptyResponse };
+ 'admin/federation/refresh-remote-instance-metadata': { req: AdminFederationRefreshRemoteInstanceMetadataRequest; res: EmptyResponse };
+ 'admin/federation/remove-all-following': { req: AdminFederationRemoveAllFollowingRequest; res: EmptyResponse };
+ 'admin/federation/update-instance': { req: AdminFederationUpdateInstanceRequest; res: EmptyResponse };
+ 'admin/get-index-stats': { req: EmptyRequest; res: EmptyResponse };
+ 'admin/get-table-stats': { req: EmptyRequest; res: AdminGetTableStatsResponse };
+ 'admin/get-user-ips': { req: AdminGetUserIpsRequest; res: EmptyResponse };
+ 'admin/invite/create': { req: AdminInviteCreateRequest; res: AdminInviteCreateResponse };
+ 'admin/invite/list': { req: AdminInviteListRequest; res: AdminInviteListResponse };
+ 'admin/promo/create': { req: AdminPromoCreateRequest; res: EmptyResponse };
+ 'admin/queue/clear': { req: EmptyRequest; res: EmptyResponse };
+ 'admin/queue/deliver-delayed': { req: EmptyRequest; res: AdminQueueDeliverDelayedResponse };
+ 'admin/queue/inbox-delayed': { req: EmptyRequest; res: AdminQueueInboxDelayedResponse };
+ 'admin/queue/promote': { req: AdminQueuePromoteRequest; res: EmptyResponse };
+ 'admin/queue/stats': { req: EmptyRequest; res: AdminQueueStatsResponse };
+ 'admin/relays/add': { req: AdminRelaysAddRequest; res: AdminRelaysAddResponse };
+ 'admin/relays/list': { req: EmptyRequest; res: AdminRelaysListResponse };
+ 'admin/relays/remove': { req: AdminRelaysRemoveRequest; res: EmptyResponse };
+ 'admin/reset-password': { req: AdminResetPasswordRequest; res: AdminResetPasswordResponse };
+ 'admin/resolve-abuse-user-report': { req: AdminResolveAbuseUserReportRequest; res: EmptyResponse };
+ 'admin/send-email': { req: AdminSendEmailRequest; res: EmptyResponse };
+ 'admin/server-info': { req: EmptyRequest; res: AdminServerInfoResponse };
+ 'admin/show-moderation-logs': { req: AdminShowModerationLogsRequest; res: AdminShowModerationLogsResponse };
+ 'admin/show-user': { req: AdminShowUserRequest; res: AdminShowUserResponse };
+ 'admin/show-users': { req: AdminShowUsersRequest; res: AdminShowUsersResponse };
+ 'admin/suspend-user': { req: AdminSuspendUserRequest; res: EmptyResponse };
+ 'admin/unsuspend-user': { req: AdminUnsuspendUserRequest; res: EmptyResponse };
+ 'admin/update-meta': { req: AdminUpdateMetaRequest; res: EmptyResponse };
+ 'admin/delete-account': { req: AdminDeleteAccountRequest; res: AdminDeleteAccountResponse };
+ 'admin/update-user-note': { req: AdminUpdateUserNoteRequest; res: EmptyResponse };
+ 'admin/roles/create': { req: AdminRolesCreateRequest; res: EmptyResponse };
+ 'admin/roles/delete': { req: AdminRolesDeleteRequest; res: EmptyResponse };
+ 'admin/roles/list': { req: EmptyRequest; res: EmptyResponse };
+ 'admin/roles/show': { req: AdminRolesShowRequest; res: EmptyResponse };
+ 'admin/roles/update': { req: AdminRolesUpdateRequest; res: EmptyResponse };
+ 'admin/roles/assign': { req: AdminRolesAssignRequest; res: EmptyResponse };
+ 'admin/roles/unassign': { req: AdminRolesUnassignRequest; res: EmptyResponse };
+ 'admin/roles/update-default-policies': { req: AdminRolesUpdateDefaultPoliciesRequest; res: EmptyResponse };
+ 'admin/roles/users': { req: AdminRolesUsersRequest; res: EmptyResponse };
+ 'announcements': { req: AnnouncementsRequest; res: AnnouncementsResponse };
+ 'antennas/create': { req: AntennasCreateRequest; res: AntennasCreateResponse };
+ 'antennas/delete': { req: AntennasDeleteRequest; res: EmptyResponse };
+ 'antennas/list': { req: EmptyRequest; res: AntennasListResponse };
+ 'antennas/notes': { req: AntennasNotesRequest; res: AntennasNotesResponse };
+ 'antennas/show': { req: AntennasShowRequest; res: AntennasShowResponse };
+ 'antennas/update': { req: AntennasUpdateRequest; res: AntennasUpdateResponse };
+ 'ap/get': { req: ApGetRequest; res: ApGetResponse };
+ 'ap/show': { req: ApShowRequest; res: ApShowResponse };
+ 'app/create': { req: AppCreateRequest; res: AppCreateResponse };
+ 'app/show': { req: AppShowRequest; res: AppShowResponse };
+ 'auth/session/generate': { req: AuthSessionGenerateRequest; res: AuthSessionGenerateResponse };
+ 'auth/session/show': { req: AuthSessionShowRequest; res: AuthSessionShowResponse };
+ 'auth/session/userkey': { req: AuthSessionUserkeyRequest; res: AuthSessionUserkeyResponse };
+ 'blocking/create': { req: BlockingCreateRequest; res: BlockingCreateResponse };
+ 'blocking/delete': { req: BlockingDeleteRequest; res: BlockingDeleteResponse };
+ 'blocking/list': { req: BlockingListRequest; res: BlockingListResponse };
+ 'channels/create': { req: ChannelsCreateRequest; res: ChannelsCreateResponse };
+ 'channels/featured': { req: EmptyRequest; res: ChannelsFeaturedResponse };
+ 'channels/follow': { req: ChannelsFollowRequest; res: EmptyResponse };
+ 'channels/followed': { req: ChannelsFollowedRequest; res: ChannelsFollowedResponse };
+ 'channels/owned': { req: ChannelsOwnedRequest; res: ChannelsOwnedResponse };
+ 'channels/show': { req: ChannelsShowRequest; res: ChannelsShowResponse };
+ 'channels/timeline': { req: ChannelsTimelineRequest; res: ChannelsTimelineResponse };
+ 'channels/unfollow': { req: ChannelsUnfollowRequest; res: EmptyResponse };
+ 'channels/update': { req: ChannelsUpdateRequest; res: ChannelsUpdateResponse };
+ 'channels/favorite': { req: ChannelsFavoriteRequest; res: EmptyResponse };
+ 'channels/unfavorite': { req: ChannelsUnfavoriteRequest; res: EmptyResponse };
+ 'channels/my-favorites': { req: EmptyRequest; res: ChannelsMyFavoritesResponse };
+ 'channels/search': { req: ChannelsSearchRequest; res: ChannelsSearchResponse };
+ 'charts/active-users': { req: ChartsActiveUsersRequest; res: ChartsActiveUsersResponse };
+ 'charts/ap-request': { req: ChartsApRequestRequest; res: ChartsApRequestResponse };
+ 'charts/drive': { req: ChartsDriveRequest; res: ChartsDriveResponse };
+ 'charts/federation': { req: ChartsFederationRequest; res: ChartsFederationResponse };
+ 'charts/instance': { req: ChartsInstanceRequest; res: ChartsInstanceResponse };
+ 'charts/notes': { req: ChartsNotesRequest; res: ChartsNotesResponse };
+ 'charts/user/drive': { req: ChartsUserDriveRequest; res: ChartsUserDriveResponse };
+ 'charts/user/following': { req: ChartsUserFollowingRequest; res: ChartsUserFollowingResponse };
+ 'charts/user/notes': { req: ChartsUserNotesRequest; res: ChartsUserNotesResponse };
+ 'charts/user/pv': { req: ChartsUserPvRequest; res: ChartsUserPvResponse };
+ 'charts/user/reactions': { req: ChartsUserReactionsRequest; res: ChartsUserReactionsResponse };
+ 'charts/users': { req: ChartsUsersRequest; res: ChartsUsersResponse };
+ 'clips/add-note': { req: ClipsAddNoteRequest; res: EmptyResponse };
+ 'clips/remove-note': { req: ClipsRemoveNoteRequest; res: EmptyResponse };
+ 'clips/create': { req: ClipsCreateRequest; res: ClipsCreateResponse };
+ 'clips/delete': { req: ClipsDeleteRequest; res: EmptyResponse };
+ 'clips/list': { req: EmptyRequest; res: ClipsListResponse };
+ 'clips/notes': { req: ClipsNotesRequest; res: ClipsNotesResponse };
+ 'clips/show': { req: ClipsShowRequest; res: ClipsShowResponse };
+ 'clips/update': { req: ClipsUpdateRequest; res: ClipsUpdateResponse };
+ 'clips/favorite': { req: ClipsFavoriteRequest; res: EmptyResponse };
+ 'clips/unfavorite': { req: ClipsUnfavoriteRequest; res: EmptyResponse };
+ 'clips/my-favorites': { req: EmptyRequest; res: ClipsMyFavoritesResponse };
+ 'drive': { req: EmptyRequest; res: DriveResponse };
+ 'drive/files': { req: DriveFilesRequest; res: DriveFilesResponse };
+ 'drive/files/attached-notes': { req: DriveFilesAttachedNotesRequest; res: DriveFilesAttachedNotesResponse };
+ 'drive/files/check-existence': { req: DriveFilesCheckExistenceRequest; res: DriveFilesCheckExistenceResponse };
+ 'drive/files/create': { req: DriveFilesCreateRequest; res: DriveFilesCreateResponse };
+ 'drive/files/delete': { req: DriveFilesDeleteRequest; res: EmptyResponse };
+ 'drive/files/find-by-hash': { req: DriveFilesFindByHashRequest; res: DriveFilesFindByHashResponse };
+ 'drive/files/find': { req: DriveFilesFindRequest; res: DriveFilesFindResponse };
+ 'drive/files/show': { req: DriveFilesShowRequest; res: DriveFilesShowResponse };
+ 'drive/files/update': { req: DriveFilesUpdateRequest; res: DriveFilesUpdateResponse };
+ 'drive/files/upload-from-url': { req: DriveFilesUploadFromUrlRequest; res: EmptyResponse };
+ 'drive/folders': { req: DriveFoldersRequest; res: DriveFoldersResponse };
+ 'drive/folders/create': { req: DriveFoldersCreateRequest; res: DriveFoldersCreateResponse };
+ 'drive/folders/delete': { req: DriveFoldersDeleteRequest; res: EmptyResponse };
+ 'drive/folders/find': { req: DriveFoldersFindRequest; res: DriveFoldersFindResponse };
+ 'drive/folders/show': { req: DriveFoldersShowRequest; res: DriveFoldersShowResponse };
+ 'drive/folders/update': { req: DriveFoldersUpdateRequest; res: DriveFoldersUpdateResponse };
+ 'drive/stream': { req: DriveStreamRequest; res: DriveStreamResponse };
+ 'email-address/available': { req: EmailAddressAvailableRequest; res: EmailAddressAvailableResponse };
+ 'endpoint': { req: EndpointRequest; res: EmptyResponse };
+ 'endpoints': { req: EmptyRequest; res: EndpointsResponse };
+ 'federation/followers': { req: FederationFollowersRequest; res: FederationFollowersResponse };
+ 'federation/following': { req: FederationFollowingRequest; res: FederationFollowingResponse };
+ 'federation/instances': { req: FederationInstancesRequest; res: FederationInstancesResponse };
+ 'federation/show-instance': { req: FederationShowInstanceRequest; res: FederationShowInstanceResponse };
+ 'federation/update-remote-user': { req: FederationUpdateRemoteUserRequest; res: EmptyResponse };
+ 'federation/users': { req: FederationUsersRequest; res: FederationUsersResponse };
+ 'federation/stats': { req: FederationStatsRequest; res: EmptyResponse };
+ 'following/create': { req: FollowingCreateRequest; res: FollowingCreateResponse };
+ 'following/delete': { req: FollowingDeleteRequest; res: FollowingDeleteResponse };
+ 'following/update': { req: FollowingUpdateRequest; res: FollowingUpdateResponse };
+ 'following/update-all': { req: FollowingUpdateAllRequest; res: EmptyResponse };
+ 'following/invalidate': { req: FollowingInvalidateRequest; res: FollowingInvalidateResponse };
+ 'following/requests/accept': { req: FollowingRequestsAcceptRequest; res: EmptyResponse };
+ 'following/requests/cancel': { req: FollowingRequestsCancelRequest; res: FollowingRequestsCancelResponse };
+ 'following/requests/list': { req: FollowingRequestsListRequest; res: FollowingRequestsListResponse };
+ 'following/requests/reject': { req: FollowingRequestsRejectRequest; res: EmptyResponse };
+ 'gallery/featured': { req: GalleryFeaturedRequest; res: GalleryFeaturedResponse };
+ 'gallery/popular': { req: EmptyRequest; res: GalleryPopularResponse };
+ 'gallery/posts': { req: GalleryPostsRequest; res: GalleryPostsResponse };
+ 'gallery/posts/create': { req: GalleryPostsCreateRequest; res: GalleryPostsCreateResponse };
+ 'gallery/posts/delete': { req: GalleryPostsDeleteRequest; res: EmptyResponse };
+ 'gallery/posts/like': { req: GalleryPostsLikeRequest; res: EmptyResponse };
+ 'gallery/posts/show': { req: GalleryPostsShowRequest; res: GalleryPostsShowResponse };
+ 'gallery/posts/unlike': { req: GalleryPostsUnlikeRequest; res: EmptyResponse };
+ 'gallery/posts/update': { req: GalleryPostsUpdateRequest; res: GalleryPostsUpdateResponse };
+ 'get-online-users-count': { req: EmptyRequest; res: EmptyResponse };
+ 'get-avatar-decorations': { req: EmptyRequest; res: GetAvatarDecorationsResponse };
+ 'hashtags/list': { req: HashtagsListRequest; res: HashtagsListResponse };
+ 'hashtags/search': { req: HashtagsSearchRequest; res: HashtagsSearchResponse };
+ 'hashtags/show': { req: HashtagsShowRequest; res: HashtagsShowResponse };
+ 'hashtags/trend': { req: EmptyRequest; res: HashtagsTrendResponse };
+ 'hashtags/users': { req: HashtagsUsersRequest; res: HashtagsUsersResponse };
+ 'i': { req: EmptyRequest; res: IResponse };
+ 'i/claim-achievement': { req: IClaimAchievementRequest; res: EmptyResponse };
+ 'i/favorites': { req: IFavoritesRequest; res: IFavoritesResponse };
+ 'i/gallery/likes': { req: IGalleryLikesRequest; res: IGalleryLikesResponse };
+ 'i/gallery/posts': { req: IGalleryPostsRequest; res: IGalleryPostsResponse };
+ 'i/notifications': { req: INotificationsRequest; res: INotificationsResponse };
+ 'i/notifications-grouped': { req: INotificationsGroupedRequest; res: INotificationsGroupedResponse };
+ 'i/page-likes': { req: IPageLikesRequest; res: IPageLikesResponse };
+ 'i/pages': { req: IPagesRequest; res: IPagesResponse };
+ 'i/pin': { req: IPinRequest; res: IPinResponse };
+ 'i/read-all-unread-notes': { req: EmptyRequest; res: EmptyResponse };
+ 'i/read-announcement': { req: IReadAnnouncementRequest; res: EmptyResponse };
+ 'i/registry/get-all': { req: IRegistryGetAllRequest; res: EmptyResponse };
+ 'i/registry/get-detail': { req: IRegistryGetDetailRequest; res: EmptyResponse };
+ 'i/registry/get': { req: IRegistryGetRequest; res: EmptyResponse };
+ 'i/registry/keys-with-type': { req: IRegistryKeysWithTypeRequest; res: EmptyResponse };
+ 'i/registry/keys': { req: IRegistryKeysRequest; res: EmptyResponse };
+ 'i/registry/remove': { req: IRegistryRemoveRequest; res: EmptyResponse };
+ 'i/registry/set': { req: IRegistrySetRequest; res: EmptyResponse };
+ 'i/unpin': { req: IUnpinRequest; res: IUnpinResponse };
+ 'i/update': { req: IUpdateRequest; res: IUpdateResponse };
+ 'i/webhooks/create': { req: IWebhooksCreateRequest; res: EmptyResponse };
+ 'i/webhooks/list': { req: EmptyRequest; res: EmptyResponse };
+ 'i/webhooks/show': { req: IWebhooksShowRequest; res: EmptyResponse };
+ 'i/webhooks/update': { req: IWebhooksUpdateRequest; res: EmptyResponse };
+ 'i/webhooks/delete': { req: IWebhooksDeleteRequest; res: EmptyResponse };
+ 'invite/create': { req: EmptyRequest; res: InviteCreateResponse };
+ 'invite/delete': { req: InviteDeleteRequest; res: EmptyResponse };
+ 'invite/list': { req: InviteListRequest; res: InviteListResponse };
+ 'invite/limit': { req: EmptyRequest; res: InviteLimitResponse };
+ 'meta': { req: MetaRequest; res: MetaResponse };
+ 'emojis': { req: EmptyRequest; res: EmojisResponse };
+ 'emoji': { req: EmojiRequest; res: EmojiResponse };
+ 'mute/create': { req: MuteCreateRequest; res: EmptyResponse };
+ 'mute/delete': { req: MuteDeleteRequest; res: EmptyResponse };
+ 'mute/list': { req: MuteListRequest; res: MuteListResponse };
+ 'renote-mute/create': { req: RenoteMuteCreateRequest; res: EmptyResponse };
+ 'renote-mute/delete': { req: RenoteMuteDeleteRequest; res: EmptyResponse };
+ 'renote-mute/list': { req: RenoteMuteListRequest; res: RenoteMuteListResponse };
+ 'my/apps': { req: MyAppsRequest; res: MyAppsResponse };
+ 'notes': { req: NotesRequest; res: NotesResponse };
+ 'notes/children': { req: NotesChildrenRequest; res: NotesChildrenResponse };
+ 'notes/clips': { req: NotesClipsRequest; res: NotesClipsResponse };
+ 'notes/conversation': { req: NotesConversationRequest; res: NotesConversationResponse };
+ 'notes/create': { req: NotesCreateRequest; res: NotesCreateResponse };
+ 'notes/delete': { req: NotesDeleteRequest; res: EmptyResponse };
+ 'notes/favorites/create': { req: NotesFavoritesCreateRequest; res: EmptyResponse };
+ 'notes/favorites/delete': { req: NotesFavoritesDeleteRequest; res: EmptyResponse };
+ 'notes/featured': { req: NotesFeaturedRequest; res: NotesFeaturedResponse };
+ 'notes/global-timeline': { req: NotesGlobalTimelineRequest; res: NotesGlobalTimelineResponse };
+ 'notes/hybrid-timeline': { req: NotesHybridTimelineRequest; res: NotesHybridTimelineResponse };
+ 'notes/local-timeline': { req: NotesLocalTimelineRequest; res: NotesLocalTimelineResponse };
+ 'notes/mentions': { req: NotesMentionsRequest; res: NotesMentionsResponse };
+ 'notes/polls/recommendation': { req: NotesPollsRecommendationRequest; res: NotesPollsRecommendationResponse };
+ 'notes/polls/vote': { req: NotesPollsVoteRequest; res: EmptyResponse };
+ 'notes/reactions': { req: NotesReactionsRequest; res: NotesReactionsResponse };
+ 'notes/reactions/create': { req: NotesReactionsCreateRequest; res: EmptyResponse };
+ 'notes/reactions/delete': { req: NotesReactionsDeleteRequest; res: EmptyResponse };
+ 'notes/renotes': { req: NotesRenotesRequest; res: NotesRenotesResponse };
+ 'notes/replies': { req: NotesRepliesRequest; res: NotesRepliesResponse };
+ 'notes/search-by-tag': { req: NotesSearchByTagRequest; res: NotesSearchByTagResponse };
+ 'notes/search': { req: NotesSearchRequest; res: NotesSearchResponse };
+ 'notes/show': { req: NotesShowRequest; res: NotesShowResponse };
+ 'notes/state': { req: NotesStateRequest; res: NotesStateResponse };
+ 'notes/thread-muting/create': { req: NotesThreadMutingCreateRequest; res: EmptyResponse };
+ 'notes/thread-muting/delete': { req: NotesThreadMutingDeleteRequest; res: EmptyResponse };
+ 'notes/timeline': { req: NotesTimelineRequest; res: NotesTimelineResponse };
+ 'notes/translate': { req: NotesTranslateRequest; res: NotesTranslateResponse };
+ 'notes/unrenote': { req: NotesUnrenoteRequest; res: EmptyResponse };
+ 'notes/user-list-timeline': { req: NotesUserListTimelineRequest; res: NotesUserListTimelineResponse };
+ 'notifications/create': { req: NotificationsCreateRequest; res: EmptyResponse };
+ 'notifications/mark-all-as-read': { req: EmptyRequest; res: EmptyResponse };
+ 'notifications/test-notification': { req: EmptyRequest; res: EmptyResponse };
+ 'pages/create': { req: PagesCreateRequest; res: PagesCreateResponse };
+ 'pages/delete': { req: PagesDeleteRequest; res: EmptyResponse };
+ 'pages/featured': { req: EmptyRequest; res: PagesFeaturedResponse };
+ 'pages/like': { req: PagesLikeRequest; res: EmptyResponse };
+ 'pages/show': { req: PagesShowRequest; res: PagesShowResponse };
+ 'pages/unlike': { req: PagesUnlikeRequest; res: EmptyResponse };
+ 'pages/update': { req: PagesUpdateRequest; res: EmptyResponse };
+ 'flash/create': { req: FlashCreateRequest; res: EmptyResponse };
+ 'flash/delete': { req: FlashDeleteRequest; res: EmptyResponse };
+ 'flash/featured': { req: EmptyRequest; res: FlashFeaturedResponse };
+ 'flash/like': { req: FlashLikeRequest; res: EmptyResponse };
+ 'flash/show': { req: FlashShowRequest; res: FlashShowResponse };
+ 'flash/unlike': { req: FlashUnlikeRequest; res: EmptyResponse };
+ 'flash/update': { req: FlashUpdateRequest; res: EmptyResponse };
+ 'flash/my': { req: FlashMyRequest; res: FlashMyResponse };
+ 'flash/my-likes': { req: FlashMyLikesRequest; res: FlashMyLikesResponse };
+ 'ping': { req: EmptyRequest; res: PingResponse };
+ 'pinned-users': { req: EmptyRequest; res: PinnedUsersResponse };
+ 'promo/read': { req: PromoReadRequest; res: EmptyResponse };
+ 'roles/list': { req: EmptyRequest; res: EmptyResponse };
+ 'roles/show': { req: RolesShowRequest; res: EmptyResponse };
+ 'roles/users': { req: RolesUsersRequest; res: EmptyResponse };
+ 'roles/notes': { req: RolesNotesRequest; res: RolesNotesResponse };
+ 'request-reset-password': { req: RequestResetPasswordRequest; res: EmptyResponse };
+ 'reset-db': { req: EmptyRequest; res: EmptyResponse };
+ 'reset-password': { req: ResetPasswordRequest; res: EmptyResponse };
+ 'server-info': { req: EmptyRequest; res: EmptyResponse };
+ 'stats': { req: EmptyRequest; res: StatsResponse };
+ 'sw/show-registration': { req: SwShowRegistrationRequest; res: SwShowRegistrationResponse };
+ 'sw/update-registration': { req: SwUpdateRegistrationRequest; res: SwUpdateRegistrationResponse };
+ 'sw/register': { req: SwRegisterRequest; res: SwRegisterResponse };
+ 'sw/unregister': { req: SwUnregisterRequest; res: EmptyResponse };
+ 'test': { req: TestRequest; res: EmptyResponse };
+ 'username/available': { req: UsernameAvailableRequest; res: UsernameAvailableResponse };
+ 'users': { req: UsersRequest; res: UsersResponse };
+ 'users/clips': { req: UsersClipsRequest; res: UsersClipsResponse };
+ 'users/followers': { req: UsersFollowersRequest; res: UsersFollowersResponse };
+ 'users/following': { req: UsersFollowingRequest; res: UsersFollowingResponse };
+ 'users/gallery/posts': { req: UsersGalleryPostsRequest; res: UsersGalleryPostsResponse };
+ 'users/get-frequently-replied-users': { req: UsersGetFrequentlyRepliedUsersRequest; res: UsersGetFrequentlyRepliedUsersResponse };
+ 'users/featured-notes': { req: UsersFeaturedNotesRequest; res: UsersFeaturedNotesResponse };
+ 'users/lists/create': { req: UsersListsCreateRequest; res: UsersListsCreateResponse };
+ 'users/lists/delete': { req: UsersListsDeleteRequest; res: EmptyResponse };
+ 'users/lists/list': { req: UsersListsListRequest; res: UsersListsListResponse };
+ 'users/lists/pull': { req: UsersListsPullRequest; res: EmptyResponse };
+ 'users/lists/push': { req: UsersListsPushRequest; res: EmptyResponse };
+ 'users/lists/show': { req: UsersListsShowRequest; res: UsersListsShowResponse };
+ 'users/lists/favorite': { req: UsersListsFavoriteRequest; res: EmptyResponse };
+ 'users/lists/unfavorite': { req: UsersListsUnfavoriteRequest; res: EmptyResponse };
+ 'users/lists/update': { req: UsersListsUpdateRequest; res: UsersListsUpdateResponse };
+ 'users/lists/create-from-public': { req: UsersListsCreateFromPublicRequest; res: UsersListsCreateFromPublicResponse };
+ 'users/lists/update-membership': { req: UsersListsUpdateMembershipRequest; res: EmptyResponse };
+ 'users/lists/get-memberships': { req: UsersListsGetMembershipsRequest; res: EmptyResponse };
+ 'users/notes': { req: UsersNotesRequest; res: UsersNotesResponse };
+ 'users/pages': { req: UsersPagesRequest; res: UsersPagesResponse };
+ 'users/flashs': { req: UsersFlashsRequest; res: UsersFlashsResponse };
+ 'users/reactions': { req: UsersReactionsRequest; res: UsersReactionsResponse };
+ 'users/recommendation': { req: UsersRecommendationRequest; res: UsersRecommendationResponse };
+ 'users/relation': { req: UsersRelationRequest; res: UsersRelationResponse };
+ 'users/report-abuse': { req: UsersReportAbuseRequest; res: EmptyResponse };
+ 'users/search-by-username-and-host': { req: UsersSearchByUsernameAndHostRequest; res: UsersSearchByUsernameAndHostResponse };
+ 'users/search': { req: UsersSearchRequest; res: UsersSearchResponse };
+ 'users/show': { req: UsersShowRequest; res: UsersShowResponse };
+ 'users/achievements': { req: UsersAchievementsRequest; res: EmptyResponse };
+ 'users/update-memo': { req: UsersUpdateMemoRequest; res: EmptyResponse };
+ 'fetch-rss': { req: FetchRssRequest; res: EmptyResponse };
+ 'fetch-external-resources': { req: FetchExternalResourcesRequest; res: EmptyResponse };
+ 'retention': { req: EmptyRequest; res: RetentionResponse };
+}
diff --git a/packages/misskey-js/src/autogen/entities.ts b/packages/misskey-js/src/autogen/entities.ts
new file mode 100644
index 0000000000..ec70060bef
--- /dev/null
+++ b/packages/misskey-js/src/autogen/entities.ts
@@ -0,0 +1,473 @@
+import { operations } from './types.js';
+
+export type EmptyRequest = Record | undefined;
+export type EmptyResponse = Record | undefined;
+
+export type AdminMetaResponse = operations['admin/meta']['responses']['200']['content']['application/json'];
+export type AdminAbuseUserReportsRequest = operations['admin/abuse-user-reports']['requestBody']['content']['application/json'];
+export type AdminAbuseUserReportsResponse = operations['admin/abuse-user-reports']['responses']['200']['content']['application/json'];
+export type AdminAccountsCreateRequest = operations['admin/accounts/create']['requestBody']['content']['application/json'];
+export type AdminAccountsCreateResponse = operations['admin/accounts/create']['responses']['200']['content']['application/json'];
+export type AdminAccountsDeleteRequest = operations['admin/accounts/delete']['requestBody']['content']['application/json'];
+export type AdminAccountsFindByEmailRequest = operations['admin/accounts/find-by-email']['requestBody']['content']['application/json'];
+export type AdminAdCreateRequest = operations['admin/ad/create']['requestBody']['content']['application/json'];
+export type AdminAdDeleteRequest = operations['admin/ad/delete']['requestBody']['content']['application/json'];
+export type AdminAdListRequest = operations['admin/ad/list']['requestBody']['content']['application/json'];
+export type AdminAdUpdateRequest = operations['admin/ad/update']['requestBody']['content']['application/json'];
+export type AdminAnnouncementsCreateRequest = operations['admin/announcements/create']['requestBody']['content']['application/json'];
+export type AdminAnnouncementsCreateResponse = operations['admin/announcements/create']['responses']['200']['content']['application/json'];
+export type AdminAnnouncementsDeleteRequest = operations['admin/announcements/delete']['requestBody']['content']['application/json'];
+export type AdminAnnouncementsListRequest = operations['admin/announcements/list']['requestBody']['content']['application/json'];
+export type AdminAnnouncementsListResponse = operations['admin/announcements/list']['responses']['200']['content']['application/json'];
+export type AdminAnnouncementsUpdateRequest = operations['admin/announcements/update']['requestBody']['content']['application/json'];
+export type AdminAvatarDecorationsCreateRequest = operations['admin/avatar-decorations/create']['requestBody']['content']['application/json'];
+export type AdminAvatarDecorationsDeleteRequest = operations['admin/avatar-decorations/delete']['requestBody']['content']['application/json'];
+export type AdminAvatarDecorationsListRequest = operations['admin/avatar-decorations/list']['requestBody']['content']['application/json'];
+export type AdminAvatarDecorationsListResponse = operations['admin/avatar-decorations/list']['responses']['200']['content']['application/json'];
+export type AdminAvatarDecorationsUpdateRequest = operations['admin/avatar-decorations/update']['requestBody']['content']['application/json'];
+export type AdminDeleteAllFilesOfAUserRequest = operations['admin/delete-all-files-of-a-user']['requestBody']['content']['application/json'];
+export type AdminUnsetUserAvatarRequest = operations['admin/unset-user-avatar']['requestBody']['content']['application/json'];
+export type AdminUnsetUserBannerRequest = operations['admin/unset-user-banner']['requestBody']['content']['application/json'];
+export type AdminDriveFilesRequest = operations['admin/drive/files']['requestBody']['content']['application/json'];
+export type AdminDriveFilesResponse = operations['admin/drive/files']['responses']['200']['content']['application/json'];
+export type AdminDriveShowFileRequest = operations['admin/drive/show-file']['requestBody']['content']['application/json'];
+export type AdminDriveShowFileResponse = operations['admin/drive/show-file']['responses']['200']['content']['application/json'];
+export type AdminEmojiAddAliasesBulkRequest = operations['admin/emoji/add-aliases-bulk']['requestBody']['content']['application/json'];
+export type AdminEmojiAddRequest = operations['admin/emoji/add']['requestBody']['content']['application/json'];
+export type AdminEmojiCopyRequest = operations['admin/emoji/copy']['requestBody']['content']['application/json'];
+export type AdminEmojiCopyResponse = operations['admin/emoji/copy']['responses']['200']['content']['application/json'];
+export type AdminEmojiDeleteBulkRequest = operations['admin/emoji/delete-bulk']['requestBody']['content']['application/json'];
+export type AdminEmojiDeleteRequest = operations['admin/emoji/delete']['requestBody']['content']['application/json'];
+export type AdminEmojiListRemoteRequest = operations['admin/emoji/list-remote']['requestBody']['content']['application/json'];
+export type AdminEmojiListRemoteResponse = operations['admin/emoji/list-remote']['responses']['200']['content']['application/json'];
+export type AdminEmojiListRequest = operations['admin/emoji/list']['requestBody']['content']['application/json'];
+export type AdminEmojiListResponse = operations['admin/emoji/list']['responses']['200']['content']['application/json'];
+export type AdminEmojiRemoveAliasesBulkRequest = operations['admin/emoji/remove-aliases-bulk']['requestBody']['content']['application/json'];
+export type AdminEmojiSetAliasesBulkRequest = operations['admin/emoji/set-aliases-bulk']['requestBody']['content']['application/json'];
+export type AdminEmojiSetCategoryBulkRequest = operations['admin/emoji/set-category-bulk']['requestBody']['content']['application/json'];
+export type AdminEmojiSetLicenseBulkRequest = operations['admin/emoji/set-license-bulk']['requestBody']['content']['application/json'];
+export type AdminEmojiUpdateRequest = operations['admin/emoji/update']['requestBody']['content']['application/json'];
+export type AdminFederationDeleteAllFilesRequest = operations['admin/federation/delete-all-files']['requestBody']['content']['application/json'];
+export type AdminFederationRefreshRemoteInstanceMetadataRequest = operations['admin/federation/refresh-remote-instance-metadata']['requestBody']['content']['application/json'];
+export type AdminFederationRemoveAllFollowingRequest = operations['admin/federation/remove-all-following']['requestBody']['content']['application/json'];
+export type AdminFederationUpdateInstanceRequest = operations['admin/federation/update-instance']['requestBody']['content']['application/json'];
+export type AdminGetTableStatsResponse = operations['admin/get-table-stats']['responses']['200']['content']['application/json'];
+export type AdminGetUserIpsRequest = operations['admin/get-user-ips']['requestBody']['content']['application/json'];
+export type AdminInviteCreateRequest = operations['admin/invite/create']['requestBody']['content']['application/json'];
+export type AdminInviteCreateResponse = operations['admin/invite/create']['responses']['200']['content']['application/json'];
+export type AdminInviteListRequest = operations['admin/invite/list']['requestBody']['content']['application/json'];
+export type AdminInviteListResponse = operations['admin/invite/list']['responses']['200']['content']['application/json'];
+export type AdminPromoCreateRequest = operations['admin/promo/create']['requestBody']['content']['application/json'];
+export type AdminQueueDeliverDelayedResponse = operations['admin/queue/deliver-delayed']['responses']['200']['content']['application/json'];
+export type AdminQueueInboxDelayedResponse = operations['admin/queue/inbox-delayed']['responses']['200']['content']['application/json'];
+export type AdminQueuePromoteRequest = operations['admin/queue/promote']['requestBody']['content']['application/json'];
+export type AdminQueueStatsResponse = operations['admin/queue/stats']['responses']['200']['content']['application/json'];
+export type AdminRelaysAddRequest = operations['admin/relays/add']['requestBody']['content']['application/json'];
+export type AdminRelaysAddResponse = operations['admin/relays/add']['responses']['200']['content']['application/json'];
+export type AdminRelaysListResponse = operations['admin/relays/list']['responses']['200']['content']['application/json'];
+export type AdminRelaysRemoveRequest = operations['admin/relays/remove']['requestBody']['content']['application/json'];
+export type AdminResetPasswordRequest = operations['admin/reset-password']['requestBody']['content']['application/json'];
+export type AdminResetPasswordResponse = operations['admin/reset-password']['responses']['200']['content']['application/json'];
+export type AdminResolveAbuseUserReportRequest = operations['admin/resolve-abuse-user-report']['requestBody']['content']['application/json'];
+export type AdminSendEmailRequest = operations['admin/send-email']['requestBody']['content']['application/json'];
+export type AdminServerInfoResponse = operations['admin/server-info']['responses']['200']['content']['application/json'];
+export type AdminShowModerationLogsRequest = operations['admin/show-moderation-logs']['requestBody']['content']['application/json'];
+export type AdminShowModerationLogsResponse = operations['admin/show-moderation-logs']['responses']['200']['content']['application/json'];
+export type AdminShowUserRequest = operations['admin/show-user']['requestBody']['content']['application/json'];
+export type AdminShowUserResponse = operations['admin/show-user']['responses']['200']['content']['application/json'];
+export type AdminShowUsersRequest = operations['admin/show-users']['requestBody']['content']['application/json'];
+export type AdminShowUsersResponse = operations['admin/show-users']['responses']['200']['content']['application/json'];
+export type AdminSuspendUserRequest = operations['admin/suspend-user']['requestBody']['content']['application/json'];
+export type AdminUnsuspendUserRequest = operations['admin/unsuspend-user']['requestBody']['content']['application/json'];
+export type AdminUpdateMetaRequest = operations['admin/update-meta']['requestBody']['content']['application/json'];
+export type AdminDeleteAccountRequest = operations['admin/delete-account']['requestBody']['content']['application/json'];
+export type AdminDeleteAccountResponse = operations['admin/delete-account']['responses']['200']['content']['application/json'];
+export type AdminUpdateUserNoteRequest = operations['admin/update-user-note']['requestBody']['content']['application/json'];
+export type AdminRolesCreateRequest = operations['admin/roles/create']['requestBody']['content']['application/json'];
+export type AdminRolesDeleteRequest = operations['admin/roles/delete']['requestBody']['content']['application/json'];
+export type AdminRolesShowRequest = operations['admin/roles/show']['requestBody']['content']['application/json'];
+export type AdminRolesUpdateRequest = operations['admin/roles/update']['requestBody']['content']['application/json'];
+export type AdminRolesAssignRequest = operations['admin/roles/assign']['requestBody']['content']['application/json'];
+export type AdminRolesUnassignRequest = operations['admin/roles/unassign']['requestBody']['content']['application/json'];
+export type AdminRolesUpdateDefaultPoliciesRequest = operations['admin/roles/update-default-policies']['requestBody']['content']['application/json'];
+export type AdminRolesUsersRequest = operations['admin/roles/users']['requestBody']['content']['application/json'];
+export type AnnouncementsRequest = operations['announcements']['requestBody']['content']['application/json'];
+export type AnnouncementsResponse = operations['announcements']['responses']['200']['content']['application/json'];
+export type AntennasCreateRequest = operations['antennas/create']['requestBody']['content']['application/json'];
+export type AntennasCreateResponse = operations['antennas/create']['responses']['200']['content']['application/json'];
+export type AntennasDeleteRequest = operations['antennas/delete']['requestBody']['content']['application/json'];
+export type AntennasListResponse = operations['antennas/list']['responses']['200']['content']['application/json'];
+export type AntennasNotesRequest = operations['antennas/notes']['requestBody']['content']['application/json'];
+export type AntennasNotesResponse = operations['antennas/notes']['responses']['200']['content']['application/json'];
+export type AntennasShowRequest = operations['antennas/show']['requestBody']['content']['application/json'];
+export type AntennasShowResponse = operations['antennas/show']['responses']['200']['content']['application/json'];
+export type AntennasUpdateRequest = operations['antennas/update']['requestBody']['content']['application/json'];
+export type AntennasUpdateResponse = operations['antennas/update']['responses']['200']['content']['application/json'];
+export type ApGetRequest = operations['ap/get']['requestBody']['content']['application/json'];
+export type ApGetResponse = operations['ap/get']['responses']['200']['content']['application/json'];
+export type ApShowRequest = operations['ap/show']['requestBody']['content']['application/json'];
+export type ApShowResponse = operations['ap/show']['responses']['200']['content']['application/json'];
+export type AppCreateRequest = operations['app/create']['requestBody']['content']['application/json'];
+export type AppCreateResponse = operations['app/create']['responses']['200']['content']['application/json'];
+export type AppShowRequest = operations['app/show']['requestBody']['content']['application/json'];
+export type AppShowResponse = operations['app/show']['responses']['200']['content']['application/json'];
+export type AuthSessionGenerateRequest = operations['auth/session/generate']['requestBody']['content']['application/json'];
+export type AuthSessionGenerateResponse = operations['auth/session/generate']['responses']['200']['content']['application/json'];
+export type AuthSessionShowRequest = operations['auth/session/show']['requestBody']['content']['application/json'];
+export type AuthSessionShowResponse = operations['auth/session/show']['responses']['200']['content']['application/json'];
+export type AuthSessionUserkeyRequest = operations['auth/session/userkey']['requestBody']['content']['application/json'];
+export type AuthSessionUserkeyResponse = operations['auth/session/userkey']['responses']['200']['content']['application/json'];
+export type BlockingCreateRequest = operations['blocking/create']['requestBody']['content']['application/json'];
+export type BlockingCreateResponse = operations['blocking/create']['responses']['200']['content']['application/json'];
+export type BlockingDeleteRequest = operations['blocking/delete']['requestBody']['content']['application/json'];
+export type BlockingDeleteResponse = operations['blocking/delete']['responses']['200']['content']['application/json'];
+export type BlockingListRequest = operations['blocking/list']['requestBody']['content']['application/json'];
+export type BlockingListResponse = operations['blocking/list']['responses']['200']['content']['application/json'];
+export type ChannelsCreateRequest = operations['channels/create']['requestBody']['content']['application/json'];
+export type ChannelsCreateResponse = operations['channels/create']['responses']['200']['content']['application/json'];
+export type ChannelsFeaturedResponse = operations['channels/featured']['responses']['200']['content']['application/json'];
+export type ChannelsFollowRequest = operations['channels/follow']['requestBody']['content']['application/json'];
+export type ChannelsFollowedRequest = operations['channels/followed']['requestBody']['content']['application/json'];
+export type ChannelsFollowedResponse = operations['channels/followed']['responses']['200']['content']['application/json'];
+export type ChannelsOwnedRequest = operations['channels/owned']['requestBody']['content']['application/json'];
+export type ChannelsOwnedResponse = operations['channels/owned']['responses']['200']['content']['application/json'];
+export type ChannelsShowRequest = operations['channels/show']['requestBody']['content']['application/json'];
+export type ChannelsShowResponse = operations['channels/show']['responses']['200']['content']['application/json'];
+export type ChannelsTimelineRequest = operations['channels/timeline']['requestBody']['content']['application/json'];
+export type ChannelsTimelineResponse = operations['channels/timeline']['responses']['200']['content']['application/json'];
+export type ChannelsUnfollowRequest = operations['channels/unfollow']['requestBody']['content']['application/json'];
+export type ChannelsUpdateRequest = operations['channels/update']['requestBody']['content']['application/json'];
+export type ChannelsUpdateResponse = operations['channels/update']['responses']['200']['content']['application/json'];
+export type ChannelsFavoriteRequest = operations['channels/favorite']['requestBody']['content']['application/json'];
+export type ChannelsUnfavoriteRequest = operations['channels/unfavorite']['requestBody']['content']['application/json'];
+export type ChannelsMyFavoritesResponse = operations['channels/my-favorites']['responses']['200']['content']['application/json'];
+export type ChannelsSearchRequest = operations['channels/search']['requestBody']['content']['application/json'];
+export type ChannelsSearchResponse = operations['channels/search']['responses']['200']['content']['application/json'];
+export type ChartsActiveUsersRequest = operations['charts/active-users']['requestBody']['content']['application/json'];
+export type ChartsActiveUsersResponse = operations['charts/active-users']['responses']['200']['content']['application/json'];
+export type ChartsApRequestRequest = operations['charts/ap-request']['requestBody']['content']['application/json'];
+export type ChartsApRequestResponse = operations['charts/ap-request']['responses']['200']['content']['application/json'];
+export type ChartsDriveRequest = operations['charts/drive']['requestBody']['content']['application/json'];
+export type ChartsDriveResponse = operations['charts/drive']['responses']['200']['content']['application/json'];
+export type ChartsFederationRequest = operations['charts/federation']['requestBody']['content']['application/json'];
+export type ChartsFederationResponse = operations['charts/federation']['responses']['200']['content']['application/json'];
+export type ChartsInstanceRequest = operations['charts/instance']['requestBody']['content']['application/json'];
+export type ChartsInstanceResponse = operations['charts/instance']['responses']['200']['content']['application/json'];
+export type ChartsNotesRequest = operations['charts/notes']['requestBody']['content']['application/json'];
+export type ChartsNotesResponse = operations['charts/notes']['responses']['200']['content']['application/json'];
+export type ChartsUserDriveRequest = operations['charts/user/drive']['requestBody']['content']['application/json'];
+export type ChartsUserDriveResponse = operations['charts/user/drive']['responses']['200']['content']['application/json'];
+export type ChartsUserFollowingRequest = operations['charts/user/following']['requestBody']['content']['application/json'];
+export type ChartsUserFollowingResponse = operations['charts/user/following']['responses']['200']['content']['application/json'];
+export type ChartsUserNotesRequest = operations['charts/user/notes']['requestBody']['content']['application/json'];
+export type ChartsUserNotesResponse = operations['charts/user/notes']['responses']['200']['content']['application/json'];
+export type ChartsUserPvRequest = operations['charts/user/pv']['requestBody']['content']['application/json'];
+export type ChartsUserPvResponse = operations['charts/user/pv']['responses']['200']['content']['application/json'];
+export type ChartsUserReactionsRequest = operations['charts/user/reactions']['requestBody']['content']['application/json'];
+export type ChartsUserReactionsResponse = operations['charts/user/reactions']['responses']['200']['content']['application/json'];
+export type ChartsUsersRequest = operations['charts/users']['requestBody']['content']['application/json'];
+export type ChartsUsersResponse = operations['charts/users']['responses']['200']['content']['application/json'];
+export type ClipsAddNoteRequest = operations['clips/add-note']['requestBody']['content']['application/json'];
+export type ClipsRemoveNoteRequest = operations['clips/remove-note']['requestBody']['content']['application/json'];
+export type ClipsCreateRequest = operations['clips/create']['requestBody']['content']['application/json'];
+export type ClipsCreateResponse = operations['clips/create']['responses']['200']['content']['application/json'];
+export type ClipsDeleteRequest = operations['clips/delete']['requestBody']['content']['application/json'];
+export type ClipsListResponse = operations['clips/list']['responses']['200']['content']['application/json'];
+export type ClipsNotesRequest = operations['clips/notes']['requestBody']['content']['application/json'];
+export type ClipsNotesResponse = operations['clips/notes']['responses']['200']['content']['application/json'];
+export type ClipsShowRequest = operations['clips/show']['requestBody']['content']['application/json'];
+export type ClipsShowResponse = operations['clips/show']['responses']['200']['content']['application/json'];
+export type ClipsUpdateRequest = operations['clips/update']['requestBody']['content']['application/json'];
+export type ClipsUpdateResponse = operations['clips/update']['responses']['200']['content']['application/json'];
+export type ClipsFavoriteRequest = operations['clips/favorite']['requestBody']['content']['application/json'];
+export type ClipsUnfavoriteRequest = operations['clips/unfavorite']['requestBody']['content']['application/json'];
+export type ClipsMyFavoritesResponse = operations['clips/my-favorites']['responses']['200']['content']['application/json'];
+export type DriveResponse = operations['drive']['responses']['200']['content']['application/json'];
+export type DriveFilesRequest = operations['drive/files']['requestBody']['content']['application/json'];
+export type DriveFilesResponse = operations['drive/files']['responses']['200']['content']['application/json'];
+export type DriveFilesAttachedNotesRequest = operations['drive/files/attached-notes']['requestBody']['content']['application/json'];
+export type DriveFilesAttachedNotesResponse = operations['drive/files/attached-notes']['responses']['200']['content']['application/json'];
+export type DriveFilesCheckExistenceRequest = operations['drive/files/check-existence']['requestBody']['content']['application/json'];
+export type DriveFilesCheckExistenceResponse = operations['drive/files/check-existence']['responses']['200']['content']['application/json'];
+export type DriveFilesCreateRequest = operations['drive/files/create']['requestBody']['content']['multipart/form-data'];
+export type DriveFilesCreateResponse = operations['drive/files/create']['responses']['200']['content']['application/json'];
+export type DriveFilesDeleteRequest = operations['drive/files/delete']['requestBody']['content']['application/json'];
+export type DriveFilesFindByHashRequest = operations['drive/files/find-by-hash']['requestBody']['content']['application/json'];
+export type DriveFilesFindByHashResponse = operations['drive/files/find-by-hash']['responses']['200']['content']['application/json'];
+export type DriveFilesFindRequest = operations['drive/files/find']['requestBody']['content']['application/json'];
+export type DriveFilesFindResponse = operations['drive/files/find']['responses']['200']['content']['application/json'];
+export type DriveFilesShowRequest = operations['drive/files/show']['requestBody']['content']['application/json'];
+export type DriveFilesShowResponse = operations['drive/files/show']['responses']['200']['content']['application/json'];
+export type DriveFilesUpdateRequest = operations['drive/files/update']['requestBody']['content']['application/json'];
+export type DriveFilesUpdateResponse = operations['drive/files/update']['responses']['200']['content']['application/json'];
+export type DriveFilesUploadFromUrlRequest = operations['drive/files/upload-from-url']['requestBody']['content']['application/json'];
+export type DriveFoldersRequest = operations['drive/folders']['requestBody']['content']['application/json'];
+export type DriveFoldersResponse = operations['drive/folders']['responses']['200']['content']['application/json'];
+export type DriveFoldersCreateRequest = operations['drive/folders/create']['requestBody']['content']['application/json'];
+export type DriveFoldersCreateResponse = operations['drive/folders/create']['responses']['200']['content']['application/json'];
+export type DriveFoldersDeleteRequest = operations['drive/folders/delete']['requestBody']['content']['application/json'];
+export type DriveFoldersFindRequest = operations['drive/folders/find']['requestBody']['content']['application/json'];
+export type DriveFoldersFindResponse = operations['drive/folders/find']['responses']['200']['content']['application/json'];
+export type DriveFoldersShowRequest = operations['drive/folders/show']['requestBody']['content']['application/json'];
+export type DriveFoldersShowResponse = operations['drive/folders/show']['responses']['200']['content']['application/json'];
+export type DriveFoldersUpdateRequest = operations['drive/folders/update']['requestBody']['content']['application/json'];
+export type DriveFoldersUpdateResponse = operations['drive/folders/update']['responses']['200']['content']['application/json'];
+export type DriveStreamRequest = operations['drive/stream']['requestBody']['content']['application/json'];
+export type DriveStreamResponse = operations['drive/stream']['responses']['200']['content']['application/json'];
+export type EmailAddressAvailableRequest = operations['email-address/available']['requestBody']['content']['application/json'];
+export type EmailAddressAvailableResponse = operations['email-address/available']['responses']['200']['content']['application/json'];
+export type EndpointRequest = operations['endpoint']['requestBody']['content']['application/json'];
+export type EndpointsResponse = operations['endpoints']['responses']['200']['content']['application/json'];
+export type FederationFollowersRequest = operations['federation/followers']['requestBody']['content']['application/json'];
+export type FederationFollowersResponse = operations['federation/followers']['responses']['200']['content']['application/json'];
+export type FederationFollowingRequest = operations['federation/following']['requestBody']['content']['application/json'];
+export type FederationFollowingResponse = operations['federation/following']['responses']['200']['content']['application/json'];
+export type FederationInstancesRequest = operations['federation/instances']['requestBody']['content']['application/json'];
+export type FederationInstancesResponse = operations['federation/instances']['responses']['200']['content']['application/json'];
+export type FederationShowInstanceRequest = operations['federation/show-instance']['requestBody']['content']['application/json'];
+export type FederationShowInstanceResponse = operations['federation/show-instance']['responses']['200']['content']['application/json'];
+export type FederationUpdateRemoteUserRequest = operations['federation/update-remote-user']['requestBody']['content']['application/json'];
+export type FederationUsersRequest = operations['federation/users']['requestBody']['content']['application/json'];
+export type FederationUsersResponse = operations['federation/users']['responses']['200']['content']['application/json'];
+export type FederationStatsRequest = operations['federation/stats']['requestBody']['content']['application/json'];
+export type FollowingCreateRequest = operations['following/create']['requestBody']['content']['application/json'];
+export type FollowingCreateResponse = operations['following/create']['responses']['200']['content']['application/json'];
+export type FollowingDeleteRequest = operations['following/delete']['requestBody']['content']['application/json'];
+export type FollowingDeleteResponse = operations['following/delete']['responses']['200']['content']['application/json'];
+export type FollowingUpdateRequest = operations['following/update']['requestBody']['content']['application/json'];
+export type FollowingUpdateResponse = operations['following/update']['responses']['200']['content']['application/json'];
+export type FollowingUpdateAllRequest = operations['following/update-all']['requestBody']['content']['application/json'];
+export type FollowingInvalidateRequest = operations['following/invalidate']['requestBody']['content']['application/json'];
+export type FollowingInvalidateResponse = operations['following/invalidate']['responses']['200']['content']['application/json'];
+export type FollowingRequestsAcceptRequest = operations['following/requests/accept']['requestBody']['content']['application/json'];
+export type FollowingRequestsCancelRequest = operations['following/requests/cancel']['requestBody']['content']['application/json'];
+export type FollowingRequestsCancelResponse = operations['following/requests/cancel']['responses']['200']['content']['application/json'];
+export type FollowingRequestsListRequest = operations['following/requests/list']['requestBody']['content']['application/json'];
+export type FollowingRequestsListResponse = operations['following/requests/list']['responses']['200']['content']['application/json'];
+export type FollowingRequestsRejectRequest = operations['following/requests/reject']['requestBody']['content']['application/json'];
+export type GalleryFeaturedRequest = operations['gallery/featured']['requestBody']['content']['application/json'];
+export type GalleryFeaturedResponse = operations['gallery/featured']['responses']['200']['content']['application/json'];
+export type GalleryPopularResponse = operations['gallery/popular']['responses']['200']['content']['application/json'];
+export type GalleryPostsRequest = operations['gallery/posts']['requestBody']['content']['application/json'];
+export type GalleryPostsResponse = operations['gallery/posts']['responses']['200']['content']['application/json'];
+export type GalleryPostsCreateRequest = operations['gallery/posts/create']['requestBody']['content']['application/json'];
+export type GalleryPostsCreateResponse = operations['gallery/posts/create']['responses']['200']['content']['application/json'];
+export type GalleryPostsDeleteRequest = operations['gallery/posts/delete']['requestBody']['content']['application/json'];
+export type GalleryPostsLikeRequest = operations['gallery/posts/like']['requestBody']['content']['application/json'];
+export type GalleryPostsShowRequest = operations['gallery/posts/show']['requestBody']['content']['application/json'];
+export type GalleryPostsShowResponse = operations['gallery/posts/show']['responses']['200']['content']['application/json'];
+export type GalleryPostsUnlikeRequest = operations['gallery/posts/unlike']['requestBody']['content']['application/json'];
+export type GalleryPostsUpdateRequest = operations['gallery/posts/update']['requestBody']['content']['application/json'];
+export type GalleryPostsUpdateResponse = operations['gallery/posts/update']['responses']['200']['content']['application/json'];
+export type GetAvatarDecorationsResponse = operations['get-avatar-decorations']['responses']['200']['content']['application/json'];
+export type HashtagsListRequest = operations['hashtags/list']['requestBody']['content']['application/json'];
+export type HashtagsListResponse = operations['hashtags/list']['responses']['200']['content']['application/json'];
+export type HashtagsSearchRequest = operations['hashtags/search']['requestBody']['content']['application/json'];
+export type HashtagsSearchResponse = operations['hashtags/search']['responses']['200']['content']['application/json'];
+export type HashtagsShowRequest = operations['hashtags/show']['requestBody']['content']['application/json'];
+export type HashtagsShowResponse = operations['hashtags/show']['responses']['200']['content']['application/json'];
+export type HashtagsTrendResponse = operations['hashtags/trend']['responses']['200']['content']['application/json'];
+export type HashtagsUsersRequest = operations['hashtags/users']['requestBody']['content']['application/json'];
+export type HashtagsUsersResponse = operations['hashtags/users']['responses']['200']['content']['application/json'];
+export type IResponse = operations['i']['responses']['200']['content']['application/json'];
+export type IClaimAchievementRequest = operations['i/claim-achievement']['requestBody']['content']['application/json'];
+export type IFavoritesRequest = operations['i/favorites']['requestBody']['content']['application/json'];
+export type IFavoritesResponse = operations['i/favorites']['responses']['200']['content']['application/json'];
+export type IGalleryLikesRequest = operations['i/gallery/likes']['requestBody']['content']['application/json'];
+export type IGalleryLikesResponse = operations['i/gallery/likes']['responses']['200']['content']['application/json'];
+export type IGalleryPostsRequest = operations['i/gallery/posts']['requestBody']['content']['application/json'];
+export type IGalleryPostsResponse = operations['i/gallery/posts']['responses']['200']['content']['application/json'];
+export type INotificationsRequest = operations['i/notifications']['requestBody']['content']['application/json'];
+export type INotificationsResponse = operations['i/notifications']['responses']['200']['content']['application/json'];
+export type INotificationsGroupedRequest = operations['i/notifications-grouped']['requestBody']['content']['application/json'];
+export type INotificationsGroupedResponse = operations['i/notifications-grouped']['responses']['200']['content']['application/json'];
+export type IPageLikesRequest = operations['i/page-likes']['requestBody']['content']['application/json'];
+export type IPageLikesResponse = operations['i/page-likes']['responses']['200']['content']['application/json'];
+export type IPagesRequest = operations['i/pages']['requestBody']['content']['application/json'];
+export type IPagesResponse = operations['i/pages']['responses']['200']['content']['application/json'];
+export type IPinRequest = operations['i/pin']['requestBody']['content']['application/json'];
+export type IPinResponse = operations['i/pin']['responses']['200']['content']['application/json'];
+export type IReadAnnouncementRequest = operations['i/read-announcement']['requestBody']['content']['application/json'];
+export type IRegistryGetAllRequest = operations['i/registry/get-all']['requestBody']['content']['application/json'];
+export type IRegistryGetDetailRequest = operations['i/registry/get-detail']['requestBody']['content']['application/json'];
+export type IRegistryGetRequest = operations['i/registry/get']['requestBody']['content']['application/json'];
+export type IRegistryKeysWithTypeRequest = operations['i/registry/keys-with-type']['requestBody']['content']['application/json'];
+export type IRegistryKeysRequest = operations['i/registry/keys']['requestBody']['content']['application/json'];
+export type IRegistryRemoveRequest = operations['i/registry/remove']['requestBody']['content']['application/json'];
+export type IRegistrySetRequest = operations['i/registry/set']['requestBody']['content']['application/json'];
+export type IUnpinRequest = operations['i/unpin']['requestBody']['content']['application/json'];
+export type IUnpinResponse = operations['i/unpin']['responses']['200']['content']['application/json'];
+export type IUpdateRequest = operations['i/update']['requestBody']['content']['application/json'];
+export type IUpdateResponse = operations['i/update']['responses']['200']['content']['application/json'];
+export type IWebhooksCreateRequest = operations['i/webhooks/create']['requestBody']['content']['application/json'];
+export type IWebhooksShowRequest = operations['i/webhooks/show']['requestBody']['content']['application/json'];
+export type IWebhooksUpdateRequest = operations['i/webhooks/update']['requestBody']['content']['application/json'];
+export type IWebhooksDeleteRequest = operations['i/webhooks/delete']['requestBody']['content']['application/json'];
+export type InviteCreateResponse = operations['invite/create']['responses']['200']['content']['application/json'];
+export type InviteDeleteRequest = operations['invite/delete']['requestBody']['content']['application/json'];
+export type InviteListRequest = operations['invite/list']['requestBody']['content']['application/json'];
+export type InviteListResponse = operations['invite/list']['responses']['200']['content']['application/json'];
+export type InviteLimitResponse = operations['invite/limit']['responses']['200']['content']['application/json'];
+export type MetaRequest = operations['meta']['requestBody']['content']['application/json'];
+export type MetaResponse = operations['meta']['responses']['200']['content']['application/json'];
+export type EmojisResponse = operations['emojis']['responses']['200']['content']['application/json'];
+export type EmojiRequest = operations['emoji']['requestBody']['content']['application/json'];
+export type EmojiResponse = operations['emoji']['responses']['200']['content']['application/json'];
+export type MuteCreateRequest = operations['mute/create']['requestBody']['content']['application/json'];
+export type MuteDeleteRequest = operations['mute/delete']['requestBody']['content']['application/json'];
+export type MuteListRequest = operations['mute/list']['requestBody']['content']['application/json'];
+export type MuteListResponse = operations['mute/list']['responses']['200']['content']['application/json'];
+export type RenoteMuteCreateRequest = operations['renote-mute/create']['requestBody']['content']['application/json'];
+export type RenoteMuteDeleteRequest = operations['renote-mute/delete']['requestBody']['content']['application/json'];
+export type RenoteMuteListRequest = operations['renote-mute/list']['requestBody']['content']['application/json'];
+export type RenoteMuteListResponse = operations['renote-mute/list']['responses']['200']['content']['application/json'];
+export type MyAppsRequest = operations['my/apps']['requestBody']['content']['application/json'];
+export type MyAppsResponse = operations['my/apps']['responses']['200']['content']['application/json'];
+export type NotesRequest = operations['notes']['requestBody']['content']['application/json'];
+export type NotesResponse = operations['notes']['responses']['200']['content']['application/json'];
+export type NotesChildrenRequest = operations['notes/children']['requestBody']['content']['application/json'];
+export type NotesChildrenResponse = operations['notes/children']['responses']['200']['content']['application/json'];
+export type NotesClipsRequest = operations['notes/clips']['requestBody']['content']['application/json'];
+export type NotesClipsResponse = operations['notes/clips']['responses']['200']['content']['application/json'];
+export type NotesConversationRequest = operations['notes/conversation']['requestBody']['content']['application/json'];
+export type NotesConversationResponse = operations['notes/conversation']['responses']['200']['content']['application/json'];
+export type NotesCreateRequest = operations['notes/create']['requestBody']['content']['application/json'];
+export type NotesCreateResponse = operations['notes/create']['responses']['200']['content']['application/json'];
+export type NotesDeleteRequest = operations['notes/delete']['requestBody']['content']['application/json'];
+export type NotesFavoritesCreateRequest = operations['notes/favorites/create']['requestBody']['content']['application/json'];
+export type NotesFavoritesDeleteRequest = operations['notes/favorites/delete']['requestBody']['content']['application/json'];
+export type NotesFeaturedRequest = operations['notes/featured']['requestBody']['content']['application/json'];
+export type NotesFeaturedResponse = operations['notes/featured']['responses']['200']['content']['application/json'];
+export type NotesGlobalTimelineRequest = operations['notes/global-timeline']['requestBody']['content']['application/json'];
+export type NotesGlobalTimelineResponse = operations['notes/global-timeline']['responses']['200']['content']['application/json'];
+export type NotesHybridTimelineRequest = operations['notes/hybrid-timeline']['requestBody']['content']['application/json'];
+export type NotesHybridTimelineResponse = operations['notes/hybrid-timeline']['responses']['200']['content']['application/json'];
+export type NotesLocalTimelineRequest = operations['notes/local-timeline']['requestBody']['content']['application/json'];
+export type NotesLocalTimelineResponse = operations['notes/local-timeline']['responses']['200']['content']['application/json'];
+export type NotesMentionsRequest = operations['notes/mentions']['requestBody']['content']['application/json'];
+export type NotesMentionsResponse = operations['notes/mentions']['responses']['200']['content']['application/json'];
+export type NotesPollsRecommendationRequest = operations['notes/polls/recommendation']['requestBody']['content']['application/json'];
+export type NotesPollsRecommendationResponse = operations['notes/polls/recommendation']['responses']['200']['content']['application/json'];
+export type NotesPollsVoteRequest = operations['notes/polls/vote']['requestBody']['content']['application/json'];
+export type NotesReactionsRequest = operations['notes/reactions']['requestBody']['content']['application/json'];
+export type NotesReactionsResponse = operations['notes/reactions']['responses']['200']['content']['application/json'];
+export type NotesReactionsCreateRequest = operations['notes/reactions/create']['requestBody']['content']['application/json'];
+export type NotesReactionsDeleteRequest = operations['notes/reactions/delete']['requestBody']['content']['application/json'];
+export type NotesRenotesRequest = operations['notes/renotes']['requestBody']['content']['application/json'];
+export type NotesRenotesResponse = operations['notes/renotes']['responses']['200']['content']['application/json'];
+export type NotesRepliesRequest = operations['notes/replies']['requestBody']['content']['application/json'];
+export type NotesRepliesResponse = operations['notes/replies']['responses']['200']['content']['application/json'];
+export type NotesSearchByTagRequest = operations['notes/search-by-tag']['requestBody']['content']['application/json'];
+export type NotesSearchByTagResponse = operations['notes/search-by-tag']['responses']['200']['content']['application/json'];
+export type NotesSearchRequest = operations['notes/search']['requestBody']['content']['application/json'];
+export type NotesSearchResponse = operations['notes/search']['responses']['200']['content']['application/json'];
+export type NotesShowRequest = operations['notes/show']['requestBody']['content']['application/json'];
+export type NotesShowResponse = operations['notes/show']['responses']['200']['content']['application/json'];
+export type NotesStateRequest = operations['notes/state']['requestBody']['content']['application/json'];
+export type NotesStateResponse = operations['notes/state']['responses']['200']['content']['application/json'];
+export type NotesThreadMutingCreateRequest = operations['notes/thread-muting/create']['requestBody']['content']['application/json'];
+export type NotesThreadMutingDeleteRequest = operations['notes/thread-muting/delete']['requestBody']['content']['application/json'];
+export type NotesTimelineRequest = operations['notes/timeline']['requestBody']['content']['application/json'];
+export type NotesTimelineResponse = operations['notes/timeline']['responses']['200']['content']['application/json'];
+export type NotesTranslateRequest = operations['notes/translate']['requestBody']['content']['application/json'];
+export type NotesTranslateResponse = operations['notes/translate']['responses']['200']['content']['application/json'];
+export type NotesUnrenoteRequest = operations['notes/unrenote']['requestBody']['content']['application/json'];
+export type NotesUserListTimelineRequest = operations['notes/user-list-timeline']['requestBody']['content']['application/json'];
+export type NotesUserListTimelineResponse = operations['notes/user-list-timeline']['responses']['200']['content']['application/json'];
+export type NotificationsCreateRequest = operations['notifications/create']['requestBody']['content']['application/json'];
+export type PagesCreateRequest = operations['pages/create']['requestBody']['content']['application/json'];
+export type PagesCreateResponse = operations['pages/create']['responses']['200']['content']['application/json'];
+export type PagesDeleteRequest = operations['pages/delete']['requestBody']['content']['application/json'];
+export type PagesFeaturedResponse = operations['pages/featured']['responses']['200']['content']['application/json'];
+export type PagesLikeRequest = operations['pages/like']['requestBody']['content']['application/json'];
+export type PagesShowRequest = operations['pages/show']['requestBody']['content']['application/json'];
+export type PagesShowResponse = operations['pages/show']['responses']['200']['content']['application/json'];
+export type PagesUnlikeRequest = operations['pages/unlike']['requestBody']['content']['application/json'];
+export type PagesUpdateRequest = operations['pages/update']['requestBody']['content']['application/json'];
+export type FlashCreateRequest = operations['flash/create']['requestBody']['content']['application/json'];
+export type FlashDeleteRequest = operations['flash/delete']['requestBody']['content']['application/json'];
+export type FlashFeaturedResponse = operations['flash/featured']['responses']['200']['content']['application/json'];
+export type FlashLikeRequest = operations['flash/like']['requestBody']['content']['application/json'];
+export type FlashShowRequest = operations['flash/show']['requestBody']['content']['application/json'];
+export type FlashShowResponse = operations['flash/show']['responses']['200']['content']['application/json'];
+export type FlashUnlikeRequest = operations['flash/unlike']['requestBody']['content']['application/json'];
+export type FlashUpdateRequest = operations['flash/update']['requestBody']['content']['application/json'];
+export type FlashMyRequest = operations['flash/my']['requestBody']['content']['application/json'];
+export type FlashMyResponse = operations['flash/my']['responses']['200']['content']['application/json'];
+export type FlashMyLikesRequest = operations['flash/my-likes']['requestBody']['content']['application/json'];
+export type FlashMyLikesResponse = operations['flash/my-likes']['responses']['200']['content']['application/json'];
+export type PingResponse = operations['ping']['responses']['200']['content']['application/json'];
+export type PinnedUsersResponse = operations['pinned-users']['responses']['200']['content']['application/json'];
+export type PromoReadRequest = operations['promo/read']['requestBody']['content']['application/json'];
+export type RolesShowRequest = operations['roles/show']['requestBody']['content']['application/json'];
+export type RolesUsersRequest = operations['roles/users']['requestBody']['content']['application/json'];
+export type RolesNotesRequest = operations['roles/notes']['requestBody']['content']['application/json'];
+export type RolesNotesResponse = operations['roles/notes']['responses']['200']['content']['application/json'];
+export type RequestResetPasswordRequest = operations['request-reset-password']['requestBody']['content']['application/json'];
+export type ResetPasswordRequest = operations['reset-password']['requestBody']['content']['application/json'];
+export type StatsResponse = operations['stats']['responses']['200']['content']['application/json'];
+export type SwShowRegistrationRequest = operations['sw/show-registration']['requestBody']['content']['application/json'];
+export type SwShowRegistrationResponse = operations['sw/show-registration']['responses']['200']['content']['application/json'];
+export type SwUpdateRegistrationRequest = operations['sw/update-registration']['requestBody']['content']['application/json'];
+export type SwUpdateRegistrationResponse = operations['sw/update-registration']['responses']['200']['content']['application/json'];
+export type SwRegisterRequest = operations['sw/register']['requestBody']['content']['application/json'];
+export type SwRegisterResponse = operations['sw/register']['responses']['200']['content']['application/json'];
+export type SwUnregisterRequest = operations['sw/unregister']['requestBody']['content']['application/json'];
+export type TestRequest = operations['test']['requestBody']['content']['application/json'];
+export type UsernameAvailableRequest = operations['username/available']['requestBody']['content']['application/json'];
+export type UsernameAvailableResponse = operations['username/available']['responses']['200']['content']['application/json'];
+export type UsersRequest = operations['users']['requestBody']['content']['application/json'];
+export type UsersResponse = operations['users']['responses']['200']['content']['application/json'];
+export type UsersClipsRequest = operations['users/clips']['requestBody']['content']['application/json'];
+export type UsersClipsResponse = operations['users/clips']['responses']['200']['content']['application/json'];
+export type UsersFollowersRequest = operations['users/followers']['requestBody']['content']['application/json'];
+export type UsersFollowersResponse = operations['users/followers']['responses']['200']['content']['application/json'];
+export type UsersFollowingRequest = operations['users/following']['requestBody']['content']['application/json'];
+export type UsersFollowingResponse = operations['users/following']['responses']['200']['content']['application/json'];
+export type UsersGalleryPostsRequest = operations['users/gallery/posts']['requestBody']['content']['application/json'];
+export type UsersGalleryPostsResponse = operations['users/gallery/posts']['responses']['200']['content']['application/json'];
+export type UsersGetFrequentlyRepliedUsersRequest = operations['users/get-frequently-replied-users']['requestBody']['content']['application/json'];
+export type UsersGetFrequentlyRepliedUsersResponse = operations['users/get-frequently-replied-users']['responses']['200']['content']['application/json'];
+export type UsersFeaturedNotesRequest = operations['users/featured-notes']['requestBody']['content']['application/json'];
+export type UsersFeaturedNotesResponse = operations['users/featured-notes']['responses']['200']['content']['application/json'];
+export type UsersListsCreateRequest = operations['users/lists/create']['requestBody']['content']['application/json'];
+export type UsersListsCreateResponse = operations['users/lists/create']['responses']['200']['content']['application/json'];
+export type UsersListsDeleteRequest = operations['users/lists/delete']['requestBody']['content']['application/json'];
+export type UsersListsListRequest = operations['users/lists/list']['requestBody']['content']['application/json'];
+export type UsersListsListResponse = operations['users/lists/list']['responses']['200']['content']['application/json'];
+export type UsersListsPullRequest = operations['users/lists/pull']['requestBody']['content']['application/json'];
+export type UsersListsPushRequest = operations['users/lists/push']['requestBody']['content']['application/json'];
+export type UsersListsShowRequest = operations['users/lists/show']['requestBody']['content']['application/json'];
+export type UsersListsShowResponse = operations['users/lists/show']['responses']['200']['content']['application/json'];
+export type UsersListsFavoriteRequest = operations['users/lists/favorite']['requestBody']['content']['application/json'];
+export type UsersListsUnfavoriteRequest = operations['users/lists/unfavorite']['requestBody']['content']['application/json'];
+export type UsersListsUpdateRequest = operations['users/lists/update']['requestBody']['content']['application/json'];
+export type UsersListsUpdateResponse = operations['users/lists/update']['responses']['200']['content']['application/json'];
+export type UsersListsCreateFromPublicRequest = operations['users/lists/create-from-public']['requestBody']['content']['application/json'];
+export type UsersListsCreateFromPublicResponse = operations['users/lists/create-from-public']['responses']['200']['content']['application/json'];
+export type UsersListsUpdateMembershipRequest = operations['users/lists/update-membership']['requestBody']['content']['application/json'];
+export type UsersListsGetMembershipsRequest = operations['users/lists/get-memberships']['requestBody']['content']['application/json'];
+export type UsersNotesRequest = operations['users/notes']['requestBody']['content']['application/json'];
+export type UsersNotesResponse = operations['users/notes']['responses']['200']['content']['application/json'];
+export type UsersPagesRequest = operations['users/pages']['requestBody']['content']['application/json'];
+export type UsersPagesResponse = operations['users/pages']['responses']['200']['content']['application/json'];
+export type UsersFlashsRequest = operations['users/flashs']['requestBody']['content']['application/json'];
+export type UsersFlashsResponse = operations['users/flashs']['responses']['200']['content']['application/json'];
+export type UsersReactionsRequest = operations['users/reactions']['requestBody']['content']['application/json'];
+export type UsersReactionsResponse = operations['users/reactions']['responses']['200']['content']['application/json'];
+export type UsersRecommendationRequest = operations['users/recommendation']['requestBody']['content']['application/json'];
+export type UsersRecommendationResponse = operations['users/recommendation']['responses']['200']['content']['application/json'];
+export type UsersRelationRequest = operations['users/relation']['requestBody']['content']['application/json'];
+export type UsersRelationResponse = operations['users/relation']['responses']['200']['content']['application/json'];
+export type UsersReportAbuseRequest = operations['users/report-abuse']['requestBody']['content']['application/json'];
+export type UsersSearchByUsernameAndHostRequest = operations['users/search-by-username-and-host']['requestBody']['content']['application/json'];
+export type UsersSearchByUsernameAndHostResponse = operations['users/search-by-username-and-host']['responses']['200']['content']['application/json'];
+export type UsersSearchRequest = operations['users/search']['requestBody']['content']['application/json'];
+export type UsersSearchResponse = operations['users/search']['responses']['200']['content']['application/json'];
+export type UsersShowRequest = operations['users/show']['requestBody']['content']['application/json'];
+export type UsersShowResponse = operations['users/show']['responses']['200']['content']['application/json'];
+export type UsersAchievementsRequest = operations['users/achievements']['requestBody']['content']['application/json'];
+export type UsersUpdateMemoRequest = operations['users/update-memo']['requestBody']['content']['application/json'];
+export type FetchRssRequest = operations['fetch-rss']['requestBody']['content']['application/json'];
+export type FetchExternalResourcesRequest = operations['fetch-external-resources']['requestBody']['content']['application/json'];
+export type RetentionResponse = operations['retention']['responses']['200']['content']['application/json'];
diff --git a/packages/misskey-js/src/autogen/meta.json b/packages/misskey-js/src/autogen/meta.json
new file mode 100644
index 0000000000..0a8be562c2
--- /dev/null
+++ b/packages/misskey-js/src/autogen/meta.json
@@ -0,0 +1 @@
+{"version":"2023.11.1","generatedAt":"Sun, 26 Nov 2023 22:54:54 GMT"}
\ No newline at end of file
diff --git a/packages/misskey-js/src/autogen/models.ts b/packages/misskey-js/src/autogen/models.ts
new file mode 100644
index 0000000000..e941e2eaee
--- /dev/null
+++ b/packages/misskey-js/src/autogen/models.ts
@@ -0,0 +1,34 @@
+import { components } from './types.js';
+export type Error = components['schemas']['Error'];
+export type UserLite = components['schemas']['UserLite'];
+export type UserDetailedNotMeOnly = components['schemas']['UserDetailedNotMeOnly'];
+export type MeDetailedOnly = components['schemas']['MeDetailedOnly'];
+export type UserDetailedNotMe = components['schemas']['UserDetailedNotMe'];
+export type MeDetailed = components['schemas']['MeDetailed'];
+export type UserDetailed = components['schemas']['UserDetailed'];
+export type User = components['schemas']['User'];
+export type UserList = components['schemas']['UserList'];
+export type Announcement = components['schemas']['Announcement'];
+export type App = components['schemas']['App'];
+export type Note = components['schemas']['Note'];
+export type NoteReaction = components['schemas']['NoteReaction'];
+export type NoteFavorite = components['schemas']['NoteFavorite'];
+export type Notification = components['schemas']['Notification'];
+export type DriveFile = components['schemas']['DriveFile'];
+export type DriveFolder = components['schemas']['DriveFolder'];
+export type Following = components['schemas']['Following'];
+export type Muting = components['schemas']['Muting'];
+export type RenoteMuting = components['schemas']['RenoteMuting'];
+export type Blocking = components['schemas']['Blocking'];
+export type Hashtag = components['schemas']['Hashtag'];
+export type InviteCode = components['schemas']['InviteCode'];
+export type Page = components['schemas']['Page'];
+export type Channel = components['schemas']['Channel'];
+export type QueueCount = components['schemas']['QueueCount'];
+export type Antenna = components['schemas']['Antenna'];
+export type Clip = components['schemas']['Clip'];
+export type FederationInstance = components['schemas']['FederationInstance'];
+export type GalleryPost = components['schemas']['GalleryPost'];
+export type EmojiSimple = components['schemas']['EmojiSimple'];
+export type EmojiDetailed = components['schemas']['EmojiDetailed'];
+export type Flash = components['schemas']['Flash'];
diff --git a/packages/misskey-js/src/autogen/types.ts b/packages/misskey-js/src/autogen/types.ts
new file mode 100644
index 0000000000..a52a9001a6
--- /dev/null
+++ b/packages/misskey-js/src/autogen/types.ts
@@ -0,0 +1,22552 @@
+/**
+ * This file was auto-generated by openapi-typescript.
+ * Do not make direct changes to the file.
+ */
+
+
+/** OneOf type helpers */
+type Without = { [P in Exclude]?: never };
+type XOR = (T | U) extends object ? (Without & U) | (Without & T) : T | U;
+type OneOf = T extends [infer Only] ? Only : T extends [infer A, infer B, ...infer Rest] ? OneOf<[XOR, ...Rest]> : never;
+
+export interface paths {
+ "/admin/meta": {
+ /**
+ * admin/meta
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/meta"];
+ };
+ "/admin/abuse-user-reports": {
+ /**
+ * admin/abuse-user-reports
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ 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*
+ */
+ post: operations["admin/accounts/delete"];
+ };
+ "/admin/accounts/find-by-email": {
+ /**
+ * admin/accounts/find-by-email
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/accounts/find-by-email"];
+ };
+ "/admin/ad/create": {
+ /**
+ * admin/ad/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/ad/create"];
+ };
+ "/admin/ad/delete": {
+ /**
+ * admin/ad/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/ad/delete"];
+ };
+ "/admin/ad/list": {
+ /**
+ * admin/ad/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/ad/list"];
+ };
+ "/admin/ad/update": {
+ /**
+ * admin/ad/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/ad/update"];
+ };
+ "/admin/announcements/create": {
+ /**
+ * admin/announcements/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/announcements/create"];
+ };
+ "/admin/announcements/delete": {
+ /**
+ * admin/announcements/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/announcements/delete"];
+ };
+ "/admin/announcements/list": {
+ /**
+ * admin/announcements/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/announcements/list"];
+ };
+ "/admin/announcements/update": {
+ /**
+ * admin/announcements/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/announcements/update"];
+ };
+ "/admin/avatar-decorations/create": {
+ /**
+ * admin/avatar-decorations/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/avatar-decorations/create"];
+ };
+ "/admin/avatar-decorations/delete": {
+ /**
+ * admin/avatar-decorations/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/avatar-decorations/delete"];
+ };
+ "/admin/avatar-decorations/list": {
+ /**
+ * admin/avatar-decorations/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/avatar-decorations/list"];
+ };
+ "/admin/avatar-decorations/update": {
+ /**
+ * admin/avatar-decorations/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/avatar-decorations/update"];
+ };
+ "/admin/delete-all-files-of-a-user": {
+ /**
+ * admin/delete-all-files-of-a-user
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/delete-all-files-of-a-user"];
+ };
+ "/admin/unset-user-avatar": {
+ /**
+ * admin/unset-user-avatar
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/unset-user-avatar"];
+ };
+ "/admin/unset-user-banner": {
+ /**
+ * admin/unset-user-banner
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/unset-user-banner"];
+ };
+ "/admin/drive/clean-remote-files": {
+ /**
+ * admin/drive/clean-remote-files
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/drive/clean-remote-files"];
+ };
+ "/admin/drive/cleanup": {
+ /**
+ * admin/drive/cleanup
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/drive/cleanup"];
+ };
+ "/admin/drive/files": {
+ /**
+ * admin/drive/files
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/drive/files"];
+ };
+ "/admin/drive/show-file": {
+ /**
+ * admin/drive/show-file
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/drive/show-file"];
+ };
+ "/admin/emoji/add-aliases-bulk": {
+ /**
+ * admin/emoji/add-aliases-bulk
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/emoji/add-aliases-bulk"];
+ };
+ "/admin/emoji/add": {
+ /**
+ * admin/emoji/add
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/emoji/add"];
+ };
+ "/admin/emoji/copy": {
+ /**
+ * admin/emoji/copy
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/emoji/copy"];
+ };
+ "/admin/emoji/delete-bulk": {
+ /**
+ * admin/emoji/delete-bulk
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/emoji/delete-bulk"];
+ };
+ "/admin/emoji/delete": {
+ /**
+ * admin/emoji/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/emoji/delete"];
+ };
+ "/admin/emoji/list-remote": {
+ /**
+ * admin/emoji/list-remote
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/emoji/list-remote"];
+ };
+ "/admin/emoji/list": {
+ /**
+ * admin/emoji/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/emoji/list"];
+ };
+ "/admin/emoji/remove-aliases-bulk": {
+ /**
+ * admin/emoji/remove-aliases-bulk
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/emoji/remove-aliases-bulk"];
+ };
+ "/admin/emoji/set-aliases-bulk": {
+ /**
+ * admin/emoji/set-aliases-bulk
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/emoji/set-aliases-bulk"];
+ };
+ "/admin/emoji/set-category-bulk": {
+ /**
+ * admin/emoji/set-category-bulk
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/emoji/set-category-bulk"];
+ };
+ "/admin/emoji/set-license-bulk": {
+ /**
+ * admin/emoji/set-license-bulk
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/emoji/set-license-bulk"];
+ };
+ "/admin/emoji/update": {
+ /**
+ * admin/emoji/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/emoji/update"];
+ };
+ "/admin/federation/delete-all-files": {
+ /**
+ * admin/federation/delete-all-files
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ 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*
+ */
+ 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*
+ */
+ post: operations["admin/federation/remove-all-following"];
+ };
+ "/admin/federation/update-instance": {
+ /**
+ * admin/federation/update-instance
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/federation/update-instance"];
+ };
+ "/admin/get-index-stats": {
+ /**
+ * admin/get-index-stats
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/get-index-stats"];
+ };
+ "/admin/get-table-stats": {
+ /**
+ * admin/get-table-stats
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/get-table-stats"];
+ };
+ "/admin/get-user-ips": {
+ /**
+ * admin/get-user-ips
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/get-user-ips"];
+ };
+ "/admin/invite/create": {
+ /**
+ * admin/invite/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/invite/create"];
+ };
+ "/admin/invite/list": {
+ /**
+ * admin/invite/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/invite/list"];
+ };
+ "/admin/promo/create": {
+ /**
+ * admin/promo/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/promo/create"];
+ };
+ "/admin/queue/clear": {
+ /**
+ * admin/queue/clear
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/queue/clear"];
+ };
+ "/admin/queue/deliver-delayed": {
+ /**
+ * admin/queue/deliver-delayed
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/queue/deliver-delayed"];
+ };
+ "/admin/queue/inbox-delayed": {
+ /**
+ * admin/queue/inbox-delayed
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/queue/inbox-delayed"];
+ };
+ "/admin/queue/promote": {
+ /**
+ * admin/queue/promote
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/queue/promote"];
+ };
+ "/admin/queue/stats": {
+ /**
+ * admin/queue/stats
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/queue/stats"];
+ };
+ "/admin/relays/add": {
+ /**
+ * admin/relays/add
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/relays/add"];
+ };
+ "/admin/relays/list": {
+ /**
+ * admin/relays/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/relays/list"];
+ };
+ "/admin/relays/remove": {
+ /**
+ * admin/relays/remove
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/relays/remove"];
+ };
+ "/admin/reset-password": {
+ /**
+ * admin/reset-password
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/reset-password"];
+ };
+ "/admin/resolve-abuse-user-report": {
+ /**
+ * admin/resolve-abuse-user-report
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/resolve-abuse-user-report"];
+ };
+ "/admin/send-email": {
+ /**
+ * admin/send-email
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/send-email"];
+ };
+ "/admin/server-info": {
+ /**
+ * admin/server-info
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/server-info"];
+ };
+ "/admin/show-moderation-logs": {
+ /**
+ * admin/show-moderation-logs
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/show-moderation-logs"];
+ };
+ "/admin/show-user": {
+ /**
+ * admin/show-user
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/show-user"];
+ };
+ "/admin/show-users": {
+ /**
+ * admin/show-users
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/show-users"];
+ };
+ "/admin/suspend-user": {
+ /**
+ * admin/suspend-user
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/suspend-user"];
+ };
+ "/admin/unsuspend-user": {
+ /**
+ * admin/unsuspend-user
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/unsuspend-user"];
+ };
+ "/admin/update-meta": {
+ /**
+ * admin/update-meta
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/update-meta"];
+ };
+ "/admin/delete-account": {
+ /**
+ * admin/delete-account
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/delete-account"];
+ };
+ "/admin/update-user-note": {
+ /**
+ * admin/update-user-note
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/update-user-note"];
+ };
+ "/admin/roles/create": {
+ /**
+ * admin/roles/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/roles/create"];
+ };
+ "/admin/roles/delete": {
+ /**
+ * admin/roles/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/roles/delete"];
+ };
+ "/admin/roles/list": {
+ /**
+ * admin/roles/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/roles/list"];
+ };
+ "/admin/roles/show": {
+ /**
+ * admin/roles/show
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/roles/show"];
+ };
+ "/admin/roles/update": {
+ /**
+ * admin/roles/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/roles/update"];
+ };
+ "/admin/roles/assign": {
+ /**
+ * admin/roles/assign
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/roles/assign"];
+ };
+ "/admin/roles/unassign": {
+ /**
+ * admin/roles/unassign
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/roles/unassign"];
+ };
+ "/admin/roles/update-default-policies": {
+ /**
+ * admin/roles/update-default-policies
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["admin/roles/update-default-policies"];
+ };
+ "/admin/roles/users": {
+ /**
+ * admin/roles/users
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations["admin/roles/users"];
+ };
+ "/announcements": {
+ /**
+ * announcements
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations["announcements"];
+ };
+ "/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*
+ */
+ post: operations["ap/get"];
+ };
+ "/ap/show": {
+ /**
+ * ap/show
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ 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/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"];
+ };
+ "/channels/create": {
+ /**
+ * channels/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:channels*
+ */
+ post: operations["channels/create"];
+ };
+ "/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/owned": {
+ /**
+ * channels/owned
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:channels*
+ */
+ post: operations["channels/owned"];
+ };
+ "/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/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"];
+ };
+ "/channels/favorite": {
+ /**
+ * channels/favorite
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:channels*
+ */
+ post: operations["channels/favorite"];
+ };
+ "/channels/unfavorite": {
+ /**
+ * channels/unfavorite
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:channels*
+ */
+ post: operations["channels/unfavorite"];
+ };
+ "/channels/my-favorites": {
+ /**
+ * channels/my-favorites
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:channels*
+ */
+ post: operations["channels/my-favorites"];
+ };
+ "/channels/search": {
+ /**
+ * channels/search
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations["channels/search"];
+ };
+ "/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"];
+ };
+ "/clips/add-note": {
+ /**
+ * clips/add-note
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations["clips/add-note"];
+ };
+ "/clips/remove-note": {
+ /**
+ * clips/remove-note
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations["clips/remove-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/list": {
+ /**
+ * clips/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ post: operations["clips/list"];
+ };
+ "/clips/notes": {
+ /**
+ * clips/notes
+ * @description No description provided.
+ *
+ * **Credential required**: *No* / **Permission**: *read:account*
+ */
+ post: operations["clips/notes"];
+ };
+ "/clips/show": {
+ /**
+ * clips/show
+ * @description No description provided.
+ *
+ * **Credential required**: *No* / **Permission**: *read:account*
+ */
+ post: operations["clips/show"];
+ };
+ "/clips/update": {
+ /**
+ * clips/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations["clips/update"];
+ };
+ "/clips/favorite": {
+ /**
+ * clips/favorite
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:clip-favorite*
+ */
+ post: operations["clips/favorite"];
+ };
+ "/clips/unfavorite": {
+ /**
+ * clips/unfavorite
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:clip-favorite*
+ */
+ post: operations["clips/unfavorite"];
+ };
+ "/clips/my-favorites": {
+ /**
+ * clips/my-favorites
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:clip-favorite*
+ */
+ post: operations["clips/my-favorites"];
+ };
+ "/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-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/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/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"];
+ };
+ "/endpoint": {
+ /**
+ * endpoint
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations["endpoint"];
+ };
+ "/endpoints": {
+ /**
+ * endpoints
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations["endpoints"];
+ };
+ "/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/update-remote-user": {
+ /**
+ * federation/update-remote-user
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["federation/update-remote-user"];
+ };
+ "/federation/users": {
+ /**
+ * federation/users
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations["federation/users"];
+ };
+ "/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"];
+ };
+ "/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/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"];
+ };
+ "/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"];
+ };
+ "/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-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"];
+ };
+ "/get-avatar-decorations": {
+ /**
+ * get-avatar-decorations
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations["get-avatar-decorations"];
+ };
+ "/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*
+ */
+ post: operations["i"];
+ };
+ "/i/claim-achievement": {
+ /**
+ * i/claim-achievement
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["i/claim-achievement"];
+ };
+ "/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/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-all-unread-notes": {
+ /**
+ * i/read-all-unread-notes
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations["i/read-all-unread-notes"];
+ };
+ "/i/read-announcement": {
+ /**
+ * i/read-announcement
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations["i/read-announcement"];
+ };
+ "/i/registry/get-all": {
+ /**
+ * i/registry/get-all
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["i/registry/get-all"];
+ };
+ "/i/registry/get-detail": {
+ /**
+ * i/registry/get-detail
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["i/registry/get-detail"];
+ };
+ "/i/registry/get": {
+ /**
+ * i/registry/get
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["i/registry/get"];
+ };
+ "/i/registry/keys-with-type": {
+ /**
+ * i/registry/keys-with-type
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["i/registry/keys-with-type"];
+ };
+ "/i/registry/keys": {
+ /**
+ * i/registry/keys
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["i/registry/keys"];
+ };
+ "/i/registry/remove": {
+ /**
+ * i/registry/remove
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["i/registry/remove"];
+ };
+ "/i/registry/set": {
+ /**
+ * i/registry/set
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["i/registry/set"];
+ };
+ "/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/webhooks/create": {
+ /**
+ * i/webhooks/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations["i/webhooks/create"];
+ };
+ "/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/update": {
+ /**
+ * i/webhooks/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations["i/webhooks/update"];
+ };
+ "/i/webhooks/delete": {
+ /**
+ * i/webhooks/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations["i/webhooks/delete"];
+ };
+ "/invite/create": {
+ /**
+ * invite/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["invite/create"];
+ };
+ "/invite/delete": {
+ /**
+ * invite/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["invite/delete"];
+ };
+ "/invite/list": {
+ /**
+ * invite/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["invite/list"];
+ };
+ "/invite/limit": {
+ /**
+ * invite/limit
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["invite/limit"];
+ };
+ "/meta": {
+ /**
+ * meta
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations["meta"];
+ };
+ "/emojis": {
+ /**
+ * emojis
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ get: operations["emojis"];
+ /**
+ * emojis
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations["emojis"];
+ };
+ "/emoji": {
+ /**
+ * emoji
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ get: operations["emoji"];
+ /**
+ * emoji
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations["emoji"];
+ };
+ "/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"];
+ };
+ "/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"];
+ };
+ "/my/apps": {
+ /**
+ * my/apps
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ 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*
+ */
+ 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*
+ */
+ post: operations["notes/mentions"];
+ };
+ "/notes/polls/recommendation": {
+ /**
+ * notes/polls/recommendation
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ 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-by-tag": {
+ /**
+ * notes/search-by-tag
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations["notes/search-by-tag"];
+ };
+ "/notes/search": {
+ /**
+ * notes/search
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations["notes/search"];
+ };
+ "/notes/show": {
+ /**
+ * notes/show
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations["notes/show"];
+ };
+ "/notes/state": {
+ /**
+ * notes/state
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ 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*
+ */
+ post: operations["notes/timeline"];
+ };
+ "/notes/translate": {
+ /**
+ * notes/translate
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ 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*
+ */
+ 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/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"];
+ };
+ "/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"];
+ };
+ "/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/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"];
+ };
+ "/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"];
+ };
+ "/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*
+ */
+ post: operations["promo/read"];
+ };
+ "/roles/list": {
+ /**
+ * roles/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["roles/list"];
+ };
+ "/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"];
+ };
+ "/roles/notes": {
+ /**
+ * roles/notes
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["roles/notes"];
+ };
+ "/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 NODE_ENV=testing. 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"];
+ };
+ "/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/show-registration": {
+ /**
+ * sw/show-registration
+ * @description Check push notification registration exists.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["sw/show-registration"];
+ };
+ "/sw/update-registration": {
+ /**
+ * sw/update-registration
+ * @description Update push notification registration.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["sw/update-registration"];
+ };
+ "/sw/register": {
+ /**
+ * sw/register
+ * @description Register to receive push notifications.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["sw/register"];
+ };
+ "/sw/unregister": {
+ /**
+ * sw/unregister
+ * @description Unregister from receiving push notifications.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations["sw/unregister"];
+ };
+ "/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/clips": {
+ /**
+ * users/clips
+ * @description Show all clips this user owns.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations["users/clips"];
+ };
+ "/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/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/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/delete": {
+ /**
+ * users/lists/delete
+ * @description Delete an existing list of users.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations["users/lists/delete"];
+ };
+ "/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/favorite": {
+ /**
+ * users/lists/favorite
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["users/lists/favorite"];
+ };
+ "/users/lists/unfavorite": {
+ /**
+ * users/lists/unfavorite
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ 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/create-from-public": {
+ /**
+ * users/lists/create-from-public
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["users/lists/create-from-public"];
+ };
+ "/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/lists/get-memberships": {
+ /**
+ * users/lists/get-memberships
+ * @description No description provided.
+ *
+ * **Credential required**: *No* / **Permission**: *read:account*
+ */
+ post: operations["users/lists/get-memberships"];
+ };
+ "/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/flashs": {
+ /**
+ * users/flashs
+ * @description Show all flashs this user created.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations["users/flashs"];
+ };
+ "/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*
+ */
+ post: operations["users/relation"];
+ };
+ "/users/report-abuse": {
+ /**
+ * users/report-abuse
+ * @description File a report.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["users/report-abuse"];
+ };
+ "/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/search": {
+ /**
+ * users/search
+ * @description Search for users.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations["users/search"];
+ };
+ "/users/show": {
+ /**
+ * users/show
+ * @description Show the properties of a user.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations["users/show"];
+ };
+ "/users/achievements": {
+ /**
+ * users/achievements
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["users/achievements"];
+ };
+ "/users/update-memo": {
+ /**
+ * users/update-memo
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ post: operations["users/update-memo"];
+ };
+ "/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"];
+ };
+ "/fetch-external-resources": {
+ /**
+ * fetch-external-resources
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ post: operations["fetch-external-resources"];
+ };
+ "/retention": {
+ /**
+ * retention
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ get: operations["retention"];
+ /**
+ * retention
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ post: operations["retention"];
+ };
+}
+
+export type webhooks = Record;
+
+export interface 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;
+ };
+ };
+ 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;
+ }[];
+ isBot?: boolean;
+ isCat?: boolean;
+ instance?: {
+ name: string | null;
+ softwareName: string | null;
+ softwareVersion: string | null;
+ iconUrl: string | null;
+ faviconUrl: string | null;
+ themeColor: string | null;
+ };
+ emojis: Record;
+ /** @enum {string} */
+ onlineStatus: "unknown" | "online" | "active" | "offline";
+ badgeRoles?: ({
+ name: string;
+ iconUrl: string | null;
+ displayOrder: number;
+ })[];
+ };
+ 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} */
+ ffVisibility: "public" | "followers" | "private";
+ /** @default false */
+ twoFactorEnabled: boolean;
+ /** @default false */
+ usePasswordLessLogin: boolean;
+ /** @default false */
+ securityKeys: boolean;
+ roles: ({
+ /** Format: id */
+ id: string;
+ name: string;
+ color: string | null;
+ iconUrl: string | null;
+ description: string;
+ isModerator: boolean;
+ isAdministrator: boolean;
+ displayOrder: number;
+ })[];
+ memo: string | null;
+ moderationNote?: string;
+ isFollowing?: boolean;
+ isFollowed?: boolean;
+ hasPendingFollowRequestFromYou?: boolean;
+ hasPendingFollowRequestToYou?: boolean;
+ isBlocking?: boolean;
+ isBlocked?: boolean;
+ isMuted?: boolean;
+ isRenoteMuted?: boolean;
+ notify?: string;
+ withReplies?: boolean;
+ };
+ MeDetailedOnly: {
+ /** Format: id */
+ avatarId: string | null;
+ /** Format: id */
+ bannerId: 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;
+ hasUnreadNotification: boolean;
+ hasPendingReceivedFollowRequest: boolean;
+ unreadNotificationsCount: number;
+ mutedWords: string[][];
+ hardMutedWords: string[][];
+ mutedInstances: string[] | null;
+ notificationRecieveConfig: Record;
+ emailNotificationTypes: string[];
+ achievements: {
+ name: string;
+ unlockedAt: number;
+ }[];
+ loggedInDays: number;
+ policies: {
+ gtlAvailable: boolean;
+ ltlAvailable: boolean;
+ canPublicNote: boolean;
+ canInvite: boolean;
+ inviteLimit: number;
+ inviteLimitCycle: number;
+ inviteExpirationTime: number;
+ canManageCustomEmojis: boolean;
+ canManageAvatarDecorations: boolean;
+ canSearchNotes: boolean;
+ canUseTranslator: boolean;
+ canHideAds: boolean;
+ driveCapacityMb: number;
+ alwaysMarkNsfw: boolean;
+ pinLimit: number;
+ antennaLimit: number;
+ wordMuteLimit: number;
+ webhookLimit: number;
+ clipLimit: number;
+ noteEachClipsLimit: number;
+ userListLimit: number;
+ userEachUserListsLimit: number;
+ rateLimitFactor: number;
+ };
+ email?: string | null;
+ emailVerified?: boolean | null;
+ securityKeysList?: Record[];
+ };
+ 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"] | components["schemas"]["UserDetailedNotMe"] | components["schemas"]["MeDetailed"];
+ UserList: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ name: string;
+ userIds?: string[];
+ isPublic: boolean;
+ };
+ 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;
+ icon: string;
+ display: string;
+ needConfirmationToRead: boolean;
+ silence: boolean;
+ forYou: boolean;
+ isRead?: boolean;
+ };
+ App: {
+ id: string;
+ name: string;
+ callbackUrl: string | null;
+ permission: string[];
+ secret?: string;
+ isAuthorized?: boolean;
+ };
+ 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;
+ visibility: string;
+ mentions?: string[];
+ visibleUserIds?: string[];
+ fileIds?: string[];
+ files?: components["schemas"]["DriveFile"][];
+ tags?: string[];
+ poll?: Record | null;
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ channelId?: string | null;
+ channel?: {
+ id: string;
+ name: string;
+ color: string;
+ isSensitive: boolean;
+ allowRenoteToExternal: boolean;
+ } | null;
+ localOnly?: boolean;
+ reactionAcceptance: string | null;
+ reactions: Record;
+ renoteCount: number;
+ repliesCount: number;
+ uri?: string;
+ url?: string;
+ reactionAndUserPairCache?: string[];
+ myReaction?: Record | null;
+ };
+ NoteReaction: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ user: components["schemas"]["UserLite"];
+ type: string;
+ };
+ NoteFavorite: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ note: components["schemas"]["Note"];
+ /** Format: id */
+ noteId: string;
+ };
+ Notification: {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @enum {string} */
+ type: "note" | "follow" | "mention" | "reply" | "renote" | "quote" | "reaction" | "pollEnded" | "receiveFollowRequest" | "followRequestAccepted" | "achievementEarned" | "app" | "test" | "reaction:grouped" | "renote:grouped";
+ user?: components["schemas"]["UserLite"] | null;
+ /** Format: id */
+ userId?: string | null;
+ note?: components["schemas"]["Note"] | null;
+ reaction?: string | null;
+ achievement?: string;
+ body?: string | null;
+ header?: string | null;
+ icon?: string | null;
+ reactions?: {
+ user: components["schemas"]["UserLite"];
+ reaction: string;
+ }[] | null;
+ users?: components["schemas"]["UserLite"][] | null;
+ };
+ DriveFile: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** @example lenna.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;
+ };
+ 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;
+ };
+ Following: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: id */
+ followeeId: string;
+ /** Format: id */
+ followerId: string;
+ followee?: components["schemas"]["UserDetailed"];
+ follower?: components["schemas"]["UserDetailed"];
+ };
+ 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"]["UserDetailed"];
+ };
+ RenoteMuting: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: id */
+ muteeId: string;
+ mutee: components["schemas"]["UserDetailed"];
+ };
+ Blocking: {
+ /**
+ * Format: id
+ * @example xxxxxxxxxx
+ */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ /** Format: id */
+ blockeeId: string;
+ blockee: components["schemas"]["UserDetailed"];
+ };
+ Hashtag: {
+ /** @example misskey */
+ tag: string;
+ mentionedUsersCount: number;
+ mentionedLocalUsersCount: number;
+ mentionedRemoteUsersCount: number;
+ attachedUsersCount: number;
+ attachedLocalUsersCount: number;
+ attachedRemoteUsersCount: number;
+ };
+ 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;
+ };
+ 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: Record[];
+ variables: Record[];
+ 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;
+ };
+ 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"][];
+ };
+ QueueCount: {
+ waiting: number;
+ active: number;
+ completed: number;
+ failed: number;
+ delayed: number;
+ };
+ 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;
+ notify: boolean;
+ /** @default false */
+ withReplies: boolean;
+ withFile: boolean;
+ isActive: boolean;
+ /** @default false */
+ hasUnreadNote: boolean;
+ };
+ 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;
+ };
+ 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;
+ 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;
+ /** 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;
+ };
+ 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;
+ };
+ EmojiSimple: {
+ aliases: string[];
+ name: string;
+ category: string | null;
+ url: string;
+ isSensitive?: boolean;
+ roleIdsThatCanBeUsedThisEmojiAsReaction?: string[];
+ };
+ 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[];
+ };
+ 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;
+ likedCount: number | null;
+ isLiked?: boolean;
+ };
+ };
+ responses: never;
+ parameters: never;
+ requestBodies: never;
+ headers: never;
+ pathItems: never;
+}
+
+export type $defs = Record;
+
+export type external = Record;
+
+export interface operations {
+
+ /**
+ * admin/meta
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/meta": {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": {
+ cacheRemoteFiles: boolean;
+ cacheRemoteSensitiveFiles: boolean;
+ emailRequiredForSignup: boolean;
+ enableHcaptcha: boolean;
+ hcaptchaSiteKey: string | null;
+ enableRecaptcha: boolean;
+ recaptchaSiteKey: string | null;
+ enableTurnstile: boolean;
+ turnstileSiteKey: 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[];
+ pinnedUsers: string[];
+ hiddenTags: string[];
+ blockedHosts: string[];
+ sensitiveWords: string[];
+ preservedUsernames: string[];
+ hcaptchaSecretKey: string | null;
+ recaptchaSecretKey: string | null;
+ turnstileSecretKey: string | null;
+ sensitiveMediaDetection: string;
+ sensitiveMediaDetectionSensitivity: string;
+ setSensitiveFlagAutomatically: boolean;
+ enableSensitiveMediaDetectionForVideos: boolean;
+ /** Format: id */
+ proxyAccountId: string | null;
+ 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;
+ enableChartsForRemoteUser: boolean;
+ enableChartsForFederatedInstances: boolean;
+ enableServerMachineStats: boolean;
+ enableIdenticonGeneration: boolean;
+ manifestJsonOverride: string;
+ policies: Record;
+ enableFanoutTimeline: boolean;
+ enableFanoutTimelineDbFallback: boolean;
+ perLocalUserUserTimelineCacheMax: number;
+ perRemoteUserUserTimelineCacheMax: number;
+ perUserHomeTimelineCacheMax: number;
+ perUserListTimelineCacheMax: number;
+ 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;
+ objectStorageS3ForcePathStyle: boolean;
+ privacyPolicyUrl: string | null;
+ repositoryUrl: string;
+ summalyProxy: string | null;
+ themeColor: string | null;
+ tosUrl: string | null;
+ uri: string;
+ version: 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/abuse-user-reports
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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";
+ /** @default false */
+ forwarded?: boolean;
+ };
+ };
+ };
+ 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"]["User"];
+ targetUser: components["schemas"]["User"];
+ assignee?: components["schemas"]["User"] | 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/accounts/create
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "admin/accounts/create": {
+ requestBody: {
+ content: {
+ "application/json": {
+ username: string;
+ password: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": components["schemas"]["User"];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/accounts/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"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/accounts/find-by-email": {
+ requestBody: {
+ content: {
+ "application/json": {
+ email: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/ad/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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;
+ };
+ };
+ };
+ 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
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/ad/delete": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ id: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/ad/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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;
+ };
+ };
+ };
+ 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/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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;
+ };
+ };
+ };
+ 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/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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": {
+ /**
+ * 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/announcements/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/announcements/delete": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ id: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/announcements/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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;
+ };
+ };
+ };
+ 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/announcements/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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;
+ };
+ };
+ };
+ 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
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/avatar-decorations/create": {
+ requestBody: {
+ content: {
+ "application/json": {
+ name: string;
+ description: string;
+ url: string;
+ roleIdsThatCanBeUsedThisDecoration?: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/avatar-decorations/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/avatar-decorations/delete": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ id: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/avatar-decorations/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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;
+ };
+ };
+ };
+ 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/avatar-decorations/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/avatar-decorations/update": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ id: string;
+ name?: string;
+ description?: string;
+ url?: string;
+ roleIdsThatCanBeUsedThisDecoration?: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/delete-all-files-of-a-user
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/delete-all-files-of-a-user": {
+ 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"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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-avatar
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/unset-user-avatar": {
+ 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"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/unset-user-banner": {
+ 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"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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/clean-remote-files
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/drive/cleanup
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/drive/files
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/drive/show-file
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/drive/show-file": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ fileId?: string;
+ url?: string;
+ };
+ };
+ };
+ 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 lenna.jpg */
+ name: string;
+ /** @example image/jpeg */
+ type: string;
+ /** @example 51469 */
+ size: number;
+ comment: string | null;
+ blurhash: string | null;
+ properties: Record;
+ /** @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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/emoji/add-aliases-bulk
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/emoji/add-aliases-bulk": {
+ requestBody: {
+ content: {
+ "application/json": {
+ ids: string[];
+ aliases: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/emoji/add
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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[];
+ };
+ };
+ };
+ 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
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/emoji/copy": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ emojiId: string;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/emoji/delete-bulk
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/emoji/delete-bulk": {
+ requestBody: {
+ content: {
+ "application/json": {
+ ids: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/emoji/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/emoji/delete": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ id: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/emoji/list-remote
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/emoji/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/emoji/remove-aliases-bulk
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/emoji/remove-aliases-bulk": {
+ requestBody: {
+ content: {
+ "application/json": {
+ ids: string[];
+ aliases: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/emoji/set-aliases-bulk
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/emoji/set-aliases-bulk": {
+ requestBody: {
+ content: {
+ "application/json": {
+ ids: string[];
+ aliases: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/emoji/set-category-bulk
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/emoji/set-category-bulk": {
+ requestBody: {
+ content: {
+ "application/json": {
+ ids: string[];
+ /** @description Use `null` to reset the category. */
+ category?: 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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/emoji/set-license-bulk
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/emoji/set-license-bulk": {
+ requestBody: {
+ content: {
+ "application/json": {
+ ids: string[];
+ /** @description Use `null` to reset the license. */
+ license?: 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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/emoji/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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[];
+ };
+ };
+ };
+ 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
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/federation/delete-all-files": {
+ requestBody: {
+ content: {
+ "application/json": {
+ host: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/federation/refresh-remote-instance-metadata
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/federation/refresh-remote-instance-metadata": {
+ requestBody: {
+ content: {
+ "application/json": {
+ host: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/federation/remove-all-following
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/federation/remove-all-following": {
+ requestBody: {
+ content: {
+ "application/json": {
+ host: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/federation/update-instance
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/federation/update-instance": {
+ requestBody: {
+ content: {
+ "application/json": {
+ host: string;
+ isSuspended: boolean;
+ };
+ };
+ };
+ 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/get-index-stats
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/get-index-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/get-table-stats
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/get-table-stats": {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": Record;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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-user-ips
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/get-user-ips": {
+ 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"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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/invite/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/invite/create": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** @default 1 */
+ count?: number;
+ expiresAt?: string | null;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": {
+ /** @example GR6S02ERUA5VR */
+ code: 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/invite/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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";
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": Record[];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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/promo/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/promo/create": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ noteId: string;
+ expiresAt: number;
+ };
+ };
+ };
+ 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/clear
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/queue/clear": {
+ 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/deliver-delayed
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/queue/inbox-delayed
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/queue/promote
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/queue/promote": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** @enum {string} */
+ type: "deliver" | "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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/queue/stats
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/relays/add
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/relays/add": {
+ requestBody: {
+ content: {
+ "application/json": {
+ inbox: string;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/relays/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/relays/remove
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/relays/remove": {
+ requestBody: {
+ content: {
+ "application/json": {
+ inbox: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/reset-password
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/reset-password": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/resolve-abuse-user-report
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/resolve-abuse-user-report": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ reportId: string;
+ /** @default false */
+ forward?: boolean;
+ };
+ };
+ };
+ 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/send-email
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/send-email": {
+ requestBody: {
+ content: {
+ "application/json": {
+ to: string;
+ subject: string;
+ text: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/server-info
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/show-moderation-logs
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": {
+ /** Format: id */
+ id: string;
+ /** Format: date-time */
+ createdAt: string;
+ type: string;
+ info: Record;
+ /** Format: id */
+ userId: string;
+ user: 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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/show-user
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/show-user": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": Record;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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-users
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/suspend-user
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/suspend-user": {
+ 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"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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/unsuspend-user
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/unsuspend-user": {
+ 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"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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-meta
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/update-meta": {
+ requestBody: {
+ content: {
+ "application/json": {
+ disableRegistration?: boolean | null;
+ pinnedUsers?: string[] | null;
+ hiddenTags?: string[] | null;
+ blockedHosts?: string[] | null;
+ sensitiveWords?: 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;
+ enableRecaptcha?: boolean;
+ recaptchaSiteKey?: string | null;
+ recaptchaSecretKey?: string | null;
+ enableTurnstile?: boolean;
+ turnstileSiteKey?: string | null;
+ turnstileSecretKey?: string | null;
+ /** @enum {string} */
+ sensitiveMediaDetection?: "none" | "all" | "local" | "remote";
+ /** @enum {string} */
+ sensitiveMediaDetectionSensitivity?: "medium" | "low" | "high" | "veryLow" | "veryHigh";
+ setSensitiveFlagAutomatically?: boolean;
+ enableSensitiveMediaDetectionForVideos?: boolean;
+ /** Format: misskey:id */
+ proxyAccountId?: string | null;
+ maintainerName?: string | null;
+ maintainerEmail?: string | null;
+ langs?: string[];
+ summalyProxy?: string | null;
+ 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;
+ feedbackUrl?: string;
+ impressumUrl?: string | null;
+ privacyPolicyUrl?: 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;
+ enableChartsForRemoteUser?: boolean;
+ enableChartsForFederatedInstances?: boolean;
+ enableServerMachineStats?: boolean;
+ enableIdenticonGeneration?: boolean;
+ serverRules?: string[];
+ preservedUsernames?: string[];
+ manifestJsonOverride?: string;
+ enableFanoutTimeline?: boolean;
+ enableFanoutTimelineDbFallback?: boolean;
+ perLocalUserUserTimelineCacheMax?: number;
+ perRemoteUserUserTimelineCacheMax?: number;
+ perUserHomeTimelineCacheMax?: number;
+ perUserListTimelineCacheMax?: number;
+ notesPerOneAd?: number;
+ silencedHosts?: 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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/delete-account
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/delete-account": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": 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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/update-user-note
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/update-user-note": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ userId: string;
+ text: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/roles/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/roles/create": {
+ requestBody: {
+ content: {
+ "application/json": {
+ name: string;
+ description: string;
+ color: string | null;
+ iconUrl: string | null;
+ /** @enum {string} */
+ target: "manual" | "conditional";
+ condFormula: Record;
+ isPublic: boolean;
+ isModerator: boolean;
+ isAdministrator: boolean;
+ /** @default false */
+ isExplorable?: boolean;
+ asBadge: boolean;
+ canEditMembersByModerator: boolean;
+ displayOrder: number;
+ policies: Record;
+ };
+ };
+ };
+ 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
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/roles/delete": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ roleId: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/roles/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/roles/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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/roles/show
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/roles/show": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ roleId: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/roles/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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;
+ isPublic: boolean;
+ isModerator: boolean;
+ isAdministrator: boolean;
+ isExplorable?: boolean;
+ asBadge: boolean;
+ canEditMembersByModerator: boolean;
+ displayOrder: number;
+ policies: Record;
+ };
+ };
+ };
+ 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
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/roles/assign": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ roleId: string;
+ /** Format: misskey:id */
+ userId: string;
+ expiresAt?: number | 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"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/roles/unassign
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/roles/unassign": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ roleId: string;
+ /** Format: misskey:id */
+ userId: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * admin/roles/update-default-policies
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "admin/roles/update-default-policies": {
+ requestBody: {
+ content: {
+ "application/json": {
+ policies: Record;
+ };
+ };
+ };
+ 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
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "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;
+ };
+ };
+ };
+ 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
+ * @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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ withReplies: boolean;
+ withFile: boolean;
+ notify: boolean;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * antennas/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ "antennas/delete": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ antennaId: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * antennas/show
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ "antennas/show": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ antennaId: string;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ withReplies: boolean;
+ withFile: boolean;
+ notify: boolean;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * ap/get
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "ap/get": {
+ requestBody: {
+ content: {
+ "application/json": {
+ uri: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": Record;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * ap/show
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "ap/show": {
+ requestBody: {
+ content: {
+ "application/json": {
+ uri: string;
+ };
+ };
+ };
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * app/create
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "app/create": {
+ requestBody: {
+ content: {
+ "application/json": {
+ name: string;
+ description: string;
+ permission: string[];
+ callbackUrl?: string | null;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * app/show
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "app/show": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ appId: string;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * auth/session/generate
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "auth/session/generate": {
+ requestBody: {
+ content: {
+ "application/json": {
+ appSecret: string;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * auth/session/show
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "auth/session/show": {
+ requestBody: {
+ content: {
+ "application/json": {
+ token: string;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * auth/session/userkey
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "auth/session/userkey": {
+ requestBody: {
+ content: {
+ "application/json": {
+ appSecret: string;
+ token: string;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * blocking/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:blocks*
+ */
+ "blocking/create": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
+ };
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * blocking/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:blocks*
+ */
+ "blocking/delete": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ userId: string;
+ };
+ };
+ };
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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"];
+ };
+ };
+ };
+ };
+ /**
+ * channels/follow
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:channels*
+ */
+ "channels/follow": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ channelId: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * channels/show
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "channels/show": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ channelId: string;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * channels/unfollow
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:channels*
+ */
+ "channels/unfollow": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ channelId: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * channels/favorite
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:channels*
+ */
+ "channels/favorite": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ channelId: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * channels/unfavorite
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:channels*
+ */
+ "channels/unfavorite": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ channelId: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": {
+ "local.incCount": number[];
+ "local.incSize": number[];
+ "local.decCount": number[];
+ "local.decSize": number[];
+ "remote.incCount": number[];
+ "remote.incSize": number[];
+ "remote.decCount": number[];
+ "remote.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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": {
+ "requests.failed": number[];
+ "requests.succeeded": number[];
+ "requests.received": number[];
+ "notes.total": number[];
+ "notes.inc": number[];
+ "notes.dec": number[];
+ "notes.diffs.normal": number[];
+ "notes.diffs.reply": number[];
+ "notes.diffs.renote": number[];
+ "notes.diffs.withFile": number[];
+ "users.total": number[];
+ "users.inc": number[];
+ "users.dec": number[];
+ "following.total": number[];
+ "following.inc": number[];
+ "following.dec": number[];
+ "followers.total": number[];
+ "followers.inc": number[];
+ "followers.dec": number[];
+ "drive.totalFiles": number[];
+ "drive.incFiles": number[];
+ "drive.decFiles": number[];
+ "drive.incUsage": number[];
+ "drive.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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": {
+ "local.total": number[];
+ "local.inc": number[];
+ "local.dec": number[];
+ "local.diffs.normal": number[];
+ "local.diffs.reply": number[];
+ "local.diffs.renote": number[];
+ "local.diffs.withFile": number[];
+ "remote.total": number[];
+ "remote.inc": number[];
+ "remote.dec": number[];
+ "remote.diffs.normal": number[];
+ "remote.diffs.reply": number[];
+ "remote.diffs.renote": number[];
+ "remote.diffs.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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": {
+ "local.followings.total": number[];
+ "local.followings.inc": number[];
+ "local.followings.dec": number[];
+ "local.followers.total": number[];
+ "local.followers.inc": number[];
+ "local.followers.dec": number[];
+ "remote.followings.total": number[];
+ "remote.followings.inc": number[];
+ "remote.followings.dec": number[];
+ "remote.followers.total": number[];
+ "remote.followers.inc": number[];
+ "remote.followers.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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": {
+ total: number[];
+ inc: number[];
+ dec: number[];
+ "diffs.normal": number[];
+ "diffs.reply": number[];
+ "diffs.renote": number[];
+ "diffs.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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": {
+ "upv.user": number[];
+ "pv.user": number[];
+ "upv.visitor": number[];
+ "pv.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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": {
+ "local.total": number[];
+ "local.inc": number[];
+ "local.dec": number[];
+ "remote.total": number[];
+ "remote.inc": number[];
+ "remote.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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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/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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * clips/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ "clips/delete": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ clipId: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * clips/show
+ * @description No description provided.
+ *
+ * **Credential required**: *No* / **Permission**: *read:account*
+ */
+ "clips/show": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ clipId: string;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * clips/favorite
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:clip-favorite*
+ */
+ "clips/favorite": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ clipId: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * clips/unfavorite
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:clip-favorite*
+ */
+ "clips/unfavorite": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ clipId: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: string;
+ };
+ };
+ };
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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
+ * @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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": components["schemas"]["DriveFolder"][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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/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;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": components["schemas"]["DriveFolder"];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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/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;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": components["schemas"]["DriveFolder"][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:drive*
+ */
+ "drive/folders/show": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ folderId: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": components["schemas"]["DriveFolder"];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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/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;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": components["schemas"]["DriveFolder"];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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
+ * @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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * email-address/available
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "email-address/available": {
+ requestBody: {
+ content: {
+ "application/json": {
+ emailAddress: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": {
+ available: boolean;
+ reason: 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
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ endpoint: {
+ requestBody: {
+ content: {
+ "application/json": {
+ endpoint: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * federation/show-instance
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "federation/show-instance": {
+ requestBody: {
+ content: {
+ "application/json": {
+ host: string;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * federation/update-remote-user
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "federation/update-remote-user": {
+ 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"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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
+ * @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 (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"];
+ };
+ };
+ };
+ };
+ /**
+ * federation/stats
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "federation/stats": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** @default 10 */
+ limit?: number;
+ };
+ };
+ };
+ 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/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 (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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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 (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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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 (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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ 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;
+ };
+ };
+ };
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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 (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
+ * @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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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
+ * @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 (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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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 (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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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/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: {
+ 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
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "gallery/posts/show": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ postId: string;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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/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 (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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * get-online-users-count
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "get-online-users-count": {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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 (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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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 (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"];
+ };
+ };
+ };
+ };
+ /**
+ * hashtags/show
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "hashtags/show": {
+ requestBody: {
+ content: {
+ "application/json": {
+ tag: string;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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
+ * @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";
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * i
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * i/claim-achievement
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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";
+ };
+ };
+ };
+ 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/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 (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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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 (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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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" | "achievementEarned" | "app" | "test" | "pollVote" | "groupInvited")[];
+ excludeTypes?: ("note" | "follow" | "mention" | "reply" | "renote" | "quote" | "reaction" | "pollEnded" | "receiveFollowRequest" | "followRequestAccepted" | "achievementEarned" | "app" | "test" | "pollVote" | "groupInvited")[];
+ };
+ };
+ };
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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" | "achievementEarned" | "app" | "test" | "pollVote" | "groupInvited")[];
+ excludeTypes?: ("note" | "follow" | "mention" | "reply" | "renote" | "quote" | "reaction" | "pollEnded" | "receiveFollowRequest" | "followRequestAccepted" | "achievementEarned" | "app" | "test" | "pollVote" | "groupInvited")[];
+ };
+ };
+ };
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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 (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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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 (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"];
+ };
+ };
+ };
+ };
+ /**
+ * i/read-all-unread-notes
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ "i/read-all-unread-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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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 (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-all
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "i/registry/get-all": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** @default [] */
+ scope: string[];
+ domain?: 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"];
+ };
+ };
+ };
+ };
+ /**
+ * i/registry/get-detail
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "i/registry/get-detail": {
+ requestBody: {
+ content: {
+ "application/json": {
+ key: string;
+ /** @default [] */
+ scope: string[];
+ domain?: 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"];
+ };
+ };
+ };
+ };
+ /**
+ * i/registry/get
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "i/registry/get": {
+ requestBody: {
+ content: {
+ "application/json": {
+ key: string;
+ /** @default [] */
+ scope: string[];
+ domain?: 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"];
+ };
+ };
+ };
+ };
+ /**
+ * i/registry/keys-with-type
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "i/registry/keys-with-type": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** @default [] */
+ scope: string[];
+ domain?: 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"];
+ };
+ };
+ };
+ };
+ /**
+ * i/registry/keys
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "i/registry/keys": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** @default [] */
+ scope: string[];
+ domain?: 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"];
+ };
+ };
+ };
+ };
+ /**
+ * i/registry/remove
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "i/registry/remove": {
+ requestBody: {
+ content: {
+ "application/json": {
+ key: string;
+ /** @default [] */
+ scope: string[];
+ domain?: 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"];
+ };
+ };
+ };
+ };
+ /**
+ * i/registry/set
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "i/registry/set": {
+ requestBody: {
+ content: {
+ "application/json": {
+ key: string;
+ value: unknown;
+ /** @default [] */
+ scope: string[];
+ domain?: 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * i/update
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ "i/update": {
+ requestBody: {
+ content: {
+ "application/json": {
+ name?: string | null;
+ description?: 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;
+ })[];
+ /** 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;
+ isBot?: boolean;
+ isCat?: boolean;
+ injectFeaturedNote?: boolean;
+ receiveAnnouncementEmail?: boolean;
+ alwaysMarkNsfw?: boolean;
+ autoSensitive?: boolean;
+ /** @enum {string} */
+ ffVisibility?: "public" | "followers" | "private";
+ /** Format: misskey:id */
+ pinnedPageId?: string | null;
+ mutedWords?: (string[] | string)[];
+ hardMutedWords?: (string[] | string)[];
+ mutedInstances?: string[];
+ notificationRecieveConfig?: Record;
+ emailNotificationTypes?: string[];
+ alsoKnownAs?: string[];
+ };
+ };
+ };
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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 (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
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *read:account*
+ */
+ "i/webhooks/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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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 (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/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;
+ /** @default */
+ secret?: string;
+ on: ("mention" | "unfollow" | "follow" | "followed" | "note" | "reply" | "renote" | "reaction")[];
+ active: boolean;
+ };
+ };
+ };
+ 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/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 (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"];
+ };
+ };
+ };
+ };
+ /**
+ * invite/create
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "invite/create": {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": {
+ /** @example GR6S02ERUA5VR */
+ code: 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"];
+ };
+ };
+ };
+ };
+ /**
+ * invite/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "invite/delete": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ inviteId: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * invite/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * invite/limit
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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"];
+ };
+ };
+ };
+ };
+ /**
+ * meta
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ meta: {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** @default true */
+ detail?: boolean;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": {
+ maintainerName: string | null;
+ maintainerEmail: string | null;
+ version: string;
+ name: string;
+ 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;
+ /** @default https://github.com/misskey-dev/misskey/issues/new */
+ feedbackUrl: string;
+ defaultDarkTheme: string | null;
+ defaultLightTheme: string | null;
+ disableRegistration: boolean;
+ cacheRemoteFiles: boolean;
+ cacheRemoteSensitiveFiles: boolean;
+ emailRequiredForSignup: boolean;
+ enableHcaptcha: boolean;
+ hcaptchaSiteKey: string | null;
+ enableRecaptcha: boolean;
+ recaptchaSiteKey: string | null;
+ enableTurnstile: boolean;
+ turnstileSiteKey: string | null;
+ swPublickey: string | null;
+ /** @default /assets/ai.png */
+ mascotImageUrl: string;
+ bannerUrl: string;
+ serverErrorImageUrl: string | null;
+ infoImageUrl: string | null;
+ notFoundImageUrl: string | null;
+ iconUrl: string | null;
+ maxNoteTextLength: number;
+ ads: {
+ place: string;
+ /** Format: url */
+ url: string;
+ /** Format: url */
+ imageUrl: string;
+ }[];
+ /** @default 0 */
+ notesPerOneAd: number;
+ /** @example false */
+ requireSetup: boolean;
+ enableEmail: boolean;
+ enableServiceWorker: boolean;
+ translatorAvailable: boolean;
+ proxyAccountName: string | null;
+ mediaProxy: string;
+ features?: {
+ registration: boolean;
+ localTimeline: boolean;
+ globalTimeline: boolean;
+ hcaptcha: boolean;
+ recaptcha: boolean;
+ objectStorage: boolean;
+ serviceWorker: boolean;
+ /** @default true */
+ miauth?: boolean;
+ };
+ backgroundImageUrl: string | null;
+ impressumUrl: string | null;
+ logoImageUrl: string | null;
+ privacyPolicyUrl: string | null;
+ serverRules: string[];
+ themeColor: 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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"];
+ };
+ };
+ };
+ };
+ /**
+ * emoji
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ emoji: {
+ requestBody: {
+ content: {
+ "application/json": {
+ name: string;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ 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;
+ };
+ };
+ };
+ 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/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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * my/apps
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "my/apps": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** @default 10 */
+ limit?: number;
+ /** @default 0 */
+ offset?: number;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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 (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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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 (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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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 (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/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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * notes/hybrid-timeline
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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 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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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 false */
+ excludeNsfw?: 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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * notes/mentions
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * notes/polls/recommendation
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "notes/polls/recommendation": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** @default 10 */
+ limit?: number;
+ /** @default 0 */
+ offset?: number;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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/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 (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"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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/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;
+ };
+ };
+ };
+ 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/reactions/delete
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:reactions*
+ */
+ "notes/reactions/delete": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ noteId: 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"];
+ };
+ };
+ /** @description To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * notes/search-by-tag
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "notes/search-by-tag": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** @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;
+ tag?: string;
+ /** @description The outer arrays are chained with OR, the inner arrays are chained with AND. */
+ query?: string[][];
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * notes/show
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "notes/show": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ noteId: string;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * notes/state
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "notes/state": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ noteId: string;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ 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;
+ };
+ };
+ };
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ 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;
+ };
+ };
+ };
+ 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/timeline
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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 true */
+ includeMyRenotes?: boolean;
+ /** @default true */
+ includeRenotedMyNotes?: boolean;
+ /** @default true */
+ includeLocalRenotes?: boolean;
+ /** @default false */
+ withFiles?: boolean;
+ /** @default true */
+ withRenotes?: boolean;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * notes/translate
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "notes/translate": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ noteId: string;
+ targetLang: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": Record;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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/unrenote
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:notes*
+ */
+ "notes/unrenote": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ noteId: 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"];
+ };
+ };
+ /** @description To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * notes/user-list-timeline
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ 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"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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/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"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description I'm Ai */
+ 418: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ 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;
+ };
+ };
+ };
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ 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;
+ };
+ };
+ };
+ 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/featured
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "pages/featured": {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * pages/like
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:page-likes*
+ */
+ "pages/like": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ pageId: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * pages/unlike
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:page-likes*
+ */
+ "pages/unlike": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ pageId: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ 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;
+ };
+ };
+ };
+ 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 To many requests */
+ 429: {
+ 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[];
+ };
+ };
+ };
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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/featured
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "flash/featured": {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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/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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * flash/unlike
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:flash-likes*
+ */
+ "flash/unlike": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ flashId: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * 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: {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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 (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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ 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"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "promo/read": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ noteId: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * roles/list
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "roles/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"];
+ };
+ };
+ };
+ };
+ /**
+ * roles/show
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "roles/show": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ roleId: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * roles/notes
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * reset-db
+ * @description Only available when running with NODE_ENV=testing. 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"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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
+ * @description Complete the password reset that was previously requested.
+ *
+ * **Credential required**: *No*
+ */
+ "reset-password": {
+ requestBody: {
+ content: {
+ "application/json": {
+ token: string;
+ password: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * server-info
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "server-info": {
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ /** @description Client error */
+ 400: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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
+ * @description Check push notification registration exists.
+ *
+ * **Credential required**: *Yes*
+ */
+ "sw/show-registration": {
+ requestBody: {
+ content: {
+ "application/json": {
+ endpoint: string;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * sw/update-registration
+ * @description Update push notification registration.
+ *
+ * **Credential required**: *Yes*
+ */
+ "sw/update-registration": {
+ requestBody: {
+ content: {
+ "application/json": {
+ endpoint: string;
+ sendReadMessage?: boolean;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * sw/register
+ * @description Register to receive push notifications.
+ *
+ * **Credential required**: *Yes*
+ */
+ "sw/register": {
+ requestBody: {
+ content: {
+ "application/json": {
+ endpoint: string;
+ auth: string;
+ publickey: string;
+ /** @default false */
+ sendReadMessage?: boolean;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": {
+ /** @enum {string} */
+ state?: "already-subscribed" | "subscribed";
+ key: string | null;
+ 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * sw/unregister
+ * @description Unregister from receiving push notifications.
+ *
+ * **Credential required**: *No*
+ */
+ "sw/unregister": {
+ requestBody: {
+ content: {
+ "application/json": {
+ endpoint: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * username/available
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "username/available": {
+ requestBody: {
+ content: {
+ "application/json": {
+ username: string;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": {
+ available: 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
+ * @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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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
+ * @description Show everyone that follows this user.
+ *
+ * **Credential required**: *No*
+ */
+ "users/followers": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ userId?: 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"]["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"];
+ };
+ };
+ };
+ };
+ /**
+ * users/following
+ * @description Show everyone that this user is following.
+ *
+ * **Credential required**: *No*
+ */
+ "users/following": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ sinceId?: string;
+ /** Format: misskey:id */
+ untilId?: string;
+ /** @default 10 */
+ limit?: number;
+ /** Format: misskey:id */
+ userId?: 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"]["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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": {
+ user: components["schemas"]["UserDetailed"];
+ weight: 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/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;
+ };
+ };
+ };
+ 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/create
+ * @description Create a new list of users.
+ *
+ * **Credential required**: *Yes* / **Permission**: *write:account*
+ */
+ "users/lists/create": {
+ requestBody: {
+ content: {
+ "application/json": {
+ name: string;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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/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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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/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;
+ };
+ };
+ };
+ 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 To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * users/lists/favorite
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "users/lists/favorite": {
+ 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"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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/unfavorite
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "users/lists/unfavorite": {
+ 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"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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
+ * @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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * users/lists/create-from-public
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "users/lists/create-from-public": {
+ requestBody: {
+ content: {
+ "application/json": {
+ name: string;
+ /** Format: misskey:id */
+ listId: string;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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 (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/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;
+ };
+ };
+ };
+ 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/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 */
+ withFiles?: boolean;
+ /** @default false */
+ excludeNsfw?: boolean;
+ };
+ };
+ };
+ 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/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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * 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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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
+ * @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;
+ };
+ };
+ };
+ 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"];
+ };
+ };
+ };
+ };
+ /**
+ * users/relation
+ * @description Show the different kinds of relations between the authenticated user and the specified user(s).
+ *
+ * **Credential required**: *Yes*
+ */
+ "users/relation": {
+ requestBody: {
+ content: {
+ "application/json": {
+ userId: string | string[];
+ };
+ };
+ };
+ 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;
+ }[]]>;
+ };
+ };
+ /** @description Client error */
+ 400: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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
+ * @description File a report.
+ *
+ * **Credential required**: *Yes*
+ */
+ "users/report-abuse": {
+ requestBody: {
+ content: {
+ "application/json": {
+ /** Format: misskey:id */
+ userId: string;
+ comment: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ 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": {
+ /** @default 10 */
+ limit?: number;
+ /** @default true */
+ detail?: boolean;
+ username?: string | null;
+ host?: string | null;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": components["schemas"]["User"][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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
+ * @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;
+ };
+ };
+ };
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": components["schemas"]["User"][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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/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"][];
+ };
+ };
+ /** @description Client error */
+ 400: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "users/achievements": {
+ 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"];
+ };
+ };
+ /** @description Authentication error */
+ 401: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Forbidden error */
+ 403: {
+ content: {
+ "application/json": components["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
+ * @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;
+ };
+ };
+ };
+ 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
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ "fetch-rss": {
+ requestBody: {
+ content: {
+ "application/json": {
+ url: 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"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * fetch-external-resources
+ * @description No description provided.
+ *
+ * **Credential required**: *Yes*
+ */
+ "fetch-external-resources": {
+ requestBody: {
+ content: {
+ "application/json": {
+ url: string;
+ hash: 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"];
+ };
+ };
+ /** @description To many requests */
+ 429: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ /** @description Internal server error */
+ 500: {
+ content: {
+ "application/json": components["schemas"]["Error"];
+ };
+ };
+ };
+ };
+ /**
+ * retention
+ * @description No description provided.
+ *
+ * **Credential required**: *No*
+ */
+ retention: {
+ responses: {
+ /** @description OK (with results) */
+ 200: {
+ content: {
+ "application/json": 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"];
+ };
+ };
+ };
+ };
+}
diff --git a/packages/misskey-js/src/generator.ts b/packages/misskey-js/src/generator.ts
index 0d693a95da..7fd1be7e0e 100644
--- a/packages/misskey-js/src/generator.ts
+++ b/packages/misskey-js/src/generator.ts
@@ -216,6 +216,12 @@ async function main() {
const entitiesFileName = `${generatePath}/entities.ts`;
const endpointFileName = `${generatePath}/endpoint.ts`;
await generateEndpoints(openApiDocs, typeFileName, entitiesFileName, endpointFileName);
+
+ const meta = {
+ version: openApiDocs.info.version,
+ generatedAt: new Date().toUTCString(),
+ };
+ await writeFile('./src/autogen/meta.json', JSON.stringify(meta));
}
main();