版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

访问路径:api/app/getAppCover

接口说明:根据作品id获取作品封面信息

URL结构

https://open.rabbitpre.com/api/app/getAppCover

接口协议:HTTPS

HTTP请求方式:GET

请求参数

...

参数

...

必选

...

类型

...

说明

...

appid

...

true

...

string

...

兔展作品id

应用权限:作品——>作品信息

类型: GET

Author: Shang Pan,flame

Content-Type: application/x-www-form-urlencoded;charset=utf-8

接口描述 获取作品封面

Request-headers:

Header类型是否必填字段描述

X-Token

string

true

token

Query-parameters:

参数类型是否必填字段描述

appid

string

true

兔展作品id

uid

string

true

第三方平台用户的用户id

companyId

string

false

第三方平台企业id

接口出参:

Field类型字段描述

code

string

状态码

errorCode

string

错误状态码

msg

string

状态描述

data

string

作品封面图片地址

请求示例

代码块
curl -X GET -k -H 'Content-Type: application/x-www-form-urlencoded;charset=utf-8' -H 'X-Token:r9i6T6VXdAV0vjiMBxODFRddRVY' -i https://integrate

请求示例

换行和缩进只是为了更好的展示:

...

.rabbitpre.com/api/open/api/app/getAppCover

...

返回参数

...

?appid=91&uid=91&companyId=91 


返回示例

{
    "code":"200",
    "errorCode":"SUCCESS",
    "msg":"ok",
    "data":"//test-cdn1.rabbitpre.com/0e7b5b23-d9cd-47ea-8378-9208f9b578b0"

}