Search…
Holopush

Holopush requires a workflow for requesting, creating, reviewing and approving holopush messages.

post
http://server-v1.2mee.com/notification/create
Holopush message create
1
$ curl 'http://server-v1.2mee.com/notification/create' -i -X POST -H 'Content-Type: application/json' -H 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTU4OTQ1NTc0OSwiaWF0IjoxNTg5NDM3NzQ5fQ.U2VtugGzqD0s9p0rUXaTxk8F5tHeMf5SB4ZRnYM8TV4QQm6y2FvdFIfD6kjQOhcYuPglSusAjVegzHqDKGgCqA' -d '{
2
"appId" : "bacb37d0-a51f-491b-bd68-489c245b8c16",
3
"title" : "Title of the Message",
4
"subtitle" : "SubTitle of the Message",
5
"text" : "Body of the Message",
6
"action" : "Open",
7
"fbTitle" : "FallBack Title of the Message",
8
"fbSubtitle" : "Fallback SubTitle of the Message",
9
"fbText" : "FallBack Text of the Message",
10
"expiry" : 1440,
11
"playTime" : 1582614107682,
12
"about" : [],
13
"filterId" : "9e862fc2-e3b6-4420-bf63-80ad4368ec88",
14
"priority" : "LOW",
15
"favourite" : 0,
16
"type" : "HOLOPUSH",
17
"channel" : "PUSH"
18
}'
Copied!
post
http://server-v1.2mee.com/job/create
HoloPush recording create
1
$ curl 'http://server-v1.2mee.com/job/create' -i -X POST -H 'Content-Type: application/json' -H 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTU4OTQ1NTc0OSwiaWF0IjoxNTg5NDM3NzQ5fQ.U2VtugGzqD0s9p0rUXaTxk8F5tHeMf5SB4ZRnYM8TV4QQm6y2FvdFIfD6kjQOhcYuPglSusAjVegzHqDKGgCqA' -d '{
2
"title" : "Title for the Message",
3
"description" : "Message Description",
4
"holoPushLevel" : "TORSO",
5
"dueDate" : 1582613760565,
6
"artistDueDate" : 1582613760565,
7
"artist" : "[email protected]",
8
"appId" : "bacb37d0-a51f-491b-bd68-489c245b8c16",
9
"favourite" : 0,
10
"script" : "Message Script",
11
"notificationId" : "2ab80602-1fc1-401e-9ee7-80a81f29f0a7",
12
"jobType" :"HOLOPUSH"
13
}'
Copied!
put
http://server-v1.2mee.com/job/update
HoloPush recording update
1
$ curl 'http://server-v1.2mee.com/job/update' -i -X PUT -H 'Content-Type: application/json' -H 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTU4OTQ1NTc0OSwiaWF0IjoxNTg5NDM3NzQ5fQ.U2VtugGzqD0s9p0rUXaTxk8F5tHeMf5SB4ZRnYM8TV4QQm6y2FvdFIfD6kjQOhcYuPglSusAjVegzHqDKGgCqA' -d '{
2
"title" : "updated Title for the Message",
3
"description" : "updated Message Description",
4
"holoPushLevel" : "TORSO",
5
"dueDate" : 1582613760565,
6
"artistDueDate" : 1582613760565,
7
"artist" : "[email protected]",
8
"appId" : "bacb37d0-a51f-491b-bd68-489c245b8c16",
9
"favourite" : 0,
10
"script" : "Message Script",
11
"isStock" : 0,
12
"jobType" :"HOLOPUSH",
13
"id":"ada70a04-ddec-4908-b15f-6dac85809bbb",
14
"filterId" : "9e862fc2-e3b6-4420-bf63-80ad4368ec88"
15
}'
Copied!
post
http://server-v1.2mee.com/job/executeJob
HoloPush assign artist
1
$ curl 'http://server-v1.2mee.com/job/executeJob?id=ada70a04-ddec-4908-b15f-6dac85809bbb'
2
-i -X POST -H 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTU4OTQ1NTc0OSwiaWF0IjoxNTg5NDM3NzQ5fQ.U2VtugGzqD0s9p0rUXaTxk8F5tHeMf5SB4ZRnYM8TV4QQm6y2FvdFIfD6kjQOhcYuPglSusAjVegzHqDKGgCqA'
Copied!
post
http://server-v1.2mee.com/holoPush/select
HoloPush recording select
1
$ curl 'http://server-v1.2mee.com/job/select?file_id=052e5a4e-1271-4901-b0a1-10df8073277a'
2
-i -X POST -H 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTU4OTQ1NTc0OSwiaWF0IjoxNTg5NDM3NzQ5fQ.U2VtugGzqD0s9p0rUXaTxk8F5tHeMf5SB4ZRnYM8TV4QQm6y2FvdFIfD6kjQOhcYuPglSusAjVegzHqDKGgCqA'
3
Copied!
post
http://server-v1.2mee.com/job/accept
HoloPush recording accept
1
$ curl 'http://server-v1.2mee.com/job/accept?id=ada70a04-ddec-4908-b15f-6dac85809bbb'
2
-i -X POST -H 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTU4OTQ1NTc0OSwiaWF0IjoxNTg5NDM3NzQ5fQ.U2VtugGzqD0s9p0rUXaTxk8F5tHeMf5SB4ZRnYM8TV4QQm6y2FvdFIfD6kjQOhcYuPglSusAjVegzHqDKGgCqA'
3
Copied!
post
http://server-v1.2mee.com/slot/create/fromStock
HoloPush message with stockId
1
$ curl 'http://server-v1.2mee.com/slot/fromStock?stockId=90381a59-0042-4ac3-8e5b-5a17445f3855' -i -X POST -H 'Content-Type: application/json' -H 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTYwMzQ1NDIzOSwiaWF0IjoxNjAzNDM2MjM5fQ.LDhQQj_Q9GjkFFnyzSQzwSLMArbrx58wChvXWZNPoIOhZU0ZthEB5dMQQcwfhb3mYhQxEp2DoDfliSLcCiAOxw' -d '{ "appId" : "bacb37d0-a51f-491b-bd68-489c245b8c16", "title" : "HOLOPUSH Message from API", "subtitle" : "HOLOPUSH Message from API", "text" : "HOLOPUSH Message from API", "action" : "Close", "fbTitle" : "FallBack Title of the Message", "fbSubtitle" : "Fallback SubTitle of the Message","fbText" : "FallBack Text of the Message", "expiry" : 1440,"playTime" : 1603189284000, "about" : [], "type" : "HOLOPUSH"}'
Copied!
Last modified 10mo ago