HoloWeb
Web Publish enables you to publish a HoloLibrary in your webpage.
Create and publish HoloWeb message from HoloLibrary.
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.
Path Parameters
Name | Type | Description |
---|---|---|
stockId | string | Stock Id represents the hololibrary item to be published. |
Request Body
Name | Type | Description |
---|---|---|
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"}] |
Last updated