Set Node
PUT/api/v1/workspaces/:workspaceID/nodes/:nodeID
Replace all fields of a node in a workspace.
Request
Path Parameters
The environment ID.
The node ID.
- application/json
Body
required
- SourceNode
- SQLNode
Array [
Array [
]
Array [
]
Array [
]
Array [
- SourceColumnReferenceV1
- SourceColumnReferenceV2
Array [
]
]
]
Array [
Array [
]
Array [
]
]
- MOD1
- MOD2
- MOD1
- MOD2
- MOD3
- MOD4
Array [
]
Array [
Array [
]
Array [
]
Array [
]
Array [
- SourceColumnReferenceV1
- SourceColumnReferenceV2
Array [
]
]
]
- MOD1
- MOD2
- MOD3
- MOD4
Array [
Array [
]
Array [
]
]
- MOD1
- MOD2
oneOf
metadata
object
required
columns
object[]
required
appliedColumnTests
object
Will return hasNull
or isDistinct
as true or false if testing is enabled.
The column ID.
columnReferences
object[]
config
object
Returns any configuration options from the Node Config Tab.
Returns any configuration options from the Node Config Tab.
Column data type.
The default column value.
The column description.
hashDetails
object
Possible values: [MD5
, SHA1
, SHA256
]
Possible values: [ChangeHash
, Hash
, HubHash
, LinkHash
, None
]
hubHashes
object[]
Column ID of the source column.
Node ID of the source columm.
hashedColumns
object[]
Column ID of the source column.
Node ID of the source columm.
Tags the column as a business key.
Tags the column as a change tracking column in type 2 dimensions.
Tags the column as a surrogate key, e.g. DIM_CUSTOMER_KEY.
Possible values: [None
, primaryBusinessKey
, surrogateKey
]
The column name.
If the column can contain null values.
Tags the column as a primary key.
sources
object[]
anyOf
columnReferences
object[]
required
Column ID of the source column.
Node ID of the source columm.
Returns the SQL of any column transformations.
Returns the SQL of any column transformations.
Possible values: [None
, sysCreateDate
, sysCurrentFlag
, sysEndDate
, sysStartDate
, sysUpdateDate
, sysVersion
]
join
object
Returns SQL from the Join tab.
sourceMapping
object[]
aliases
object
customSQL
object
dependencies
object[]
required
join
object
required
noLinkRefs
object[]
required
The Snowflake database name.
The Node description.
The Node ID.
The Storage Mapping location.
The Node name.
nodeType
object
required
anyOf
string
Possible values: [Dimension
, Fact
, Hub
, Link
, Satellite
, Source
, Stage
, View
, persistentStage
]
string
The Snowflake schema name.
config
object
required
property name*
object
anyOf
object
string
number
boolean
Possible values: [table
, view
]
metadata
object
required
appliedNodeTests
object[]
required
Possible values: [After
, Before
]
columns
object[]
required
appliedColumnTests
object
Will return hasNull
or isDistinct
as true or false if testing is enabled.
The column ID.
columnReferences
object[]
config
object
Returns any configuration options from the Node Config Tab.
Returns any configuration options from the Node Config Tab.
Column data type.
The default column value.
The column description.
hashDetails
object
Possible values: [MD5
, SHA1
, SHA256
]
Possible values: [ChangeHash
, Hash
, HubHash
, LinkHash
, None
]
hubHashes
object[]
Column ID of the source column.
Node ID of the source columm.
hashedColumns
object[]
Column ID of the source column.
Node ID of the source columm.
Tags the column as a business key.
Tags the column as a change tracking column in type 2 dimensions.
Tags the column as a surrogate key, e.g. DIM_CUSTOMER_KEY.
Possible values: [None
, primaryBusinessKey
, surrogateKey
]
The column name.
If the column can contain null values.
Tags the column as a primary key.
sources
object[]
anyOf
columnReferences
object[]
required
Column ID of the source column.
Node ID of the source columm.
Returns the SQL of any column transformations.
Returns the SQL of any column transformations.
Possible values: [None
, sysCreateDate
, sysCurrentFlag
, sysEndDate
, sysStartDate
, sysUpdateDate
, sysVersion
]
mapping
object
property name*
object
anyOf
object
string
number
boolean
sourceMapping
object[]
required
aliases
object
customSQL
object
dependencies
object[]
required
join
object
required
noLinkRefs
object[]
required
The Snowflake database name.
The Node description.
The Node ID.
The Storage Mapping location.
The Node name.
nodeType
object
required
anyOf
string
Possible values: [Dimension
, Fact
, Hub
, Link
, Satellite
, Source
, Stage
, View
, persistentStage
]
string
The Snowflake schema name.
Responses
- 200
- 400
- 401
- 403
- 404
- 500
- 502
- 503
- 504
A node for an environment.
- application/json
- Schema
- Node Response
Schema
- SourceNode
- SQLNode
Array [
Array [
]
Array [
]
Array [
]
Array [
- SourceColumnReferenceV1
- SourceColumnReferenceV2
Array [
]
]
]
Array [
Array [
]
Array [
]
]
- MOD1
- MOD2
- MOD1
- MOD2
- MOD3
- MOD4
Array [
]
Array [
Array [
]
Array [
]
Array [
]
Array [
- SourceColumnReferenceV1
- SourceColumnReferenceV2
Array [
]
]
]
- MOD1
- MOD2
- MOD3
- MOD4
Array [
Array [
]
Array [
]
]
- MOD1
- MOD2
oneOf
metadata
object
required
columns
object[]
required
appliedColumnTests
object
Will return hasNull
or isDistinct
as true or false if testing is enabled.
The column ID.
columnReferences
object[]
config
object
Returns any configuration options from the Node Config Tab.
Returns any configuration options from the Node Config Tab.
Column data type.
The default column value.
The column description.
hashDetails
object
Possible values: [MD5
, SHA1
, SHA256
]
Possible values: [ChangeHash
, Hash
, HubHash
, LinkHash
, None
]
hubHashes
object[]
Column ID of the source column.
Node ID of the source columm.
hashedColumns
object[]
Column ID of the source column.
Node ID of the source columm.
Tags the column as a business key.
Tags the column as a change tracking column in type 2 dimensions.
Tags the column as a surrogate key, e.g. DIM_CUSTOMER_KEY.
Possible values: [None
, primaryBusinessKey
, surrogateKey
]
The column name.
If the column can contain null values.
Tags the column as a primary key.
sources
object[]
anyOf
columnReferences
object[]
required
Column ID of the source column.
Node ID of the source columm.
Returns the SQL of any column transformations.
Returns the SQL of any column transformations.
Possible values: [None
, sysCreateDate
, sysCurrentFlag
, sysEndDate
, sysStartDate
, sysUpdateDate
, sysVersion
]
join
object
Returns SQL from the Join tab.
sourceMapping
object[]
aliases
object
customSQL
object
dependencies
object[]
required
join
object
required
noLinkRefs
object[]
required
The Snowflake database name.
The Node description.
The Node ID.
The Storage Mapping location.
The Node name.
nodeType
object
required
anyOf
string
Possible values: [Dimension
, Fact
, Hub
, Link
, Satellite
, Source
, Stage
, View
, persistentStage
]
string
The Snowflake schema name.
config
object
required
property name*
object
anyOf
object
string
number
boolean
Possible values: [table
, view
]
metadata
object
required
appliedNodeTests
object[]
required
Possible values: [After
, Before
]
columns
object[]
required
appliedColumnTests
object
Will return hasNull
or isDistinct
as true or false if testing is enabled.
The column ID.
columnReferences
object[]
config
object
Returns any configuration options from the Node Config Tab.
Returns any configuration options from the Node Config Tab.
Column data type.
The default column value.
The column description.
hashDetails
object
Possible values: [MD5
, SHA1
, SHA256
]
Possible values: [ChangeHash
, Hash
, HubHash
, LinkHash
, None
]
hubHashes
object[]
Column ID of the source column.
Node ID of the source columm.
hashedColumns
object[]
Column ID of the source column.
Node ID of the source columm.
Tags the column as a business key.
Tags the column as a change tracking column in type 2 dimensions.
Tags the column as a surrogate key, e.g. DIM_CUSTOMER_KEY.
Possible values: [None
, primaryBusinessKey
, surrogateKey
]
The column name.
If the column can contain null values.
Tags the column as a primary key.
sources
object[]
anyOf
columnReferences
object[]
required
Column ID of the source column.
Node ID of the source columm.
Returns the SQL of any column transformations.
Returns the SQL of any column transformations.
Possible values: [None
, sysCreateDate
, sysCurrentFlag
, sysEndDate
, sysStartDate
, sysUpdateDate
, sysVersion
]
mapping
object
property name*
object
anyOf
object
string
number
boolean
sourceMapping
object[]
required
aliases
object
customSQL
object
dependencies
object[]
required
join
object
required
noLinkRefs
object[]
required
The Snowflake database name.
The Node description.
The Node ID.
The Storage Mapping location.
The Node name.
nodeType
object
required
anyOf
string
Possible values: [Dimension
, Fact
, Hub
, Link
, Satellite
, Source
, Stage
, View
, persistentStage
]
string
The Snowflake schema name.
{
"metadata": {
"columns": [
{
"appliedColumnTests": {
"property1": true,
"property2": true
},
"columnID": "string",
"columnReferences": [
{
"columnName": "string",
"tableName": "string"
}
],
"config": {},
"dataType": "string",
"defaultValue": "string",
"description": "string",
"hashDetails": {
"hashAlgorithm": "MD5",
"hashType": "ChangeHash",
"hubHashes": [
{
"columnID": "string",
"nodeID": "string"
}
]
},
"hashedColumns": [
{
"columnID": "string",
"nodeID": "string"
}
],
"isBusinessKey": true,
"isChangeTracking": true,
"isSurrogateKey": true,
"keyColumnType": "None",
"name": "string",
"nullable": true,
"primaryKey": true,
"sources": [
{
"columnReferences": [
{
"columnID": "string",
"nodeID": "string"
}
],
"transform": "string"
}
],
"systemColumnType": "None",
"transform": "string",
"uniqueKey": true
}
],
"join": {
"joinCondition": "string"
},
"sourceMapping": [
{
"aliases": {
"property1": "string",
"property2": "string"
},
"customSQL": {
"customSQL": "string"
},
"dependencies": [
{
"locationName": "string",
"nodeName": "string"
}
],
"join": {
"joinCondition": "string"
},
"name": "string",
"noLinkRefs": [
{
"locationName": "string",
"nodeName": "string"
}
]
}
]
},
"table": "string",
"database": "string",
"description": "string",
"id": "string",
"locationName": "string",
"name": "string",
"nodeType": "Dimension",
"schema": "string"
}
The request was invalid.
- application/json
- Schema
- Invalid Request Error
Schema
error
object
required
The error message.
Additional detail about the error.
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
User lacks authorization to perform this action.
- application/json
- Schema
- Unauthorized
Schema
error
object
required
The error message.
Additional detail about the error.
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
The client is not permitted to perform the requested operation.
- application/json
- Schema
- Forbidden Error
Schema
error
object
required
The error message.
Additional detail about the error.
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
The requested resource could not be found.
- application/json
- Schema
- Not Found Error
Schema
error
object
required
The error message.
Additional detail about the error.
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
The server encountered an unexpected condition that prevented it from fulfilling the request.
- application/json
- Schema
- Internal Server Error
Schema
error
object
required
The error message.
Additional detail about the error.
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
The server received an error from an upstream system.
- application/json
- Schema
- Bad Gateway Error
Schema
error
object
required
The error message.
Additional detail about the error.
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
The service is currently unavailable.
- application/json
- Schema
- Service Unavailable Error
Schema
error
object
required
The error message.
Additional detail about the error.
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
The server did not receive a response in time from an upstream system.
- application/json
- Schema
- Gateway Timeout Error
Schema
error
object
required
The error message.
Additional detail about the error.
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}