From b61aee36e74b263363855d00d9e7b7e216dc5466 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Thu, 6 Mar 2014 16:29:26 +0100 Subject: [PATCH] More format changes --- docs/MultiLayer-API.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/MultiLayer-API.md b/docs/MultiLayer-API.md index e804de3f..7b5f064e 100644 --- a/docs/MultiLayer-API.md +++ b/docs/MultiLayer-API.md @@ -1,6 +1,6 @@ The Windshaft-CartoDB MultiLayer API extends the [Windshaft MultiLayer API](https://github.com/Vizzuality/Windshaft/wiki/Multilayer-API) in a few ways. -## Last modification timestamps +## Last modification timestamp embedded in the token It encodes a timestamp of 'last modification time' into the map token (token:EPOCH) returned to the client. It accepts tokens with encoded timestamp from the client considering the token suffix as a cache_buster value. @@ -8,7 +8,10 @@ It accepts tokens with encoded timestamp from the client considering the token s Clients don't need to be aware of the extension but rather use the API as they would use the base one. The only difference will be that the _same_ layergroup configuration may result in different tokens if source data was modified between the mapview requests. -Windshaft-CartoDB adds the following attributes: +## Additional attributes in the response object + +Windshaft-CartoDB adds the following attributes in the response object + - ``last_update`` field with ISO format (2013-11-30T12:23:10). - ``cdn_url`` object containing CDN url client should use (not mandatory) to access the tiles. It's in the form: