Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/2024.3.1 n.beta.5 #132

Closed
wants to merge 4 commits into from
Closed

Feat/2024.3.1 n.beta.5 #132

wants to merge 4 commits into from

Conversation

n1lsqn
Copy link
Owner

@n1lsqn n1lsqn commented May 28, 2024

What

Why

Additional info (optional)

Checklist

  • Read the contribution guide
  • Test working in a local environment
  • (If needed) Add story of storybook
  • (If needed) Update CHANGELOG.md
  • (If possible) Add tests

Copy link

github-actions bot commented May 28, 2024

このPRによるapi.jsonの差分

差分はこちら
--- base
+++ head
@@ -1,7 +1,7 @@
 {
   "openapi": "3.1.0",
   "info": {
-    "version": "2024.3.1-n.11",
+    "version": "2024.5.0-n.beta",
     "title": "Misskey API",
     "x-logo": {
       "url": "/static-assets/api-doc.png"
@@ -12257,7 +12257,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/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/show-users.ts"
@@ -15578,6 +15578,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/misskey-dev/misskey/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, Misskey's showgirl, instead of the server.",
+                        "code": "I_AM_AI",
+                        "id": "60c46cd1-f23a-46b1-bebe-5d2b73951a84"
+                      }
+                    }
+                  }
+                }
+              }
+            }
+          },
+          "500": {
+            "description": "Internal server error",
+            "content": {
+              "application/json": {
+                "schema": {
+                  "$ref": "#/components/schemas/Error"
+                },
+                "examples": {
+                  "INTERNAL_ERROR": {
+                    "value": {
+                      "error": {
+                        "message": "Internal error occurred. Please contact us if the error persists.",
+                        "code": "INTERNAL_ERROR",
+                        "id": "5d37dbcb-891e-41ca-a3d6-e690c97775ac"
+                      }
+                    }
+                  }
+                }
+              }
+            }
+          }
+        }
+      }
+    },
     "/antennas/create": {
       "post": {
         "operationId": "antennas___create",
@@ -56554,6 +56714,10 @@
                   "offset": {
                     "type": "integer",
                     "default": 0
+                  },
+                  "excludeChannels": {
+                    "type": "boolean",
+                    "default": false
                   }
                 }
               }
@@ -78729,6 +78893,15 @@
           "isSuspended": {
             "type": "boolean"
           },
+          "suspensionState": {
+            "type": "string",
+            "enum": [
+              "none",
+              "manuallySuspended",
+              "goneSuspended",
+              "autoSuspendedForNotResponding"
+            ]
+          },
           "isBlocked": {
             "type": "boolean"
           },
@@ -78830,6 +79003,7 @@
           "followersCount",
           "isNotResponding",
           "isSuspended",
+          "suspensionState",
           "isBlocked",
           "softwareName",
           "softwareVersion",

Get diff files from Workflow Page

Copy link

codecov bot commented May 28, 2024

Codecov Report

Attention: Patch coverage is 71.65806% with 494 lines in your changes are missing coverage. Please review.

Project coverage is 65.17%. Comparing base (eda7e8a) to head (d6391c7).
Report is 77 commits behind head on develop.

Files Patch % Lines
packages/frontend/src/scripts/get-note-menu.ts 2.77% 70 Missing ⚠️
...ackend/src/server/api/endpoints/i/notifications.ts 2.17% 45 Missing ⚠️
packages/backend/src/server/HealthServerService.ts 29.62% 33 Missing and 5 partials ⚠️
...ages/backend/src/server/web/ClientServerService.ts 0.00% 32 Missing ⚠️
...kend/src/queue/processors/InboxProcessorService.ts 8.82% 31 Missing ⚠️
...kages/backend/src/server/api/endpoints/i/update.ts 0.00% 21 Missing ⚠️
...end/src/core/entities/AnnouncementEntityService.ts 73.23% 18 Missing and 1 partial ⚠️
packages/frontend/src/scripts/popup-position.ts 0.00% 19 Missing ⚠️
packages/backend/src/server/api/stream/channel.ts 18.18% 18 Missing ⚠️
packages/backend/src/core/AnnouncementService.ts 27.27% 16 Missing ⚠️
... and 50 more
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #132      +/-   ##
===========================================
- Coverage    66.29%   65.17%   -1.12%     
===========================================
  Files         1007     1006       -1     
  Lines       118001   114548    -3453     
  Branches      4484     5898    +1414     
===========================================
- Hits         78224    74660    -3564     
+ Misses       39744    38412    -1332     
- Partials        33     1476    +1443     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@n1lsqn n1lsqn closed this Jun 1, 2024
@n1lsqn n1lsqn deleted the feat/2024.3.1-n.beta.5 branch August 5, 2024 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants