moved response info from template.json section to the related Response section, and left the name description as part of the template.json description

This commit is contained in:
csobier 2016-02-22 11:41:06 -05:00
parent adefa8b819
commit 14f58e12bb

View File

@ -33,7 +33,7 @@ MapConfig | a [Named Map MapConfig](http://docs.cartodb.com/cartodb-platform/map
#### template.json
The response back from the API provides the name of your MapConfig as a template, enabling you to create the Named Map details by inserting your variables into the template where placeholders are defined, and create custom queries using SQL. The `name` argument defines how to name this "template_name".json. Note that there are some requirements for how to name a Named Map template. See the [`name`](#arguments) argument description for details.
The `name` argument defines how to name this "template_name".json. Note that there are some requirements for how to name a Named Map template. See the [`name`](#arguments) argument description for details.
```javascript
{
@ -157,6 +157,8 @@ curl -X POST \
#### Response
The response back from the API provides the name of your MapConfig as a template, enabling you to create the Named Map details by inserting your variables into the template where placeholders are defined, and create custom queries using SQL.
```javascript
{
"template_id":"name",