Event Types
AddCountResult
Defines the possible results of a "add event count" request.
A AddCountResult can be one of the following values:
AddCountFailure
Defines an interface that represents a failed "add event count" result.
Members
errorCode ("server_error" | "not_supported" | "invalid_record_key" | "unacceptable_request" | "record_not_found" | "not_authorized" | "action_not_supported" | "not_logged_in" | "subscription_limit_reached")
The error code that indicates why the request failed.
errorMessage string
The error message that indicates why the request failed.
success false
GetCountResult
Defines the possible results of a "get event count" request.
A GetCountResult can be one of the following values:
GetCountFailure
Defines an interface that represents a failed "get event count" result.
Members
errorCode ("server_error" | "not_supported" | "invalid_record_key" | "unacceptable_request" | "record_not_found" | "not_authorized" | "action_not_supported" | "not_logged_in" | "subscription_limit_reached")
The error code that indicates why the request failed.
errorMessage string
The error message that indicates why the request failed.
success false
UpdateEventRecordRequest
Defines an interface that represents a request to update an event.
Members
count? number
The count that the event should be set to. If null or undefined, then it will not be updated.
eventName string
The name of the event that should be updated.
instances? string[]
The list of instances that are currently loaded by the client.
markers? string[]
The markers that the event should have. If null or undefined, then it will not be updated.
recordKeyOrRecordName string
The record key or the name of the record that should be updated.
userId string
The ID of the user that sent the request. Null if the user is not logged in.
UpdateEventRecordResult
Defines the possible results of an "update event" request.
A UpdateEventRecordResult can be one of the following values:
UpdateEventRecordFailure