-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
New Crowdin updates #12101
Merged
Merged
New Crowdin updates #12101
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
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #12101 +/- ##
===========================================
- Coverage 79.23% 79.20% -0.03%
===========================================
Files 930 939 +9
Lines 99564 100686 +1122
Branches 8108 8203 +95
===========================================
+ Hits 78887 79753 +866
- Misses 20677 20933 +256 ☔ View full report in Codecov by Sentry. |
このPRによるapi.jsonの差分 差分はこちら--- base
+++ head
@@ -1,7 +1,7 @@
{
"openapi": "3.0.0",
"info": {
- "version": "2023.11.0-beta.3",
+ "version": "2023.10.2",
"title": "Misskey API",
"x-logo": {
"url": "/static-assets/api-doc.png"
@@ -388,11 +388,6 @@
"optional": false,
"nullable": false
},
- "enableFanoutTimeline": {
- "type": "boolean",
- "optional": false,
- "nullable": false
- },
"perLocalUserUserTimelineCacheMax": {
"type": "number",
"optional": false,
@@ -481,7 +476,6 @@
"enableIdenticonGeneration",
"manifestJsonOverride",
"policies",
- "enableFanoutTimeline",
"perLocalUserUserTimelineCacheMax",
"perRemoteUserUserTimelineCacheMax",
"perUserHomeTimelineCacheMax",
@@ -746,11 +740,7 @@
"nullable": true,
"optional": true,
"ref": "User",
- "allOf": [
- {
- "$ref": "#/components/schemas/User"
- }
- ]
+ "$ref": "#/components/schemas/User"
}
},
"required": [
@@ -2710,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",
@@ -11412,9 +10695,6 @@
"manifestJsonOverride": {
"type": "string"
},
- "enableFanoutTimeline": {
- "type": "boolean"
- },
"perLocalUserUserTimelineCacheMax": {
"type": "integer"
},
@@ -29111,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",
@@ -31858,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",
@@ -35379,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",
@@ -57256,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",
@@ -57662,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,
@@ -57742,7 +56404,6 @@
"host",
"avatarUrl",
"avatarBlurhash",
- "avatarDecorations",
"onlineStatus"
]
},
@@ -57932,11 +56593,7 @@
"nullable": true,
"optional": false,
"ref": "Page",
- "allOf": [
- {
- "$ref": "#/components/schemas/Page"
- }
- ]
+ "$ref": "#/components/schemas/Page"
},
"publicReactions": {
"type": "boolean",
@@ -58541,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",
@@ -58840,11 +57489,7 @@
"ref": "UserLite",
"optional": true,
"nullable": true,
- "allOf": [
- {
- "$ref": "#/components/schemas/UserLite"
- }
- ]
+ "$ref": "#/components/schemas/UserLite"
},
"userId": {
"type": "string",
@@ -58857,11 +57502,7 @@
"ref": "Note",
"optional": true,
"nullable": true,
- "allOf": [
- {
- "$ref": "#/components/schemas/Note"
- }
- ]
+ "$ref": "#/components/schemas/Note"
},
"reaction": {
"type": "string",
@@ -59012,11 +57653,7 @@
"optional": true,
"nullable": true,
"ref": "DriveFolder",
- "allOf": [
- {
- "$ref": "#/components/schemas/DriveFolder"
- }
- ]
+ "$ref": "#/components/schemas/DriveFolder"
},
"userId": {
"type": "string",
@@ -59030,11 +57667,7 @@
"optional": true,
"nullable": true,
"ref": "UserLite",
- "allOf": [
- {
- "$ref": "#/components/schemas/UserLite"
- }
- ]
+ "$ref": "#/components/schemas/UserLite"
}
},
"required": [
@@ -59097,11 +57730,7 @@
"optional": true,
"nullable": true,
"ref": "DriveFolder",
- "allOf": [
- {
- "$ref": "#/components/schemas/DriveFolder"
- }
- ]
+ "$ref": "#/components/schemas/DriveFolder"
}
},
"required": [
@@ -59138,11 +57767,7 @@
"optional": true,
"nullable": false,
"ref": "UserDetailed",
- "allOf": [
- {
- "$ref": "#/components/schemas/UserDetailed"
- }
- ]
+ "$ref": "#/components/schemas/UserDetailed"
},
"followerId": {
"type": "string",
@@ -59155,11 +57780,7 @@
"optional": true,
"nullable": false,
"ref": "UserDetailed",
- "allOf": [
- {
- "$ref": "#/components/schemas/UserDetailed"
- }
- ]
+ "$ref": "#/components/schemas/UserDetailed"
}
},
"required": [
@@ -59370,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", |
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.
No description provided.