| Description |
|---|
| deviceId: Device ID |
| slotId: Slot ID |
| montageId: Mosaic source ID |
| name: Template name |
| isUsed: 0: used, 1: not used |
| row: Row |
| column: Column |
| streamId: Stream ID |
| x,y: Horizontal and vertical coordinates |
| width,height: Width and height |
| zorder: Template z-order |
| id: “0-0”: Cell position |
{
"body": {
"slotId": 2,
"montageId": 0,
"name": "csq",
"isUsed": 0,
"row": 2,
"column": 2,
"streamList": [
{
"streamId": 36,
"x": 0,
"y": 1080,
"width": 1920,
"height": 1080,
"channelName": "63_test_03",
"streamIndex": 0,
"index": 0
}
],
"deviceId": 0
},
"sign": "MDBmZjQ1NzgxMGFjNGNhZTQ2N2U3ZTc4ODk0YTBiN2M=",
"pId": "1",
"timeStamp": "1631949094265"
}curl --location --request POST '/open/api/ipc/IPCMontageTemplateCreate' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"slotId": 2,
"montageId": 0,
"name": "csq",
"isUsed": 0,
"row": 2,
"column": 2,
"streamList": [
{
"streamId": 36,
"x": 0,
"y": 1080,
"width": 1920,
"height": 1080,
"channelName": "63_test_03",
"streamIndex": 0,
"index": 0
}
],
"deviceId": 0
},
"sign": "MDBmZjQ1NzgxMGFjNGNhZTQ2N2U3ZTc4ODk0YTBiN2M=",
"pId": "1",
"timeStamp": "1631949094265"
}'{
"data": {},
"msg": "",
"status": 0
}