List
|
|||||
|
|
Retrieves a list of templates
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- Manage your Fusion Tables
- View your Fusion Tables
Input
This building block consumes 3 input parameters
Name | Format | Description |
---|---|---|
tableId Required |
STRING |
Identifier for the table whose templates are being requested |
maxResults |
INTEGER |
Maximum number of templates to return. Optional. Default is 5 |
pageToken |
STRING |
Continuation token specifying which results page to return. Optional |
= Parameter name
= Format
tableId STRING Required Identifier for the table whose templates are being requested |
maxResults INTEGER Maximum number of templates to return. Optional. Default is 5 |
pageToken STRING Continuation token specifying which results page to return. Optional |
Output
This building block provides 10 output parameters
Name | Format | Description |
---|---|---|
items[] |
OBJECT |
Represents the contents of InfoWindow templates |
items[].automaticColumnNames[] |
STRING |
|
items[].body |
STRING |
Body of the template. It contains HTML with {column_name} to insert values from a particular column. The body is sanitized to remove certain tags, e.g., script. Only one of body or automaticColumns can be specified |
items[].kind |
STRING |
The kind of item this is. For a template, this is always fusiontables#template |
items[].name |
STRING |
Optional name assigned to a template |
items[].tableId |
STRING |
Identifier for the table for which the template is defined |
items[].templateId |
INTEGER |
Identifier for the template, unique within the context of a particular table |
kind |
STRING |
The kind of item this is. For a template list, this is always fusiontables#templateList |
nextPageToken |
STRING |
Token used to access the next page of this result. No token is displayed if there are no more pages left |
totalItems |
INTEGER |
Total number of templates for the table |
= Parameter name
= Format
items[] OBJECT Represents the contents of InfoWindow templates |
items[].automaticColumnNames[] STRING |
items[].body STRING Body of the template. It contains HTML with {column_name} to insert values from a particular column. The body is sanitized to remove certain tags, e.g., script. Only one of body or automaticColumns can be specified |
items[].kind STRING The kind of item this is. For a template, this is always fusiontables#template |
items[].name STRING Optional name assigned to a template |
items[].tableId STRING Identifier for the table for which the template is defined |
items[].templateId INTEGER Identifier for the template, unique within the context of a particular table |
kind STRING The kind of item this is. For a template list, this is always fusiontables#templateList |
nextPageToken STRING Token used to access the next page of this result. No token is displayed if there are no more pages left |
totalItems INTEGER Total number of templates for the table |