wooden-spring-14915
01/31/2023, 9:01 AMcolossal-planet-41331
01/31/2023, 9:15 AMcareful-application-95617
01/31/2023, 4:20 PMGET
request to the <https://api.secoda.co/table/columns/?table_schema=><schema-name>&table_database=<database-name>&tags=<tag-uuid>
To get all the columns in a certain database schema that have your desired tag.
To update the tags on a specific column, you could make a PUT
request to the following endpoint
<https://api.secoda.co/table/columns/column-id/>
with the following payload
{
"tags": [
"uuid1",
"uuid2"
]
}
If you are on the EU instance, you would have to use <https://eapi.secoda.co>
instead of <https://api.secoda.co>
Also if you would like to get the list of columns as a CSV without having to paginate through all of them, you could add this header to your GET
request headers:
Content-Type: text/csv
colossal-planet-41331
01/31/2023, 4:56 PMcolumn-id
on the put request refer to a column uuid (I assume so as the table isn't specified)?careful-application-95617
01/31/2023, 4:56 PMcolossal-planet-41331
01/31/2023, 4:56 PMtags
on the GET request? How to separate, if so?careful-application-95617
01/31/2023, 4:57 PM,
colossal-planet-41331
01/31/2023, 4:57 PMcolossal-planet-41331
01/31/2023, 5:04 PMuuid
for a given tag (or all tags that are defined, so I can filter myself)careful-application-95617
01/31/2023, 5:05 PM<https://api.secoda.co/tag/>
and it should return the list of all tagscolossal-planet-41331
01/31/2023, 5:07 PM<https://api.secoda.co/api/schema/redoc/>
when searching for tag
though? I am feeling a little dumb right now because your answers were pretty straight forward 😂colossal-planet-41331
02/01/2023, 1:34 PMcareful-application-95617
02/01/2023, 1:53 PM<https://api.secoda.co/table/columns/?table_schema=><schema-name>&table_database=<database-name>&table_title=<table-name>
This response is paginated to 50 results per page. You could also download all the tables all at once as a CSV by setting this http header
Content-Type: text/csv
colossal-planet-41331
02/01/2023, 1:56 PMtable_name
and it didn't work.... who would have thought it was title...colossal-planet-41331
02/02/2023, 12:37 PM