diff --git a/docs/Map-API.md b/docs/Map-API.md index 36c9f00c..86a72d69 100644 --- a/docs/Map-API.md +++ b/docs/Map-API.md @@ -76,11 +76,11 @@ The map config needs to be sent to CartoDB's Map API using an authenticated call curl 'https://{account}.cartodb.com/api/v1/map/named?api_key=APIKEY' -H 'Content-Type: application/json' -d @mapconfig.json {% endhighlight %} -To get the `URL` to fetch the tiles you need to instantiate the map. +To get the `URL` to fetch the tiles you need to instantiate the map, where `template_id` is the template name from the previous response.
{% highlight bash %} -curl 'http://{account}.cartodb.com/api/v1/map/named/test' -H 'Content-Type: application/json' +curl -X POST 'http://{account}.cartodb.com/api/v1/map/named/:template_id' -H 'Content-Type: application/json' {% endhighlight %} The response will return JSON with properties for the `layergroupid` and the timestamp (`last_updated`) of the last data modification.