HoloCapsule
Last updated
Last updated
POST
https://exchange-prod-g.2mee.com/slot/create/fromStock
Create a HoloCapsule with a selected hololibrary item.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://exchange-prod-g.2mee.com/slot/list/onlyTitle
List all HoloCapsules present within the given application.
Name | Type | Description |
---|---|---|
stockId
string
Stock Id represents the hologram to be used with the created message.
feature
string
Feature has to be set as SLOT for the notification to be considered as a HoloCapsule.
createSlotModel.appId
string
Application Id for which the slot has to be added to.
createSlotModel.title
string
Title of the slot. It has to be unique for the application.
type
string
Type of HoloPush notification HOLOPUSH/TEXT.
appId
string
Application Id under which HoloCapsule message has to be created.
title
string
Appears as the title on HoloCapsule notification. This explains the purpose of notification.
subtitle
string
Appears as the subtitle on HoloCapsule notification. This explains additional information about the notification.
text
string
Body that appears on the HoloCapsule notification. Content of the HoloCapsule notification.
fbTitle
string
Fallback title for the HoloCapsule notification in case media file cannot be downloaded.
fbSubtitle
string
Fallback subtitle for the HoloCapsule notification in case media file cannot be downloaded.
fbText
string
Fallback text for the HoloCapsule notification in case media file is not downloaded.
expiry
number
Duration from the playtime after which the HoloCapsule notification expires.
playTime
number
Time from which slot has to be active.
about
array
URL of the targeted page can be provided. It acts as a deep link.
priority
string
The priority of the HoloPush notification. HIGH/MEDIUM/LOW in string format.
favourite
number
A HoloPush notification marked as a favourite will appear on the top of the message listing page of UI.
channel
string
Channel PULL
action
string
Action text is provided in the HoloPush notification. Upon clicking on the action text deep link is opened (if provided).
appId
string
Application Id to the HoloCapsule
page
string
Provide information of page to be displayed.