This is an awesome API Gateway.
register/(applicationName} revoke/{applicationToken} /applications /subscribe /heartbeat
{
"applicationName": "Test"
}
{
"docType": "RegisteredApplication",
"applicationName": "Test",
"applicationToken": "718cbbf0-2bce-439a-ac76-f7c470143ecf",
"lastSeen": null,
"lastEventsSubscribed": [],
"isRevoked": false,
"dateCreated": "2017-09-06T13:44:08.14509Z",
"identifier": "718cbbf0-2bce-439a-ac76-f7c470143ecf"
}
{
"applicationToken": "718cbbf0-2bce-439a-ac76-f7c470143ecf"
}
{
"docType": "RegisteredApplication",
"applicationName": "Test",
"applicationToken": "718cbbf0-2bce-439a-ac76-f7c470143ecf",
"lastSeen": null,
"lastEventsSubscribed": [],
"isRevoked": true,
"dateCreated": "2017-09-06T13:44:08.14509Z",
"identifier": "718cbbf0-2bce-439a-ac76-f7c470143ecf"
}
{
"docType": "RegisteredApplication",
"applicationName": "Test",
"applicationToken": "718cbbf0-2bce-439a-ac76-f7c470143ecf",
"lastSeen": null,
"lastEventsSubscribed": [],
"isRevoked": true,
"dateCreated": "2017-09-06T13:44:08.14509Z",
"identifier": "718cbbf0-2bce-439a-ac76-f7c470143ecf"
}
{
"applicationToken": "ba03e186-760f-4bff-b06c-bcc9211ded91",
"applicationUri": "https://www.example.com/",
"subscribedEvents": [
"test",
"test1",
"test2"
]
}
{
"identifier": "ba03e186-760f-4bff-b06c-bcc9211ded91",
"applicationToken": "ba03e186-760f-4bff-b06c-bcc9211ded91",
"applicationUri": "https://www.example.com/",
"subscribedEvents": [
"test",
"test1",
"test2"
],
"docType": "ServiceSubscription"
}
{
"applicationToken": "ba03e186-760f-4bff-b06c-bcc9211ded91",
"applicationUri": "https://www.example.com/",
"subscribedEvents": [
"test",
"test1",
"test2"
]
}
{
"userId": "123456"",
"applicationToken": "ba03e186-760f-4bff-b06c-bcc9211ded91",
"eventName": "test",
"payload": {
"property1": "value1"
}
}
{
"message": "Request success",
"status": "200 OK",
"response": {
{
"userId": 123456,
"eventName": "test",
"applicationToken": "ba03e186-760f-4bff-b06c-bcc9211ded91",
"payload": {
"property1": "value1"
},
"docType": "CompassEvent",
"identifier": "57bf4a90-ce79-4423-930f-03471fd3268e"
}
}
}
CompassCouchbaseUri
Use : The uri for the backing Couchbase instance where configuration and events are stored.
CompassCouchbaseBucketName
Use : The name of the backing Couchbase bucket where configuration and events are stored.
KafkaBrokerList
Use : The uri for the Kafka broker node.