Skip to main content
POST
/
api
/
v1
/
datalake
/
{source}
/
databases
/
{db}
/
variables
Add or rename variables
curl --request POST \
  --url https://ai-loop.alpeadria.com/api/v1/datalake/{source}/databases/{db}/variables \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "newVariables": [
    "<string>"
  ],
  "renames": [
    {
      "from": "<string>",
      "to": "<string>"
    }
  ]
}
'
{
  "statusMessage": "[AILOOP] Variables added. Matched 100, modified 100 documents."
}
Add new variables or rename existing ones within a Data Lake collection.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

source
string
required
db
string
required

Body

application/json
newVariables
string[]
renames
object[]

Response

200 - application/json

Variables updated successfully.

statusMessage
string