Adding curl example
This commit is contained in:
parent
7c13561a4f
commit
44c4b29ea2
@ -460,6 +460,7 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- Named Maps
|
- Named Maps
|
||||||
parameters:
|
parameters:
|
||||||
|
- $ref: '#/components/parameters/templateName'
|
||||||
- in: query
|
- in: query
|
||||||
name: auth_token
|
name: auth_token
|
||||||
description: >
|
description: >
|
||||||
@ -526,6 +527,11 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/MapResponse'
|
$ref: '#/components/schemas/MapResponse'
|
||||||
|
x-code-samples:
|
||||||
|
- lang: Curl
|
||||||
|
source: |
|
||||||
|
curl -X GET \
|
||||||
|
'https://{username}.carto.com/api/v1/map/named/{template_name}/jsonp?auth_token={auth_token}&callback=callback&config={"color": "#ff0000", "cartodb_id": 3}'
|
||||||
'/map/static/center/{layergroupid}/{z}/{lat}/{lng}/{width}/{height}.{format}':
|
'/map/static/center/{layergroupid}/{z}/{lat}/{lng}/{width}/{height}.{format}':
|
||||||
get:
|
get:
|
||||||
parameters:
|
parameters:
|
||||||
|
Loading…
Reference in New Issue
Block a user