improved
Changes to Asset Public API: Tags Properties
about 22 hours ago by Baptiste Azéma
Impacted endpoints:
- Get asset by URI: POST https://{tenant}.siffletdata.com/api/v1/assets/get-asset-with-uri
- Get search results for assets: POST https://{tenant}.siffletdata.com/api/v1/assets/search
- Edit an asset: PATCH https://{tenant}.siffletdata.com/api/v1/assets
Previously, the tags
property could contain a mix of tags defined in Sifflet and tags pulled from the source.
The tags
property now only contains user-defined tags in Sifflet.
A new externalTags
property lists read-only tags from external systems (e.g., dbt, BigQuery, Snowflake, Databricks).
This applies to both Assets and Columns.
Before
{
...
"tags": [
{ "id": "1", "kind": "TAG", "name": "A Sifflet tag" },
{ "id": "2", "kind": "BIGQUERY_EXTERNAL", "name": "env:prod" }
]
...
}
After
{
...
"tags": [
{ "id": "1", "kind": "TAG", "name": "A Sifflet tag" }
],
"externalTags": [
{ "id": "2", "kind": "BIGQUERY_EXTERNAL", "name": "env:prod" }
]
...
}