Transformations
Get transformation model by ID
Changed onget/models/transformations/{id}
Request
- Base URL: http://localhost:8080/api/v1
- URL: http://localhost:8080/api/v1/models/transformations/{id}
- Auth: none declared
Path parameters
idstring required
Fully qualified model ID (database.table)
Response
Transformation model details
Example response
{
"id": "analytics.daily_active_users",
"database": "analytics",
"table": "daily_active_users",
"description": "Daily aggregation of unique active users",
"content_type": "sql",
"content": "SELECT\n toDate(event_time) AS date,\n uniqExact(user_id) AS active_users\nFROM sources.events\nWHERE event_time >= {{ start_time }}\n AND event_time < {{ end_time }}\nGROUP BY date\n",
"tags": [
"analytics",
"daily"
],
"depends_on": [
"ethereum.beacon_blocks",
[
"source1.data",
"source2.data"
],
"analytics.hourly_stats"
],
"schedule": "@every 5m"
}Changes
- info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status
- info
- info
added the optional property
/to the response with the status
- info