Query Station Logos
Service Address
http://api-az-cn.danghongyun.com/rest
Request Method
GET
Request Parameters
Parameter | Description | Type | Required |
---|---|---|---|
accessKey | The user access key | String | Required |
action | API name, this api is "liveLogoList" | String | Required |
version | API version, currently must be 2.0 | String | Required |
signature | Signature generated by signature rule. | String | Required |
timestamp | Invoke time in milliseconds since january 1 1970, eg: 1466488681033 | String | Required |
name | The name of the station logo | String | Optional |
id | The station logo id | String | Optional |
Response Example
{
"code": 0,
"message": "operation success",
"result": [{
"id": "ccc6327ae86d476b9c39f7b73dcb687a",
"name": "test bench mark 1",
"userId": 106,
"width": 167,
"height": 50,
"offsetWidth": 449,
"offsetHeight": 18,
"opacity": 100,
"resize": 100,
"httpUrl": "http://p1u0enox.images.danghongyun.local/watermarkLive/3f65c896763e40219ac10c5266641a93.png"
},
{
"id": "fd59c92a54574fdd8ff874a86fe8ec51",
"name": "test bench mark 2",
"userId": 106,
"width": 512,
"height": 512,
"offsetWidth": 529,
"offsetHeight": 9,
"opacity": 100,
"resize": 18,
"httpUrl": "http://p1u0enox.images.danghongyun.local/watermarkLive/8537b53a15b247f4a82156df83de5e82.png"
}],
"success": true
}
Response Fields
Field | Description |
---|---|
id | unique identification |
name | the name of the station mark |
userId | user id |
width | the width of the platform mark |
height | the height of the platform mark |
offsetWidth | the distance between the upper left corner of the station logo and the left side of the video(the width is based on 640 and the actual output is calculated according to the magnification) |
offsetHeight | the distance from the top left corner of the station logo to the top of the video(the height is based on 360 and the actual output is calculated according to the magnification) |
opacity | transparency |
resize | magnification based on the original image,eg:100 is to maintain the size of the original image and 50 is to double the size |
httpUrl | the address of the station mark |