HoloPush
HoloPush recording nudge artist
POST
https://exchange-prod-g.2mee.com/job/nudgeArtist
Nudge artist sends a reminder to the artist for recording a hologram. Make sure the artist has been assigned the holopush.
Path Parameters
Name | Type | Description |
---|---|---|
jobId | string | Holopush Id for which artist has to be nudged. |
{
"id": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"title": "updated Title for the Message",
"description": "updated Message Description",
"holoPushLevel": "TORSO",
"dueDate": 1590215857240,
"artist": "ravuri.abhignya@2mee.com",
"artistDueDate": 1590215857240,
"script": "Message Script",
"creator": "testingteam@2mee.com",
"favourite": 0,
"filterId": "9e862fc2-e3b6-4420-bf63-80ad4368ec88",
"isStock": 0,
"state": "EXECUTE",
"appId": "bacb37d0-a51f-491b-bd68-489c245b8c16",
"appName": "Casino App",
"campaignId": null,
"companyId": "6c445333-bac9-4ab0-a0b6-cc6838902abb",
"artistName": "Ravuri Abhignya",
"history": [{
"created": 1590128723000,
"updated": 1590128723000,
"id": 46582,
"jobId": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"comment": null,
"defaultComment": " created this message.",
"creator": "479cec74-767e-4ecb-9e6d-ee508cadbd75",
"creatorName": "Testi Team"
}, {
"created": 1590129204000,
"updated": 1590129204000,
"id": 46593,
"jobId": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"comment": null,
"defaultComment": " took ownership from Dan Kersley",
"creator": "479cec74-767e-4ecb-9e6d-ee508cadbd75",
"creatorName": "Testi Team"
}, {
"created": 1590129316000,
"updated": 1590129316000,
"id": 46600,
"jobId": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"comment": null,
"defaultComment": " assigned this message to Ravuri Abhignya ",
"creator": "479cec74-767e-4ecb-9e6d-ee508cadbd75",
"creatorName": "Testi Team"
}],
"tags": [],
"take": null,
"creatorName": "Testi Team",
"segment": null,
"notificationId": "2ab80602-1fc1-401e-9ee7-80a81f29f0a7",
"jobType": "HOLOPUSH",
"lastNudgeTime": 1590129457240
}
$ curl 'https://exchange-prod-g.2mee.com/job/nudgeArtist?jobId=ada70a04-ddec-4908-b15f-6dac85809bbb'
-i -X POST -H 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTU4OTQ1NTc0OSwiaWF0IjoxNTg5NDM3NzQ5fQ.U2VtugGzqD0s9p0rUXaTxk8F5tHeMf5SB4ZRnYM8TV4QQm6y2FvdFIfD6kjQOhcYuPglSusAjVegzHqDKGgCqA'
HoloPush recording reject
POST
https://exchange-prod-g.2mee.com/job/reject
The holopush will be rejected for reasons described in the comments. A holopush cannot be rejected if it is with the artist or if the holopush is deleted.
Request Body
Name | Type | Description |
---|---|---|
id | string | Holopush Id to be rejected. |
comments | string | Comments describing the reason for rejection. |
{
"id": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"title": "updated Title for the Message",
"description": "updated Message Description",
"holoPushLevel": "TORSO",
"dueDate": "2020-05-23",
"artist": "ravuri.abhignya@2mee.com",
"artistDueDate": "2020-05-23",
"script": "Message Script",
"creator": "testingteam@2mee.com",
"favourite": 0,
"filterId": "9e862fc2-e3b6-4420-bf63-80ad4368ec88",
"isStock": 0,
"state": "REJECTED",
"appId": "bacb37d0-a51f-491b-bd68-489c245b8c16",
"appName": "Casino App",
"campaignId": null,
"companyId": "6c445333-bac9-4ab0-a0b6-cc6838902abb",
"artistName": "Ravuri Abhignya",
"history": [{
"created": 1590128723000,
"updated": 1590128723000,
"id": 46582,
"jobId": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"comment": null,
"defaultComment": " created this message.",
"creator": "479cec74-767e-4ecb-9e6d-ee508cadbd75",
"creatorName": "Testi Team"
}, {
"created": 1590129204000,
"updated": 1590129204000,
"id": 46593,
"jobId": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"comment": null,
"defaultComment": " took ownership from Dan Kersley",
"creator": "479cec74-767e-4ecb-9e6d-ee508cadbd75",
"creatorName": "Testi Team"
}, {
"created": 1590129316000,
"updated": 1590129316000,
"id": 46600,
"jobId": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"comment": null,
"defaultComment": " assigned this message to Ravuri Abhignya ",
"creator": "479cec74-767e-4ecb-9e6d-ee508cadbd75",
"creatorName": "Testi Team"
}, {
"created": 1590129548000,
"updated": 1590129548000,
"id": 46611,
"jobId": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"comment": null,
"defaultComment": " created submission for this message.",
"creator": "479cec74-767e-4ecb-9e6d-ee508cadbd75",
"creatorName": "Testi Team"
}],
"tags": [],
"take": {
"created": 1590129688000,
"updated": 1590131254000,
"id": "052e5a4e-1271-4901-b0a1-10df8073277a",
"jobId": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"url": "https://secureexchange.s3.eu-geo.objectstorage.softlayer.net/ada70a04-ddec-4908-b15f-6dac85809bbb-344445d5-53fc-4ef9-9634-ffb55242e01b-take-1.mp4",
"state": "SELECTED",
"fileName": "ada70a04-ddec-4908-b15f-6dac85809bbb-344445d5-53fc-4ef9-9634-ffb55242e01b-take-1.mp4",
"submission": "344445d5-53fc-4ef9-9634-ffb55242e01b",
"actor": "479cec74-767e-4ecb-9e6d-ee508cadbd75",
"duration": 2000,
"seekTime": 0.345,
"pngUrl": null
},
"creatorName": "Testi Team",
"segment": null,
"notificationId": "2ab80602-1fc1-401e-9ee7-80a81f29f0a7",
"jobType": "HOLOPUSH",
"lastNudgeTime": 1590129457000
}
$ curl 'https://exchange-prod-g.2mee.com/job/reject' -i -X POST -H 'Content-Type: application/json' -H 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTU4OTQ1NTc0OSwiaWF0IjoxNTg5NDM3NzQ5fQ.U2VtugGzqD0s9p0rUXaTxk8F5tHeMf5SB4ZRnYM8TV4QQm6y2FvdFIfD6kjQOhcYuPglSusAjVegzHqDKGgCqA'
-d '{
"id" : "ada70a04-ddec-4908-b15f-6dac85809bbb",
"comments" : "Please record again"
}'
HoloPush recording search
GET
https://exchange-prod-g.2mee.com/job/find
Returns the holopush information of the holopush Id.
Path Parameters
Name | Type | Description |
---|---|---|
id | string | Holopush Id whose information is to be retrieved. |
{
"id": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"title": "updated Title for the Message",
"description": "updated Message Description",
"holoPushLevel": "TORSO",
"dueDate": "2020-05-23",
"artist": "ravuri.abhignya@2mee.com",
"artistDueDate": "2020-05-23",
"script": "Message Script",
"creator": "testingteam@2mee.com",
"favourite": 0,
"filterId": "9e862fc2-e3b6-4420-bf63-80ad4368ec88",
"isStock": 0,
"state": "REVIEW",
"appId": "bacb37d0-a51f-491b-bd68-489c245b8c16",
"appName": "Casino App",
"campaignId": null,
"companyId": "6c445333-bac9-4ab0-a0b6-cc6838902abb",
"artistName": "Ravuri Abhignya",
"history": [{
"created": 1590128723000,
"updated": 1590128723000,
"id": 46582,
"jobId": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"comment": null,
"defaultComment": " created this message.",
"creator": "479cec74-767e-4ecb-9e6d-ee508cadbd75",
"creatorName": "Testi Team"
}, {
"created": 1590129204000,
"updated": 1590129204000,
"id": 46593,
"jobId": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"comment": null,
"defaultComment": " took ownership from Dan Kersley",
"creator": "479cec74-767e-4ecb-9e6d-ee508cadbd75",
"creatorName": "Testi Team"
}, {
"created": 1590129316000,
"updated": 1590129316000,
"id": 46600,
"jobId": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"comment": null,
"defaultComment": " assigned this message to Ravuri Abhignya ",
"creator": "479cec74-767e-4ecb-9e6d-ee508cadbd75",
"creatorName": "Testi Team"
}, {
"created": 1590129548000,
"updated": 1590129548000,
"id": 46611,
"jobId": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"comment": null,
"defaultComment": " created submission for this message.",
"creator": "479cec74-767e-4ecb-9e6d-ee508cadbd75",
"creatorName": "Testi Team"
}],
"tags": [],
"take": null,
"creatorName": "Testi Team",
"segment": null,
"notificationId": "2ab80602-1fc1-401e-9ee7-80a81f29f0a7",
"jobType": "HOLOPUSH",
"lastNudgeTime": 1590129457000
}
$ curl 'https://exchange-prod-g.2mee.com/job/find?id=ada70a04-ddec-4908-b15f-6dac85809bbb' -i -H 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTU4OTQ1NTc0OSwiaWF0IjoxNTg5NDM3NzQ5fQ.U2VtugGzqD0s9p0rUXaTxk8F5tHeMf5SB4ZRnYM8TV4QQm6y2FvdFIfD6kjQOhcYuPglSusAjVegzHqDKGgCqA'
HoloPush search by message id
GET
https://exchange-prod-g.2mee.com/job/findByNotificationId
Fetch the holopush information associated with the message Id provided. Information is returned irrespective of holopush state.
Path Parameters
Name | Type | Description |
---|---|---|
notificationId | string | Message Id to fetch holopush information. |
{
"id": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"title": "updated Title for the Message",
"description": "updated Message Description",
"holoPushLevel": "TORSO",
"dueDate": "2020-05-23",
"artist": "ravuri.abhignya@2mee.com",
"artistDueDate": "2020-05-23",
"script": "Message Script",
"creator": "testingteam@2mee.com",
"favourite": 0,
"filterId": "9e862fc2-e3b6-4420-bf63-80ad4368ec88",
"isStock": 0,
"state": "REVIEW",
"appId": "bacb37d0-a51f-491b-bd68-489c245b8c16",
"appName": "Casino App",
"campaignId": null,
"companyId": "6c445333-bac9-4ab0-a0b6-cc6838902abb",
"artistName": "Ravuri Abhignya",
"history": [{
"created": 1590128723000,
"updated": 1590128723000,
"id": 46582,
"jobId": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"comment": null,
"defaultComment": " created this message.",
"creator": "479cec74-767e-4ecb-9e6d-ee508cadbd75",
"creatorName": "Testi Team"
}, {
"created": 1590129204000,
"updated": 1590129204000,
"id": 46593,
"jobId": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"comment": null,
"defaultComment": " took ownership from Dan Kersley",
"creator": "479cec74-767e-4ecb-9e6d-ee508cadbd75",
"creatorName": "Testi Team"
}, {
"created": 1590129316000,
"updated": 1590129316000,
"id": 46600,
"jobId": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"comment": null,
"defaultComment": " assigned this message to Ravuri Abhignya ",
"creator": "479cec74-767e-4ecb-9e6d-ee508cadbd75",
"creatorName": "Testi Team"
}, {
"created": 1590129548000,
"updated": 1590129548000,
"id": 46611,
"jobId": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"comment": null,
"defaultComment": " created submission for this message.",
"creator": "479cec74-767e-4ecb-9e6d-ee508cadbd75",
"creatorName": "Testi Team"
}],
"tags": [],
"take": null,
"creatorName": "Testi Team",
"segment": null,
"notificationId": "2ab80602-1fc1-401e-9ee7-80a81f29f0a7",
"jobType": "HOLOPUSH",
"lastNudgeTime": 1590129457000
}
$ curl 'https://exchange-prod-g.2mee.com/job/findByNotificationId?notificationId=2ab80602-1fc1-401e-9ee7-80a81f29f0a7' -i -H 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTU4OTQ1NTc0OSwiaWF0IjoxNTg5NDM3NzQ5fQ.U2VtugGzqD0s9p0rUXaTxk8F5tHeMf5SB4ZRnYM8TV4QQm6y2FvdFIfD6kjQOhcYuPglSusAjVegzHqDKGgCqA'
HoloPush recording seek
PUT
https://exchange-prod-g.2mee.com/holoPush/seek
Sets seek time on the recording. This frame at the seek time is shown when the notification is delivered.
Request Body
Name | Type | Description |
---|---|---|
id | string | Holopush Id. |
seekTime | number | Frame present at the specified time in the recording will be shown as a banner of the delivered notification. |
{
"id": "344445d5-53fc-4ef9-9634-ffb55242e01b",
"jobId": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"state": "NEW",
"companyId": "6c445333-bac9-4ab0-a0b6-cc6838902abb",
"createdBy": "479cec74-767e-4ecb-9e6d-ee508cadbd75",
"comments": null,
"fileCount": 0,
"created": 1590129548000,
"updated": 1590129548000,
"takes": [{
"created": 1590129688000,
"updated": 1590129998219,
"id": "052e5a4e-1271-4901-b0a1-10df8073277a",
"jobId": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"url": "https://secureexchange.s3.eu-geo.objectstorage.softlayer.net/ada70a04-ddec-4908-b15f-6dac85809bbb-344445d5-53fc-4ef9-9634-ffb55242e01b-take-1.mp4",
"state": "SELECTED",
"fileName": "ada70a04-ddec-4908-b15f-6dac85809bbb-344445d5-53fc-4ef9-9634-ffb55242e01b-take-1.mp4",
"submission": "344445d5-53fc-4ef9-9634-ffb55242e01b",
"actor": "479cec74-767e-4ecb-9e6d-ee508cadbd75",
"duration": 2000,
"seekTime": 0.345,
"pngUrl": null
}]
}
$ curl 'https://exchange-prod-g.2mee.com/holoPush/seek' -i -X PUT -H 'Content-Type: application/json' -H 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTU4OTQ1NTc0OSwiaWF0IjoxNTg5NDM3NzQ5fQ.U2VtugGzqD0s9p0rUXaTxk8F5tHeMf5SB4ZRnYM8TV4QQm6y2FvdFIfD6kjQOhcYuPglSusAjVegzHqDKGgCqA'
-d '{
"id" : "052e5a4e-1271-4901-b0a1-10df8073277a",
"seekTime" : 0.345
}'
HoloPush recording submissions
GET
https://exchange-prod-g.2mee.com/submission/list
Collection of recording uploaded at the same time is grouped as a submission. This API returns the submissions for the given Holopush Id.
Path Parameters
Name | Type | Description |
---|---|---|
holopushId | string | Holopush Id whose submission list is to be retrieved. |
[{
"id": "344445d5-53fc-4ef9-9634-ffb55242e01b",
"jobId": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"state": "NEW",
"companyId": "6c445333-bac9-4ab0-a0b6-cc6838902abb",
"createdBy": "479cec74-767e-4ecb-9e6d-ee508cadbd75",
"comments": null,
"fileCount": 0,
"created": 1590129548000,
"updated": 1590129548000,
"takes": [{
"created": 1590129688000,
"updated": 1590129998000,
"id": "052e5a4e-1271-4901-b0a1-10df8073277a",
"jobId": "ada70a04-ddec-4908-b15f-6dac85809bbb",
"url": "https://secureexchange.s3.eu-geo.objectstorage.softlayer.net/ada70a04-ddec-4908-b15f-6dac85809bbb-344445d5-53fc-4ef9-9634-ffb55242e01b-take-1.mp4",
"state": "SELECTED",
"fileName": "ada70a04-ddec-4908-b15f-6dac85809bbb-344445d5-53fc-4ef9-9634-ffb55242e01b-take-1.mp4",
"submission": "344445d5-53fc-4ef9-9634-ffb55242e01b",
"actor": "479cec74-767e-4ecb-9e6d-ee508cadbd75",
"duration": 2000,
"seekTime": 0.345,
"pngUrl": null
}]
}]
$ curl 'https://exchange-prod-g.2mee.com/submission/list?holopushId=ada70a04-ddec-4908-b15f-6dac85809bbb'
-i -H 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTU4OTQ1NTc0OSwiaWF0IjoxNTg5NDM3NzQ5fQ.U2VtugGzqD0s9p0rUXaTxk8F5tHeMf5SB4ZRnYM8TV4QQm6y2FvdFIfD6kjQOhcYuPglSusAjVegzHqDKGgCqA'
Last updated