Skip to main content

Receive Events V1

POST 

/events/v1/events

Post game events, return number of events being posted to Event Hub

Request

Header Parameters

    x-rh-client-addr any

    IP Address hint

Body

required

    event_list

    object[]

    required

    List of events

  • Array [

  • event_uuid uuidrequired

    Unique Event ID for this instance of the event

    event_name Event Name (string)required

    Possible values: non-empty and <= 128 characters

    Type of event to process this as.

    event_timestamp date-timerequired

    Time the event was triggered

    event_params objectrequired

    Event specific parameters

    custom_data

    object

    Event custom data

    property name* string

    user_id

    object

    User who submitted the event

    anyOf

    string

    Possible values: non-empty and <= 128 characters

    session_id

    object

    Session ID to associate the event with

    anyOf

    string

    Possible values: non-empty and <= 128 characters

    correlation_id

    object

    Correlation ID to associate the event with

    anyOf

    string

    Possible values: non-empty and <= 128 characters

    client_ip

    object

    Client IP associated with the event

    anyOf

    string

    Possible values: non-empty and <= 128 characters

  • ]

Responses

Successful Response

Schema

    posted_events Posted Events (integer)required

    Number of events successfully posted to Event Hub

    errors undefined[]

    list of validation failure for each event.

Loading...