POST libraryFile/createNew
新修改族库上传功能
Request Information
URI Parameters
None.
Body Parameters
CreatNewFileName | Description | Type | Additional information |
---|---|---|---|
libraryId |
对应族库(必填 1:公共 2:个人 3:企业) |
integer |
Required Range: inclusive between 1 and 3 |
typeId |
族库一级分类 |
integer |
Required |
subtypeId |
二级分类 |
integer |
Required |
reclassifytypeId |
三级分类 |
integer |
None. |
title |
标题 |
string |
Required |
img |
封面 |
string |
Required |
size | decimal number |
Required |
|
remark | string |
None. |
|
fileName | string |
Required |
|
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", "size": 7.1, "remark": "sample string 8", "fileName": "sample string 9", "uid": 10, "memberId": "sample string 11", "passId": 12, "softId": 13, "companyId": 14 }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
新修改族库上传功能
msgName | Description | Type | Additional information |
---|---|---|---|
success |
操作是否成功 |
boolean |
None. |
singleInfo | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true, "singleInfo": "sample string 2" }