Terms
Update term
Update specific fields of a term using JSON Merge Patch (RFC 7396). You only need to specify the fields you want to change.
The response returns the updated term with all fields, the same structure as Get term.
Stewardship cannot be changed through this endpoint. To change the group responsible for the entity, use POST /catalog/v1/stewardship/manage.
patch/catalog/v1/terms/{urn}
Request
- Base URLhttps://your-environment.ataccama.one/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
urnstring uri required
A URN identifying a term resource in the Catalog API.
Format: urn:ata:{tenant}:catalog:term:{uuid}
Example: urn:ata:acme-corp:catalog:term:123e4567-e89b-12d3-a456-426614174000.
Example:urn:ata:acme-corp:catalog:term:123e4567-e89b-12d3-a456-426614174000
URN identifier of the term.
Request body
Example request
{
"detectionRules": {
"operator": "AND",
"ruleAssignments": [
{
"detectionRuleUrn": "urn:ata:acme-corp:catalog:detection-rule:123e4567-e89b-12d3-a456-426614174000"
}
]
},
"attributeToCatalogItemTermRules": {
"operator": "AND",
"rules": [
{
"operator": "AND",
"terms": [
{
"termUrn": "urn:ata:acme-corp:catalog:term:123e4567-e89b-12d3-a456-426614174000"
}
]
}
]
},
"extraProperties": {
"isPii": true,
"community": "Customer Solutions",
"status": "urn:ata:acme-corp:catalog:completeness-status:10bae762-0000-8010-8000-000001eb0070",
"domains": [
"urn:ata:acme-corp:catalog:domain:10bae762-0000-8010-8000-000001eb0065",
"urn:ata:acme-corp:catalog:domain:10bae762-0000-8010-8000-000001eb0066"
]
}
}Response
The updated term, with the same structure as Get term.
Example response
{
"urn": "urn:ata:acme-corp:catalog:term:123e4567-e89b-12d3-a456-426614174000",
"effectiveStewardship": {
"groupUrn": "urn:ata:acme-corp:iam:group:123e4567-e89b-12d3-a456-426614174000",
"originUrn": "urn:ata:acme-corp:reference-data:table:123e4567-e89b-12d3-a456-426614174000"
},
"extraProperties": {
"isPii": true,
"community": "Customer Solutions",
"status": "urn:ata:acme-corp:catalog:completeness-status:10bae762-0000-8010-8000-000001eb0070",
"domains": [
"urn:ata:acme-corp:catalog:domain:10bae762-0000-8010-8000-000001eb0065",
"urn:ata:acme-corp:catalog:domain:10bae762-0000-8010-8000-000001eb0066"
]
},
"type": "businessTerm",
"detectionRules": {
"operator": "AND",
"ruleAssignments": [
{
"detectionRuleUrn": "urn:ata:acme-corp:catalog:detection-rule:123e4567-e89b-12d3-a456-426614174000"
}
]
},
"attributeToCatalogItemTermRules": {
"operator": "AND",
"rules": [
{
"operator": "AND",
"terms": [
{
"termUrn": "urn:ata:acme-corp:catalog:term:123e4567-e89b-12d3-a456-426614174000"
}
]
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.