forked from misskey-dev/misskey
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emoji picker folder (misskey-dev#12132) #112
Merged
Merged
Conversation
This file contains 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
「i18n.ts.other」や「/」始まりの場合壊れる
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
anatawa12
changed the title
Emoji picker folder
Emoji picker folder (misskey-dev#12132)
Nov 30, 2023
このPRによるapi.jsonの差分 差分はこちら--- base
+++ head
@@ -1,7 +1,7 @@
{
"openapi": "3.0.0",
"info": {
- "version": "2023.11.1-kinel.2",
+ "version": "2023.10.2",
"title": "Misskey API",
"x-logo": {
"url": "/static-assets/api-doc.png"
@@ -388,16 +388,6 @@
"optional": false,
"nullable": false
},
- "enableFanoutTimeline": {
- "type": "boolean",
- "optional": false,
- "nullable": false
- },
- "enableFanoutTimelineDbFallback": {
- "type": "boolean",
- "optional": false,
- "nullable": false
- },
"perLocalUserUserTimelineCacheMax": {
"type": "number",
"optional": false,
@@ -486,8 +476,6 @@
"enableIdenticonGeneration",
"manifestJsonOverride",
"policies",
- "enableFanoutTimeline",
- "enableFanoutTimelineDbFallback",
"perLocalUserUserTimelineCacheMax",
"perRemoteUserUserTimelineCacheMax",
"perUserHomeTimelineCacheMax",
@@ -752,11 +740,7 @@
"nullable": true,
"optional": true,
"ref": "User",
- "allOf": [
- {
- "$ref": "#/components/schemas/User"
- }
- ]
+ "$ref": "#/components/schemas/User"
}
},
"required": [
@@ -1200,162 +1184,6 @@
}
}
},
- "/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": [
- {
- "ApiKeyAuth": []
- }
- ],
- "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",
@@ -2109,10 +1937,6 @@
"type": "boolean",
"default": false
},
- "silence": {
- "type": "boolean",
- "default": false
- },
"needConfirmationToRead": {
"type": "boolean",
"default": false
@@ -2741,9 +2565,6 @@
"forExistingUsers": {
"type": "boolean"
},
- "silence": {
- "type": "boolean"
- },
"needConfirmationToRead": {
"type": "boolean"
},
@@ -2879,713 +2700,6 @@
}
}
},
- "/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": [
- {
- "ApiKeyAuth": []
- }
- ],
- "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": [
- {
- "ApiKeyAuth": []
- }
- ],
- "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": [
- {
- "ApiKeyAuth": []
- }
- ],
- "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
- }
- },
- "required": []
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK (with results)",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "optional": false,
- "nullable": false,
- "items": {
- "type": "object",
- "optional": false,
- "nullable": false,
- "properties": {
- "id": {
- "type": "string",
- "optional": false,
- "nullable": false,
- "format": "id",
- "example": "xxxxxxxxxx"
- },
- "createdAt": {
- "type": "string",
- "optional": false,
- "nullable": false,
- "format": "date-time"
- },
- "updatedAt": {
- "type": "string",
- "optional": false,
- "nullable": true,
- "format": "date-time"
- },
- "name": {
- "type": "string",
- "optional": false,
- "nullable": false
- },
- "description": {
- "type": "string",
- "optional": false,
- "nullable": false
- },
- "url": {
- "type": "string",
- "optional": false,
- "nullable": false
- },
- "roleIdsThatCanBeUsedThisDecoration": {
- "type": "array",
- "optional": false,
- "nullable": false,
- "items": {
- "type": "string",
- "optional": false,
- "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": [
- {
- "ApiKeyAuth": []
- }
- ],
- "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",
@@ -3734,302 +2848,6 @@
}
}
},
- "/admin/delete-user-avatar": {
- "post": {
- "operationId": "admin/delete-user-avatar",
- "summary": "admin/delete-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/delete-user-avatar.ts"
- },
- "tags": [
- "admin"
- ],
- "security": [
- {
- "ApiKeyAuth": []
- }
- ],
- "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/delete-user-banner": {
- "post": {
- "operationId": "admin/delete-user-banner",
- "summary": "admin/delete-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/delete-user-banner.ts"
- },
- "tags": [
- "admin"
- ],
- "security": [
- {
- "ApiKeyAuth": []
- }
- ],
- "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",
@@ -10067,172 +8885,6 @@
}
}
},
- "/admin/note-public-to-home": {
- "post": {
- "operationId": "admin/note-public-to-home",
- "summary": "admin/note-public-to-home",
- "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/note-public-to-home.ts"
- },
- "tags": [
- "admin"
- ],
- "security": [
- {
- "ApiKeyAuth": []
- }
- ],
- "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": {
- "NOTE_NOT_FOUND": {
- "value": {
- "error": {
- "message": "Note not found.",
- "code": "NOTE_NOT_FOUND",
- "id": "b107f543-27fb-4bac-9549-9bbb64d95e85"
- }
- }
- },
- "NOTE_NOT_PUBLIC": {
- "value": {
- "error": {
- "message": "Note is not public",
- "code": "NOTE_NOT_PUBLIC",
- "id": "561e3371-6ef1-457b-8fdc-736a6e914782"
- }
- }
- },
- "INVALID_PARAM": {
- "value": {
- "error": {
- "message": "Invalid param.",
- "code": "INVALID_PARAM",
- "id": "3d81ceae-475f-4600-b2a8-2bc116157532"
- }
- }
- }
- }
- }
- }
- },
- "401": {
- "description": "Authentication error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- },
- "examples": {
- "CREDENTIAL_REQUIRED": {
- "value": {
- "error": {
- "message": "Credential required.",
- "code": "CREDENTIAL_REQUIRED",
- "id": "1384574d-a912-4b81-8601-c7b1c4085df1"
- }
- }
- }
- }
- }
- }
- },
- "403": {
- "description": "Forbidden error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- },
- "examples": {
- "AUTHENTICATION_FAILED": {
- "value": {
- "error": {
- "message": "Authentication failed. Please ensure your token is correct.",
- "code": "AUTHENTICATION_FAILED",
- "id": "b0a7f5f8-dc2f-4171-b91f-de88ad238e14"
- }
- }
- }
- }
- }
- }
- },
- "418": {
- "description": "I'm Ai",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- },
- "examples": {
- "I_AM_AI": {
- "value": {
- "error": {
- "message": "You sent a request to Ai-chan, Misskey's showgirl, instead of the server.",
- "code": "I_AM_AI",
- "id": "60c46cd1-f23a-46b1-bebe-5d2b73951a84"
- }
- }
- }
- }
- }
- }
- },
- "500": {
- "description": "Internal server error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Error"
- },
- "examples": {
- "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",
@@ -12043,12 +10695,6 @@
"manifestJsonOverride": {
"type": "string"
},
- "enableFanoutTimeline": {
- "type": "boolean"
- },
- "enableFanoutTimelineDbFallback": {
- "type": "boolean"
- },
"perLocalUserUserTimelineCacheMax": {
"type": "integer"
},
@@ -17329,10 +15975,6 @@
"isSensitive": {
"type": "boolean",
"nullable": true
- },
- "allowRenoteToExternal": {
- "type": "boolean",
- "nullable": true
}
},
"required": [
@@ -18719,10 +17361,6 @@
"isSensitive": {
"type": "boolean",
"nullable": true
- },
- "allowRenoteToExternal": {
- "type": "boolean",
- "nullable": true
}
},
"required": [
@@ -29753,178 +28391,6 @@
}
}
},
- "/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": [
- {
- "ApiKeyAuth": []
- }
- ],
- "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",
@@ -32500,198 +30966,6 @@
}
}
},
- "/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"
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {},
- "required": []
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK (with results)",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "optional": false,
- "nullable": false,
- "items": {
- "type": "object",
- "optional": false,
- "nullable": false,
- "properties": {
- "id": {
- "type": "string",
- "optional": false,
- "nullable": false,
- "format": "id",
- "example": "xxxxxxxxxx"
- },
- "name": {
- "type": "string",
- "optional": false,
- "nullable": false
- },
- "description": {
- "type": "string",
- "optional": false,
- "nullable": false
- },
- "url": {
- "type": "string",
- "optional": false,
- "nullable": false
- },
- "roleIdsThatCanBeUsedThisDecoration": {
- "type": "array",
- "optional": false,
- "nullable": false,
- "items": {
- "type": "string",
- "optional": false,
- "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",
@@ -33840,8 +32114,7 @@
"setNameToSyuilo",
"cookieClicked",
"brainDiver",
- "smashTestNotificationButton",
- "tutorialCompleted"
+ "smashTestNotificationButton"
]
}
},
@@ -34740,249 +33013,6 @@
}
}
},
- "/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": [
- {
- "ApiKeyAuth": []
- }
- ],
- "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"
- ]
- }
- }
- },
- "required": []
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "OK (with results)",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "optional": false,
- "nullable": false,
- "items": {
- "type": "object",
- "optional": false,
- "nullable": false,
- "ref": "Notification",
- "$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",
@@ -35817,1123 +33847,6 @@
}
}
},
- "/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": [
- {
- "ApiKeyAuth": []
- }
- ],
- "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": [
- {
- "ApiKeyAuth": []
- }
- ],
- "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": [
- {
- "ApiKeyAuth": []
- }
- ],
- "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": [
- {
- "ApiKeyAuth": []
- }
- ],
- "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": [
- {
- "ApiKeyAuth": []
- }
- ],
- "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": [
- {
- "ApiKeyAuth": []
- }
- ],
- "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": [
- {
- "ApiKeyAuth": []
- }
- ],
- "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",
@@ -37382,32 +34295,6 @@
"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",
@@ -37489,36 +34376,7 @@
"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"
- }
- ]
- }
+ "type": "array"
},
"mutedInstances": {
"type": "array",
@@ -37833,24 +34691,16 @@
"on": {
"type": "array",
"items": {
- "oneOf": [
- {
- "type": "string",
- "enum": [
- "mention",
- "unfollow",
- "follow",
- "followed",
- "note",
- "reply",
- "renote",
- "reaction"
- ]
- },
- {
- "type": "string",
- "pattern": "^note@[a-zA-Z0-9]{1,20}$"
- }
+ "type": "string",
+ "enum": [
+ "mention",
+ "unfollow",
+ "follow",
+ "followed",
+ "note",
+ "reply",
+ "renote",
+ "reaction"
]
}
}
@@ -37885,15 +34735,6 @@
}
}
},
- "ADMIN_WEBHOOK_DENIED": {
- "value": {
- "error": {
- "message": "You cannot create webhook for other users.",
- "code": "ADMIN_WEBHOOK_DENIED",
- "id": "0d3321b1-6f66-41aa-9fbe-233c60ce19b0"
- }
- }
- },
"INVALID_PARAM": {
"value": {
"error": {
@@ -38338,24 +35179,16 @@
"on": {
"type": "array",
"items": {
- "oneOf": [
- {
- "type": "string",
- "enum": [
- "mention",
- "unfollow",
- "follow",
- "followed",
- "note",
- "reply",
- "renote",
- "reaction"
- ]
- },
- {
- "type": "string",
- "pattern": "^note@[a-zA-Z0-9]{1,20}$"
- }
+ "type": "string",
+ "enum": [
+ "mention",
+ "unfollow",
+ "follow",
+ "followed",
+ "note",
+ "reply",
+ "renote",
+ "reaction"
]
}
},
@@ -38395,15 +35228,6 @@
}
}
},
- "UPDATE_ADMIN_WEBHOOK_DENIED": {
- "value": {
- "error": {
- "message": "You cannot create webhook for other users.",
- "code": "UPDATE_ADMIN_WEBHOOK_DENIED",
- "id": "eb43c0c4-24a3-487d-b139-f3e4e58f87a4"
- }
- }
- },
"INVALID_PARAM": {
"value": {
"error": {
@@ -42143,7 +38967,6 @@
"cw": {
"type": "string",
"nullable": true,
- "minLength": 1,
"maxLength": 100
},
"localOnly": {
@@ -42348,15 +39171,6 @@
}
}
},
- "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": {
@@ -42402,15 +39216,6 @@
}
}
},
- "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": {
@@ -56974,6 +53779,10 @@
"untilDate": {
"type": "integer"
},
+ "includeMyRenotes": {
+ "type": "boolean",
+ "default": true
+ },
"withFiles": {
"type": "boolean",
"default": false
@@ -56981,9 +53790,6 @@
"excludeNsfw": {
"type": "boolean",
"default": false
- },
- "includeSensitiveChannel": {
- "type": "boolean"
}
},
"required": [
@@ -59340,196 +56146,6 @@
}
}
},
- "/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": [
- {
- "ApiKeyAuth": []
- }
- ],
- "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": {
"post": {
"operationId": "retention",
@@ -59746,44 +56362,6 @@
"nullable": true,
"optional": false
},
- "avatarDecorations": {
- "type": "array",
- "nullable": false,
- "optional": false,
- "items": {
- "type": "object",
- "nullable": false,
- "optional": false,
- "properties": {
- "id": {
- "type": "string",
- "nullable": false,
- "optional": false,
- "format": "id"
- },
- "url": {
- "type": "string",
- "format": "url",
- "nullable": false,
- "optional": false
- },
- "angle": {
- "type": "number",
- "nullable": false,
- "optional": true
- },
- "flipH": {
- "type": "boolean",
- "nullable": false,
- "optional": true
- }
- },
- "required": [
- "id",
- "url"
- ]
- }
- },
"isAdmin": {
"type": "boolean",
"nullable": false,
@@ -59826,7 +56404,6 @@
"host",
"avatarUrl",
"avatarBlurhash",
- "avatarDecorations",
"onlineStatus"
]
},
@@ -60016,11 +56593,7 @@
"nullable": true,
"optional": false,
"ref": "Page",
- "allOf": [
- {
- "$ref": "#/components/schemas/Page"
- }
- ]
+ "$ref": "#/components/schemas/Page"
},
"publicReactions": {
"type": "boolean",
@@ -60243,11 +56816,6 @@
"nullable": false,
"optional": false
},
- "unreadNotificationsCount": {
- "type": "number",
- "nullable": false,
- "optional": false
- },
"mutedWords": {
"type": "array",
"nullable": false,
@@ -60263,21 +56831,6 @@
}
}
},
- "hardMutedWords": {
- "type": "array",
- "nullable": false,
- "optional": false,
- "items": {
- "type": "array",
- "nullable": false,
- "optional": false,
- "items": {
- "type": "string",
- "nullable": false,
- "optional": false
- }
- }
- },
"mutedInstances": {
"type": "array",
"nullable": true,
@@ -60345,9 +56898,7 @@
"hasUnreadAntenna",
"hasUnreadNotification",
"hasPendingReceivedFollowRequest",
- "unreadNotificationsCount",
"mutedWords",
- "hardMutedWords",
"mutedInstances",
"notificationRecieveConfig",
"emailNotificationTypes"
@@ -60647,22 +57198,14 @@
"optional": true,
"nullable": true,
"ref": "Note",
- "allOf": [
- {
- "$ref": "#/components/schemas/Note"
- }
- ]
+ "$ref": "#/components/schemas/Note"
},
"renote": {
"type": "object",
"optional": true,
"nullable": true,
"ref": "Note",
- "allOf": [
- {
- "$ref": "#/components/schemas/Note"
- }
- ]
+ "$ref": "#/components/schemas/Note"
},
"isHidden": {
"type": "boolean",
@@ -60912,7 +57455,8 @@
"type": "string",
"optional": false,
"nullable": false,
- "format": "id"
+ "format": "id",
+ "example": "xxxxxxxxxx"
},
"createdAt": {
"type": "string",
@@ -60937,9 +57481,7 @@
"followRequestAccepted",
"achievementEarned",
"app",
- "test",
- "reaction:grouped",
- "renote:grouped"
+ "test"
]
},
"user": {
@@ -60947,11 +57489,7 @@
"ref": "UserLite",
"optional": true,
"nullable": true,
- "allOf": [
- {
- "$ref": "#/components/schemas/UserLite"
- }
- ]
+ "$ref": "#/components/schemas/UserLite"
},
"userId": {
"type": "string",
@@ -60964,11 +57502,7 @@
"ref": "Note",
"optional": true,
"nullable": true,
- "allOf": [
- {
- "$ref": "#/components/schemas/Note"
- }
- ]
+ "$ref": "#/components/schemas/Note"
},
"reaction": {
"type": "string",
@@ -60999,43 +57533,6 @@
"type": "string",
"optional": true,
"nullable": true
- },
- "reactions": {
- "type": "array",
- "optional": true,
- "nullable": true,
- "items": {
- "type": "object",
- "properties": {
- "user": {
- "type": "object",
- "ref": "UserLite",
- "optional": false,
- "nullable": false,
- "$ref": "#/components/schemas/UserLite"
- },
- "reaction": {
- "type": "string",
- "optional": false,
- "nullable": false
- }
- },
- "required": [
- "user",
- "reaction"
- ]
- }
- }
- },
- "users": {
- "type": "array",
- "optional": true,
- "nullable": true,
- "items": {
- "type": "object",
- "ref": "UserLite",
- "optional": false,
- "nullable": false
}
},
"required": [
@@ -61156,11 +57653,7 @@
"optional": true,
"nullable": true,
"ref": "DriveFolder",
- "allOf": [
- {
- "$ref": "#/components/schemas/DriveFolder"
- }
- ]
+ "$ref": "#/components/schemas/DriveFolder"
},
"userId": {
"type": "string",
@@ -61174,11 +57667,7 @@
"optional": true,
"nullable": true,
"ref": "UserLite",
- "allOf": [
- {
- "$ref": "#/components/schemas/UserLite"
- }
- ]
+ "$ref": "#/components/schemas/UserLite"
}
},
"required": [
@@ -61241,11 +57730,7 @@
"optional": true,
"nullable": true,
"ref": "DriveFolder",
- "allOf": [
- {
- "$ref": "#/components/schemas/DriveFolder"
- }
- ]
+ "$ref": "#/components/schemas/DriveFolder"
}
},
"required": [
@@ -61282,11 +57767,7 @@
"optional": true,
"nullable": false,
"ref": "UserDetailed",
- "allOf": [
- {
- "$ref": "#/components/schemas/UserDetailed"
- }
- ]
+ "$ref": "#/components/schemas/UserDetailed"
},
"followerId": {
"type": "string",
@@ -61299,11 +57780,7 @@
"optional": true,
"nullable": false,
"ref": "UserDetailed",
- "allOf": [
- {
- "$ref": "#/components/schemas/UserDetailed"
- }
- ]
+ "$ref": "#/components/schemas/UserDetailed"
}
},
"required": [
@@ -61514,22 +57991,14 @@
"optional": false,
"nullable": true,
"ref": "UserLite",
- "allOf": [
- {
- "$ref": "#/components/schemas/UserLite"
- }
- ]
+ "$ref": "#/components/schemas/UserLite"
},
"usedBy": {
"type": "object",
"optional": false,
"nullable": true,
"ref": "UserLite",
- "allOf": [
- {
- "$ref": "#/components/schemas/UserLite"
- }
- ]
+ "$ref": "#/components/schemas/UserLite"
},
"usedAt": {
"type": "string",
@@ -61715,11 +58184,6 @@
"type": "boolean",
"optional": false,
"nullable": false
- },
- "allowRenoteToExternal": {
- "type": "boolean",
- "optional": false,
- "nullable": false
}
},
"required": [
@@ -61735,8 +58199,7 @@
"userId",
"pinnedNoteIds",
"color",
- "isSensitive",
- "allowRenoteToExternal"
+ "isSensitive"
]
},
"QueueCount": {
@@ -62105,12 +58568,6 @@
"optional": false,
"nullable": true,
"format": "date-time"
- },
- "latestRequestReceivedAt": {
- "type": "string",
- "optional": false,
- "nullable": true,
- "format": "date-time"
}
},
"required": [
@@ -62135,8 +58592,7 @@
"faviconUrl",
"themeColor",
"isSilenced",
- "infoUpdatedAt",
- "latestRequestReceivedAt"
+ "infoUpdatedAt"
]
},
"GalleryPost": { |
あんまり分からなかったので任せます |
OK〜 |
Closed
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.
What
misskey-dev#12132
Why
Additional info (optional)
Checklist