How the Xbox Live data platform 2013 works

Note This article only applies if you are using Stats 2013 or Achievements 2013.

This topic discuss the basic concepts required to understand how to best use the Xbox Live data platform 2013 service.

Basic concepts

The Xbox Live data platform is a RESTful service, which means that the service runs in the cloud (aka, a remote data center). Your game or app can send data, in the form of “events”, to the service, which then processes the data to create user statistics, achievements, leaderboards, challenges, and a variety of other data based information, according to rules that you have defined. These rules are known as a “service configuration”, and they let the Xbox Live data platform know how to process the event data from your title. We will discuss them more in the next section.

The flow of data starts when your title writes an event. An event consists of the name of the event, such as “PlayerScored”, and may optionally contain additional data that is relevant to the event. When your game writes an event, the system saves the event locally, to either the Event Tracer for Windows (ETW) (for Xbox One XDK titles), or the Universal Telemetry Client (UTC) (for Universal Windows Apps). A service running on your client then sends these events to the Xbox Live data platform when it can. This allows a system to not lose data in the event that internet connectivity is not available at the time that the event is written.

When the Xbox Live data platform service receives the event, it creates or updates user statistics, achievements, leaderboards, and challenges based on the rules that you defined in the service configuration.

You title can request the stats, achievements, leaderboards, etc., from the data platform service, however the only way for your title to update them is by writing events.

Service Configuration

Before your title can use the Xbox Live services, you must create a service configuration for your title. The service configuration lets the Xbox Live service know how your title will use the service. For the data platform, the service configuration define the events that your title can send, along with any data that is associated with those events. The configuration also defines your title’s stats, achievements, leaderboards, challenges, and the rules that affect them.

If you are using the Xbox Developer Portal (XDP) to create your service configuration, you can find more information at XDP service configuration

If you are using the dev center dashboard to create your service configuration, you can find more information at Configure data platform 2013 in dev center.