 Apache Unomi 1.x - Documentationtype="text/javascript"> var unomiOption = { scope: 'realEstateManager', url: 'http://localhost:8181' }; window.unomiTracker||(window.unomiTracker={}),function(){function load=function(){var n=document.createElement("script");n.type="text/javascript",n.async=!0,n.src=unomiOption.url+"/tr acker/unomi- tracker.min.js",n.addEventListener?n.addEventListener("load",function(n){"function"==typeof this: unomiTracker.initialize({ scope: 'myScope', url: 'http://unomi:8181', // we use an empty URL to make it relative to this page. initialPageProperties: {0 码力 | 158 页 | 3.65 MB | 1 年前3 Apache Unomi 1.x - Documentationtype="text/javascript"> var unomiOption = { scope: 'realEstateManager', url: 'http://localhost:8181' }; window.unomiTracker||(window.unomiTracker={}),function(){function load=function(){var n=document.createElement("script");n.type="text/javascript",n.async=!0,n.src=unomiOption.url+"/tr acker/unomi- tracker.min.js",n.addEventListener?n.addEventListener("load",function(n){"function"==typeof this: unomiTracker.initialize({ scope: 'myScope', url: 'http://unomi:8181', // we use an empty URL to make it relative to this page. initialPageProperties: {0 码力 | 158 页 | 3.65 MB | 1 年前3
 Apache Unomi 2.x - Documentationthe properties field of the events. Here is an example for objects that used dynamic properties for URL parameters: The following event example in Apache Unomi 1.x: curl --location --request POST 'htt authenticated to manage the JSON schema in Unomi. 5.2.1. LIST EXISTING SCHEMAS The REST endpoint GET {{url}}/cxs/jsonSchema allows to get all ids of available schemas and subschemas. List of predefined schemas: added. 5.2.2. READ A SCHEMA It’s possible to get a schema by its id by calling the endpoint POST {{url}}/cxs/jsonSchema/query with the id of the schema in the payload of the query. Example: 5.2.3. CREATE0 码力 | 117 页 | 4.78 MB | 1 年前3 Apache Unomi 2.x - Documentationthe properties field of the events. Here is an example for objects that used dynamic properties for URL parameters: The following event example in Apache Unomi 1.x: curl --location --request POST 'htt authenticated to manage the JSON schema in Unomi. 5.2.1. LIST EXISTING SCHEMAS The REST endpoint GET {{url}}/cxs/jsonSchema allows to get all ids of available schemas and subschemas. List of predefined schemas: added. 5.2.2. READ A SCHEMA It’s possible to get a schema by its id by calling the endpoint POST {{url}}/cxs/jsonSchema/query with the id of the schema in the payload of the query. Example: 5.2.3. CREATE0 码力 | 117 页 | 4.78 MB | 1 年前3
 Apache Unomi 1.1.x - Documentationt/results. 2.1.6. TESTING WITH AN EXAMPLE PAGE A default test page is provided at the following URL: http://localhost:8181/index.html This test page will trigger the loading of the /context.js script can be used to interact with the Unomi server using the Apache Unomi 1.1.x - Documentationt/results. 2.1.6. TESTING WITH AN EXAMPLE PAGE A default test page is provided at the following URL: http://localhost:8181/index.html This test page will trigger the loading of the /context.js script can be used to interact with the Unomi server using the- URL>/context.json or - URL>/context.js URLs, respectively. Below is an example of asynchronously loading already have a session id, generate one var sessionId = cxs.sessionId || generateUUID(); var url = 'http://localhost:8181/context.json?sessionId=' + sessionId; var xhr = new XMLHttpRequest(); 0 码力 | 32 页 | 477.20 KB | 1 年前3
共 3 条
- 1













