POSTAPIの概要 実装を見る

No description provided.

Credential required: Yes

パラメータ

名前既定値
任意disableRegistration真偽値-
任意pinnedUsers配列(内容: 文字列)-
任意hiddenTags配列(内容: 文字列)-
任意blockedHosts配列(内容: 文字列)-
任意sensitiveWords配列(内容: 文字列)-
任意themeColor文字列-
任意mascotImageUrl文字列-
任意bannerUrl文字列-
任意serverErrorImageUrl文字列-
任意infoImageUrl文字列-
任意notFoundImageUrl文字列-
任意iconUrl文字列-
任意app192IconUrl文字列-
任意app512IconUrl文字列-
任意backgroundImageUrl文字列-
任意logoImageUrl文字列-
任意name文字列-
任意shortName文字列-
任意description文字列-
任意defaultLightTheme文字列-
任意defaultDarkTheme文字列-
cacheRemoteFiles真偽値-
cacheRemoteSensitiveFiles真偽値-
emailRequiredForSignup真偽値-
enableHcaptcha真偽値-
任意hcaptchaSiteKey文字列-
任意hcaptchaSecretKey文字列-
enableRecaptcha真偽値-
任意recaptchaSiteKey文字列-
任意recaptchaSecretKey文字列-
enableTurnstile真偽値-
任意turnstileSiteKey文字列-
任意turnstileSecretKey文字列-
sensitiveMediaDetection文字列-
sensitiveMediaDetectionSensitivity文字列-
setSensitiveFlagAutomatically真偽値-
enableSensitiveMediaDetectionForVideos真偽値-
任意proxyAccountId文字列-
任意maintainerName文字列-
任意maintainerEmail文字列-
langs配列(内容: 文字列)-
任意summalyProxy文字列-
任意deeplAuthKey文字列-
deeplIsPro真偽値-
enableEmail真偽値-
任意email文字列-
smtpSecure真偽値-
任意smtpHost文字列-
任意smtpPort整数-
任意smtpUser文字列-
任意smtpPass文字列-
enableServiceWorker真偽値-
任意swPublicKey文字列-
任意swPrivateKey文字列-
任意tosUrl文字列-
repositoryUrl文字列-
feedbackUrl文字列-
useObjectStorage真偽値-
任意objectStorageBaseUrl文字列-
任意objectStorageBucket文字列-
任意objectStoragePrefix文字列-
任意objectStorageEndpoint文字列-
任意objectStorageRegion文字列-
任意objectStoragePort整数-
任意objectStorageAccessKey文字列-
任意objectStorageSecretKey文字列-
objectStorageUseSSL真偽値-
objectStorageUseProxy真偽値-
objectStorageSetPublicRead真偽値-
objectStorageS3ForcePathStyle真偽値-
enableIpLogging真偽値-
enableActiveEmailValidation真偽値-
enableChartsForRemoteUser真偽値-
enableChartsForFederatedInstances真偽値-
enableServerMachineStats真偽値-
enableIdenticonGeneration真偽値-
serverRules配列(内容: 文字列)-
preservedUsernames配列(内容: 文字列)-
manifestJsonOverride文字列-

204 レスポンス リクエスト成功(内容なし)

なし

400 エラー クライアント側エラー

名前
なし

401 エラー 認証エラー

名前
なし

403 エラー 権限関連のエラー

名前
なし

418 エラー I'm Ai

名前
なし

500 エラー サーバー内部エラー

