curl --location --request POST 'https://api.explo.co/api/create_blueprint/' \
--header 'Content-Type: application/json' \
--header 'Explo-Authorization: Token <token>' \
--data-raw '{
"customer_id": "8698a0e4-009d-4b2d-8a41-d7f35cf08b98",
"blueprint_name": "Customer 1 Blueprint",
"tables": [
{
"table_name": "location",
"schema_id": 1,
"query": "select *,2 as hello from location",
"columns": [
{
"name": "id",
"type": "INTEGER"
},
{
"name": "host_id",
"type": "INTEGER"
},
{
"name": "host_name",
"display_name": "Host Name",
"type": "STRING",
"can_be_grouped": false
}
]
}
]
}'
{
"success": 1,
"blueprint_id": 10
}
curl --location --request POST 'https://api.explo.co/api/create_blueprint/' \
--header 'Content-Type: application/json' \
--header 'Explo-Authorization: Token <token>' \
--data-raw '{
"customer_id": "8698a0e4-009d-4b2d-8a41-d7f35cf08b98",
"blueprint_name": "Customer 1 Blueprint",
"tables": [
{
"table_name": "location",
"schema_id": 1,
"query": "select *,2 as hello from location",
"columns": [
{
"name": "id",
"type": "INTEGER"
},
{
"name": "host_id",
"type": "INTEGER"
},
{
"name": "host_name",
"display_name": "Host Name",
"type": "STRING",
"can_be_grouped": false
}
]
}
]
}'
{
"success": 1,
"blueprint_id": 10
}
Show table
Show column
curl --location --request POST 'https://api.explo.co/api/create_blueprint/' \
--header 'Content-Type: application/json' \
--header 'Explo-Authorization: Token <token>' \
--data-raw '{
"customer_id": "8698a0e4-009d-4b2d-8a41-d7f35cf08b98",
"blueprint_name": "Customer 1 Blueprint",
"tables": [
{
"table_name": "location",
"schema_id": 1,
"query": "select *,2 as hello from location",
"columns": [
{
"name": "id",
"type": "INTEGER"
},
{
"name": "host_id",
"type": "INTEGER"
},
{
"name": "host_name",
"display_name": "Host Name",
"type": "STRING",
"can_be_grouped": false
}
]
}
]
}'
{
"success": 1,
"blueprint_id": 10
}