POST libraryFile/create

上传族库文件

Request Information

URI Parameters

None.

Body Parameters

CreatFile
NameDescriptionTypeAdditional information
libraryId

integer

None.

typeId

integer

None.

subtypeId

integer

None.

reclassifytypeId

integer

None.

title

string

None.

img

string

None.

file

string

None.

size

decimal number

None.

remark

string

None.

uid

integer

None.

memberId

string

None.

passId

integer

None.

softId

integer

None.

companyId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "libraryId": 1,
  "typeId": 2,
  "subtypeId": 3,
  "reclassifytypeId": 4,
  "title": "sample string 5",
  "img": "sample string 6",
  "file": "sample string 7",
  "size": 8.1,
  "remark": "sample string 9",
  "uid": 10,
  "memberId": "sample string 11",
  "passId": 12,
  "softId": 13,
  "companyId": 14
}

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 'CreatFile'.

Response Information

Resource Description

上传族库文件

msg
NameDescriptionTypeAdditional information
success

操作是否成功

boolean

None.

singleInfo

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "singleInfo": "sample string 2"
}