Create / Update Station Logo
Service Address
http://api-az-cn.danghongyun.com/rest
Request Method
POST
Request Parameters
Parameter | Description | Type | Required |
---|---|---|---|
accessKey | The user access key | String | Required |
action | API name, this api is "logoGroup" | String | Required |
version | API version, currently must be 2.0 | String | Required |
timestamp | Invoke time in milliseconds since january 1 1970, eg: 1466488681033 | String | Required |
signature | Signature generated by signature rule. | String | Required |
id | The ID of the logo group. If this parameter is not passed, it is used to add the logo group. If this parameter is passed, it is used to modify the corresponding logo group | String | Optional |
name | Station logo group name | String | Required |
logos | Target parameters within the logo group, exmaple: [{"uri":"bj-hsy-images/p2191m9e/watermark/1.png","width":100,"height":50,"leftPos":0,"topPos":0,"opacity":100,"resize":100,"start":0,"end":50},{"uri":"bj-hsy-images/p2191m9e/watermark/2.png","width":100,"height":50,"leftPos":100,"topPos":100,"opacity":100,"resize":100,"start":50,"end":100}] | String | Required |
logos parameter description:
uri | Relative path of the logo | String | Required |
width | the width of the logo | Integer | Required |
height | the height of the logo | Integer | Required |
leftPos | width percentage of the top left corner position of the logo, eg:90%, is leftPos=90; the following parameter percentages are similar | Integer | Required |
topPos | height percentage of the top left corner position of the logo | Integer | Required |
opacity | Transparency percentage of platform logo | Integer | Required |
resize | Percentage of logo scaling value | Integer | Required |
start | Starting time of logo, percentage | Integer | Required |
end | End time of logo, percentage | Integer | Required |
Response Example
{
"code":0,
"message":"success",
"result":"",
"success":true
}