week_hot.md 4.69 KB

热门文章

OpenAPI Specification

openapi: 3.0.1
info:
  title: ''
  version: 1.0.0
paths:
  /srv/:
    get:
      summary: 热门文章
      deprecated: false
      description: ''
      tags:
        - 文章
      parameters:
        - name: f
          in: query
          description: ''
          required: true
          example: manulife
          schema:
            type: string
        - name: a
          in: query
          description: ''
          required: true
          example: article
          schema:
            type: string
        - name: t
          in: query
          description: ''
          required: false
          example: week_hot
          schema:
            type: string
        - name: limit
          in: query
          description: ''
          required: false
          example: '10'
          schema:
            type: string
        - name: page
          in: query
          description: ''
          required: false
          example: '0'
          schema:
            type: string
        - name: cid
          in: query
          description: 分类id
          required: false
          example: '2768724'
          schema:
            type: string
        - name: keyword
          in: query
          description: 搜索关键词
          required: false
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      list:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                            post_title:
                              type: string
                              title: 标题
                            post_excerpt:
                              type: 'null'
                              title: 简介
                            post_link:
                              type: string
                              title: 外部链接
                            post_date:
                              type: string
                              title: 发布日期
                            is_favorite:
                              type: integer
                              title: 是否收藏
                            read_people_count:
                              type: string
                              title: 学习人数
                            read_people_percent:
                              type: string
                              title: 学习人数比例
                          x-apifox-orders:
                            - id
                            - post_title
                            - post_excerpt
                            - post_link
                            - post_date
                            - is_favorite
                            - read_people_count
                            - read_people_percent
                          required:
                            - read_people_count
                            - read_people_percent
                      total:
                        type: integer
                    required:
                      - list
                      - total
                    x-apifox-orders:
                      - list
                      - total
                required:
                  - code
                  - msg
                  - data
                x-apifox-orders:
                  - code
                  - msg
                  - data
              example:
                code: 1
                msg: 成功
                data:
                  list:
                    - id: 2767726
                      post_title: '东台弥陀寺2025年9月闭关报名公告 '
                      post_excerpt: null
                      post_link: ''
                      post_date: '2025-09-01 20:35:42+08'
                      open_num: 49
                      is_favorite: 0
                  total: 1
          headers: {}
          x-apifox-name: 成功
          x-apifox-ordering: 0
      security: []
      x-apifox-folder: 文章
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/7792797/apis/api-420251865-run
components:
  schemas: {}
  responses: {}
  securitySchemes: {}
servers:
  - url: https://manulife.onwall.cn
    description: 正式环境
security: []