Skip to content
Datablau DAMData governance documentation

Standards and metrics APIs ​

Base: DOMAIN_BASE_URL=https://<host>/domain.

Provide published standards, reference values, and metric definitions to modeling, development, reporting, and analytics tools. Check state, revision, and effective scope before treating content as an enterprise standard.

Core interfaces ​

Method and complete pathKey inputsResult
POST /domain/domains/domain/getPublicPageBody currentPage, pageSize, categoryId, keyword; optional domainCode, lastModificationStart, lastModificationEndPublished standards: content, totalItems
POST /domain/domains/domain/getDomainByIdBody String domainIdDefinition, domainCode, chineseName, description, dataType, state, version
POST /domain/domains/code/getPageBody currentPage, pageSize; optional code, name, categoryId, stateCodes: data, total
POST /domain/domains/code/getCodeBody String codeCode and values, state, revision
POST /domain/metricManagement/mapping/detailsRequired query String metricIdDimensions, formula, source/table, metricMappings
POST /domain/querytheme/pageRequired body currentPage, pageSize; optional keyword, categoryIdMetric query topics: content, totalItems

Time filters use date-time; follow supported format and timezone. Obtain catalog categoryId values from the deployment.

Read a definition ​

Submit to /domain/domains/domain/getDomainById:

json
{
  "domainId": "example-domain-id"
}

domainId is an internal identifier, distinct from the business code. Retain version, state, lastModification, and applicable takeEffectDate, expireDate, and referenceCode.

Example body for /domain/domains/code/getPage:

json
{
  "currentPage": 1,
  "pageSize": 20,
  "name": "Customer status"
}

The name is illustrative. Read values with getCode using the actual code. List entries are not necessarily published. Confirm deployment meanings for state values A, C, D, and X rather than inferring them.

Supply standards to development tools ​

  1. Read applicable published definitions and details.
  2. Read associated codes and values into a consistent revision snapshot.
  3. Display definition, type, length/precision, nullability, and value constraints.
  4. Use metadata APIs to verify field mappings; reading a definition does not create them.
  5. Compare revisions and references after changes and have owners assess model, interface, and rule impacts.

For modification-time scans, overlap windows and deduplicate by domainId + version. Assess retirement, withdrawal, and lost visibility separately; absence from one incremental response does not establish deletion.

Explain metric sources ​

Read the definition, then query mappings with metricId to check modelId, tableId, dimensions, and formula. Use lineage when needed. Definitions, mappings, and actual metric values are separate.

Dynamic SQL metric queries are not a general-purpose data retrieval API in this guide. Deliver values through an approved method such as Data Services, with access, scope, performance, and audit requirements.

Integration validation ​

Code pagination returns data, total, currentPage, and pageSize. Validate standards pagination, permissions, business errors, definitions, values, and metric results with known customer samples rather than fabricated success responses.