RPI v7 Realtime API updates
Overview
RPI v7.x introduces a different deployment of Realtime API (v2). These changes affect anyone who is running Realtime in RPI v6 and are upgrading to RPI v7. This page outlines the differences between the Realtime endpoints deployed with the different RPI versions.
The v1 API endpoints continue to exist in RPI v7.x deployments, however we strongly recommend upgrading to the v2 API endpoints.
In RPI v7.x, the paths for all of the endpoints have changed, and versioning has been introduced.
Some endpoints that were deprecated have been removed, and Client ID has been removed from some paths and bodies.
In addition to Realtime being deployed in a container in v7.x, there are changes to the path endpoints as well as some of the parameters and bodies of the call. The table below provides a high-level overview of the changes.
If you are currently using the WebClient, then you will need to make sure that you transition to the latest version of the WebClient to ensure that the changes to the endpoint paths, parameters, and bodies are reflected in the WebClient calls.
When upgrading from RPI v6 to v7, you should review your Realtime deployment and be sure to factor in the changes to the deployment, endpoints, and WebClient to ensure a clean transition to the latest version of RPI and Realtime.
Reference table of API changes
Status description | Label |
---|---|
Not available in v2 Endpoints | NOT AVAILABLE IN V2 ENDPOINTS |
Path Change - Body Same or No Body | BODY SAME OR NO BODY |
Path Change - Body Change | BODY CHANGE |
Path Change - Parameters Change & Potential Body Changes | PARAM CHANGE & POTENTIAL BODY CHANGE |
We’ve shortened the endpoints in the table below for improved readability of the table. For example, /api/v2/account/register
is shortened to v2/account/register
in the table.
Tag | Method | V6 endpoint ( | V7 endpoint (v2) ( | Summary |
---|---|---|---|---|
Account |
|
|
| BODY SAME OR NO BODY Creates a new OAuth user. |
Account |
|
|
| BODY SAME OR NO BODY Gets the list of OAuth users. |
Account |
|
|
| BODY SAME OR NO BODY Deletes an OAuth user. |
Account |
|
|
| BODY SAME OR NO BODY Gets the list of roles assigned to an OAuth user. |
Account |
|
|
| BODY SAME OR NO BODY Changes the roles for an OAuth user. |
Account |
|
|
| BODY SAME OR NO BODY Changes the password for an OAuth user. |
Account |
|
|
| BODY SAME OR NO BODY Changes the password for an OAuth user (requires old password). |
Cache |
|
|
| BODY CHANGE Registers a Realtime visit for a visitor profile (creates a Realtime visitor profile for new visitors). |
Cache |
|
|
| BODY SAME OR NO BODY Deletes a visitor profile from the Realtime cache. |
Cache |
|
|
| BODY CHANGE Adds Realtime parameters to a visitor profile. |
Cache |
|
| N/A | NOT AVAILABLE IN V2 ENDPOINTS Adds Realtime parameters to a visitor profile. |
Cache |
|
|
| BODY CHANGE Triggers a Cached Attribute List lookup for a visitor profile. |
Cache |
|
|
| BODY SAME OR NO BODY Changes the winning index for a published Goal Smart Asset. |
Cache |
|
|
| BODY SAME OR NO BODY Gets the Visitor View for a visitor profile. |
Configuration |
|
|
| BODY SAME OR NO BODY Gets the Realtime API AppSettings configuration. |
Configuration |
|
|
| BODY SAME OR NO BODY Gets the Realtime API GeolocationSettings configuration. |
Configuration |
|
|
| BODY SAME OR NO BODY Gets the Realtime API Queues configuration. |
Configuration |
|
|
| BODY SAME OR NO BODY Gets the Realtime API QueueListenerConfiguration configuration. |
Configuration |
|
|
| BODY SAME OR NO BODY Gets the Realtime API IdentitySettings configuration. |
Configuration |
|
|
| BODY SAME OR NO BODY Gets the Realtime API CacheSettings configuration. |
Configuration |
|
|
| BODY SAME OR NO BODY Gets the Realtime API Plugins configuration. |
Configuration |
|
|
| BODY SAME OR NO BODY Gets the Realtime API VisitorViews configuration. |
Decision |
|
| N/A | NOT AVAILABLE IN V2 ENDPOINTS |
Decision |
|
| N/A | NOT AVAILABLE IN V2 ENDPOINTS Requests a Realtime decision for a specific visitor using the serialized decision content. The visitor identity is determined based on the supplied keys. |
Decision |
|
| N/A | NOT AVAILABLE IN V2 ENDPOINTS Requests a Realtime decision for a specific visitor and content, returning multiple qualifying results. The visitor identity is determined based on the supplied keys. |
Decision |
|
| N/A | NOT AVAILABLE IN V2 ENDPOINTS Requests a Realtime decision for a specific visitor and content, returning multiple qualifying results. |
Decision |
|
| N/A | NOT AVAILABLE IN V2 ENDPOINTS Requests multiple decision results for a list of contexts or Smart Asset Publish IDs. The visitor identity is determined based on the supplied keys. |
Decision |
|
| N/A | NOT AVAILABLE IN V2 ENDPOINTS Requests multiple decision results for a given context. The visitor identity is determined based on the supplied keys. |
Decision |
|
| N/A | NOT AVAILABLE IN V2 ENDPOINTS Requests multiple decision results for a given context. |
Decision |
|
| N/A | NOT AVAILABLE IN V2 ENDPOINTS |
Decision |
|
| N/A | NOT AVAILABLE IN V2 ENDPOINTS |
Events |
|
|
| BODY CHANGE Creates a Realtime event for a visitor profile. |
Events |
|
| N/A | NOT AVAILABLE IN V2 ENDPOINTS Creates multiple Realtime events for a visitor profile. |
Events |
|
| N/A | NOT AVAILABLE IN V2 ENDPOINTS Creates a Realtime event for a visitor profile (creates a Realtime visitor profile for new visitors). |
Events |
|
|
| BODY SAME OR NO BODY Creates a Queue Listener event. |
Events |
|
|
| BODY SAME OR NO BODY Creates a Queue Listener event for a visitor profile. |
Events |
|
|
| BODY SAME OR NO BODY Creates multiple Queue Listener events for a visitor profile. |
Form |
|
|
| PARAM CHANGE & POTENTIAL BODY CHANGE Processes a Web Form submission. |
Recommendations |
|
| N/A | NOT AVAILABLE IN V2 ENDPOINTS Gets a product recommendation for a visitor profile. |
Recommendations |
|
| N/A | NOT AVAILABLE IN V2 ENDPOINTS Gets a product recommendation for a lookup hash. |
SmartAsset |
|
|
| BODY SAME OR NO BODY Gets decision previews for Smart Assets (unpublished). |
SmartAsset |
|
|
| PARAM CHANGE & POTENTIAL BODY CHANGE Gets decision results for a serialized Smart Assets. |
SmartAsset |
|
|
| PARAM CHANGE & POTENTIAL BODY CHANGE Gets decision results for Smart Assets. |
SmartAsset |
|
|
| PARAM CHANGE & POTENTIAL BODY CHANGE Image redirection endpoint for Smart Assets containing Image Assets. |
SmartAsset |
|
|
| PARAM CHANGE & POTENTIAL BODY CHANGE Link redirection endpoint for Smart Assets containing Link Assets. |
System |
|
|
| BODY SAME OR NO BODY Get version information for Realtime API and Realtime Agent. |
System |
|
|
| BODY SAME OR NO BODY Gets status information for Realtime API and its dependencies (Realtime Agent, queues and caches). |
System |
|
| N/A | NOT AVAILABLE IN V2 ENDPOINTS Gets status information for Realtime API and its dependencies (Realtime Agent, queues, caches and databases). |
System |
|
|
| BODY SAME OR NO BODY Gets status information for Realtime API cache. |
System |
|
| N/A | NOT AVAILABLE IN V2 ENDPOINTS Creates an |