名前
なし
{
  "_path": "/api-docs/endpoints/admin/update-meta",
  "_dir": "admin",
  "_draft": false,
  "_partial": false,
  "_locale": "",
  "data": {
    "post": {
      "operationId": "admin/update-meta",
      "summary": "admin/update-meta",
      "description": "No description provided.\n\n**Credential required**: *Yes*",
      "externalDocs": {
        "description": "Source code",
        "url": "https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/update-meta.ts"
      },
      "tags": [
        "admin"
      ],
      "security": [
        {
          "ApiKeyAuth": []
        }
      ],
      "requestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "disableRegistration": {
                  "type": "boolean",
                  "nullable": true
                },
                "pinnedUsers": {
                  "type": "array",
                  "nullable": true,
                  "items": {
                    "type": "string"
                  }
                },
                "hiddenTags": {
                  "type": "array",
                  "nullable": true,
                  "items": {
                    "type": "string"
                  }
                },
                "blockedHosts": {
                  "type": "array",
                  "nullable": true,
                  "items": {
                    "type": "string"
                  }
                },
                "sensitiveWords": {
                  "type": "array",
                  "nullable": true,
                  "items": {
                    "type": "string"
                  }
                },
                "themeColor": {
                  "type": "string",
                  "nullable": true,
                  "pattern": "^#[0-9a-fA-F]{6}$"
                },
                "mascotImageUrl": {
                  "type": "string",
                  "nullable": true
                },
                "bannerUrl": {
                  "type": "string",
                  "nullable": true
                },
                "serverErrorImageUrl": {
                  "type": "string",
                  "nullable": true
                },
                "infoImageUrl": {
                  "type": "string",
                  "nullable": true
                },
                "notFoundImageUrl": {
                  "type": "string",
                  "nullable": true
                },
                "iconUrl": {
                  "type": "string",
                  "nullable": true
                },
                "app192IconUrl": {
                  "type": "string",
                  "nullable": true
                },
                "app512IconUrl": {
                  "type": "string",
                  "nullable": true
                },
                "backgroundImageUrl": {
                  "type": "string",
                  "nullable": true
                },
                "logoImageUrl": {
                  "type": "string",
                  "nullable": true
                },
                "name": {
                  "type": "string",
                  "nullable": true
                },
                "shortName": {
                  "type": "string",
                  "nullable": true
                },
                "description": {
                  "type": "string",
                  "nullable": true
                },
                "defaultLightTheme": {
                  "type": "string",
                  "nullable": true
                },
                "defaultDarkTheme": {
                  "type": "string",
                  "nullable": true
                },
                "cacheRemoteFiles": {
                  "type": "boolean"
                },
                "cacheRemoteSensitiveFiles": {
                  "type": "boolean"
                },
                "emailRequiredForSignup": {
                  "type": "boolean"
                },
                "enableHcaptcha": {
                  "type": "boolean"
                },
                "hcaptchaSiteKey": {
                  "type": "string",
                  "nullable": true
                },
                "hcaptchaSecretKey": {
                  "type": "string",
                  "nullable": true
                },
                "enableRecaptcha": {
                  "type": "boolean"
                },
                "recaptchaSiteKey": {
                  "type": "string",
                  "nullable": true
                },
                "recaptchaSecretKey": {
                  "type": "string",
                  "nullable": true
                },
                "enableTurnstile": {
                  "type": "boolean"
                },
                "turnstileSiteKey": {
                  "type": "string",
                  "nullable": true
                },
                "turnstileSecretKey": {
                  "type": "string",
                  "nullable": true
                },
                "sensitiveMediaDetection": {
                  "type": "string",
                  "enum": [
                    "none",
                    "all",
                    "local",
                    "remote"
                  ]
                },
                "sensitiveMediaDetectionSensitivity": {
                  "type": "string",
                  "enum": [
                    "medium",
                    "low",
                    "high",
                    "veryLow",
                    "veryHigh"
                  ]
                },
                "setSensitiveFlagAutomatically": {
                  "type": "boolean"
                },
                "enableSensitiveMediaDetectionForVideos": {
                  "type": "boolean"
                },
                "proxyAccountId": {
                  "type": "string",
                  "format": "misskey:id",
                  "nullable": true
                },
                "maintainerName": {
                  "type": "string",
                  "nullable": true
                },
                "maintainerEmail": {
                  "type": "string",
                  "nullable": true
                },
                "langs": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "summalyProxy": {
                  "type": "string",
                  "nullable": true
                },
                "deeplAuthKey": {
                  "type": "string",
                  "nullable": true
                },
                "deeplIsPro": {
                  "type": "boolean"
                },
                "enableEmail": {
                  "type": "boolean"
                },
                "email": {
                  "type": "string",
                  "nullable": true
                },
                "smtpSecure": {
                  "type": "boolean"
                },
                "smtpHost": {
                  "type": "string",
                  "nullable": true
                },
                "smtpPort": {
                  "type": "integer",
                  "nullable": true
                },
                "smtpUser": {
                  "type": "string",
                  "nullable": true
                },
                "smtpPass": {
                  "type": "string",
                  "nullable": true
                },
                "enableServiceWorker": {
                  "type": "boolean"
                },
                "swPublicKey": {
                  "type": "string",
                  "nullable": true
                },
                "swPrivateKey": {
                  "type": "string",
                  "nullable": true
                },
                "tosUrl": {
                  "type": "string",
                  "nullable": true
                },
                "repositoryUrl": {
                  "type": "string"
                },
                "feedbackUrl": {
                  "type": "string"
                },
                "useObjectStorage": {
                  "type": "boolean"
                },
                "objectStorageBaseUrl": {
                  "type": "string",
                  "nullable": true
                },
                "objectStorageBucket": {
                  "type": "string",
                  "nullable": true
                },
                "objectStoragePrefix": {
                  "type": "string",
                  "nullable": true
                },
                "objectStorageEndpoint": {
                  "type": "string",
                  "nullable": true
                },
                "objectStorageRegion": {
                  "type": "string",
                  "nullable": true
                },
                "objectStoragePort": {
                  "type": "integer",
                  "nullable": true
                },
                "objectStorageAccessKey": {
                  "type": "string",
                  "nullable": true
                },
                "objectStorageSecretKey": {
                  "type": "string",
                  "nullable": true
                },
                "objectStorageUseSSL": {
                  "type": "boolean"
                },
                "objectStorageUseProxy": {
                  "type": "boolean"
                },
                "objectStorageSetPublicRead": {
                  "type": "boolean"
                },
                "objectStorageS3ForcePathStyle": {
                  "type": "boolean"
                },
                "enableIpLogging": {
                  "type": "boolean"
                },
                "enableActiveEmailValidation": {
                  "type": "boolean"
                },
                "enableChartsForRemoteUser": {
                  "type": "boolean"
                },
                "enableChartsForFederatedInstances": {
                  "type": "boolean"
                },
                "enableServerMachineStats": {
                  "type": "boolean"
                },
                "enableIdenticonGeneration": {
                  "type": "boolean"
                },
                "serverRules": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "preservedUsernames": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "manifestJsonOverride": {
                  "type": "string"
                }
              },
              "required": []
            }
          }
        }
      },
      "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"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "title": "admin/update-meta",
  "_id": "content:api-docs:endpoints:admin:update-meta.json",
  "_type": "json",
  "_source": "content",
  "_file": "api-docs/endpoints/admin/update-meta.json",
  "_extension": "json"
}