Search…
HoloLibrary
HoloLibrary lets you save your favourite 2mee Holograms which can be used any number of times to send out messages.
post
http://server-v1.2mee.com/notification/fromStock
HoloPush message from library
1
curl 'http://server-v1.2mee.com/notification/fromStock?stockId=90381a59-0042-4ac3-8e5b-5a17445f3855' -i -X POST -H 'Content-Type: application/json' -H 'Authorization: Bearer <Token>' -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!
post
http://server-v1.2mee.com/notification/fromStock/uploadUser
HoloPush message from library with CSV user file
1
curl -X POST "http://server-v1.2mee.com/notification/fromStock/uploadUser?stockId=29391ea7-4201-47fa-a76b-428fb26b162c" -H "Content-Type: multipart/form-data" -H "Authorization: Bearer <Token>" "accept: */*" -F "[email protected]/Users/shrinidhidurairaj/Downloads/userid.csv" -F "notification={\"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\" : 1603868228000, \"about\" : [], \"priority\" : \"LOW\",\"favourite\" : 0,\"type\" : \"HOLOPUSH\", \"channel\" : \"PUSH\"};type=application/json" | jq '.'
Copied!
get
http://server-v1.2mee.com/holoPush/stock/list/onlyTitle
List the holograms present in hololibrary
1
curl 'http://server-v1.2mee.com/holoPush/stock/list/onlyTitle?appId=bacb37d0-a51f-491b-bd68-489c245b8c16&page=0' -i -X GET -H 'Authorization: Bearer <Token>'
Copied!
Last modified 1yr ago