Project details
GEThttps://app.mitzu.io/api/v1/projects/:project_id
Returns the project details including the configured tables
Responses
- 200
- 401
- 405
- 429
OK
- application/json
- Schema
- Example (auto)
Schema
idstring
Unique ID of the project
namestring
Name of the project
dimension_tables Dimension table details[]
{
"id": "string",
"name": "string",
"dimension_tables": [
{
"id": "string",
"table_schema": "string",
"table_name": "string"
}
]
}
The API key header is either missing or an invalid API key is given
The requested HTTP method is not allowed.
Too many requests sent with the same API key. Up to 10 requests can be sent within 1 second.
Authorization: x-mitzu-api-key
name: x-mitzu-api-keytype: apiKeydescription: ## API Key You can generate a new API key on the Account Settings -> API keys page. in: header
- python
- curl
- http
- java
- go
- HTTP.CLIENT
- REQUESTS
import http.client
conn = http.client.HTTPSConnection("app.mitzu.io")
payload = ''
headers = {
'Accept': 'application/json',
'x-mitzu-api-key': '<x-mitzu-api-key>'
}
conn.request("GET", "/api/v1/projects/:project_id", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
ResponseClear