# 列出设置

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/admin/setting/list:
    get:
      summary: 列出设置
      deprecated: false
      description: 包括永久令牌
      tags:
        - admin/setting
        - admin/setting
        - alist Copy/admin/setting
      parameters:
        - name: groups
          in: query
          description: 5,0-其它设置，包括aria2和令牌等
          required: false
          example: 5,0
          schema:
            type: string
        - name: group
          in: query
          description: 1-站点；2-样式；3-预览；4-全局；7-单点登录
          required: false
          example: '1'
          schema:
            type: string
        - name: Authorization
          in: header
          description: ''
          required: false
          example: '{{alist_token}}'
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    title: 状态码
                  message:
                    type: string
                    title: 信息
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        key:
                          type: string
                          title: 键
                        value:
                          type: string
                          title: 值
                        help:
                          type: string
                          title: 帮助信息
                        type:
                          type: string
                          title: 类型
                          description: string, number, bool, select
                        options:
                          type: string
                          title: 选项
                        group:
                          type: integer
                          title: 分组
                          description: 用于前端分组
                        flag:
                          type: integer
                          description: >-
                            0 = public, 1 = private, 2 = readonly, 3 =
                            deprecated
                          title: 标志
                      required:
                        - key
                        - value
                        - help
                        - type
                        - options
                        - group
                        - flag
                      x-apifox-orders:
                        - key
                        - value
                        - help
                        - type
                        - options
                        - group
                        - flag
                    title: ''
                required:
                  - code
                  - message
                  - data
                x-apifox-orders:
                  - code
                  - message
                  - data
              example:
                code: 200
                message: success
                data:
                  - key: aria2_uri
                    value: http://localhost:6800/jsonrpc
                    help: ''
                    type: string
                    options: ''
                    group: 5
                    flag: 1
                  - key: aria2_secret
                    value: ''
                    help: ''
                    type: string
                    options: ''
                    group: 5
                    flag: 1
                  - key: token
                    value: alist-2a
                    help: ''
                    type: string
                    options: ''
                    group: 0
                    flag: 1
                  - key: index_progress
                    value: >-
                      {"obj_count":0,"is_done":true,"last_done_time":null,"error":""}
                    help: ''
                    type: text
                    options: ''
                    group: 0
                    flag: 1
                  - key: qbittorrent_url
                    value: http://a:an@localhost:8080/
                    help: ''
                    type: string
                    options: ''
                    group: 0
                    flag: 1
                  - key: qbittorrent_seedtime
                    value: '0'
                    help: ''
                    type: number
                    options: ''
                    group: 0
                    flag: 1
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: admin/setting
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/6849786/apis/api-327955455-run
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []

```
