curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/advancedjoins \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"externalId": "my.known.id",
"type": "direct",
"space": "<string>",
"viewExternalId": "<string>",
"viewVersion": "<string>",
"propertyName": "<string>",
"matchers": [
{
"type": "raw",
"dbName": "<string>",
"tableName": "<string>",
"fromColumnKey": "<string>",
"toColumnKey": "<string>"
}
]
}
]
}
'{
"items": [
{
"externalId": "my.known.id",
"type": "direct",
"space": "<string>",
"viewExternalId": "<string>",
"viewVersion": "<string>",
"propertyName": "<string>",
"matchers": [
{
"type": "raw",
"dbName": "<string>",
"tableName": "<string>",
"fromColumnKey": "<string>",
"toColumnKey": "<string>"
}
]
}
]
}Required capabilities:
entitymatchingAcl:WRITE
Create new advanced join objects.
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/advancedjoins \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"externalId": "my.known.id",
"type": "direct",
"space": "<string>",
"viewExternalId": "<string>",
"viewVersion": "<string>",
"propertyName": "<string>",
"matchers": [
{
"type": "raw",
"dbName": "<string>",
"tableName": "<string>",
"fromColumnKey": "<string>",
"toColumnKey": "<string>"
}
]
}
]
}
'{
"items": [
{
"externalId": "my.known.id",
"type": "direct",
"space": "<string>",
"viewExternalId": "<string>",
"viewVersion": "<string>",
"propertyName": "<string>",
"matchers": [
{
"type": "raw",
"dbName": "<string>",
"tableName": "<string>",
"fromColumnKey": "<string>",
"toColumnKey": "<string>"
}
]
}
]
}Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
1 - 100 elementsShow child attributes
The advanced joins that were created
1 - 100 elementsShow child attributes
Was this page helpful?