GET api/PublicV770/GetOSSToken?newspapergroupId={newspapergroupId}&mediaType={mediaType}&js={js}
获取OSS凭证
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| newspapergroupId | integer |
Default value is 0 |
|
| mediaType |
媒体文件类型 1-图片 2-音视频 |
integer |
Default value is 0 |
| js | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
ZaiMieApp.WebApi.ViewModel.ResultDataMsgOfSystem.Object| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| code | integer |
None. |
|
| data | Object |
None. |
|
| addcoin | integer |
None. |
|
| message | string |
None. |
|
| page | integer |
None. |
|
| allPage | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"code": 2,
"data": {},
"addcoin": 4,
"message": "sample string 5",
"page": 6,
"allPage": 7
}
application/xml, text/xml
Sample:
<ResultDataMsgOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel"> <addcoin>4</addcoin> <allPage>7</allPage> <code>2</code> <data /> <message>sample string 5</message> <page>6</page> <success>true</success> </ResultDataMsgOfanyType>