POST
/
v0
/
data-assets
/
check-compliance
/
pyspark
cURL
curl --request POST \
  --url 'https://api-(organization).gable.ai/v0/data-assets/check-compliance/pyspark' \
  --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>"
      },
      "git_host": "github.com:gable/repo",
      "spark_entrypoint": "<string>",
      "spark_table": "<string>",
      "project_name": "<string>"
    }
  ],
  "includeUnchangedAssets": false,
  "responseType": "DETAILED",
  "prLink": "<string>"
}'
[
  {
    "dataAssetNamespace": "postgres://service-one.aaa.eu-west-1.rds.amazonaws.com:5432",
    "dataAssetResourceName": "postgres://service-one.aaa.eu-west-1.rds.amazonaws.com:5432:serviceone.public.sales",
    "dataAssetPath": "serviceone.public.sales",
    "responseType": "NO_CONTRACT"
  }
]

Body

application/json

List of PySpark data assets to check for compliance

The body is of type object.

Response

200
application/json

Data Asset ID