Create 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 "liveLogoCreate" | String | Required |
version | API version, currently must be 2.0 | String | Required |
signature | signature | String | Required |
timestamp | Invoke time in milliseconds since january 1 1970, eg: 1466488681033 | String | Required |
name | logo name | String | Required |
uri | landmark path, eg:bj-hsy-images/kii721n6/watermarkLive/65112b7ae7394313a679020c3543cae9.jpg | String | Required |
width | The width of the station logo | Integer | Required |
height | The height of the station logo | Integer | Required |
offsetWidth | The vertices in the upper left corner of the station logo are offset horizontally | Integer | Required |
offsetHeight | The vertices in the upper left corner of the station logo are offset vertically | Integer | Required |
opacity | The transparency of the station logo 0 100 100 represents opacity and the default is 100 | Integer | Optional |
resize | The scale of the station logo 1 100 100 means no scaling the default is 100 | Integer | Optional |
Response Example
{
"code": 0,
"success": true,
"message": "operation success",
"result": {
"httpUrl": "http://kii721n6.images.danghongyun.com/watermarkLive/65112b7ae7394313a679020c3543cae9.jpg",
"offsetHeight": 1,
"name": "test logo",
"width": 200,
"offsetWidth": 1,
"resize": 100,
"id": "afe8c827f18044c8942524eb7738f693",
"opacity": 100,
"userId": 805,
"uri": "bj-hsy-images/kii721n6/watermarkLive/65112b7ae7394313a679020c3543cae9.jpg",
"height": 200
}
}