Body
The id of the blueprint you want to update
List of tables and column information associated with the customer
Response
Indicates whether the call was successful. 1 if successful, 0 if not.
curl --location --request POST 'https://api.explo.co/api/update_blueprint/' \
--header 'Content-Type: application/json' \
--header 'Explo-Authorization: Token <token>' \
--data-raw '{
"blueprint_id": 10,
"tables": [
{
"table_name": "location",
"schema_id": 1,
"query": "select *,2 as hello from location",
"columns": [
{
"name": "id",
"type": "STRING"
},
{
"name": "host_id",
"type": "STRING"
},
{
"name": "host_name",
"display_name": "New Host Name",
"type": "STRING",
"can_be_grouped": true
}
]
}
]
}'
{ "success": 1 }
curl --location --request POST 'https://api.explo.co/api/update_blueprint/' \
--header 'Content-Type: application/json' \
--header 'Explo-Authorization: Token <token>' \
--data-raw '{
"blueprint_id": 10,
"tables": [
{
"table_name": "location",
"schema_id": 1,
"query": "select *,2 as hello from location",
"columns": [
{
"name": "id",
"type": "STRING"
},
{
"name": "host_id",
"type": "STRING"
},
{
"name": "host_name",
"display_name": "New Host Name",
"type": "STRING",
"can_be_grouped": true
}
]
}
]
}'
{ "success": 1 }
Show table
Show column
curl --location --request POST 'https://api.explo.co/api/update_blueprint/' \
--header 'Content-Type: application/json' \
--header 'Explo-Authorization: Token <token>' \
--data-raw '{
"blueprint_id": 10,
"tables": [
{
"table_name": "location",
"schema_id": 1,
"query": "select *,2 as hello from location",
"columns": [
{
"name": "id",
"type": "STRING"
},
{
"name": "host_id",
"type": "STRING"
},
{
"name": "host_name",
"display_name": "New Host Name",
"type": "STRING",
"can_be_grouped": true
}
]
}
]
}'
{ "success": 1 }