---
title: "保存插件订阅源列表"
method: PUT
path: "/settings/plugin-registries"
tags: ["JS插件管理"]
---

# 保存插件订阅源列表

`PUT /settings/plugin-registries`

保存用户配置的插件注册表订阅源 URL 列表。每个源包含 URL、名称和是否启用。

## Request body

- HandlersPluginRegistriesSetting
  - `registries` JspluginRegistryConfig[]
    - `enabled` boolean
    - `name` string
    - `token` string
    - `url` string

## Response `200`

保存后的订阅源列表

- HandlersPluginRegistriesSetting
  - `registries` JspluginRegistryConfig[]
    - `enabled` boolean
    - `name` string
    - `token` string
    - `url` string

## Other responses

- `400` — 请求格式错误
- `500` — 保存配置失败

---

[API](https://skmtc.net/songloft-org/apis/songloft-api.md) · [All operations](https://skmtc.net/songloft-org/apis/songloft-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/songloft-org/songloft-api/versions/e4d4950ef665/schema)
