WebAPI/SimplePush: Difference between revisions

Jump to navigation Jump to search
Line 207: Line 207:


==== GET /v1/update ====
==== GET /v1/update ====
Return a list of known ChannelIDs and current versions.  
Return a list of known ChannelIDs and current versions. By default, this will return a list of ALL channels and known versions.
 
A client may provide a "If-Modified-Since" header (as specified in [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html RFC2616]), in which case the server will only return channel IDs that have been modified since the specified time. If no channels have been modified, the server will return a <code>304 Not Modified</code> error.
 
If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT


NOTE: the X-UserAgent-ID must be provided and match the value returned by the <code>/register</code> call.
NOTE: the X-UserAgent-ID must be provided and match the value returned by the <code>/register</code> call.
Confirmed users
1,022

edits

Navigation menu