Repository navigation
upstream: 2026.9.1 - #13
Open
sync-agent[bot] wants to merge 632 commits into
Open
sync-agent[bot] wants to merge 632 commits into
sync-agent[bot] wants to merge 632 commits into
Conversation
* feat: BullMQのジョブ追加時に発動する手動計測の追加 * add comment
…skey-dev#17708) * perf(frontend): タイムラインのリアルタイム更新のアニメーションでTransitionGroupを使用しないように * fix * wip * fix * fix * Update Changelog * spdx * remove unnecessary css declaration
* enhance: impl logger core * fix order
* enhance: 構造化ログAPIと正規化 * fix changelog * fixed copilot review * fixed coderabbit review
* wip * Update measure-frontend-browser-comparison.mts * Update frontend-browser-report.mts * Update frontend-browser-report.mts * Update frontend-browser-report.mts * Update frontend-browser-report.mts * Update frontend-browser-report.mts * Update frontend-browser-report.mts * Update frontend-browser-report.mts * refactor * fix * Update chrome.mts * refactor * wip * fix * Update frontend-browser-metrics-report.yml * Update frontend-browser-report.mts * refactor * wip * Update frontend-browser-report.mts * wip * wip * wip * Revert "wip" This reverts commit ce76570. * Update frontend-browser-metrics-report.yml * Update frontend-browser-report.mts * Update frontend-browser-report.mts * Update frontend-browser-report.mts * playwright * Update chrome.mts * refactor * wip * Update measure-frontend-browser-comparison.mts * clean up * Update measure-frontend-browser-comparison.mts * fix * Update chrome.mts * refactor * Update frontend-browser-metrics-report.yml
New translations ja-jp.yml (French) [ci skip]
* fix(backend/test): e2eテストのカバレッジが正しく記録されない問題を修正 * fix * fix * test * fix * perf * fix: カバレッジ計測はメインのnode環境でのみ行うように
* misskey-dev#11850 の非同期エラー処理をPlay・ウィジェットにも追加 * AiScriptコンソールとScratchpadでエラーがログとして出力されるように
* fix(backend): チャートの保持上限に達した場合記録に失敗し続ける問題を修正 * fix(backend): サーバー間リクエストのチャートの保持上限を緩和 * Update Changelog * fix: カラムは広げない
* fix: make `isVisibleForMe` not require relations Actually, `note.reply.userId` check can be covered by `note.mentions` since `NoteCreateService` adds reply user to `note.mentions`. * chore: use `getNote` in `notes/reactions`
* fix(frontend): MFMでカスタム絵文字の再描画が走る問題を修正 * Update changelog
* fix: run shipping lint without Windows command shim * refactor: use execa for shipping commands * refactor: drop shipping command wrapper tests
* New translations ja-jp.yml (Ukrainian) [ci skip] * New translations ja-jp.yml (Ukrainian) [ci skip] * New translations ja-jp.yml (Ukrainian) [ci skip] * New translations ja-jp.yml (Ukrainian) [ci skip] * New translations ja-jp.yml (Ukrainian) [ci skip] * New translations ja-jp.yml (Ukrainian) [ci skip] * New translations ja-jp.yml (Russian) [ci skip] * New translations ja-jp.yml (Russian) [ci skip] * New translations ja-jp.yml (Russian) [ci skip] * New translations ja-jp.yml (English) [ci skip] * New translations ja-jp.yml (Russian) [ci skip] * New translations ja-jp.yml (Ukrainian) [ci skip] * New translations ja-jp.yml (English) [ci skip] * New translations ja-jp.yml (Italian) [ci skip] * New translations ja-jp.yml (Ukrainian) [ci skip] * New translations ja-jp.yml (Russian) [ci skip] * New translations ja-jp.yml (English) [ci skip] * New translations ja-jp.yml (Ukrainian) [ci skip] * New translations ja-jp.yml (Russian) [ci skip] * New translations ja-jp.yml (Ukrainian) [ci skip] * New translations ja-jp.yml (Russian) [ci skip] * New translations ja-jp.yml (Ukrainian) [ci skip] * New translations ja-jp.yml (Ukrainian) [ci skip] * New translations ja-jp.yml (Russian) [ci skip] * New translations ja-jp.yml (Russian) [ci skip] * New translations ja-jp.yml (Russian) [ci skip] * New translations ja-jp.yml (Russian) [ci skip] * New translations ja-jp.yml (Russian) [ci skip] * New translations ja-jp.yml (Ukrainian) [ci skip] * New translations ja-jp.yml (Russian) [ci skip] * New translations ja-jp.yml (Russian) [ci skip] * New translations ja-jp.yml (Russian) [ci skip] * New translations ja-jp.yml (English) [ci skip] * New translations ja-jp.yml (Chinese Simplified) [ci skip] * New translations ja-jp.yml (English) [ci skip]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix: harden update-remote-user * fix
fix(backend): SQLの取り扱いを強化
|
このPRによるapi.jsonの差分 差分はこちら--- base
+++ head
@@ -1,7 +1,7 @@
{
"openapi": "3.1.0",
"info": {
- "version": "2026.3.2",
+ "version": "2026.9.1",
"title": "Misskey API"
},
"externalDocs": {
@@ -3318,6 +3318,12 @@
"items": {
"type": "string"
}
+ },
+ "category": {
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -3367,6 +3373,12 @@
"type": "string",
"format": "id"
}
+ },
+ "category": {
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -3376,7 +3388,8 @@
"name",
"description",
"url",
- "roleIdsThatCanBeUsedThisDecoration"
+ "roleIdsThatCanBeUsedThisDecoration",
+ "category"
]
}
}
@@ -3735,6 +3748,12 @@
"type": "string",
"format": "id"
}
+ },
+ "category": {
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -3903,6 +3922,12 @@
"items": {
"type": "string"
}
+ },
+ "category": {
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -9720,6 +9745,24 @@
"enableSensitiveMediaDetectionForVideos": {
"type": "boolean"
},
+ "sensitiveMediaDetectionApiUrl": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sensitiveMediaDetectionApiKey": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sensitiveMediaDetectionTimeout": {
+ "type": "number"
+ },
+ "sensitiveMediaDetectionMaxImagesPerRequest": {
+ "type": "number"
+ },
"proxyAccountId": {
"type": "string",
"format": "id"
@@ -10047,6 +10090,12 @@
"null"
]
},
+ "urlPreviewSensitiveList": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
"federation": {
"type": "string",
"enum": [
@@ -10155,6 +10204,10 @@
"sensitiveMediaDetectionSensitivity",
"setSensitiveFlagAutomatically",
"enableSensitiveMediaDetectionForVideos",
+ "sensitiveMediaDetectionApiUrl",
+ "sensitiveMediaDetectionApiKey",
+ "sensitiveMediaDetectionTimeout",
+ "sensitiveMediaDetectionMaxImagesPerRequest",
"proxyAccountId",
"email",
"smtpSecure",
@@ -10227,6 +10280,7 @@
"urlPreviewRequireContentLength",
"urlPreviewUserAgent",
"urlPreviewSummaryProxyUrl",
+ "urlPreviewSensitiveList",
"federation",
"federationHosts",
"deliverSuspendedSoftware",
@@ -11051,8 +11105,7 @@
"wait",
"delayed",
"completed",
- "failed",
- "paused"
+ "failed"
]
}
},
@@ -11190,6 +11243,165 @@
}
}
},
+ "/admin/queue/pause": {
+ "post": {
+ "operationId": "post___admin___queue___pause",
+ "summary": "admin/queue/pause",
+ "description": "No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:admin:queue*",
+ "externalDocs": {
+ "description": "Source code",
+ "url": "https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/queue/pause.ts"
+ },
+ "tags": [
+ "admin"
+ ],
+ "security": [
+ {
+ "bearerAuth": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "queue": {
+ "type": "string",
+ "enum": [
+ "system",
+ "endedPollNotification",
+ "postScheduledNote",
+ "deliver",
+ "inbox",
+ "db",
+ "relationship",
+ "objectStorage",
+ "userWebhookDeliver",
+ "systemWebhookDeliver"
+ ]
+ }
+ },
+ "required": [
+ "queue"
+ ]
+ }
+ }
+ }
+ },
+ "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/promote-jobs": {
"post": {
"operationId": "post___admin___queue___promote-jobs",
@@ -11996,6 +12208,165 @@
}
}
},
+ "/admin/queue/resume": {
+ "post": {
+ "operationId": "post___admin___queue___resume",
+ "summary": "admin/queue/resume",
+ "description": "No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:admin:queue*",
+ "externalDocs": {
+ "description": "Source code",
+ "url": "https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/queue/resume.ts"
+ },
+ "tags": [
+ "admin"
+ ],
+ "security": [
+ {
+ "bearerAuth": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "queue": {
+ "type": "string",
+ "enum": [
+ "system",
+ "endedPollNotification",
+ "postScheduledNote",
+ "deliver",
+ "inbox",
+ "db",
+ "relationship",
+ "objectStorage",
+ "userWebhookDeliver",
+ "systemWebhookDeliver"
+ ]
+ }
+ },
+ "required": [
+ "queue"
+ ]
+ }
+ }
+ }
+ },
+ "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/retry-job": {
"post": {
"operationId": "post___admin___queue___retry-job",
@@ -12506,7 +12877,7 @@
"post": {
"operationId": "post___admin___queue___stats",
"summary": "admin/queue/stats",
- "description": "No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:admin:emoji*",
+ "description": "No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:admin:queue*",
"externalDocs": {
"description": "Source code",
"url": "https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/queue/stats.ts"
@@ -13220,6 +13591,24 @@
"$ref": "#/components/schemas/Error"
},
"examples": {
+ "NO_SUCH_USER": {
+ "value": {
+ "error": {
+ "message": "No such user.",
+ "code": "NO_SUCH_USER",
+ "id": "ccafc7fe-5074-4edd-9dc0-8ef9ef6a701d"
+ }
+ }
+ },
+ "ACCESS_DENIED": {
+ "value": {
+ "error": {
+ "message": "Access denied.",
+ "code": "ACCESS_DENIED",
+ "id": "cda8f8ce-89a6-4f92-8055-33bbe0c1464d"
+ }
+ }
+ },
"INVALID_PARAM": {
"value": {
"error": {
@@ -18160,6 +18549,172 @@
}
}
},
+ "/admin/unset-mfa": {
+ "post": {
+ "operationId": "post___admin___unset-mfa",
+ "summary": "admin/unset-mfa",
+ "description": "No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:admin:unset-mfa*",
+ "externalDocs": {
+ "description": "Source code",
+ "url": "https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/unset-mfa.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": {
+ "NO_SUCH_USER": {
+ "value": {
+ "error": {
+ "message": "No such user.",
+ "code": "NO_SUCH_USER",
+ "id": "ccafc7fe-5074-4edd-9dc0-8ef9ef6a701d"
+ }
+ }
+ },
+ "ACCESS_DENIED": {
+ "value": {
+ "error": {
+ "message": "Access denied.",
+ "code": "ACCESS_DENIED",
+ "id": "cda8f8ce-89a6-4f92-8055-33bbe0c1464d"
+ }
+ }
+ },
+ "INVALID_PARAM": {
+ "value": {
+ "error": {
+ "message": "Invalid param.",
+ "code": "INVALID_PARAM",
+ "id": "3d81ceae-475f-4600-b2a8-2bc116157532"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "Authentication error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "CREDENTIAL_REQUIRED": {
+ "value": {
+ "error": {
+ "message": "Credential required.",
+ "code": "CREDENTIAL_REQUIRED",
+ "id": "1384574d-a912-4b81-8601-c7b1c4085df1"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "AUTHENTICATION_FAILED": {
+ "value": {
+ "error": {
+ "message": "Authentication failed. Please ensure your token is correct.",
+ "code": "AUTHENTICATION_FAILED",
+ "id": "b0a7f5f8-dc2f-4171-b91f-de88ad238e14"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "418": {
+ "description": "I'm Ai",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "I_AM_AI": {
+ "value": {
+ "error": {
+ "message": "You sent a request to Ai-chan, Misskey's showgirl, instead of the server.",
+ "code": "I_AM_AI",
+ "id": "60c46cd1-f23a-46b1-bebe-5d2b73951a84"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "Internal server error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "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": "post___admin___unset-user-avatar",
@@ -19074,6 +19629,26 @@
"enableSensitiveMediaDetectionForVideos": {
"type": "boolean"
},
+ "sensitiveMediaDetectionApiUrl": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sensitiveMediaDetectionApiKey": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sensitiveMediaDetectionTimeout": {
+ "type": "integer",
+ "minimum": 1
+ },
+ "sensitiveMediaDetectionMaxImagesPerRequest": {
+ "type": "integer",
+ "minimum": 1
+ },
"maintainerName": {
"type": [
"string",
@@ -19394,6 +19969,15 @@
"null"
]
},
+ "urlPreviewSensitiveList": {
+ "type": [
+ "array",
+ "null"
+ ],
+ "items": {
+ "type": "string"
+ }
+ },
"federation": {
"type": "string",
"enum": [
@@ -20944,6 +21528,168 @@
}
}
},
+ "/antennas/remove-note": {
+ "post": {
+ "operationId": "post___antennas___remove-note",
+ "summary": "antennas/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/antennas/remove-note.ts"
+ },
+ "tags": [
+ "antennas"
+ ],
+ "security": [
+ {
+ "bearerAuth": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "antennaId": {
+ "type": "string",
+ "format": "misskey:id"
+ },
+ "noteId": {
+ "type": "string",
+ "format": "misskey:id"
+ }
+ },
+ "required": [
+ "antennaId",
+ "noteId"
+ ]
+ }
+ }
+ }
+ },
+ "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": "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": "post___antennas___show",
@@ -24475,6 +25221,15 @@
}
}
},
+ "ALREADY_FOLLOWING": {
+ "value": {
+ "error": {
+ "message": "You are already following that channel.",
+ "code": "ALREADY_FOLLOWING",
+ "id": "7db31665-651e-40c1-8e6e-28e9ad829a2d"
+ }
+ }
+ },
"INVALID_PARAM": {
"value": {
"error": {
@@ -44927,7 +45682,7 @@
"post": {
"operationId": "post___federation___update-remote-user",
"summary": "federation/update-remote-user",
- "description": "No description provided.\n\n**Credential required**: *No*",
+ "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/federation/update-remote-user.ts"
@@ -44935,6 +45690,11 @@
"tags": [
"federation"
],
+ "security": [
+ {
+ "bearerAuth": []
+ }
+ ],
"requestBody": {
"required": true,
"content": {
@@ -45042,6 +45802,27 @@
}
}
},
+ "429": {
+ "description": "Too 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": {
@@ -45649,6 +46430,38 @@
"$ref": "#/components/schemas/Error"
},
"examples": {
+ "INVALID_URL": {
+ "value": {
+ "error": {
+ "message": "Invalid URL.",
+ "code": "INVALID_URL",
+ "id": "89b7ee05-ccfc-4bdd-9b13-61172fd1e06c",
+ "httpStatusCode": 400
+ }
+ }
+ },
+ "FETCH_RSS_FAILED": {
+ "value": {
+ "error": {
+ "message": "Failed to fetch RSS.",
+ "code": "FETCH_RSS_FAILED",
+ "id": "8db5d3d8-31d7-452f-b0cc-ca3b8925de12",
+ "kind": "server",
+ "httpStatusCode": 422
+ }
+ }
+ },
+ "FETCH_RSS_UNAVAILABLE": {
+ "value": {
+ "error": {
+ "message": "RSS fetching is temporarily unavailable.",
+ "code": "FETCH_RSS_UNAVAILABLE",
+ "id": "91e6ff44-c63f-4725-9ad0-b7a40d7f7655",
+ "kind": "server",
+ "httpStatusCode": 503
+ }
+ }
+ },
"INVALID_PARAM": {
"value": {
"error": {
@@ -45725,6 +46538,27 @@
}
}
},
+ "429": {
+ "description": "Too 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": {
@@ -45949,6 +46783,38 @@
"$ref": "#/components/schemas/Error"
},
"examples": {
+ "INVALID_URL": {
+ "value": {
+ "error": {
+ "message": "Invalid URL.",
+ "code": "INVALID_URL",
+ "id": "89b7ee05-ccfc-4bdd-9b13-61172fd1e06c",
+ "httpStatusCode": 400
+ }
+ }
+ },
+ "FETCH_RSS_FAILED": {
+ "value": {
+ "error": {
+ "message": "Failed to fetch RSS.",
+ "code": "FETCH_RSS_FAILED",
+ "id": "8db5d3d8-31d7-452f-b0cc-ca3b8925de12",
+ "kind": "server",
+ "httpStatusCode": 422
+ }
+ }
+ },
+ "FETCH_RSS_UNAVAILABLE": {
+ "value": {
+ "error": {
+ "message": "RSS fetching is temporarily unavailable.",
+ "code": "FETCH_RSS_UNAVAILABLE",
+ "id": "91e6ff44-c63f-4725-9ad0-b7a40d7f7655",
+ "kind": "server",
+ "httpStatusCode": 503
+ }
+ }
+ },
"INVALID_PARAM": {
"value": {
"error": {
@@ -46025,6 +46891,27 @@
}
}
},
+ "429": {
+ "description": "Too 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": {
@@ -48446,6 +49333,181 @@
}
}
},
+ "/following/list": {
+ "post": {
+ "operationId": "post___following___list",
+ "summary": "following/list",
+ "description": "List of following users\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/list.ts"
+ },
+ "tags": [
+ "users"
+ ],
+ "security": [
+ {
+ "bearerAuth": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "notification": {
+ "type": "boolean",
+ "default": false
+ },
+ "sinceId": {
+ "type": "string",
+ "format": "misskey:id"
+ },
+ "untilId": {
+ "type": "string",
+ "format": "misskey:id"
+ },
+ "sinceDate": {
+ "type": "integer"
+ },
+ "untilDate": {
+ "type": "integer"
+ },
+ "limit": {
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 100,
+ "default": 10
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "OK (with results)",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$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"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"/following/requests/accept": {
"post": {
"operationId": "post___following___requests___accept",
@@ -51264,6 +52326,12 @@
"type": "string",
"format": "id"
}
+ },
+ "category": {
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -53553,186 +54621,7 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "rp": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- }
- }
- },
- "user": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "displayName": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "displayName"
- ]
- },
- "challenge": {
- "type": "string"
- },
- "pubKeyCredParams": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "type": {
- "type": "string"
- },
- "alg": {
- "type": "number"
- }
- },
- "required": [
- "type",
- "alg"
- ]
- }
- },
- "timeout": {
- "type": [
- "number",
- "null"
- ]
- },
- "excludeCredentials": {
- "type": [
- "array",
- "null"
- ],
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "transports": {
- "type": "array",
- "items": {
- "type": "string",
- "enum": [
- "ble",
- "cable",
- "hybrid",
- "internal",
- "nfc",
- "smart-card",
- "usb"
- ]
- }
- }
- },
- "required": [
- "id",
- "type",
- "transports"
- ]
- }
- },
- "authenticatorSelection": {
- "type": [
- "object",
- "null"
- ],
- "properties": {
- "authenticatorAttachment": {
- "type": "string",
- "enum": [
- "cross-platform",
- "platform"
- ]
- },
- "requireResidentKey": {
- "type": "boolean"
- },
- "userVerification": {
- "type": "string",
- "enum": [
- "discouraged",
- "preferred",
- "required"
- ]
- }
- },
- "required": [
- "authenticatorAttachment",
- "requireResidentKey",
- "userVerification"
- ]
- },
- "attestation": {
- "type": [
- "string",
- "null"
- ],
- "enum": [
- "direct",
- "enterprise",
- "indirect",
- "none",
- null
- ]
- },
- "extensions": {
- "type": [
- "object",
- "null"
- ],
- "properties": {
- "appid": {
- "type": [
- "string",
- "null"
- ]
- },
- "credProps": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "hmacCreateSecret": {
- "type": [
- "boolean",
- "null"
- ]
- }
- },
- "required": [
- "appid",
- "credProps",
- "hmacCreateSecret"
- ]
- }
- },
- "required": [
- "rp",
- "user",
- "challenge",
- "pubKeyCredParams",
- "timeout",
- "excludeCredentials",
- "authenticatorSelection",
- "attestation",
- "extensions"
- ]
+ "type": "object"
}
}
}
@@ -60925,16 +61814,11 @@
"post": {
"operationId": "post___i___revoke-token",
"summary": "i/revoke-token",
- "description": "No description provided.\n\n**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.\n**Credential required**: *Yes*",
+ "description": "Revoke an access token of the authenticated user. Requires credential. When called with an access token (third-party app), only the token currently in use can be revoked.\n\n**Credential required**: *No*",
"externalDocs": {
"description": "Source code",
"url": "https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/i/revoke-token.ts"
},
- "security": [
- {
- "bearerAuth": []
- }
- ],
"requestBody": {
"required": true,
"content": {
@@ -60984,6 +61868,26 @@
"$ref": "#/components/schemas/Error"
},
"examples": {
+ "CREDENTIAL_REQUIRED": {
+ "value": {
+ "error": {
+ "message": "Credential required.",
+ "code": "CREDENTIAL_REQUIRED",
+ "id": "6f1f0d3a-3d5b-4b1f-9c3e-2a6d1e5b8c47",
+ "httpStatusCode": 401
+ }
+ }
+ },
+ "PERMISSION_DENIED": {
+ "value": {
+ "error": {
+ "message": "Permission denied.",
+ "code": "PERMISSION_DENIED",
+ "id": "fc20d118-5705-4462-b6c5-2b5b43092cf3",
+ "httpStatusCode": 403
+ }
+ }
+ },
"INVALID_PARAM": {
"value": {
"error": {
@@ -70615,192 +71519,6 @@
}
},
"/notes/reactions": {
- "get": {
- "operationId": "get___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",
- "null"
- ]
- },
- "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": [
- "noteId"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK (with results)",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$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": "post___notes___reactions",
"summary": "notes/reactions",
@@ -71740,6 +72458,18 @@
"query": {
"type": "string"
},
+ "rangeStartAt": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "rangeEndAt": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
"sinceId": {
"type": "string",
"format": "misskey:id"
@@ -72737,6 +73467,15 @@
}
}
},
+ "ALREADY_MUTING": {
+ "value": {
+ "error": {
+ "message": "You are already muting that thread.",
+ "code": "ALREADY_MUTING",
+ "id": "c146e22d-1141-4b31-b28d-176371014d18"
+ }
+ }
+ },
"INVALID_PARAM": {
"value": {
"error": {
@@ -79805,6 +80544,9 @@
"originalUsersCount": {
"type": "number"
},
+ "reactionsCount": {
+ "type": "number"
+ },
"instances": {
"type": "number"
},
@@ -79820,6 +80562,7 @@
"originalNotesCount",
"usersCount",
"originalUsersCount",
+ "reactionsCount",
"instances",
"driveUsageLocal",
"driveUsageRemote"
@@ -92888,6 +93631,9 @@
"canHideAds": {
"type": "boolean"
},
+ "canCreateChannel": {
+ "type": "boolean"
+ },
"driveCapacityMb": {
"type": "integer"
},
@@ -92984,6 +93730,7 @@
"canSearchUsers",
"canUseTranslator",
"canHideAds",
+ "canCreateChannel",
"driveCapacityMb",
"maxFileSizeMb",
"uploadableFileTypes", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
今回のアップデートでは重大な脆弱性を修正しています。可及的速やかにアップデートしてください。
This update contains serious vulnerability fixes. Please update to this or the latest version of Misskey as soon as possible.
General
Client
Server
Content-Lengthが正しく設定されず、動画再生が始まらない問題を修正