This repository was archived by the owner on Sep 19, 2025. It is now read-only.
Merged
Conversation
|
このPRによるapi.jsonの差分 差分はこちら--- base
+++ head
@@ -1,7 +1,7 @@
{
"openapi": "3.1.0",
"info": {
- "version": "2025.5.0-shahu.1.10.3",
+ "version": "2025.6.0-shahu.1.10.3",
"title": "Misskey API"
},
"externalDocs": {
@@ -77,7 +77,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/AbuseReportNotificationRecipient"
}
}
@@ -416,7 +415,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/AbuseReportNotificationRecipient"
}
}
@@ -573,7 +571,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/AbuseReportNotificationRecipient"
}
}
@@ -766,7 +763,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/AbuseReportNotificationRecipient"
}
}
@@ -1020,21 +1016,18 @@
"format": "id"
},
"reporter": {
- "type": "object",
"$ref": "#/components/schemas/UserDetailedNotMe"
},
"targetUser": {
- "type": "object",
"$ref": "#/components/schemas/UserDetailedNotMe"
},
"assignee": {
- "type": [
- "object",
- "null"
- ],
- "allOf": [
+ "oneOf": [
{
"$ref": "#/components/schemas/UserDetailedNotMe"
+ },
+ {
+ "type": "null"
}
]
},
@@ -1232,7 +1225,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"properties": {
"token": {
"type": "string"
@@ -1561,7 +1553,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/UserDetailedNotMe"
}
}
@@ -1759,7 +1750,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/Ad"
}
}
@@ -2088,7 +2078,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Ad"
}
}
@@ -5126,7 +5115,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/DriveFile"
}
}
@@ -5263,23 +5251,26 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "fileId": {
- "type": "string",
- "format": "misskey:id"
- },
- "url": {
- "type": "string"
- }
- },
"anyOf": [
{
+ "type": "object",
+ "properties": {
+ "fileId": {
+ "type": "string",
+ "format": "misskey:id"
+ }
+ },
"required": [
"fileId"
]
},
{
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ }
+ },
"required": [
"url"
]
@@ -5664,7 +5655,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/EmojiDetailed"
}
}
@@ -7682,62 +7672,74 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "format": "misskey:id"
- },
- "name": {
- "type": "string",
- "pattern": "^[a-zA-Z0-9_]+$"
- },
- "fileId": {
- "type": "string",
- "format": "misskey:id"
- },
- "category": {
- "type": [
- "string",
- "null"
- ],
- "description": "Use `null` to reset the category."
- },
- "aliases": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "license": {
- "type": [
- "string",
- "null"
- ]
- },
- "isSensitive": {
- "type": "boolean"
- },
- "localOnly": {
- "type": "boolean"
- },
- "roleIdsThatCanBeUsedThisEmojiAsReaction": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "anyOf": [
+ "allOf": [
{
- "required": [
- "id"
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "format": "misskey:id"
+ }
+ },
+ "required": [
+ "id"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9_]+$"
+ }
+ },
+ "required": [
+ "name"
+ ]
+ }
]
},
{
- "required": [
- "name"
- ]
+ "type": "object",
+ "properties": {
+ "fileId": {
+ "type": "string",
+ "format": "misskey:id"
+ },
+ "category": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "description": "Use `null` to reset the category."
+ },
+ "aliases": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "license": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "isSensitive": {
+ "type": "boolean"
+ },
+ "localOnly": {
+ "type": "boolean"
+ },
+ "roleIdsThatCanBeUsedThisEmojiAsReaction": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
}
]
}
@@ -9164,7 +9166,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/InviteCode"
}
}
@@ -9354,7 +9355,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/InviteCode"
}
}
@@ -10011,6 +10011,9 @@
"urlPreviewEnabled": {
"type": "boolean"
},
+ "urlPreviewAllowRedirect": {
+ "type": "boolean"
+ },
"urlPreviewTimeout": {
"type": "number"
},
@@ -10064,6 +10067,26 @@
]
}
},
+ "singleUserMode": {
+ "type": "boolean"
+ },
+ "ugcVisibilityForVisitor": {
+ "type": "string",
+ "enum": [
+ "all",
+ "local",
+ "none"
+ ]
+ },
+ "proxyRemoteFiles": {
+ "type": "boolean"
+ },
+ "signToActivityPubGet": {
+ "type": "boolean"
+ },
+ "allowExternalApRedirect": {
+ "type": "boolean"
+ },
"customSplashText": {
"type": "array",
"items": {
@@ -10191,6 +10214,7 @@
"uri",
"version",
"urlPreviewEnabled",
+ "urlPreviewAllowRedirect",
"urlPreviewTimeout",
"urlPreviewMaximumContentLength",
"urlPreviewRequireContentLength",
@@ -10199,6 +10223,11 @@
"federation",
"federationHosts",
"deliverSuspendedSoftware",
+ "singleUserMode",
+ "ugcVisibilityForVisitor",
+ "proxyRemoteFiles",
+ "signToActivityPubGet",
+ "allowExternalApRedirect",
"customSplashText",
"serverGeminiEnabled",
"serverGeminiApiKey",
@@ -11017,7 +11046,8 @@
"wait",
"delayed",
"completed",
- "failed"
+ "failed",
+ "paused"
]
}
},
@@ -11034,8 +11064,18 @@
}
},
"responses": {
- "204": {
- "description": "OK (without any results)"
+ "200": {
+ "description": "OK (with results)",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/QueueJob"
+ }
+ }
+ }
+ }
},
"400": {
"description": "Client error",
@@ -11354,8 +11394,148 @@
}
},
"responses": {
- "204": {
- "description": "OK (without any results)"
+ "200": {
+ "description": "OK (with results)",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "enum": [
+ "system",
+ "endedPollNotification",
+ "deliver",
+ "inbox",
+ "db",
+ "relationship",
+ "objectStorage",
+ "userWebhookDeliver",
+ "systemWebhookDeliver",
+ "scheduleNotePost",
+ "scheduledNoteDelete"
+ ]
+ },
+ "qualifiedName": {
+ "type": "string"
+ },
+ "counts": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "number"
+ }
+ },
+ "isPaused": {
+ "type": "boolean"
+ },
+ "metrics": {
+ "type": "object",
+ "properties": {
+ "completed": {
+ "$ref": "#/components/schemas/QueueMetrics"
+ },
+ "failed": {
+ "$ref": "#/components/schemas/QueueMetrics"
+ }
+ },
+ "required": [
+ "completed",
+ "failed"
+ ]
+ },
+ "db": {
+ "type": "object",
+ "properties": {
+ "version": {
+ "type": "string"
+ },
+ "mode": {
+ "type": "string",
+ "enum": [
+ "cluster",
+ "standalone",
+ "sentinel"
+ ]
+ },
+ "runId": {
+ "type": "string"
+ },
+ "processId": {
+ "type": "string"
+ },
+ "port": {
+ "type": "number"
+ },
+ "os": {
+ "type": "string"
+ },
+ "uptime": {
+ "type": "number"
+ },
+ "memory": {
+ "type": "object",
+ "properties": {
+ "total": {
+ "type": "number"
+ },
+ "used": {
+ "type": "number"
+ },
+ "fragmentationRatio": {
+ "type": "number"
+ },
+ "peak": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "total",
+ "used",
+ "fragmentationRatio",
+ "peak"
+ ]
+ },
+ "clients": {
+ "type": "object",
+ "properties": {
+ "blocked": {
+ "type": "number"
+ },
+ "connected": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "blocked",
+ "connected"
+ ]
+ }
+ },
+ "required": [
+ "version",
+ "mode",
+ "runId",
+ "processId",
+ "port",
+ "os",
+ "uptime",
+ "memory",
+ "clients"
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "qualifiedName",
+ "counts",
+ "isPaused",
+ "metrics",
+ "db"
+ ]
+ }
+ }
+ }
},
"400": {
"description": "Client error",
@@ -11483,8 +11663,66 @@
}
],
"responses": {
- "204": {
- "description": "OK (without any results)"
+ "200": {
+ "description": "OK (with results)",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "enum": [
+ "system",
+ "endedPollNotification",
+ "deliver",
+ "inbox",
+ "db",
+ "relationship",
+ "objectStorage",
+ "userWebhookDeliver",
+ "systemWebhookDeliver",
+ "scheduleNotePost",
+ "scheduledNoteDelete"
+ ]
+ },
+ "counts": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "number"
+ }
+ },
+ "isPaused": {
+ "type": "boolean"
+ },
+ "metrics": {
+ "type": "object",
+ "properties": {
+ "completed": {
+ "$ref": "#/components/schemas/QueueMetrics"
+ },
+ "failed": {
+ "$ref": "#/components/schemas/QueueMetrics"
+ }
+ },
+ "required": [
+ "completed",
+ "failed"
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "counts",
+ "isPaused",
+ "metrics"
+ ]
+ }
+ }
+ }
+ }
},
"400": {
"description": "Client error",
@@ -11975,8 +12213,15 @@
}
},
"responses": {
- "204": {
- "description": "OK (without any results)"
+ "200": {
+ "description": "OK (with results)",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/QueueJob"
+ }
+ }
+ }
},
"400": {
"description": "Client error",
@@ -13366,7 +13611,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/Role"
}
}
@@ -13662,7 +13906,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Role"
}
}
@@ -13819,7 +14062,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/Role"
}
}
@@ -15149,7 +15391,6 @@
"format": "id"
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserDetailedNotMe"
}
},
@@ -16057,13 +16298,11 @@
}
},
"policies": {
- "type": "object",
"$ref": "#/components/schemas/RolePolicies"
},
"roles": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Role"
}
},
@@ -16328,7 +16567,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/UserDetailed"
}
}
@@ -16664,7 +16902,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/SystemWebhook"
}
}
@@ -16979,7 +17216,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/SystemWebhook"
}
}
@@ -17136,7 +17372,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/SystemWebhook"
}
}
@@ -17539,7 +17774,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/SystemWebhook"
}
}
@@ -18848,6 +19082,9 @@
"urlPreviewEnabled": {
"type": "boolean"
},
+ "urlPreviewAllowRedirect": {
+ "type": "boolean"
+ },
"urlPreviewTimeout": {
"type": "integer"
},
@@ -18901,6 +19138,26 @@
]
}
},
+ "singleUserMode": {
+ "type": "boolean"
+ },
+ "ugcVisibilityForVisitor": {
+ "type": "string",
+ "enum": [
+ "all",
+ "local",
+ "none"
+ ]
+ },
+ "proxyRemoteFiles": {
+ "type": "boolean"
+ },
+ "signToActivityPubGet": {
+ "type": "boolean"
+ },
+ "allowExternalApRedirect": {
+ "type": "boolean"
+ },
"customSplashText": {
"type": [
"array",
@@ -19082,7 +19339,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/UserDetailed"
}
}
@@ -19398,7 +19654,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Announcement"
}
}
@@ -19550,7 +19805,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/Announcement"
}
}
@@ -19791,7 +20045,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/Antenna"
}
}
@@ -20114,7 +20367,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Antenna"
}
}
@@ -20293,7 +20545,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -20459,7 +20710,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/Antenna"
}
}
@@ -20688,7 +20938,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/Antenna"
}
}
@@ -21056,7 +21305,6 @@
]
},
"object": {
- "type": "object",
"$ref": "#/components/schemas/UserDetailedNotMe"
}
},
@@ -21075,7 +21323,6 @@
]
},
"object": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
},
@@ -21317,7 +21564,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/App"
}
}
@@ -21468,7 +21714,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/App"
}
}
@@ -21961,7 +22206,6 @@
"format": "id"
},
"app": {
- "type": "object",
"$ref": "#/components/schemas/App"
},
"token": {
@@ -22140,7 +22384,6 @@
"type": "string"
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserDetailedNotMe"
}
},
@@ -22329,7 +22572,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/UserDetailedNotMe"
}
}
@@ -22533,7 +22775,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/UserDetailedNotMe"
}
}
@@ -22746,7 +22987,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Blocking"
}
}
@@ -22906,12 +23146,7 @@
"type": "integer"
},
"user": {
- "type": "object",
- "allOf": [
- {
- "$ref": "#/components/schemas/UserLite"
- }
- ]
+ "$ref": "#/components/schemas/UserLite"
}
},
"required": [
@@ -23074,12 +23309,7 @@
"type": "integer"
},
"user": {
- "type": "object",
- "allOf": [
- {
- "$ref": "#/components/schemas/UserLite"
- }
- ]
+ "$ref": "#/components/schemas/UserLite"
}
},
"required": [
@@ -23481,7 +23711,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/Channel"
}
}
@@ -23802,7 +24031,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Channel"
}
}
@@ -24125,7 +24353,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Channel"
}
}
@@ -24265,7 +24492,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Channel"
}
}
@@ -24431,7 +24657,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Channel"
}
}
@@ -24606,7 +24831,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Channel"
}
}
@@ -24758,7 +24982,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/Channel"
}
}
@@ -24944,7 +25167,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -25482,7 +25704,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/Channel"
}
}
@@ -31642,7 +31863,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/ChatMessage"
}
}
@@ -31810,7 +32030,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/ChatMessageLiteForRoom"
}
}
@@ -32025,7 +32244,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/ChatMessageLiteFor1on1"
}
}
@@ -32581,7 +32799,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/ChatMessageLiteForRoom"
}
}
@@ -32770,7 +32987,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/ChatMessage"
}
}
@@ -32936,7 +33152,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/ChatMessage"
}
}
@@ -33278,7 +33493,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/ChatMessageLiteFor1on1"
}
}
@@ -33448,7 +33662,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/ChatRoom"
}
}
@@ -33787,7 +34000,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/ChatRoomInvitation"
}
}
@@ -34139,7 +34351,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/ChatRoomInvitation"
}
}
@@ -34312,7 +34523,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/ChatRoomInvitation"
}
}
@@ -34644,7 +34854,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/ChatRoomMembership"
}
}
@@ -34974,7 +35183,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/ChatRoomMembership"
}
}
@@ -35310,7 +35518,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/ChatRoom"
}
}
@@ -35467,7 +35674,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/ChatRoom"
}
}
@@ -35640,7 +35846,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/ChatRoom"
}
}
@@ -36027,7 +36232,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/Clip"
}
}
@@ -36498,7 +36702,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Clip"
}
}
@@ -36638,7 +36841,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Clip"
}
}
@@ -36806,7 +37008,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -37138,7 +37339,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/Clip"
}
}
@@ -37484,7 +37684,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/Clip"
}
}
@@ -37836,7 +38035,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/DriveFile"
}
}
@@ -38009,7 +38207,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -38361,7 +38558,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/DriveFile"
}
}
@@ -38412,6 +38608,15 @@
}
}
},
+ "UNALLOWED_FILE_TYPE": {
+ "value": {
+ "error": {
+ "message": "Cannot upload the file because it is an unallowed file type.",
+ "code": "UNALLOWED_FILE_TYPE",
+ "id": "4becd248-7f2c-48c4-a9f0-75edc4f9a1ea"
+ }
+ }
+ },
"INVALID_PARAM": {
"value": {
"error": {
@@ -38750,7 +38955,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/DriveFile"
}
}
@@ -38908,7 +39112,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/DriveFile"
}
}
@@ -39023,14 +39226,14 @@
}
}
},
- "/drive/files/show": {
+ "/drive/files/move-bulk": {
"post": {
- "operationId": "post___drive___files___show",
- "summary": "drive/files/show",
- "description": "Show the properties of a drive file.\n\n**Credential required**: *Yes* / **Permission**: *read:drive*",
+ "operationId": "post___drive___files___move-bulk",
+ "summary": "drive/files/move-bulk",
+ "description": "No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:drive*",
"externalDocs": {
"description": "Source code",
- "url": "https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/drive/files/show.ts"
+ "url": "https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/drive/files/move-bulk.ts"
},
"tags": [
"drive"
@@ -39047,21 +39250,185 @@
"schema": {
"type": "object",
"properties": {
- "fileId": {
- "type": "string",
- "format": "misskey:id"
+ "fileIds": {
+ "type": "array",
+ "uniqueItems": true,
+ "minItems": 1,
+ "maxItems": 100,
+ "items": {
+ "type": "string",
+ "format": "misskey:id"
+ }
},
- "url": {
- "type": "string"
+ "folderId": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "misskey:id"
+ }
+ },
+ "required": [
+ "fileIds"
+ ]
+ }
+ }
+ }
+ },
+ "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"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/drive/files/show": {
+ "post": {
+ "operationId": "post___drive___files___show",
+ "summary": "drive/files/show",
+ "description": "Show the properties of a drive file.\n\n**Credential required**: *Yes* / **Permission**: *read:drive*",
+ "externalDocs": {
+ "description": "Source code",
+ "url": "https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/drive/files/show.ts"
+ },
+ "tags": [
+ "drive"
+ ],
+ "security": [
+ {
+ "bearerAuth": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
"anyOf": [
{
+ "type": "object",
+ "properties": {
+ "fileId": {
+ "type": "string",
+ "format": "misskey:id"
+ }
+ },
"required": [
"fileId"
]
},
{
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ }
+ },
"required": [
"url"
]
@@ -39077,7 +39444,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/DriveFile"
}
}
@@ -39271,7 +39637,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/DriveFile"
}
}
@@ -39688,7 +40053,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/DriveFolder"
}
}
@@ -39850,7 +40214,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/DriveFolder"
}
}
@@ -40211,7 +40574,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/DriveFolder"
}
}
@@ -40368,7 +40730,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/DriveFolder"
}
}
@@ -40544,7 +40905,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/DriveFolder"
}
}
@@ -40740,7 +41100,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/DriveFile"
}
}
@@ -41055,7 +41414,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/EmojiDetailed"
}
}
@@ -41203,7 +41561,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/EmojiDetailed"
}
}
@@ -41340,7 +41697,6 @@
"emojis": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/EmojiSimple"
}
}
@@ -41481,7 +41837,6 @@
"emojis": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/EmojiSimple"
}
}
@@ -42118,7 +42473,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Following"
}
}
@@ -42285,7 +42639,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Following"
}
}
@@ -42514,7 +42867,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/FederationInstance"
}
}
@@ -42741,7 +43093,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/FederationInstance"
}
}
@@ -42892,13 +43243,12 @@
"content": {
"application/json": {
"schema": {
- "type": [
- "object",
- "null"
- ],
- "allOf": [
+ "oneOf": [
{
"$ref": "#/components/schemas/FederationInstance"
+ },
+ {
+ "type": "null"
}
]
}
@@ -43057,7 +43407,6 @@
"topSubInstances": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/FederationInstance"
}
},
@@ -43067,7 +43416,6 @@
"topPubInstances": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/FederationInstance"
}
},
@@ -43232,7 +43580,6 @@
"topSubInstances": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/FederationInstance"
}
},
@@ -43242,7 +43589,6 @@
"topPubInstances": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/FederationInstance"
}
},
@@ -43563,7 +43909,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/UserDetailedNotMe"
}
}
@@ -44553,7 +44898,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/Flash"
}
}
@@ -44897,7 +45241,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Flash"
}
}
@@ -45238,7 +45581,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Flash"
}
}
@@ -45411,7 +45753,6 @@
"format": "id"
},
"flash": {
- "type": "object",
"$ref": "#/components/schemas/Flash"
}
},
@@ -45569,7 +45910,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/Flash"
}
}
@@ -46112,7 +46452,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
}
}
@@ -46334,7 +46673,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
}
}
@@ -46777,7 +47115,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
}
}
@@ -47147,7 +47484,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
}
}
@@ -47576,11 +47912,9 @@
"format": "id"
},
"follower": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"followee": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
}
},
@@ -47917,11 +48251,9 @@
"format": "id"
},
"follower": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"followee": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
}
},
@@ -48095,7 +48427,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
}
}
@@ -48471,7 +48802,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/GalleryPost"
}
}
@@ -48606,7 +48936,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/GalleryPost"
}
}
@@ -48767,7 +49096,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/GalleryPost"
}
}
@@ -48945,7 +49273,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/GalleryPost"
}
}
@@ -49458,7 +49785,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/GalleryPost"
}
}
@@ -49813,7 +50139,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/GalleryPost"
}
}
@@ -50458,7 +50783,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Hashtag"
}
}
@@ -50771,7 +51095,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/Hashtag"
}
}
@@ -51271,7 +51594,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/UserDetailed"
}
}
@@ -51409,7 +51731,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/MeDetailed"
}
}
@@ -55247,7 +55568,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/NoteFavorite"
}
}
@@ -55420,7 +55740,6 @@
"format": "id"
},
"post": {
- "type": "object",
"$ref": "#/components/schemas/GalleryPost"
}
},
@@ -55592,7 +55911,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/GalleryPost"
}
}
@@ -57057,7 +57375,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Notification"
}
}
@@ -57310,7 +57627,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Notification"
}
}
@@ -57504,7 +57820,6 @@
"format": "id"
},
"page": {
- "type": "object",
"$ref": "#/components/schemas/Page"
}
},
@@ -57676,7 +57991,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Page"
}
}
@@ -57833,7 +58147,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/MeDetailed"
}
}
@@ -59624,26 +59937,29 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "tokenId": {
- "type": "string",
- "format": "misskey:id"
- },
- "token": {
- "type": [
- "string",
- "null"
- ]
- }
- },
"anyOf": [
{
+ "type": "object",
+ "properties": {
+ "tokenId": {
+ "type": "string",
+ "format": "misskey:id"
+ }
+ },
"required": [
"tokenId"
]
},
{
+ "type": "object",
+ "properties": {
+ "token": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
"required": [
"token"
]
@@ -59813,7 +60129,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Signin"
}
}
@@ -59970,7 +60285,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/MeDetailed"
}
}
@@ -61272,7 +61586,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/MeDetailed"
}
}
@@ -61566,7 +61879,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/MeDetailed"
}
}
@@ -62986,7 +63298,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/InviteCode"
}
}
@@ -63482,7 +63793,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/InviteCode"
}
}
@@ -63634,11 +63944,9 @@
"type": "object",
"oneOf": [
{
- "type": "object",
"$ref": "#/components/schemas/MetaLite"
},
{
- "type": "object",
"$ref": "#/components/schemas/MetaDetailed"
}
]
@@ -64374,7 +64682,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Muting"
}
}
@@ -64536,7 +64843,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/App"
}
}
@@ -64713,7 +65019,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -64881,7 +65186,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -65035,7 +65339,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Clip"
}
}
@@ -65208,7 +65511,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -65564,7 +65866,6 @@
"type": "object",
"properties": {
"createdNote": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
},
@@ -66428,7 +66729,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -66590,7 +66890,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -66765,7 +67064,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -66974,7 +67272,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -67383,7 +67680,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -67574,7 +67870,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -67740,7 +68035,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -68120,7 +68414,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/NoteReaction"
}
}
@@ -68301,7 +68594,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/NoteReaction"
}
}
@@ -68853,7 +69145,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -69030,7 +69321,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -69912,12 +70202,10 @@
"visibleUsers": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
}
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/User"
},
"reactionAcceptance": {
@@ -70171,7 +70459,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -70312,76 +70599,88 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "reply": {
- "type": [
- "boolean",
- "null"
- ],
- "default": null
- },
- "renote": {
- "type": [
- "boolean",
- "null"
- ],
- "default": null
- },
- "withFiles": {
- "type": "boolean",
- "default": false,
- "description": "Only show notes that have attached files."
- },
- "poll": {
- "type": [
- "boolean",
- "null"
- ],
- "default": null
- },
- "sinceId": {
- "type": "string",
- "format": "misskey:id"
- },
- "untilId": {
- "type": "string",
- "format": "misskey:id"
- },
- "limit": {
- "type": "integer",
- "minimum": 1,
- "maximum": 100,
- "default": 10
- },
- "tag": {
- "type": "string",
- "minLength": 1
- },
- "query": {
- "type": "array",
- "description": "The outer arrays are chained with OR, the inner arrays are chained with AND.",
- "items": {
- "type": "array",
- "items": {
- "type": "string",
- "minLength": 1
- },
- "minItems": 1
- },
- "minItems": 1
- }
- },
- "anyOf": [
+ "allOf": [
{
- "required": [
- "tag"
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "tag": {
+ "type": "string",
+ "minLength": 1
+ }
+ },
+ "required": [
+ "tag"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "query": {
+ "type": "array",
+ "description": "The outer arrays are chained with OR, the inner arrays are chained with AND.",
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "minLength": 1
+ },
+ "minItems": 1
+ },
+ "minItems": 1
+ }
+ },
+ "required": [
+ "query"
+ ]
+ }
]
},
{
- "required": [
- "query"
- ]
+ "type": "object",
+ "properties": {
+ "reply": {
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "default": null
+ },
+ "renote": {
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "default": null
+ },
+ "withFiles": {
+ "type": "boolean",
+ "default": false,
+ "description": "Only show notes that have attached files."
+ },
+ "poll": {
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "default": null
+ },
+ "sinceId": {
+ "type": "string",
+ "format": "misskey:id"
+ },
+ "untilId": {
+ "type": "string",
+ "format": "misskey:id"
+ },
+ "limit": {
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 100,
+ "default": 10
+ }
+ }
}
]
}
@@ -70396,7 +70695,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -70548,7 +70846,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -70680,6 +70977,186 @@
}
}
},
+ "/notes/show-partial-bulk": {
+ "post": {
+ "operationId": "post___notes___show-partial-bulk",
+ "summary": "notes/show-partial-bulk",
+ "description": "No description provided.\n\n**Credential required**: *No*",
+ "externalDocs": {
+ "description": "Source code",
+ "url": "https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/notes/show-partial-bulk.ts"
+ },
+ "tags": [
+ "notes"
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "noteIds": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "format": "misskey:id"
+ },
+ "maxItems": 100,
+ "minItems": 1
+ }
+ },
+ "required": [
+ "noteIds"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "OK (with results)",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "reactions": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "number"
+ }
+ },
+ "reactionEmojis": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "id",
+ "reactions",
+ "reactionEmojis"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "Client error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "INVALID_PARAM": {
+ "value": {
+ "error": {
+ "message": "Invalid param.",
+ "code": "INVALID_PARAM",
+ "id": "3d81ceae-475f-4600-b2a8-2bc116157532"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "Authentication error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "CREDENTIAL_REQUIRED": {
+ "value": {
+ "error": {
+ "message": "Credential required.",
+ "code": "CREDENTIAL_REQUIRED",
+ "id": "1384574d-a912-4b81-8601-c7b1c4085df1"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "AUTHENTICATION_FAILED": {
+ "value": {
+ "error": {
+ "message": "Authentication failed. Please ensure your token is correct.",
+ "code": "AUTHENTICATION_FAILED",
+ "id": "b0a7f5f8-dc2f-4171-b91f-de88ad238e14"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "418": {
+ "description": "I'm Ai",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "I_AM_AI": {
+ "value": {
+ "error": {
+ "message": "You sent a request to Ai-chan, Misskey's showgirl, instead of the server.",
+ "code": "I_AM_AI",
+ "id": "60c46cd1-f23a-46b1-bebe-5d2b73951a84"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "Internal server error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "INTERNAL_ERROR": {
+ "value": {
+ "error": {
+ "message": "Internal error occurred. Please contact us if the error persists.",
+ "code": "INTERNAL_ERROR",
+ "id": "5d37dbcb-891e-41ca-a3d6-e690c97775ac"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"/notes/state": {
"post": {
"operationId": "post___notes___state",
@@ -71263,7 +71740,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -71846,7 +72322,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -72813,7 +73288,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/Page"
}
}
@@ -73152,7 +73626,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Page"
}
}
@@ -73459,26 +73932,29 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "pageId": {
- "type": "string",
- "format": "misskey:id"
- },
- "name": {
- "type": "string"
- },
- "username": {
- "type": "string"
- }
- },
"anyOf": [
{
+ "type": "object",
+ "properties": {
+ "pageId": {
+ "type": "string",
+ "format": "misskey:id"
+ }
+ },
"required": [
"pageId"
]
},
{
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ }
+ },
"required": [
"name",
"username"
@@ -73495,7 +73971,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/Page"
}
}
@@ -74199,7 +74674,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/UserDetailed"
}
}
@@ -74893,7 +75367,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/RenoteMuting"
}
}
@@ -76248,12 +76721,7 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "allOf": [
- {
- "$ref": "#/components/schemas/ReversiGameDetailed"
- }
- ]
+ "$ref": "#/components/schemas/ReversiGameDetailed"
}
}
}
@@ -76421,7 +76889,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/ReversiGameDetailed"
}
}
@@ -76760,13 +77227,12 @@
"type": "boolean"
},
"game": {
- "type": [
- "object",
- "null"
- ],
- "allOf": [
+ "oneOf": [
{
"$ref": "#/components/schemas/ReversiGameDetailed"
+ },
+ {
+ "type": "null"
}
]
}
@@ -76920,7 +77386,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Role"
}
}
@@ -77099,7 +77564,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -77260,7 +77724,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/Role"
}
}
@@ -77443,7 +77906,6 @@
"format": "misskey:id"
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserDetailed"
}
},
@@ -79224,7 +79686,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/UserDetailed"
}
}
@@ -79542,7 +80003,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Clip"
}
}
@@ -79706,7 +80166,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -79868,7 +80327,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -80036,7 +80494,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Flash"
}
}
@@ -80168,48 +80625,60 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "sinceId": {
- "type": "string",
- "format": "misskey:id"
- },
- "untilId": {
- "type": "string",
- "format": "misskey:id"
- },
- "limit": {
- "type": "integer",
- "minimum": 1,
- "maximum": 100,
- "default": 10
- },
- "userId": {
- "type": "string",
- "format": "misskey:id"
- },
- "username": {
- "type": "string"
- },
- "host": {
- "type": [
- "string",
- "null"
- ],
- "description": "The local host is represented with `null`."
- }
- },
- "anyOf": [
+ "allOf": [
{
- "required": [
- "userId"
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "format": "misskey:id"
+ }
+ },
+ "required": [
+ "userId"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "username": {
+ "type": "string"
+ },
+ "host": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "description": "The local host is represented with `null`."
+ }
+ },
+ "required": [
+ "username",
+ "host"
+ ]
+ }
]
},
{
- "required": [
- "username",
- "host"
- ]
+ "type": "object",
+ "properties": {
+ "sinceId": {
+ "type": "string",
+ "format": "misskey:id"
+ },
+ "untilId": {
+ "type": "string",
+ "format": "misskey:id"
+ },
+ "limit": {
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 100,
+ "default": 10
+ }
+ }
}
]
}
@@ -80224,7 +80693,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Following"
}
}
@@ -80374,55 +80842,67 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "sinceId": {
- "type": "string",
- "format": "misskey:id"
- },
- "untilId": {
- "type": "string",
- "format": "misskey:id"
- },
- "limit": {
- "type": "integer",
- "minimum": 1,
- "maximum": 100,
- "default": 10
- },
- "userId": {
- "type": "string",
- "format": "misskey:id"
- },
- "username": {
- "type": "string"
- },
- "host": {
- "type": [
- "string",
- "null"
- ],
- "description": "The local host is represented with `null`."
- },
- "birthday": {
- "type": [
- "string",
- "null"
- ],
- "pattern": "^([0-9]{4})-([0-9]{2})-([0-9]{2})$"
- }
- },
- "anyOf": [
+ "allOf": [
{
- "required": [
- "userId"
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "format": "misskey:id"
+ }
+ },
+ "required": [
+ "userId"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "username": {
+ "type": "string"
+ },
+ "host": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "description": "The local host is represented with `null`."
+ }
+ },
+ "required": [
+ "username",
+ "host"
+ ]
+ }
]
},
{
- "required": [
- "username",
- "host"
- ]
+ "type": "object",
+ "properties": {
+ "sinceId": {
+ "type": "string",
+ "format": "misskey:id"
+ },
+ "untilId": {
+ "type": "string",
+ "format": "misskey:id"
+ },
+ "limit": {
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 100,
+ "default": 10
+ },
+ "birthday": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "pattern": "^([0-9]{4})-([0-9]{2})-([0-9]{2})$"
+ }
+ }
}
]
}
@@ -80437,7 +80917,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Following"
}
}
@@ -80632,7 +81111,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/GalleryPost"
}
}
@@ -80795,7 +81273,6 @@
"type": "object",
"properties": {
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserDetailed"
},
"weight": {
@@ -80971,7 +81448,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/UserList"
}
}
@@ -81139,7 +81615,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/UserList"
}
}
@@ -81699,7 +82174,6 @@
"format": "misskey:id"
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"withReplies": {
@@ -81871,7 +82345,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/UserList"
}
}
@@ -82435,7 +82908,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/UserList"
}
}
@@ -82771,7 +83243,6 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
"$ref": "#/components/schemas/UserList"
}
}
@@ -83147,7 +83618,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
}
@@ -83342,7 +83812,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Page"
}
}
@@ -83516,7 +83985,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/NoteReaction"
}
}
@@ -83696,7 +84164,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/UserDetailed"
}
}
@@ -83836,7 +84303,7 @@
"type": "object",
"properties": {
"userId": {
- "anyOf": [
+ "oneOf": [
{
"type": "string",
"format": "misskey:id"
@@ -84311,7 +84778,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/User"
}
}
@@ -84443,41 +84909,53 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "limit": {
- "type": "integer",
- "minimum": 1,
- "maximum": 100,
- "default": 10
- },
- "detail": {
- "type": "boolean",
- "default": true
- },
- "username": {
- "type": [
- "string",
- "null"
- ]
- },
- "host": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "anyOf": [
+ "allOf": [
{
- "required": [
- "username"
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "username": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "username"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "host": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "host"
+ ]
+ }
]
},
{
- "required": [
- "host"
- ]
+ "type": "object",
+ "properties": {
+ "limit": {
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 100,
+ "default": 10
+ },
+ "detail": {
+ "type": "boolean",
+ "default": true
+ }
+ }
}
]
}
@@ -84492,7 +84970,6 @@
"schema": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/User"
}
}
@@ -84624,46 +85101,61 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "userId": {
- "type": "string",
- "format": "misskey:id"
- },
- "userIds": {
- "type": "array",
- "uniqueItems": true,
- "items": {
- "type": "string",
- "format": "misskey:id"
- }
- },
- "username": {
- "type": "string"
- },
- "host": {
- "type": [
- "string",
- "null"
- ],
- "description": "The local host is represented with `null`."
- }
- },
- "anyOf": [
- {
- "required": [
- "userId"
- ]
- },
+ "allOf": [
{
- "required": [
- "userIds"
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "format": "misskey:id"
+ }
+ },
+ "required": [
+ "userId"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "userIds": {
+ "type": "array",
+ "uniqueItems": true,
+ "items": {
+ "type": "string",
+ "format": "misskey:id"
+ }
+ }
+ },
+ "required": [
+ "userIds"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "username": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "username"
+ ]
+ }
]
},
{
- "required": [
- "username"
- ]
+ "type": "object",
+ "properties": {
+ "host": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "description": "The local host is represented with `null`."
+ }
+ }
}
]
}
@@ -84678,13 +85170,11 @@
"schema": {
"oneOf": [
{
- "type": "object",
"$ref": "#/components/schemas/UserDetailed"
},
{
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/UserDetailed"
}
}
@@ -85143,7 +85633,6 @@
"emojis": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/EmojiDetailedAdmin"
}
},
@@ -85652,7 +86141,6 @@
"pinnedNotes": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
},
@@ -85663,13 +86151,12 @@
]
},
"pinnedPage": {
- "type": [
- "object",
- "null"
- ],
- "allOf": [
+ "oneOf": [
{
"$ref": "#/components/schemas/Page"
+ },
+ {
+ "type": "null"
}
]
},
@@ -85708,7 +86195,6 @@
"roles": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/RoleLite"
}
},
@@ -85894,7 +86380,6 @@
"unreadAnnouncements": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Announcement"
}
},
@@ -86609,7 +87094,6 @@
"type": "number"
},
"policies": {
- "type": "object",
"$ref": "#/components/schemas/RolePolicies"
},
"twoFactorEnabled": {
@@ -86707,11 +87191,9 @@
"type": "object",
"allOf": [
{
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
{
- "type": "object",
"$ref": "#/components/schemas/UserDetailedNotMeOnly"
}
]
@@ -86720,15 +87202,12 @@
"type": "object",
"allOf": [
{
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
{
- "type": "object",
"$ref": "#/components/schemas/UserDetailedNotMeOnly"
},
{
- "type": "object",
"$ref": "#/components/schemas/MeDetailedOnly"
}
]
@@ -86736,11 +87215,9 @@
"UserDetailed": {
"oneOf": [
{
- "type": "object",
"$ref": "#/components/schemas/UserDetailedNotMe"
},
{
- "type": "object",
"$ref": "#/components/schemas/MeDetailed"
}
]
@@ -86748,11 +87225,9 @@
"User": {
"oneOf": [
{
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
{
- "type": "object",
"$ref": "#/components/schemas/UserDetailed"
}
]
@@ -87096,7 +87571,6 @@
"format": "id"
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"replyId": {
@@ -87116,24 +87590,22 @@
"example": "xxxxxxxxxx"
},
"reply": {
- "type": [
- "object",
- "null"
- ],
- "allOf": [
+ "oneOf": [
{
"$ref": "#/components/schemas/Note"
+ },
+ {
+ "type": "null"
}
]
},
"renote": {
- "type": [
- "object",
- "null"
- ],
- "allOf": [
+ "oneOf": [
{
"$ref": "#/components/schemas/Note"
+ },
+ {
+ "type": "null"
}
]
},
@@ -87173,7 +87645,6 @@
"files": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/DriveFile"
}
},
@@ -87349,6 +87820,9 @@
"clippedCount": {
"type": "number"
},
+ "hasPoll": {
+ "type": "boolean"
+ },
"myReaction": {
"type": [
"string",
@@ -87388,7 +87862,6 @@
"format": "date-time"
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"type": {
@@ -87415,7 +87888,6 @@
"format": "date-time"
},
"note": {
- "type": "object",
"$ref": "#/components/schemas/Note"
},
"noteId": {
@@ -87451,7 +87923,6 @@
]
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"userId": {
@@ -87459,7 +87930,6 @@
"format": "id"
},
"note": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
},
@@ -87490,7 +87960,6 @@
]
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"userId": {
@@ -87498,7 +87967,6 @@
"format": "id"
},
"note": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
},
@@ -87529,7 +87997,6 @@
]
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"userId": {
@@ -87537,7 +88004,6 @@
"format": "id"
},
"note": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
},
@@ -87568,7 +88034,6 @@
]
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"userId": {
@@ -87576,7 +88041,6 @@
"format": "id"
},
"note": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
},
@@ -87607,7 +88071,6 @@
]
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"userId": {
@@ -87615,7 +88078,6 @@
"format": "id"
},
"note": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
},
@@ -87646,7 +88108,6 @@
]
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"userId": {
@@ -87654,7 +88115,6 @@
"format": "id"
},
"note": {
- "type": "object",
"$ref": "#/components/schemas/Note"
},
"reaction": {
@@ -87689,7 +88149,6 @@
]
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"userId": {
@@ -87697,7 +88156,6 @@
"format": "id"
},
"note": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
},
@@ -87728,7 +88186,6 @@
]
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"userId": {
@@ -87762,7 +88219,6 @@
]
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"userId": {
@@ -87796,7 +88252,6 @@
]
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"userId": {
@@ -87837,7 +88292,6 @@
]
},
"role": {
- "type": "object",
"$ref": "#/components/schemas/Role"
}
},
@@ -87866,7 +88320,6 @@
]
},
"invitation": {
- "type": "object",
"$ref": "#/components/schemas/ChatRoomInvitation"
}
},
@@ -88117,7 +88570,6 @@
]
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"userId": {
@@ -88125,7 +88577,6 @@
"format": "id"
},
"note": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
},
@@ -88156,7 +88607,6 @@
]
},
"note": {
- "type": "object",
"$ref": "#/components/schemas/Note"
},
"reactions": {
@@ -88165,7 +88615,6 @@
"type": "object",
"properties": {
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"reaction": {
@@ -88205,13 +88654,11 @@
]
},
"note": {
- "type": "object",
"$ref": "#/components/schemas/Note"
},
"users": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
}
}
@@ -88335,13 +88782,12 @@
"example": "xxxxxxxxxx"
},
"folder": {
- "type": [
- "object",
- "null"
- ],
- "allOf": [
+ "oneOf": [
{
"$ref": "#/components/schemas/DriveFolder"
+ },
+ {
+ "type": "null"
}
]
},
@@ -88354,13 +88800,12 @@
"example": "xxxxxxxxxx"
},
"user": {
- "type": [
- "object",
- "null"
- ],
- "allOf": [
+ "oneOf": [
{
"$ref": "#/components/schemas/UserLite"
+ },
+ {
+ "type": "null"
}
]
}
@@ -88412,13 +88857,12 @@
"type": "number"
},
"parent": {
- "type": [
- "object",
- "null"
- ],
- "allOf": [
+ "oneOf": [
{
"$ref": "#/components/schemas/DriveFolder"
+ },
+ {
+ "type": "null"
}
]
}
@@ -88451,20 +88895,10 @@
"format": "id"
},
"followee": {
- "type": "object",
- "allOf": [
- {
- "$ref": "#/components/schemas/UserDetailedNotMe"
- }
- ]
+ "$ref": "#/components/schemas/UserDetailedNotMe"
},
"follower": {
- "type": "object",
- "allOf": [
- {
- "$ref": "#/components/schemas/UserDetailedNotMe"
- }
- ]
+ "$ref": "#/components/schemas/UserDetailedNotMe"
}
},
"required": [
@@ -88498,7 +88932,6 @@
"format": "id"
},
"mutee": {
- "type": "object",
"$ref": "#/components/schemas/UserDetailedNotMe"
}
},
@@ -88527,7 +88960,6 @@
"format": "id"
},
"mutee": {
- "type": "object",
"$ref": "#/components/schemas/UserDetailedNotMe"
}
},
@@ -88555,7 +88987,6 @@
"format": "id"
},
"blockee": {
- "type": "object",
"$ref": "#/components/schemas/UserDetailedNotMe"
}
},
@@ -88626,24 +89057,22 @@
"format": "date-time"
},
"createdBy": {
- "type": [
- "object",
- "null"
- ],
- "allOf": [
+ "oneOf": [
{
"$ref": "#/components/schemas/UserLite"
+ },
+ {
+ "type": "null"
}
]
},
"usedBy": {
- "type": [
- "object",
- "null"
- ],
- "allOf": [
+ "oneOf": [
{
"$ref": "#/components/schemas/UserLite"
+ },
+ {
+ "type": "null"
}
]
},
@@ -88690,13 +89119,11 @@
"format": "id"
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"content": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/PageBlock"
}
},
@@ -88737,20 +89164,18 @@
]
},
"eyeCatchingImage": {
- "type": [
- "object",
- "null"
- ],
- "allOf": [
+ "oneOf": [
{
"$ref": "#/components/schemas/DriveFile"
+ },
+ {
+ "type": "null"
}
]
},
"attachedFiles": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/DriveFile"
}
},
@@ -88825,7 +89250,6 @@
"children": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/PageBlock"
}
}
@@ -88969,7 +89393,6 @@
"pinnedNotes": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/Note"
}
},
@@ -89025,6 +89448,111 @@
"delayed"
]
},
+ "QueueMetrics": {
+ "type": "object",
+ "properties": {
+ "meta": {
+ "type": "object",
+ "properties": {
+ "count": {
+ "type": "number"
+ },
+ "prevTS": {
+ "type": "number"
+ },
+ "prevCount": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "count",
+ "prevTS",
+ "prevCount"
+ ]
+ },
+ "data": {
+ "type": "array",
+ "items": {
+ "type": "number"
+ }
+ },
+ "count": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "meta",
+ "data",
+ "count"
+ ]
+ },
+ "QueueJob": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "data": {
+ "type": "object"
+ },
+ "opts": {
+ "type": "object"
+ },
+ "timestamp": {
+ "type": "number"
+ },
+ "processedOn": {
+ "type": "number"
+ },
+ "processedBy": {
+ "type": "string"
+ },
+ "finishedOn": {
+ "type": "number"
+ },
+ "progress": {
+ "type": "object"
+ },
+ "attempts": {
+ "type": "number"
+ },
+ "delay": {
+ "type": "number"
+ },
+ "failedReason": {
+ "type": "string"
+ },
+ "stacktrace": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "returnValue": {
+ "type": "object"
+ },
+ "isFailed": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "data",
+ "opts",
+ "timestamp",
+ "progress",
+ "attempts",
+ "delay",
+ "failedReason",
+ "stacktrace",
+ "returnValue",
+ "isFailed"
+ ]
+ },
"Antenna": {
"type": "object",
"properties": {
@@ -89159,7 +89687,6 @@
"format": "id"
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"name": {
@@ -89382,7 +89909,6 @@
"format": "id"
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"title": {
@@ -89404,7 +89930,6 @@
"files": {
"type": "array",
"items": {
- "type": "object",
"$ref": "#/components/schemas/DriveFile"
}
},
@@ -89670,7 +90195,6 @@
"format": "id"
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"title": {
@@ -89779,7 +90303,6 @@
]
},
"value": {
- "type": "object",
"$ref": "#/components/schemas/RoleCondFormulaValue"
}
},
@@ -89986,7 +90509,6 @@
"type": "object",
"allOf": [
{
- "type": "object",
"$ref": "#/components/schemas/RoleLite"
},
{
@@ -90008,7 +90530,6 @@
]
},
"condFormula": {
- "type": "object",
"$ref": "#/components/schemas/RoleCondFormulaValue"
},
"isPublic": {
@@ -90127,6 +90648,12 @@
"maxFileSizeMb": {
"type": "integer"
},
+ "uploadableFileTypes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
"alwaysMarkNsfw": {
"type": "boolean"
},
@@ -90212,6 +90739,7 @@
"canHideAds",
"driveCapacityMb",
"maxFileSizeMb",
+ "uploadableFileTypes",
"alwaysMarkNsfw",
"canUpdateBioMedia",
"pinLimit",
@@ -90275,11 +90803,9 @@
"format": "id"
},
"user1": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"user2": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"winnerId": {
@@ -90290,13 +90816,12 @@
"format": "id"
},
"winner": {
- "type": [
- "object",
- "null"
- ],
- "allOf": [
+ "oneOf": [
{
"$ref": "#/components/schemas/UserLite"
+ },
+ {
+ "type": "null"
}
]
},
@@ -90421,11 +90946,9 @@
"format": "id"
},
"user1": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"user2": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"winnerId": {
@@ -90436,13 +90959,12 @@
"format": "id"
},
"winner": {
- "type": [
- "object",
- "null"
- ],
- "allOf": [
+ "oneOf": [
{
"$ref": "#/components/schemas/UserLite"
+ },
+ {
+ "type": "null"
}
]
},
@@ -90856,7 +91378,6 @@
]
},
"policies": {
- "type": "object",
"$ref": "#/components/schemas/RolePolicies"
},
"noteSearchableScope": {
@@ -91018,11 +91539,9 @@
"type": "object",
"allOf": [
{
- "type": "object",
"$ref": "#/components/schemas/MetaLite"
},
{
- "type": "object",
"$ref": "#/components/schemas/MetaDetailedOnly"
}
]
@@ -91115,23 +91634,13 @@
"type": "string"
},
"user": {
- "type": "object",
- "allOf": [
- {
- "$ref": "#/components/schemas/UserLite"
- }
- ]
+ "$ref": "#/components/schemas/UserLite"
},
"systemWebhookId": {
"type": "string"
},
"systemWebhook": {
- "type": "object",
- "allOf": [
- {
- "$ref": "#/components/schemas/SystemWebhook"
- }
- ]
+ "$ref": "#/components/schemas/SystemWebhook"
}
},
"required": [
@@ -91156,7 +91665,6 @@
"type": "string"
},
"fromUser": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"toUserId": {
@@ -91166,13 +91674,12 @@
]
},
"toUser": {
- "type": [
- "object",
- "null"
- ],
- "allOf": [
+ "oneOf": [
{
"$ref": "#/components/schemas/UserLite"
+ },
+ {
+ "type": "null"
}
]
},
@@ -91183,13 +91690,12 @@
]
},
"toRoom": {
- "type": [
- "object",
- "null"
- ],
- "allOf": [
+ "oneOf": [
{
"$ref": "#/components/schemas/ChatRoom"
+ },
+ {
+ "type": "null"
}
]
},
@@ -91206,13 +91712,12 @@
]
},
"file": {
- "type": [
- "object",
- "null"
- ],
- "allOf": [
+ "oneOf": [
{
"$ref": "#/components/schemas/DriveFile"
+ },
+ {
+ "type": "null"
}
]
},
@@ -91228,7 +91733,6 @@
"type": "string"
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
}
},
@@ -91261,12 +91765,7 @@
"type": "string"
},
"fromUser": {
- "type": "object",
- "allOf": [
- {
- "$ref": "#/components/schemas/UserLite"
- }
- ]
+ "$ref": "#/components/schemas/UserLite"
},
"toUserId": {
"type": [
@@ -91293,13 +91792,12 @@
]
},
"file": {
- "type": [
- "object",
- "null"
- ],
- "allOf": [
+ "oneOf": [
{
"$ref": "#/components/schemas/DriveFile"
+ },
+ {
+ "type": "null"
}
]
},
@@ -91312,13 +91810,12 @@
"type": "string"
},
"user": {
- "type": [
- "object",
- "null"
- ],
- "allOf": [
+ "oneOf": [
{
"$ref": "#/components/schemas/UserLite"
+ },
+ {
+ "type": "null"
}
]
}
@@ -91365,13 +91862,12 @@
]
},
"file": {
- "type": [
- "object",
- "null"
- ],
- "allOf": [
+ "oneOf": [
{
"$ref": "#/components/schemas/DriveFile"
+ },
+ {
+ "type": "null"
}
]
},
@@ -91412,7 +91908,6 @@
"type": "string"
},
"fromUser": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"toRoomId": {
@@ -91431,13 +91926,12 @@
]
},
"file": {
- "type": [
- "object",
- "null"
- ],
- "allOf": [
+ "oneOf": [
{
"$ref": "#/components/schemas/DriveFile"
+ },
+ {
+ "type": "null"
}
]
},
@@ -91450,7 +91944,6 @@
"type": "string"
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
}
},
@@ -91484,7 +91977,6 @@
"type": "string"
},
"owner": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"name": {
@@ -91495,6 +91987,9 @@
},
"isMuted": {
"type": "boolean"
+ },
+ "invitationExists": {
+ "type": "boolean"
}
},
"required": [
@@ -91520,14 +92015,12 @@
"type": "string"
},
"user": {
- "type": "object",
"$ref": "#/components/schemas/UserLite"
},
"roomId": {
"type": "string"
},
"room": {
- "type": "object",
"$ref": "#/components/schemas/ChatRoom"
}
},
@@ -91554,23 +92047,13 @@
"type": "string"
},
"user": {
- "type": "object",
- "allOf": [
- {
- "$ref": "#/components/schemas/UserLite"
- }
- ]
+ "$ref": "#/components/schemas/UserLite"
},
"roomId": {
"type": "string"
},
"room": {
- "type": "object",
- "allOf": [
- {
- "$ref": "#/components/schemas/ChatRoom"
- }
- ]
+ "$ref": "#/components/schemas/ChatRoom"
}
},
"required": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
Why
Additional info (optional)
Checklist