POST
/
v0
/
data-asset
/
register
/
s3
cURL
curl --request POST \
  --url 'https://api-(organization).gable.ai/v0/data-asset/register/s3' \
  --header 'Content-Type: application/json' \
  --data '{
  "assets": [
    {
      "schema": {
        "type": "struct",
        "name": "<string>",
        "fields": [
          {
            "type": "struct",
            "name": "<string>",
            "fields": [
              "<any>"
            ],
            "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
}

Body

application/json

S3 Data Asset Registration Request

The body is of type object.

Response

200
application/json

Data Asset ID

The response is of type object.