Filters allow you to restrict the data that is returned. Below is a list of valid filters.
Name | Type | Description | Default Values |
---|
startTime | STRING | This attribute filters by the action date. No actions created before the startTime will be returned. Usually you should use the 'YYYY-MM-DD HH:MM:SS' format, but using the following values will also work: 'yesterday', 'midnight', 'today', 'now', 'noon', or 'tomorrow'. | empty |
endTime | STRING | This attribute filters by the action date. No actions created past the endTime will be returned. Usually you should use 'YYYY-MM-DD HH:MM:SS' format, but using the following values will also work: 'yesterday', 'midnight', 'today', 'now', 'noon', or 'tomorrow'. | empty |
userId | INT | The user you request to filter actions by, all users without this filter (with the appropriate permissions, otherwise the logged in user actions | logged in user or all based on permissions |
actionid | INT | The specific action to filter on | empty |
type | INT | Filter on the Type associated with the game's rule. | empty |
Below you will find a list and description of all of the available options you can provide to the service.
Below you will find a list and description of all of the available fields to have returned with our game.getUserLog service.
Name | Description |
---|
id | The entry id |
seen | If the entry has been marked as seen or not 0 for not seen, 1 for seen. |
icon | The badge or icon associated with this event. |
info | Additional information about the event. |
actionId | The action triggered by this event |
logText | Custom text configured in the game settings, which can make use of our template system. |
uid | The user id associated with the action. |
actionTime | The time the action occurred |
pointsearned | How many points the user earned or lost during this action . |
subjectid | The Id of the object involved in the action, can be a user id, a media id, a group, channel, or collectionn. |
firstname | The first name of the user associated with the action |
lastname | The last name of the user associated with the action. |
user | The user name associated with the action |