Ribbit: Difference between revisions

From wowdev
Jump to navigation Jump to search
(Initial Ribbit findings by schlumpf/Maku/myself)
 
mNo edit summary
Line 1: Line 1:
Ribbit is a new way of retrieving version information for games, with built-in caching and message verification via signatures. Uses sequence numbers returned by the summary to indicate whether something is outdated or not.  
Ribbit is a new way of retrieving version information for games, with built-in caching and message verification via signatures. Uses sequence numbers returned by the summary to indicate whether something is outdated or not.  


Instead of using HTTP like the current NGDP system does, this uses TCP. Commands are to be sent to either us.version.battle.net or eu.version.battle.net on port 1119 (ending in a \n). Note that there is some rate limiting in place, so don't spam requests too often (just summary should be enough for most usecases).
Instead of using HTTP like the current NGDP system does, this uses TCP. Commands are to be sent to either us.version.battle.net or eu.version.battle.net on port 1119 (ending in a \r\n). Note that there is some rate limiting in place, so don't spam requests too often (just summary should be enough for most usecases).


{| border="1" cellpadding="2" style="background:#FCFCFC; color:black"
{| border="1" cellpadding="2" style="background:#FCFCFC; color:black"

Revision as of 23:03, 30 July 2018

Ribbit is a new way of retrieving version information for games, with built-in caching and message verification via signatures. Uses sequence numbers returned by the summary to indicate whether something is outdated or not.

Instead of using HTTP like the current NGDP system does, this uses TCP. Commands are to be sent to either us.version.battle.net or eu.version.battle.net on port 1119 (ending in a \r\n). Note that there is some rate limiting in place, so don't spam requests too often (just summary should be enough for most usecases).

Commands Description
v1/summary Gets a list of endpoints and their current sequence number (example)
v1/product/product/versions Similar to NGDP's versions file
v1/product/product/cdns Similar to NGDP's cdns file
v1/product/product/bgdl Similar to NGDP's bgdl file
v1/certs/hash Get a certificate
v1/ocsp/hash Check revocation status