Confirmed users
1,022
edits
| Line 223: | Line 223: | ||
* 200 - The server should return an object with the following fields: | * 200 - The server should return an object with the following fields: | ||
{ | { // An association of ChannelIDs and versions that have changed | ||
" | // since the last time the UA called /update. | ||
"updates": [{"channelID": "id", | |||
"version": "XXX"}, ...], | |||
// A list of ChannelIDs which have expired. The UA should remove | |||
// these from its own database, and ask applications to re-register. | |||
"expired": ["channelID1", "channelID2", ...] } | |||
* 304 - No modifications since time specified in <tt>If-Modified-Since</tt> header. | * 304 - No modifications since time specified in <tt>If-Modified-Since</tt> header. | ||