Data Catalog
Truedat manages data assets metadata within data catalog. A number of APIs are available to allow integration of this information with third parties and task automation.
Truedat manages data assets metadata within data catalog. A number of APIs are available to allow integration of this information with third parties and task automation.
POST
https://my-organization.truedat.io/api/data_structures/search
Retrieves a first batch of structures with all corresponding metadata
Name | Type | Description |
---|---|---|
POST
https://my-organization.truedat.io/api/systems/:external_id/metadata
Using this API we will be able to load metadata into truedat's data catalog. If the data asset which we are loading already exists, Truedat will analyze whether there are any changes and in that case a new version of the data asset will be created. See below the description of the files used to upload metadata into Truedat:
PATCH
https://my-organization.truedat.io/api/systems/:external_id/metadata
Enables including aditional metadata for any given data structure or update current metadata. Currently only mutable metadata is supported. The request is processed asynchronously, the service will respond with 202 ACCEPTED to an authenticated service account.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
page*
Integer
Number of page to be retrieved. For first page this value needs to be 0
size*
Integer
Number of records to be returned in each page
scroll*
String
The scroll
parameter (passed to the search
request and to every scroll
request) tells Elasticsearch how long it should keep the search context alive. Its value (e.g. 1m
, see Time units) does not need to be long enough to process all data — it just needs to be long enough to process the previous batch of results.
scroll_id
String
This will be included starting on the second request, using the information provided by the response of the first call.
filters
List
There are a number of filters that can be included in this request, including custom fields from notes.
sort
list
We will be able to order results by various fields. For example by structure name.
external_id*
String
Indicates the external identifier of the system for which we are going to load metadata. The system must have been created prior to loading the metadata.
data_structures*
File
data_structure_relations
File
job_id
Integer
Identifier of the job related to this load in case that it exists. This is used by connectors mainly.
external_id*
String
Indicates the external identifier of the system for which we are going to load metadata. The system must have been created prior to loading the metadata.
op*
String
replace / merge. Depends on whether we want to merge metadata with existing or just remove all metadata and include new information.
values
Array
List of changes to be performed. For each element we will need to send the external_id for the data structure and the metadata to be merged.