HoloWeb
Last updated
Last updated
Web Publish enables you to publish a HoloLibrary in your webpage.
POST
https://exchange-prod-g.2mee.com/notification/create/webPublish
Create and publish a HoloWeb message from hololibrary on a web browser. If the topic is not selected the web message is published as a global message.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
stockId
string
Stock Id represents the hololibrary item to be published.
title
string
Title to recognize the holoweb message.
type
string
Type of notification HOLOPUSH/TEXT (HOLOPUSH in this case).
appId
string
Application Id for which holoweb message has to be created.
webTopic
array
Topic to which the holoweb message has to be published. If not provided it is published as a global message.
expiry
number
Duration from the playtime after which the holoweb message expires. The holoweb message not be rendered to the new users once it has expired.
playTime
number
Time from which the holoweb message has to be active.
favourite
number
A holoweb message marked as a favourite will appear on the top of the message listing page of UI.
about
array
URL for the external site to be opened upon clicking can be provided with the key __openExternalURL Ex: [{"key":"__openExternalURL", "value":"www.2mee.com"}]