# 获取小程序 Ark

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /get_mini_app_ark:
    post:
      summary: 获取小程序 Ark
      deprecated: false
      description: ''
      tags:
        - 系统扩展
        - 系统扩展
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              description: 小程序Ark参数
              anyOf:
                - type: object
                  properties:
                    type:
                      description: 模板类型
                      enum:
                        - bili
                        - weibo
                      type: string
                    title:
                      description: 标题
                      type: string
                    desc:
                      description: 描述
                      type: string
                    picUrl:
                      description: 图片URL
                      type: string
                    jumpUrl:
                      description: 跳转URL
                      type: string
                    webUrl:
                      description: 网页URL
                      type: string
                    rawArkData:
                      description: 是否返回原始Ark数据
                      type: string
                  required:
                    - type
                    - title
                    - desc
                    - picUrl
                    - jumpUrl
                  x-apifox-orders:
                    - type
                    - title
                    - desc
                    - picUrl
                    - jumpUrl
                    - webUrl
                    - rawArkData
                  x-apifox-ignore-properties: []
                - type: object
                  properties:
                    title:
                      description: 标题
                      type: string
                    desc:
                      description: 描述
                      type: string
                    picUrl:
                      description: 图片URL
                      type: string
                    jumpUrl:
                      description: 跳转URL
                      type: string
                    iconUrl:
                      description: 图标URL
                      type: string
                    webUrl:
                      description: 网页URL
                      type: string
                    appId:
                      description: 小程序AppID
                      type: string
                    scene:
                      description: 场景ID
                      type: string
                    templateType:
                      description: 模板类型
                      type: string
                    businessType:
                      description: 业务类型
                      type: string
                    verType:
                      description: 版本类型
                      type: string
                    shareType:
                      description: 分享类型
                      type: string
                    versionId:
                      description: 版本ID
                      type: string
                    sdkId:
                      description: SDK ID
                      type: string
                    withShareTicket:
                      description: 是否携带分享票据
                      type: string
                    rawArkData:
                      description: 是否返回原始Ark数据
                      type: string
                  required:
                    - title
                    - desc
                    - picUrl
                    - jumpUrl
                    - iconUrl
                    - appId
                    - scene
                    - templateType
                    - businessType
                    - verType
                    - shareType
                    - versionId
                    - sdkId
                    - withShareTicket
                  x-apifox-orders:
                    - title
                    - desc
                    - picUrl
                    - jumpUrl
                    - iconUrl
                    - webUrl
                    - appId
                    - scene
                    - templateType
                    - businessType
                    - verType
                    - shareType
                    - versionId
                    - sdkId
                    - withShareTicket
                    - rawArkData
                  x-apifox-ignore-properties: []
            examples:
              Default:
                value:
                  type: bili
                  title: 测试标题
                  desc: 测试描述
                  picUrl: http://example.com/pic.jpg
                  jumpUrl: http://example.com
                summary: 默认请求示例
      responses:
        '200':
          description: 业务响应
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/BaseResponse'
                  - type: object
                    required:
                      - data
                    properties:
                      data:
                        description: 业务数据
                        type: object
                        properties:
                          data:
                            description: Ark数据
                            type: object
                            x-apifox-orders: []
                            properties: {}
                            x-apifox-ignore-properties: []
                        required:
                          - data
                        x-apifox-orders:
                          - data
                        x-apifox-ignore-properties: []
                    x-apifox-orders:
                      - data
                    x-apifox-ignore-properties: []
              examples:
                Success:
                  summary: 成功响应
                  value:
                    status: ok
                    retcode: 0
                    data:
                      data:
                        ark: ark_content
                    message: ''
                    wording: ''
                    stream: normal-action
                Error_1400:
                  summary: 请求参数错误或业务逻辑执行失败
                  value:
                    status: failed
                    retcode: 1400
                    data: null
                    message: 请求参数错误或业务逻辑执行失败
                    wording: 请求参数错误或业务逻辑执行失败
                    stream: normal-action
                Error_1401:
                  summary: 权限不足
                  value:
                    status: failed
                    retcode: 1401
                    data: null
                    message: 权限不足
                    wording: 权限不足
                    stream: normal-action
                Error_1404:
                  summary: 资源不存在
                  value:
                    status: failed
                    retcode: 1404
                    data: null
                    message: 资源不存在
                    wording: 资源不存在
                    stream: normal-action
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: 系统扩展
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/5348325/apis/api-227738594-run
components:
  schemas:
    BaseResponse:
      type: object
      x-schema-id: BaseResponse
      properties:
        status:
          type: string
          description: 状态 (ok/failed)
        retcode:
          type: number
          description: 返回码
        data:
          type: string
        message:
          type: string
          description: 消息
        wording:
          type: string
          description: 提示
        stream:
          type: string
          description: 流式响应
          enum:
            - stream-action
            - normal-action
      required:
        - status
        - retcode
      x-apifox-orders:
        - status
        - retcode
        - data
        - message
        - wording
        - stream
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
  securitySchemes: {}
servers: []
security: []

```
