poster.md 5.67 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: walk
          schema:
            type: string
        - name: a
          in: query
          description: ''
          required: true
          example: map_activity
          schema:
            type: string
        - name: t
          in: query
          description: ''
          required: true
          example: poster
          schema:
            type: string
        - name: activity_id
          in: query
          description: 活动ID
          required: false
          example:
            - ''
          schema:
            type: string
        - name: detail_id
          in: query
          description: 关卡ID
          required: false
          example: ''
          schema:
            type: string
        - name: env_version
          in: query
          description: 小程序版本。正式版为 "release",体验版为 "trial"。默认是正式版
          required: false
          example: trial
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      details:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              title: 关卡ID
                            name:
                              type: string
                              title: 关卡名称
                            background_url:
                              type: string
                              title: 关卡背景图
                            main_slogan:
                              type: string
                            sub_slogan:
                              type: string
                            is_checked:
                              type: boolean
                              title: 是否已经打卡
                          x-apifox-orders:
                            - id
                            - name
                            - is_checked
                            - background_url
                            - main_slogan
                            - sub_slogan
                          required:
                            - id
                            - name
                            - background_url
                            - main_slogan
                            - sub_slogan
                            - is_checked
                        title: 关卡列表
                      family:
                        type: object
                        properties:
                          id:
                            type: integer
                            title: 家庭ID
                          name:
                            type: string
                            title: 家庭名称
                          avatar_url:
                            type: string
                            title: 家庭头像
                        x-apifox-orders:
                          - id
                          - name
                          - avatar_url
                        required:
                          - id
                          - name
                          - avatar_url
                        title: 用户的当前家庭
                      show_detail_index:
                        type: integer
                        title: 当前应该显示第几个关卡
                        description: 从 0 开始计数
                      end_date:
                        type: string
                        title: 活动截止时间
                      qrcode_url:
                        type: string
                        title: 小程序码
                      title:
                        type: string
                        title: 海报标题
                      begin_date:
                        type: string
                        title: 活动开始日期
                    x-apifox-orders:
                      - title
                      - begin_date
                      - end_date
                      - details
                      - show_detail_index
                      - family
                      - qrcode_url
                    required:
                      - title
                      - details
                      - family
                      - show_detail_index
                      - end_date
                      - qrcode_url
                      - begin_date
                x-apifox-orders:
                  - code
                  - msg
                  - data
                required:
                  - code
                  - msg
                  - data
          headers: {}
          x-apifox-name: 成功
          x-apifox-ordering: 0
      security: []
      x-apifox-folder: 老来赛/地图-新版多活动
      x-apifox-status: integrating
      x-run-in-apifox: https://app.apifox.com/web/project/1753326/apis/api-417072142-run
components:
  schemas: {}
  responses: {}
  securitySchemes: {}
servers: []
security: []