POST Down/works

下载公用

Request Information

URI Parameters

None.

Body Parameters

DownworksRequestModel
NameDescriptionTypeAdditional information
ip

IP

string

None.

workID

素材ID

integer

None.

size

下载大小(照片、插画、向量,才传)

string

None.

workType

作品类型(必传)

workTypeEnum

None.

Request Formats

application/json, text/json

Sample:
{
  "ip": "sample string 1",
  "workID": 2,
  "size": "sample string 3",
  "workType": 0
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DownworksRequestModel'.

Response Information

Resource Description

消息分类

ApiResultModelOfString
NameDescriptionTypeAdditional information
Code

CodeEnum

None.

Msg

string

None.

Result

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 0,
  "Msg": "sample string 1",
  "Result": "sample string 2"
}