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.
Retrieving batch of data structures
POST
https://my-organization.truedat.io/api/data_structures/search
Retrieves a first batch of structures with all corresponding metadata
Request Body
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
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.
Load data catalog assets metadata using csv files
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:
Path Parameters
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.
Request Body
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.
Update metadata for a list of data structures
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.
Path Parameters
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.
Request Body
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.