获取模块管理偏好设置

OpenAPI 契约

方法
GET
路径
/api/v1/processors/modules/preferences
认证
jwtBearer (bearer) OR automationKey (bearer)
响应状态
200 400 401 403 404 429 500
请求与响应 Schema
JSON
{
  "requestBody": {},
  "responses": {
    "200": {
      "description": "Module Management preferences",
      "content": {
        "application/json": {
          "$ref": "#/components/schemas/ModulePreferencesResponse"
        }
      }
    },
    "400": {
      "description": "Invalid request",
      "content": {
        "application/json": {
          "$ref": "#/components/schemas/RequestError"
        }
      }
    },
    "401": {
      "description": "Authentication required or invalid",
      "content": {
        "application/json": {
          "$ref": "#/components/schemas/SecurityError"
        }
      }
    },
    "403": {
      "description": "Authenticated but not permitted",
      "content": {
        "application/json": {
          "$ref": "#/components/schemas/SecurityError"
        }
      }
    },
    "404": {
      "description": "Requested processor preset was not found",
      "content": {
        "application/json": {
          "$ref": "#/components/schemas/ApiError"
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded",
      "content": {
        "application/json": {
          "$ref": "#/components/schemas/SecurityError"
        }
      }
    },
    "500": {
      "description": "Unexpected server error",
      "content": {
        "application/json": {
          "$ref": "#/components/schemas/ApiError"
        }
      }
    }
  }
}

GET /api/v1/processors/modules/preferences 接受带有 processor:read 权限的 JWT 或 nfy_ 密钥。它返回账户级别的 autoSaveEnabled 偏好设置和当前配置文件 ID。这些值是跨设备偏好设置,不属于配置文件的模块配置的一部分。

http
GET /api/v1/processors/modules/preferences
Authorization: Bearer <access token>