Register an S3 data asset
curl --request POST \
--url https://{hostname}.gable.ai/v0/data-asset/register/s3 \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"assets": [
{
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": "<array>",
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
},
"pattern": "<string>",
"bucket": "<string>",
"fieldNameToDataAssetFieldProfileMap": {}
}
],
"dry_run": false,
"prLink": "https://github.com/fakeorg/fakerepo/pull/123"
}
'{
"message": "<string>",
"registered": [
"<string>"
],
"success": true
}S3 Data Asset Registration Request
Array of data assets to register
Show child attributes
The schema of the data asset
Show child attributes
struct The pattern of the data asset
The bucket of the data asset
A mapping of the field name within the recap struct schema to its corresponding data profile
Show child attributes
generic data asset field profile Data asset field profile for boolean
Show child attributes
Number of samples
Whether the data is nullable
List of sampled files
1The parameters used to sample the data
Show child attributes
boolean Number of true values
Number of false values
Unique identifier for the data asset field profile in UUID format
Number of nulls (only defined if nullable is true)
The date the sample was taken
If true, no data asset will be registered
Link to the PR that may have added or edited the data assets
"https://github.com/fakeorg/fakerepo/pull/123"
curl --request POST \
--url https://{hostname}.gable.ai/v0/data-asset/register/s3 \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"assets": [
{
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": "<array>",
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
},
"pattern": "<string>",
"bucket": "<string>",
"fieldNameToDataAssetFieldProfileMap": {}
}
],
"dry_run": false,
"prLink": "https://github.com/fakeorg/fakerepo/pull/123"
}
'{
"message": "<string>",
"registered": [
"<string>"
],
"success": true
}