kokonect-link / cherrypick

🌎 A interplanetary communication platform 🚀
https://kokonect.link
GNU Affero General Public License v3.0
122 stars 43 forks source link

Release: 4.9.0 #469

Closed noridev closed 3 months ago

noridev commented 5 months ago

Client

Server

github-actions[bot] commented 5 months ago

이 PR에 의한 api.json 차이

차이점은 여기에서 볼 수 있음 ```diff --- base +++ head @@ -1,8 +1,8 @@ { "openapi": "3.1.0", "info": { - "version": "4.8.0", - "description": "2024.3.1", + "version": "4.9.0", + "description": "2024.5.0", "title": "CherryPick API", "x-logo": { "url": "/static-assets/api-doc.png" @@ -561,6 +561,12 @@ "null" ] }, + "inquiryUrl": { + "type": [ + "string", + "null" + ] + }, "repositoryUrl": { "type": [ "string", @@ -734,6 +740,7 @@ "objectStorageS3ForcePathStyle", "objectStorageRemoteS3ForcePathStyle", "privacyPolicyUrl", + "inquiryUrl", "repositoryUrl", "summalyProxy", "themeColor", @@ -1946,6 +1953,902 @@ } } }, + "/admin/abuse-report/notification-recipient/list": { + "post": { + "operationId": "admin___abuse-report___notification-recipient___list", + "summary": "admin/abuse-report/notification-recipient/list", + "description": "No description provided.\n\n**Internal Endpoint**: This endpoint is an API for the cherrypick mainframe and is not intended for use by third parties.\n**Credential required**: *Yes* / **Permission**: *read:admin:abuse-report:notification-recipient*", + "externalDocs": { + "description": "Source code", + "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/admin/abuse-report/notification-recipient/list.ts" + }, + "tags": [ + "admin" + ], + "security": [ + { + "bearerAuth": [] + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "method": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "email", + "webhook" + ] + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK (with results)", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/components/schemas/AbuseReportNotificationRecipient" + } + } + } + } + }, + "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, CherryPick's showgirl, instead of the server.", + "code": "I_AM_AI", + "id": "60c46cd1-f23a-46b1-bebe-5d2b73951a84" + } + } + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "INTERNAL_ERROR": { + "value": { + "error": { + "message": "Internal error occurred. Please contact us if the error persists.", + "code": "INTERNAL_ERROR", + "id": "5d37dbcb-891e-41ca-a3d6-e690c97775ac" + } + } + } + } + } + } + } + } + } + }, + "/admin/abuse-report/notification-recipient/show": { + "post": { + "operationId": "admin___abuse-report___notification-recipient___show", + "summary": "admin/abuse-report/notification-recipient/show", + "description": "No description provided.\n\n**Internal Endpoint**: This endpoint is an API for the cherrypick mainframe and is not intended for use by third parties.\n**Credential required**: *Yes* / **Permission**: *read:admin:abuse-report:notification-recipient*", + "externalDocs": { + "description": "Source code", + "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/admin/abuse-report/notification-recipient/show.ts" + }, + "tags": [ + "admin" + ], + "security": [ + { + "bearerAuth": [] + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "misskey:id" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK (with results)", + "content": { + "application/json": { + "schema": { + "type": "object", + "$ref": "#/components/schemas/AbuseReportNotificationRecipient" + } + } + } + }, + "400": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "NO_SUCH_RECIPIENT": { + "value": { + "error": { + "message": "No such recipient.", + "code": "NO_SUCH_RECIPIENT", + "id": "013de6a8-f757-04cb-4d73-cc2a7e3368e4", + "kind": "server", + "httpStatusCode": 404 + } + } + }, + "INVALID_PARAM": { + "value": { + "error": { + "message": "Invalid param.", + "code": "INVALID_PARAM", + "id": "3d81ceae-475f-4600-b2a8-2bc116157532" + } + } + } + } + } + } + }, + "401": { + "description": "Authentication error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "CREDENTIAL_REQUIRED": { + "value": { + "error": { + "message": "Credential required.", + "code": "CREDENTIAL_REQUIRED", + "id": "1384574d-a912-4b81-8601-c7b1c4085df1" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "AUTHENTICATION_FAILED": { + "value": { + "error": { + "message": "Authentication failed. Please ensure your token is correct.", + "code": "AUTHENTICATION_FAILED", + "id": "b0a7f5f8-dc2f-4171-b91f-de88ad238e14" + } + } + } + } + } + } + }, + "418": { + "description": "I'm Ai", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "I_AM_AI": { + "value": { + "error": { + "message": "You sent a request to Ai-chan, CherryPick's showgirl, instead of the server.", + "code": "I_AM_AI", + "id": "60c46cd1-f23a-46b1-bebe-5d2b73951a84" + } + } + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "INTERNAL_ERROR": { + "value": { + "error": { + "message": "Internal error occurred. Please contact us if the error persists.", + "code": "INTERNAL_ERROR", + "id": "5d37dbcb-891e-41ca-a3d6-e690c97775ac" + } + } + } + } + } + } + } + } + } + }, + "/admin/abuse-report/notification-recipient/create": { + "post": { + "operationId": "admin___abuse-report___notification-recipient___create", + "summary": "admin/abuse-report/notification-recipient/create", + "description": "No description provided.\n\n**Internal Endpoint**: This endpoint is an API for the cherrypick mainframe and is not intended for use by third parties.\n**Credential required**: *Yes* / **Permission**: *write:admin:abuse-report:notification-recipient*", + "externalDocs": { + "description": "Source code", + "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/admin/abuse-report/notification-recipient/create.ts" + }, + "tags": [ + "admin" + ], + "security": [ + { + "bearerAuth": [] + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "isActive": { + "type": "boolean" + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "method": { + "type": "string", + "enum": [ + "email", + "webhook" + ] + }, + "userId": { + "type": "string", + "format": "misskey:id" + }, + "systemWebhookId": { + "type": "string", + "format": "misskey:id" + } + }, + "required": [ + "isActive", + "name", + "method" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK (with results)", + "content": { + "application/json": { + "schema": { + "type": "object", + "$ref": "#/components/schemas/AbuseReportNotificationRecipient" + } + } + } + }, + "400": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "CORRELATION_CHECK_EMAIL": { + "value": { + "error": { + "message": "If \"method\" is email, \"userId\" must be set.", + "code": "CORRELATION_CHECK_EMAIL", + "id": "348bb8ae-575a-6fe9-4327-5811999def8f", + "httpStatusCode": 400 + } + } + }, + "CORRELATION_CHECK_WEBHOOK": { + "value": { + "error": { + "message": "If \"method\" is webhook, \"systemWebhookId\" must be set.", + "code": "CORRELATION_CHECK_WEBHOOK", + "id": "b0c15051-de2d-29ef-260c-9585cddd701a", + "httpStatusCode": 400 + } + } + }, + "EMAIL_ADDRESS_NOT_SET": { + "value": { + "error": { + "message": "Email address is not set.", + "code": "EMAIL_ADDRESS_NOT_SET", + "id": "7cc1d85e-2f58-fc31-b644-3de8d0d3421f", + "httpStatusCode": 400 + } + } + }, + "INVALID_PARAM": { + "value": { + "error": { + "message": "Invalid param.", + "code": "INVALID_PARAM", + "id": "3d81ceae-475f-4600-b2a8-2bc116157532" + } + } + } + } + } + } + }, + "401": { + "description": "Authentication error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "CREDENTIAL_REQUIRED": { + "value": { + "error": { + "message": "Credential required.", + "code": "CREDENTIAL_REQUIRED", + "id": "1384574d-a912-4b81-8601-c7b1c4085df1" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "AUTHENTICATION_FAILED": { + "value": { + "error": { + "message": "Authentication failed. Please ensure your token is correct.", + "code": "AUTHENTICATION_FAILED", + "id": "b0a7f5f8-dc2f-4171-b91f-de88ad238e14" + } + } + } + } + } + } + }, + "418": { + "description": "I'm Ai", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "I_AM_AI": { + "value": { + "error": { + "message": "You sent a request to Ai-chan, CherryPick's showgirl, instead of the server.", + "code": "I_AM_AI", + "id": "60c46cd1-f23a-46b1-bebe-5d2b73951a84" + } + } + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "INTERNAL_ERROR": { + "value": { + "error": { + "message": "Internal error occurred. Please contact us if the error persists.", + "code": "INTERNAL_ERROR", + "id": "5d37dbcb-891e-41ca-a3d6-e690c97775ac" + } + } + } + } + } + } + } + } + } + }, + "/admin/abuse-report/notification-recipient/update": { + "post": { + "operationId": "admin___abuse-report___notification-recipient___update", + "summary": "admin/abuse-report/notification-recipient/update", + "description": "No description provided.\n\n**Internal Endpoint**: This endpoint is an API for the cherrypick mainframe and is not intended for use by third parties.\n**Credential required**: *Yes* / **Permission**: *write:admin:abuse-report:notification-recipient*", + "externalDocs": { + "description": "Source code", + "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/admin/abuse-report/notification-recipient/update.ts" + }, + "tags": [ + "admin" + ], + "security": [ + { + "bearerAuth": [] + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "misskey:id" + }, + "isActive": { + "type": "boolean" + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "method": { + "type": "string", + "enum": [ + "email", + "webhook" + ] + }, + "userId": { + "type": "string", + "format": "misskey:id" + }, + "systemWebhookId": { + "type": "string", + "format": "misskey:id" + } + }, + "required": [ + "id", + "isActive", + "name", + "method" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK (with results)", + "content": { + "application/json": { + "schema": { + "type": "object", + "$ref": "#/components/schemas/AbuseReportNotificationRecipient" + } + } + } + }, + "400": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "CORRELATION_CHECK_EMAIL": { + "value": { + "error": { + "message": "If \"method\" is email, \"userId\" must be set.", + "code": "CORRELATION_CHECK_EMAIL", + "id": "348bb8ae-575a-6fe9-4327-5811999def8f", + "httpStatusCode": 400 + } + } + }, + "CORRELATION_CHECK_WEBHOOK": { + "value": { + "error": { + "message": "If \"method\" is webhook, \"systemWebhookId\" must be set.", + "code": "CORRELATION_CHECK_WEBHOOK", + "id": "b0c15051-de2d-29ef-260c-9585cddd701a", + "httpStatusCode": 400 + } + } + }, + "EMAIL_ADDRESS_NOT_SET": { + "value": { + "error": { + "message": "Email address is not set.", + "code": "EMAIL_ADDRESS_NOT_SET", + "id": "7cc1d85e-2f58-fc31-b644-3de8d0d3421f", + "httpStatusCode": 400 + } + } + }, + "INVALID_PARAM": { + "value": { + "error": { + "message": "Invalid param.", + "code": "INVALID_PARAM", + "id": "3d81ceae-475f-4600-b2a8-2bc116157532" + } + } + } + } + } + } + }, + "401": { + "description": "Authentication error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "CREDENTIAL_REQUIRED": { + "value": { + "error": { + "message": "Credential required.", + "code": "CREDENTIAL_REQUIRED", + "id": "1384574d-a912-4b81-8601-c7b1c4085df1" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "AUTHENTICATION_FAILED": { + "value": { + "error": { + "message": "Authentication failed. Please ensure your token is correct.", + "code": "AUTHENTICATION_FAILED", + "id": "b0a7f5f8-dc2f-4171-b91f-de88ad238e14" + } + } + } + } + } + } + }, + "418": { + "description": "I'm Ai", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "I_AM_AI": { + "value": { + "error": { + "message": "You sent a request to Ai-chan, CherryPick's showgirl, instead of the server.", + "code": "I_AM_AI", + "id": "60c46cd1-f23a-46b1-bebe-5d2b73951a84" + } + } + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "INTERNAL_ERROR": { + "value": { + "error": { + "message": "Internal error occurred. Please contact us if the error persists.", + "code": "INTERNAL_ERROR", + "id": "5d37dbcb-891e-41ca-a3d6-e690c97775ac" + } + } + } + } + } + } + } + } + } + }, + "/admin/abuse-report/notification-recipient/delete": { + "post": { + "operationId": "admin___abuse-report___notification-recipient___delete", + "summary": "admin/abuse-report/notification-recipient/delete", + "description": "No description provided.\n\n**Internal Endpoint**: This endpoint is an API for the cherrypick mainframe and is not intended for use by third parties.\n**Credential required**: *Yes* / **Permission**: *write:admin:abuse-report:notification-recipient*", + "externalDocs": { + "description": "Source code", + "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/admin/abuse-report/notification-recipient/delete.ts" + }, + "tags": [ + "admin" + ], + "security": [ + { + "bearerAuth": [] + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "misskey:id" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "responses": { + "204": { + "description": "OK (without any results)" + }, + "400": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "INVALID_PARAM": { + "value": { + "error": { + "message": "Invalid param.", + "code": "INVALID_PARAM", + "id": "3d81ceae-475f-4600-b2a8-2bc116157532" + } + } + } + } + } + } + }, + "401": { + "description": "Authentication error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "CREDENTIAL_REQUIRED": { + "value": { + "error": { + "message": "Credential required.", + "code": "CREDENTIAL_REQUIRED", + "id": "1384574d-a912-4b81-8601-c7b1c4085df1" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "AUTHENTICATION_FAILED": { + "value": { + "error": { + "message": "Authentication failed. Please ensure your token is correct.", + "code": "AUTHENTICATION_FAILED", + "id": "b0a7f5f8-dc2f-4171-b91f-de88ad238e14" + } + } + } + } + } + } + }, + "418": { + "description": "I'm Ai", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "I_AM_AI": { + "value": { + "error": { + "message": "You sent a request to Ai-chan, CherryPick's showgirl, instead of the server.", + "code": "I_AM_AI", + "id": "60c46cd1-f23a-46b1-bebe-5d2b73951a84" + } + } + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "INTERNAL_ERROR": { + "value": { + "error": { + "message": "Internal error occurred. Please contact us if the error persists.", + "code": "INTERNAL_ERROR", + "id": "5d37dbcb-891e-41ca-a3d6-e690c97775ac" + } + } + } + } + } + } + } + } + } + }, "/admin/accounts/create": { "post": { "operationId": "admin___accounts___create", @@ -11765,6 +12668,17 @@ "$ref": "#/components/schemas/Error" }, "examples": { + "NO_SUCH_ABUSE_REPORT": { + "value": { + "error": { + "message": "No such abuse report.", + "code": "NO_SUCH_ABUSE_REPORT", + "id": "ac3794dd-2ce4-d878-e546-73c60c06b398", + "kind": "server", + "httpStatusCode": 404 + } + } + }, "INVALID_PARAM": { "value": { "error": { @@ -13401,7 +14315,7 @@ "post": { "operationId": "admin___show-users", "summary": "admin/show-users", - "description": "No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:admin:show-users*", + "description": "No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:admin:show-user*", "externalDocs": { "description": "Source code", "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/admin/show-users.ts" @@ -14328,6 +15242,12 @@ "null" ] }, + "inquiryUrl": { + "type": [ + "string", + "null" + ] + }, "useObjectStorage": { "type": "boolean" }, @@ -16641,6 +17561,859 @@ } } }, + "/admin/system-webhook/create": { + "post": { + "operationId": "admin___system-webhook___create", + "summary": "admin/system-webhook/create", + "description": "No description provided.\n\n**Internal Endpoint**: This endpoint is an API for the cherrypick mainframe and is not intended for use by third parties.\n**Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*", + "externalDocs": { + "description": "Source code", + "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/admin/system-webhook/create.ts" + }, + "tags": [ + "admin" + ], + "security": [ + { + "bearerAuth": [] + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "isActive": { + "type": "boolean" + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "on": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "abuseReport", + "abuseReportResolved" + ] + } + }, + "url": { + "type": "string", + "minLength": 1, + "maxLength": 1024 + }, + "secret": { + "type": "string", + "minLength": 1, + "maxLength": 1024 + } + }, + "required": [ + "isActive", + "name", + "on", + "url", + "secret" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK (with results)", + "content": { + "application/json": { + "schema": { + "type": "object", + "$ref": "#/components/schemas/SystemWebhook" + } + } + } + }, + "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, CherryPick's showgirl, instead of the server.", + "code": "I_AM_AI", + "id": "60c46cd1-f23a-46b1-bebe-5d2b73951a84" + } + } + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "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/system-webhook/delete": { + "post": { + "operationId": "admin___system-webhook___delete", + "summary": "admin/system-webhook/delete", + "description": "No description provided.\n\n**Internal Endpoint**: This endpoint is an API for the cherrypick mainframe and is not intended for use by third parties.\n**Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*", + "externalDocs": { + "description": "Source code", + "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/admin/system-webhook/delete.ts" + }, + "tags": [ + "admin" + ], + "security": [ + { + "bearerAuth": [] + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "misskey:id" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "responses": { + "204": { + "description": "OK (without any results)" + }, + "400": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "INVALID_PARAM": { + "value": { + "error": { + "message": "Invalid param.", + "code": "INVALID_PARAM", + "id": "3d81ceae-475f-4600-b2a8-2bc116157532" + } + } + } + } + } + } + }, + "401": { + "description": "Authentication error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "CREDENTIAL_REQUIRED": { + "value": { + "error": { + "message": "Credential required.", + "code": "CREDENTIAL_REQUIRED", + "id": "1384574d-a912-4b81-8601-c7b1c4085df1" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "AUTHENTICATION_FAILED": { + "value": { + "error": { + "message": "Authentication failed. Please ensure your token is correct.", + "code": "AUTHENTICATION_FAILED", + "id": "b0a7f5f8-dc2f-4171-b91f-de88ad238e14" + } + } + } + } + } + } + }, + "418": { + "description": "I'm Ai", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "I_AM_AI": { + "value": { + "error": { + "message": "You sent a request to Ai-chan, CherryPick's showgirl, instead of the server.", + "code": "I_AM_AI", + "id": "60c46cd1-f23a-46b1-bebe-5d2b73951a84" + } + } + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "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/system-webhook/list": { + "post": { + "operationId": "admin___system-webhook___list", + "summary": "admin/system-webhook/list", + "description": "No description provided.\n\n**Internal Endpoint**: This endpoint is an API for the cherrypick mainframe and is not intended for use by third parties.\n**Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*", + "externalDocs": { + "description": "Source code", + "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/admin/system-webhook/list.ts" + }, + "tags": [ + "admin" + ], + "security": [ + { + "bearerAuth": [] + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "isActive": { + "type": "boolean" + }, + "on": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "abuseReport", + "abuseReportResolved" + ] + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK (with results)", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/components/schemas/SystemWebhook" + } + } + } + } + }, + "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, CherryPick's showgirl, instead of the server.", + "code": "I_AM_AI", + "id": "60c46cd1-f23a-46b1-bebe-5d2b73951a84" + } + } + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "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/system-webhook/show": { + "post": { + "operationId": "admin___system-webhook___show", + "summary": "admin/system-webhook/show", + "description": "No description provided.\n\n**Internal Endpoint**: This endpoint is an API for the cherrypick mainframe and is not intended for use by third parties.\n**Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*", + "externalDocs": { + "description": "Source code", + "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/admin/system-webhook/show.ts" + }, + "tags": [ + "admin" + ], + "security": [ + { + "bearerAuth": [] + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "misskey:id" + } + }, + "required": [ + "id" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK (with results)", + "content": { + "application/json": { + "schema": { + "type": "object", + "$ref": "#/components/schemas/SystemWebhook" + } + } + } + }, + "400": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "NO_SUCH_SYSTEM_WEBHOOK": { + "value": { + "error": { + "message": "No such SystemWebhook.", + "code": "NO_SUCH_SYSTEM_WEBHOOK", + "id": "38dd1ffe-04b4-6ff5-d8ba-4e6a6ae22c9d", + "kind": "server", + "httpStatusCode": 404 + } + } + }, + "INVALID_PARAM": { + "value": { + "error": { + "message": "Invalid param.", + "code": "INVALID_PARAM", + "id": "3d81ceae-475f-4600-b2a8-2bc116157532" + } + } + } + } + } + } + }, + "401": { + "description": "Authentication error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "CREDENTIAL_REQUIRED": { + "value": { + "error": { + "message": "Credential required.", + "code": "CREDENTIAL_REQUIRED", + "id": "1384574d-a912-4b81-8601-c7b1c4085df1" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "AUTHENTICATION_FAILED": { + "value": { + "error": { + "message": "Authentication failed. Please ensure your token is correct.", + "code": "AUTHENTICATION_FAILED", + "id": "b0a7f5f8-dc2f-4171-b91f-de88ad238e14" + } + } + } + } + } + } + }, + "418": { + "description": "I'm Ai", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "I_AM_AI": { + "value": { + "error": { + "message": "You sent a request to Ai-chan, CherryPick's showgirl, instead of the server.", + "code": "I_AM_AI", + "id": "60c46cd1-f23a-46b1-bebe-5d2b73951a84" + } + } + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "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/system-webhook/update": { + "post": { + "operationId": "admin___system-webhook___update", + "summary": "admin/system-webhook/update", + "description": "No description provided.\n\n**Internal Endpoint**: This endpoint is an API for the cherrypick mainframe and is not intended for use by third parties.\n**Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*", + "externalDocs": { + "description": "Source code", + "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/admin/system-webhook/update.ts" + }, + "tags": [ + "admin" + ], + "security": [ + { + "bearerAuth": [] + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "misskey:id" + }, + "isActive": { + "type": "boolean" + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "on": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "abuseReport", + "abuseReportResolved" + ] + } + }, + "url": { + "type": "string", + "minLength": 1, + "maxLength": 1024 + }, + "secret": { + "type": "string", + "minLength": 1, + "maxLength": 1024 + } + }, + "required": [ + "id", + "isActive", + "name", + "on", + "url", + "secret" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK (with results)", + "content": { + "application/json": { + "schema": { + "type": "object", + "$ref": "#/components/schemas/SystemWebhook" + } + } + } + }, + "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, CherryPick's showgirl, instead of the server.", + "code": "I_AM_AI", + "id": "60c46cd1-f23a-46b1-bebe-5d2b73951a84" + } + } + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "INTERNAL_ERROR": { + "value": { + "error": { + "message": "Internal error occurred. Please contact us if the error persists.", + "code": "INTERNAL_ERROR", + "id": "5d37dbcb-891e-41ca-a3d6-e690c97775ac" + } + } + } + } + } + } + } + } + } + }, "/announcements": { "post": { "operationId": "announcements", @@ -16806,6 +18579,166 @@ } } }, + "/announcements/show": { + "post": { + "operationId": "announcements___show", + "summary": "announcements/show", + "description": "No description provided.\n\n**Credential required**: *No*", + "externalDocs": { + "description": "Source code", + "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/announcements/show.ts" + }, + "tags": [ + "meta" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "announcementId": { + "type": "string", + "format": "misskey:id" + } + }, + "required": [ + "announcementId" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK (with results)", + "content": { + "application/json": { + "schema": { + "type": "object", + "$ref": "#/components/schemas/Announcement" + } + } + } + }, + "400": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "NO_SUCH_ANNOUNCEMENT": { + "value": { + "error": { + "message": "No such announcement.", + "code": "NO_SUCH_ANNOUNCEMENT", + "id": "b57b5e1d-4f49-404a-9edb-46b00268f121" + } + } + }, + "INVALID_PARAM": { + "value": { + "error": { + "message": "Invalid param.", + "code": "INVALID_PARAM", + "id": "3d81ceae-475f-4600-b2a8-2bc116157532" + } + } + } + } + } + } + }, + "401": { + "description": "Authentication error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "CREDENTIAL_REQUIRED": { + "value": { + "error": { + "message": "Credential required.", + "code": "CREDENTIAL_REQUIRED", + "id": "1384574d-a912-4b81-8601-c7b1c4085df1" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "AUTHENTICATION_FAILED": { + "value": { + "error": { + "message": "Authentication failed. Please ensure your token is correct.", + "code": "AUTHENTICATION_FAILED", + "id": "b0a7f5f8-dc2f-4171-b91f-de88ad238e14" + } + } + } + } + } + } + }, + "418": { + "description": "I'm Ai", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "I_AM_AI": { + "value": { + "error": { + "message": "You sent a request to Ai-chan, CherryPick's showgirl, instead of the server.", + "code": "I_AM_AI", + "id": "60c46cd1-f23a-46b1-bebe-5d2b73951a84" + } + } + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + }, + "examples": { + "INTERNAL_ERROR": { + "value": { + "error": { + "message": "Internal error occurred. Please contact us if the error persists.", + "code": "INTERNAL_ERROR", + "id": "5d37dbcb-891e-41ca-a3d6-e690c97775ac" + } + } + } + } + } + } + } + } + } + }, "/antennas/create": { "post": { "operationId": "antennas___create", @@ -16898,9 +18831,6 @@ }, "withFile": { "type": "boolean" - }, - "notify": { - "type": "boolean" } }, "required": [ @@ -16911,8 +18841,7 @@ "users", "caseSensitive", "withReplies", - "withFile", - "notify" + "withFile" ] } } @@ -17811,9 +19740,6 @@ }, "withFile": { "type": "boolean" - }, - "notify": { - "type": "boolean" } }, "required": [ @@ -58816,6 +60742,10 @@ "offset": { "type": "integer", "default": 0 + }, + "excludeChannels": { + "type": "boolean", + "default": false } } } @@ -77620,10 +79550,152 @@ "schema": { "type": "object", "properties": { + "image": { + "type": "object", + "properties": { + "link": { + "type": "string" + }, + "url": { + "type": "string" + }, + "title": { + "type": "string" + } + }, + "required": [ + "url" + ] + }, + "paginationLinks": { + "type": "object", + "properties": { + "self": { + "type": "string" + }, + "first": { + "type": "string" + }, + "next": { + "type": "string" + }, + "last": { + "type": "string" + }, + "prev": { + "type": "string" + } + } + }, + "link": { + "type": "string" + }, + "title": { + "type": "string" + }, "items": { "type": "array", "items": { - "type": "object" + "type": "object", + "properties": { + "link": { + "type": "string" + }, + "guid": { + "type": "string" + }, + "title": { + "type": "string" + }, + "pubDate": { + "type": "string" + }, + "creator": { + "type": "string" + }, + "summary": { + "type": "string" + }, + "content": { + "type": "string" + }, + "isoDate": { + "type": "string" + }, + "categories": { + "type": "array", + "items": { + "type": "string" + } + }, + "contentSnippet": { + "type": "string" + }, + "enclosure": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "length": { + "type": "number" + }, + "type": { + "type": "string" + } + }, + "required": [ + "url" + ] + } + } + } + }, + "feedUrl": { + "type": "string" + }, + "description": { + "type": "string" + }, + "itunes": { + "type": "object", + "additionalProperties": true, + "properties": { + "image": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + } + } + }, + "author": { + "type": "string" + }, + "summary": { + "type": "string" + }, + "explicit": { + "type": "string" + }, + "categories": { + "type": "array", + "items": { + "type": "string" + } + }, + "keywords": { + "type": "array", + "items": { + "type": "string" + } + } } } }, @@ -77778,10 +79850,152 @@ "schema": { "type": "object", "properties": { + "image": { + "type": "object", + "properties": { + "link": { + "type": "string" + }, + "url": { + "type": "string" + }, + "title": { + "type": "string" + } + }, + "required": [ + "url" + ] + }, + "paginationLinks": { + "type": "object", + "properties": { + "self": { + "type": "string" + }, + "first": { + "type": "string" + }, + "next": { + "type": "string" + }, + "last": { + "type": "string" + }, + "prev": { + "type": "string" + } + } + }, + "link": { + "type": "string" + }, + "title": { + "type": "string" + }, "items": { "type": "array", "items": { - "type": "object" + "type": "object", + "properties": { + "link": { + "type": "string" + }, + "guid": { + "type": "string" + }, + "title": { + "type": "string" + }, + "pubDate": { + "type": "string" + }, + "creator": { + "type": "string" + }, + "summary": { + "type": "string" + }, + "content": { + "type": "string" + }, + "isoDate": { + "type": "string" + }, + "categories": { + "type": "array", + "items": { + "type": "string" + } + }, + "contentSnippet": { + "type": "string" + }, + "enclosure": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "length": { + "type": "number" + }, + "type": { + "type": "string" + } + }, + "required": [ + "url" + ] + } + } + } + }, + "feedUrl": { + "type": "string" + }, + "description": { + "type": "string" + }, + "itunes": { + "type": "object", + "additionalProperties": true, + "properties": { + "image": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + } + } + }, + "author": { + "type": "string" + }, + "summary": { + "type": "string" + }, + "explicit": { + "type": "string" + }, + "categories": { + "type": "array", + "items": { + "type": "string" + } + }, + "keywords": { + "type": "array", + "items": { + "type": "string" + } + } } } }, @@ -83712,9 +85926,6 @@ "type": "boolean", "default": false }, - "notify": { - "type": "boolean" - }, "excludeBots": { "type": "boolean", "default": false @@ -83732,6 +85943,10 @@ "hasUnreadNote": { "type": "boolean", "default": false + }, + "notify": { + "type": "boolean", + "default": false } }, "required": [ @@ -83746,12 +85961,12 @@ "users", "caseSensitive", "localOnly", - "notify", "excludeBots", "withReplies", "withFile", "isActive", - "hasUnreadNote" + "hasUnreadNote", + "notify" ] }, "Clip": { @@ -83848,6 +86063,15 @@ "isSuspended": { "type": "boolean" }, + "suspensionState": { + "type": "string", + "enum": [ + "none", + "manuallySuspended", + "goneSuspended", + "autoSuspendedForNotResponding" + ] + }, "isBlocked": { "type": "boolean" }, @@ -83949,6 +86173,7 @@ "followersCount", "isNotResponding", "isSuspended", + "suspensionState", "isBlocked", "softwareName", "softwareVersion", @@ -84300,6 +86525,28 @@ "type" ] }, + "RoleCondFormulaValueUserSettingBooleanSchema": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "isSuspended", + "isLocked", + "isBot", + "isCat", + "isExplorable" + ] + } + }, + "required": [ + "id", + "type" + ] + }, "RoleCondFormulaValueAssignedRole": { "type": "object", "properties": { @@ -84387,6 +86634,9 @@ "$ref": "#/components/schemas/RoleCondFormulaValueIsLocalOrRemote" }, { + "$ref": "#/components/schemas/RoleCondFormulaValueUserSettingBooleanSchema" + }, + { "$ref": "#/components/schemas/RoleCondFormulaValueAssignedRole" }, { @@ -85204,6 +87454,12 @@ "null" ] }, + "inquiryUrl": { + "type": [ + "string", + "null" + ] + }, "serverRules": { "type": "array", "items": { @@ -85267,6 +87523,7 @@ "impressumUrl", "logoImageUrl", "privacyPolicyUrl", + "inquiryUrl", "serverRules", "themeColor", "policies" @@ -85358,6 +87615,118 @@ "$ref": "#/components/schemas/MetaDetailedOnly" } ] + }, + "SystemWebhook": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "isActive": { + "type": "boolean" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "latestSentAt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "latestStatus": { + "type": [ + "number", + "null" + ] + }, + "name": { + "type": "string" + }, + "on": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "abuseReport", + "abuseReportResolved" + ] + } + }, + "url": { + "type": "string" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "id", + "isActive", + "updatedAt", + "latestSentAt", + "latestStatus", + "name", + "on", + "url", + "secret" + ] + }, + "AbuseReportNotificationRecipient": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "isActive": { + "type": "boolean" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string" + }, + "method": { + "type": "string", + "enum": [ + "email", + "webhook" + ] + }, + "userId": { + "type": "string" + }, + "user": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/UserLite" + } + ] + }, + "systemWebhookId": { + "type": "string" + }, + "systemWebhook": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/SystemWebhook" + } + ] + } + }, + "required": [ + "id", + "isActive", + "updatedAt", + "name", + "method" + ] } }, "securitySchemes": { ```

Get diff files from Workflow Page

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 63.39%. Comparing base (291931a) to head (6704c73). Report is 378 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #469 +/- ## ========================================== - Coverage 63.84% 63.39% -0.46% ========================================== Files 1039 1069 +30 Lines 124073 126123 +2050 Branches 5741 5599 -142 ========================================== + Hits 79212 79951 +739 - Misses 44861 46140 +1279 - Partials 0 32 +32 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.