curl --request GET \
--url https://{instance}/api/export/v1/glossary-term-assignments \
--header 'Authorization: <api-key>'import requests
url = "https://{instance}/api/export/v1/glossary-term-assignments"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://{instance}/api/export/v1/glossary-term-assignments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{instance}/api/export/v1/glossary-term-assignments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{instance}/api/export/v1/glossary-term-assignments"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{instance}/api/export/v1/glossary-term-assignments")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{instance}/api/export/v1/glossary-term-assignments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body<string>{
"error": "<string>"
}{
"error": "<string>"
}Export glossary term assignments
Export every glossary term assignment, one row per assignment. This is the file behind a critical data element register.
Requires the GLOSSARY_READ permission.
Asset-level and field-level assignments share the same table: an asset-level row leaves schemaFieldId and fieldPath empty.
This endpoint does not accept filter or sort.
| Column | Description |
|---|---|
termId | Glossary term identifier. |
termName | Term name. |
catalogAssetId | Identifier of the catalog asset the term is assigned to. |
location | Dot-separated path of the catalog asset, for example ANALYTICS.FINANCE.ORDERS. |
schemaFieldId | Identifier of the schema field the term is assigned to. Empty on an asset-level assignment. |
fieldPath | Path of the assigned field within the asset, for example /amount. Empty on an asset-level assignment. |
isPropagated | true for a term propagated through lineage, false for one assigned directly. |
assignedAt | ISO-8601 timestamp. |
curl --request GET \
--url https://{instance}/api/export/v1/glossary-term-assignments \
--header 'Authorization: <api-key>'import requests
url = "https://{instance}/api/export/v1/glossary-term-assignments"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://{instance}/api/export/v1/glossary-term-assignments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{instance}/api/export/v1/glossary-term-assignments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{instance}/api/export/v1/glossary-term-assignments"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{instance}/api/export/v1/glossary-term-assignments")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{instance}/api/export/v1/glossary-term-assignments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body<string>{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Your API key's access key and access secret, colon-delimited: <access-key>:<access-secret>. The same header as the GraphQL API; see Authentication.
Query Parameters
A URL-encoded JSON array of glossary term IDs, to export the assignments of those terms only. Omit it to export every assignment.
Response
A CSV export with a header row, capped at 100,000 rows. The Content-Disposition header carries a generated filename built from the resource, an optional entity name, and the time range (or today's date if the request has no time bounds).
The response is of type string.