Little service to collect data from other services.
{
entity: "location",
event_type: "view",
entity_id: "643lkajsdl34j42lnnvhz23ml3",
producer_id: "542laks2lk1231l4kjklkiii4",
create_date: "2016-01-05T22:26:19.785Z"
}
one of the following values:
- location
- user
- video
- audio
- image
- conversation
- view
- favor
- unfavor
- follow
- unfollow
- create
resource id (mongodb object id)
user which has triggered the event
User watches a video
{
entity: "video",
event_type: "view",
entity_id: "643lkajsdl34j42lnnvhz23ml3",
producer_id: "542laks2lk1231l4kjklkiii4",
create_date: "2016-01-05T22:26:19.785Z"
}
User favors a location
{
entity: "location",
event_type: "favor",
entity_id: "643lkajsdl34j42lnnvhz23ml3",
producer_id: "542laks2lk1231l4kjklkiii4",
create_date: "2016-01-05T22:26:19.785Z"
}
User follows a user
{
entity: "user",
event_type: "follow",
entity_id: "643lkajsdl34j42lnnvhz23ml3",
producer_id: "542laks2lk1231l4kjklkiii4",
create_date: "2016-01-05T22:26:19.785Z"
}
User creates a conversation with another user
{
entity: "conversation",
event_type: "create",
entity_id: "643lkajsdl34j42lnnvhz23ml3",
producer_id: "542laks2lk1231l4kjklkiii4",
create_date: "2016-01-05T22:26:19.785Z"
}