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

Request Body

{
    "appId": "bacb37d0-a51f-491b-bd68-489c245b8c16",
    "title": "holopush-test-SN",
    "subtitle": "holopush-test-1-ravuri",
    "text": "text-1-ravuri",
    "action": "click",
    "fbTitle": "text-sn-test-1-ravuri",
    "fbSubtitle": "text-sn-test-1",
    "fbText": "text-sn-test-1",
    "expiry": 1440,
    "playTime": null,
    "about": [],
    "filterId": "9e862fc2-e3b6-4420-bf63-80ad4368ec88",
    "priority": "MEDIUM",
    "favourite": 0,
    "type": "HOLOPUSH",
    "channel": "WEB",
    "template": 0,
    "feature": null,
    "webTopic": [],
    "segment": null,
    "subType": null,
    "createdBy": "479cec74-767e-4ecb-9e6d-ee508cadbd75",
    "state": "NEW",
    "companyId": "6c445333-bac9-4ab0-a0b6-cc6838902abb",
    "messageTitle": null,
    "url": "https://secureexchange.s3.eu-geo.objectstorage.softlayer.net/9ecf05bb-f5df-42e4-8b10-d6615d3d5fd1-5a89da39-2dca-4663-8f8b-93a30d339e5c-take-1.mp4",
    "id": "9ecf05bb-f5df-42e4-8b10-d6615d3d5fd1",
    "size": null,
    "tags": null,
    "parentMessageId": null,
    "holoPushAd": null,
    "jobId": "f32e683f-b42b-46e5-a00a-af10ff360da3",
    "holoPushUrl": null,
    "created": 1603780800654,
    "webActive": 1
}
$ curl 'https://exchange-prod-g.2mee.com/notification/fromStock?stockId=90381a59-0042-4ac3-8e5b-5a17445f3855' -i -X POST -H 'Content-Type: application/json' -H 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTYwMzQ1NDIzOSwiaWF0IjoxNjAzNDM2MjM5fQ.LDhQQj_Q9GjkFFnyzSQzwSLMArbrx58wChvXWZNPoIOhZU0ZthEB5dMQQcwfhb3mYhQxEp2DoDfliSLcCiAOxw' -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"}'

Last updated