Apache Unomi 2.x - Documentation
--request POST 'http://localhost:8181/cxs/scopes' \ -u 'karaf:karaf' \ --header 'Content-Type: application/json' \ --data-raw '{ "itemId": "apache", "itemType": "scope" }' Is replaced by the following /cxs/scopes' \ --header 'Authorization: Basic a2FyYWY6a2FyYWY=' \ --header 'Content-Type: application/json' \ --data-raw '{ "itemId": "unomi-tracker-test", "metadata": { "id": "unomi-tracker-test" ents/search' \ --header 'Authorization: Basic a2FyYWY6a2FyYWY=' \ --header 'Content-Type: application/json' \ --data-raw '{ "sortby" : "timeStamp:desc", "condition" : { "type" : "matchAllCondition"0 码力 | 117 页 | 4.78 MB | 1 年前3Apache Unomi 1.x - Documentation
Documentation - 7 curl -X POST http://localhost:8181/context.json?sessionId=1234 \ -H "Content-Type: application/json" \ -d @- <<'EOF' { "source": { "itemId":"homepage", "itemType":"page" Documentation - 9 curl -X POST http://localhost:8181/cxs/rules \ --user karaf:karaf \ -H "Content-Type: application/json" \ -d @- <<'EOF' { "metadata": { "id": "setContactInfo", "name": "Copy the received request similar to this one: curl -X POST http://localhost:8181/eventcollector \ -H "Content-Type: application/json" \ -d @- <<'EOF' { "sessionId" : "1234", "events":[ { "eventT0 码力 | 158 页 | 3.65 MB | 1 年前3Apache Unomi 1.1.x - Documentation
A given scope is represented in Unomi by a simple string identifier and usually represents an application or set of applications from which Unomi gathers data, depending on the desired analysis granularity a time-bounded interaction between a user (via their associated profile) and a Unomi-enabled application. A session represents the sequence of actions the user performed during its duration. For this component is doing. In our case, our source item looks as follows: we specify a scope for our application (unomi-tweet- button-sample), specify that the item type (i.e. the kind of element that is the0 码力 | 32 页 | 477.20 KB | 1 年前3
共 3 条
- 1