Search…
HoloCapsule
post
http://server-v1.2mee.com/slot/create/fromStock
Create holoCapsule message from Hololibrary
1
curl 'http://server-v1.2mee.com/slot/create/fromStock?stockId=90381a59-0042-4ac3-8e5b-5a17445f3855' -i -X POST -H 'Authorization: Bearer <Token>' -H 'Content-Type: application/json' -d "{ \"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\": 5440,\"playTime\": 1603189284000,\"about\": [],\"type\": \"HOLOPUSH\",\"feature\": \"SLOT\"}, \"createSlotModel\": {\"appId\": \"bacb37d0-a51f-491b-bd68-489c245b8c16\",\"title\": \"HOLOCAPSULE 3\"}}"
Copied!
get
http://server-v1.2mee.com/slot/list/onlyTitle
List the HoloCapsules present for the application
1
curl 'http://server-v1.2mee.com/slot/list/onlyTitle?appId=bacb37d0-a51f-491b-bd68-489c245b8c16&page=0' -i -X GET -H 'Authorization: Bearer <Token>'
Copied!