From 40a190c29cb9233157a90d9460329fd1f89e8ba1 Mon Sep 17 00:00:00 2001 From: javi santana Date: Thu, 6 Mar 2014 16:22:04 +0100 Subject: [PATCH] added cdn_url option --- docs/MultiLayer-API.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/MultiLayer-API.md b/docs/MultiLayer-API.md index d8829db8..0b87351d 100644 --- a/docs/MultiLayer-API.md +++ b/docs/MultiLayer-API.md @@ -8,8 +8,17 @@ 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. -Also Windshaft-CartoDB adds a ``last_update`` field with ISO format (2013-11-30T12:23:10). +Windshaft-CartoDB adds the following attributes: +- ``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: + ```json + { + http: 'http://cdn_url.com/' + https: 'https://secure.cdn_url.com/' + } + ``` + ## Stats tag -Windshaft-CartoDB adds support for a ``stat_tag`` element in the multilayer configuration to help [stats](Redis-stats-format) gathering. \ No newline at end of file +Windshaft-CartoDB adds support for a ``stat_tag`` element in the multilayer configuration to help [stats](Redis-stats-format) gathering.