# 查询 MSL / MSLX 公告

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /software/notice:
    get:
      summary: 查询 MSL / MSLX 公告
      deprecated: false
      description: 查询公告内容，id，以及tips栏内容
      tags:
        - MSL本体
      parameters:
        - name: query
          in: query
          description: >-
            查询参数（支持：id（公告id），content（公告内容），tips（tips内容）,mslxNoticeMd
            （MSLX网页版公告）,mslxNotice（MSLX桌面版公告））
          required: false
          example: tips
          schema:
            type: string
        - name: User-Agent
          in: header
          description: ''
          example: MSL API Test
          schema:
            type: string
            default: MSL API Test
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      noticeID:
                        type: integer
                    required:
                      - noticeID
                    x-apifox-orders:
                      - noticeID
                required:
                  - code
                  - message
                  - data
                x-apifox-orders:
                  - code
                  - message
                  - data
              examples:
                '1':
                  summary: 成功示例
                  value:
                    code: 200
                    message: ''
                    data: 1102
                '2':
                  summary: 成功示例
                  value:
                    code: 200
                    message: ''
                    data:
                      notice: 喵？
                '3':
                  summary: 成功示例
                  value:
                    code: 200
                    message: ''
                    data:
                      tips:
                        - ——启动！
          headers: {}
          x-apifox-name: 查询公告ID
        x-200:查询公告内容:
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      notice:
                        type: string
                    required:
                      - notice
                    x-apifox-orders:
                      - notice
                required:
                  - code
                  - message
                  - data
                x-apifox-orders:
                  - code
                  - message
                  - data
          headers: {}
          x-apifox-name: 查询公告内容
        x-200:查询tips:
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      tips:
                        type: array
                        items:
                          type: string
                    required:
                      - tips
                    x-apifox-orders:
                      - tips
                required:
                  - code
                  - message
                  - data
                x-apifox-orders:
                  - code
                  - message
                  - data
          headers: {}
          x-apifox-name: 查询tips
      security: []
      x-apifox-folder: MSL本体
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/7956474/apis/api-429587262-run
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []

```
