--- title: CdmEditorApi description: The CdmEditorApi provides endpoints that enable you to create nodes, update nodes, include existing nodes under other nodes, delete nodes, and retrieve nodes and node includes.Deletes a specified node.Returns the list of nodes that were include within a specified node path.Returns the details of a specified node or a list of child Configuration Data Management \(CDM\) nodes for a specified parent node.Includes an existing node into another node, such as a component node into a collection node or a collection node into a deployable node. After including a node, the new node has its own unique sys\_id and main\_Id.Creates a specific type of node, such as component, collection, folder, configuration data item \(CDI\), or variable.Updates the name and/or value of a specified node. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/api-reference/rest-apis/editor-api.html release: australia product: REST APIs classification: rest-apis topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 36 breadcrumb: [REST API reference, API reference, API implementation and reference] --- # CdmEditorApi The CdmEditorApi provides endpoints that enable you to create nodes, update nodes, include existing nodes under other nodes, delete nodes, and retrieve nodes and node includes. You must have one of the following roles to access this API: - Scripted REST CDM View ACL \(sn\_cdm.cdm.viewer\) - Scripted REST CDM Editor ACL \(sn\_cdm.cdm\_editor\) To view fields that have been encrypted, you must have the CDM Secret role. In addition, the Configuration Data Management \(CDM\) plugin must be activated for this API to be available in an instance. **Note:** The CdmEditorApi API cannot be used to modify any files. Only file deletion is allowed currently. **Parent Topic:**[REST API reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/api-rest.md) ## CdmEditorApi - DELETE /sn\_cdm/editor/nodes Deletes a specified node. The caller of this endpoint must have the CDM Editor role. ### URL format Versioned URL: `/api/sn_cdm/{api_version}/editor/nodes` Default URL: `/api/sn_cdm/editor/nodes` **Note:** Available versions are specified in the [REST API Explorer](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-api-explorer/use-REST-API-Explorer.md). For scripted REST APIs there is additional version information on the [Scripted REST Service form](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-api-explorer/c_CustomWebServices.md). ### Supported request parameters
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| changesetNumber | Required. Unique identifier of the associated changeset, such as "Chset-10". Data type: String Table: CDM Changeset \[sn\_cdm\_changeset\] |
| fullNamePath | Required. Path name of the node to delete. You can pass the name path in any of the following formats. For example, to delete the following node `testApp/deployables/Development1/cdi1`: - Backslash format: `testApp/deployables/Development1/cdi1` **Note:** If your node name contains a backslash \("/"\), you can’t use this format. - Backend name path with replacement characters: `testApp�deployables�Development1�cdi1` - Array: `['testApp','deployables','Development1','cdi1']` Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| changesetNumber | Unique identifier of the associated changeset, such as "Chset-10". Data type: String Table: CDM Changeset \[sn\_cdm\_changeset\] |
| returnFields | List of fields to return as part of the response. Pass the record column names such as sys\_id, sys\_updated\_by, or state.Data type: Array Default: All fields as determined by the endpoint |
| sourceFullNamePath | Required. Path name of the source node for which to return the included nodes.You can pass the name path in any of the following formats. For example, to return the includes for the `collectionA` node in the `testApp/collections` directory: - Backslash format: `testApp/collections/collectionA` **Note:** If your node name contains a backslash \("/"\), you can't use this format. - Backend name path with replacement characters: `testApp�collections�collectionA` - Array: `['testApp','collections','collectionA']` Data type: String |
| Name | Description |
|---|---|
| changeset\_id | Unique identifier of the associated changeset, such as "Chset-10". Data type: String Table: CDM Changeset \[sn\_cdm\_changeset\] |
| conflict | Flag that indicates whether there was a conflict when processing the node.Possible values: - true: Conflict detected. - false: No conflict was detected. Data type: Boolean |
| conflict\_type | If the **conflict** parameter is true, the type of conflict detected. Null if no conflict is detected.Possible values: - corrupted\_node - deleted\_node - duplicated\_node - incomplete\_deleted\_parent - incomplete\_deleted\_ref - incomplete\_renamed\_ref - invalid\_include - orphaned\_descendant - related\_conflict - unlinked\_include - unrenamed\_include - updated\_node Data type: String |
| description | Short description of the purpose of the node.Data type: String |
| effective\_from | Timestamp \(converted to a long integer\) when the node was committed as part of the changeset. If the node hasn't been committed, this value is "null".Data type: Number \(Integer\) |
| effective\_to | Timestamp \(converted to a long integer\) of the node when it was either deleted or superseded by another node, otherwise "null".Data type: Number \(Integer\) |
| error | If an error occurred during processing, the details about the error.Data type: Object ``` "error": { "detail": "String", "message": "String" } ``` |
| error.detail | Additional information about the error.Data type: String |
| error.message | Error message that was generated while trying to process the request.Data type: String |
| level | Level of the node, starting from the root node, which is always 0. For example, the node `/AppA/components/compA` has two levels.Data type: String |
| linked\_to | The **main\_id** parameter of the referenced node to which this node is linked.If this node isn't linked to a reference node, the value is "null". Data type: String |
| main\_id | Primary identifier for the node. You can use this value in the CdmQuery\(\) script include to retrieve a JSON tree. For example: `CdmQuery().mainId(‘123’)/query().getTree();` Data type: String |
| main\_id\_encoded | RADIX 57 string representation of the node's **main\_id** parameter.Data type: String |
| name | Name of the node that was included under the target path.Data type: String |
| node\_classifier | Classifier hierarchy of the node. Use this information to locate a node within the folder hierarchy.For example, a deployable would have a hierarchy of `/application/deployables/env:Development` While a collection would have a hierarchy of `/applications/collections` Data type: String |
| node\_path | Full path name of the node that was included in the target path, such as `/Production/deployables/Development1/cdi1`. Data type: String |
| position | Node position.For example: If you upload the following array: ``` arrayNode1: [ "literal1", {"cdi1": 1}, "literal3" ] ``` The position values are set as follows: - arrayNode1.literal1 = 1000 - arrayNode1.2000 = 2000 - arrayNode1.literal3 = 3000 If a complex object is uploaded under an array, in this case `{"cdi1": 1}`, the endpoint creates a new virtual node with the name equal to its position. In the example above, this is 2000. For includes, the position is always empty. Data type: String |
| previous\_version | Details of the previous version of the node record. **Note:** If a new node was created, the endpoint returns `"previous_version" = null` for this parameter. Data type: Object ``` "previous_version": { "link": "String", "value": "String" } ``` |
| restricted\_to | Details of the group that has access the associated the node. Data type: Object ``` "restricted_to": { "link": "String", "value": "String" } ``` |
| secure\_value | If this value was flagged to be secured, the encrypted field \(returned masked\).A user must have the sn\_cdm.cdm\_secrets role to decrypt this information. You can direct the endpoint not to return these fields by setting the **returnFields** query parameter field. Data type: String |
| status | Node status.Possible values: - DELETED - NEW - SUPERSEDED - UPDATED - VALID Data type: String |
| sys\_id | Sys\_id of the node.Data type: String Table: CDM Node \[sn\_cdm\_node\] |
| system\_folder | Flag that indicates whether the associated node is a system folder.Possible values: - true: Node is a system folder. - false: Node isn't a system folder. Data type: Boolean |
| type | Node type. Possible values: - sn\_cdm\_node\_cdi - sn\_cdm\_node\_collection - sn\_cdm\_node\_component - sn\_cdm\_node\_folder - sn\_cdm\_node\_variable Data type: String |
| value | Node value.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| changesetNumber | Unique identifier of the associated changeset, such as "Chset-10". Data type: String Table: CDM Changeset \[sn\_cdm\_changeset\] |
| decryptPassword | Flag that indicates whether the value should be encrypted for the leaf nodes.Valid values: - true: Encrypted - false: Not encrypted Data type: Boolean Default: false |
| name | Node name. If you pass this parameter, only the results for the specified node are returned.Data type: String Default: All nodes within the parent node |
| parentFullNamePath | Required. Path name of the parent node for which to return the child nodes or to which the node specified in the **name** parameter resides.You can pass the name path in any of the following formats. For example, to return the nodes for the `collectionA` node in the `testApp/collections` directory: - Backslash format: `testApp/collections/collectionA` **Note:** If your node name contains a backslash \("/"\), you can't use this format. - Backend name path with replacement characters: `testApp�collections�collectionA` - Array: `['testApp','collections','collectionA']` Data type: String |
| returnFields | List of fields to return as part of the response. Pass the record column names such as sys\_id, sys\_updated\_by, or state.Data type: Array Default: All fields as determined by the endpoint |
| type | Node type. Possible values: - sn\_cdm\_node\_cdi OR cdi - sn\_cdm\_node\_collection OR collection - sn\_cdm\_node\_component OR component - sn\_cdm\_node\_folder OR folder - sn\_cdm\_node\_variable OR variable Data type: String Default: All |
| Name | Description |
|---|---|
| changeset\_id | Details of the changeset record associated with the node. Data type: Object ``` "changeset_id": { "link": "String", "value": "String" } ``` |
| changeset\_id.link | Call syntax for querying this changeset record using the Table REST API.Data type: String |
| changeset\_id.value | Unique identifier of the changeset record.Data type: String Table: CDM Changeset \[sn\_cdm\_changeset\] |
| conflict | Flag that indicates whether there was a conflict when processing the node.Possible values: - true: Conflict detected. - false: No conflict was detected. Data type: Boolean |
| conflict\_type | If the **conflict** parameter is true, the type of conflict detected. Null if no conflict is detected.Possible values: - corrupted\_node - deleted\_node - duplicated\_node - incomplete\_deleted\_parent - incomplete\_deleted\_ref - incomplete\_renamed\_ref - invalid\_include - orphaned\_descendant - related\_conflict - unlinked\_include - unrenamed\_include - updated\_node Data type: String |
| description | Short description of the purpose of the node.Data type: String |
| effective\_from | Timestamp \(converted to a long integer\) when the node was committed as part of the changeset. If the node hasn't been committed, this value is "null".Data type: Number \(Integer\) |
| effective\_to | Timestamp \(converted to a long integer\) of the node when it was either deleted or superseded by another node, otherwise "null".Data type: Number \(Integer\) |
| error | If an error occurred during processing, the details about the error.Data type: Object ``` "error": { "detail": "String", "message": "String" } ``` |
| error.detail | Additional information about the error.Data type: String |
| error.message | Error message that was generated while trying to process the request.Data type: String |
| level | Level of the node, starting from the root node, which is always 0. For example, the node `/AppA/components/compA` has two levels.Data type: String |
| linked\_to | The **main\_id** parameter of the referenced node to which this node is linked.If this node isn't linked to a reference node, the value is "null". Data type: String |
| main\_id | Primary identifier for the node. You can use this value in the CdmQuery\(\) script include to retrieve a JSON tree. For example: `CdmQuery().mainId(‘123’)/query().getTree();` Data type: String |
| main\_id\_encoded | RADIX 57 string representation of the node's **main\_id** parameter.Data type: String |
| name | Name of the node.Data type: String |
| node\_classifier | Classifier hierarchy of the node. Use this information to locate a node within the folder hierarchy.For example, a deployable would have a hierarchy of `/application/deployables/env:Development` While a collection would have a hierarchy of `/applications/collections` Data type: String |
| node\_path | Full node path name. Data type: String |
| position | Node position.For example: If you upload the following array: ``` arrayNode1: [ "literal1", {"cdi1": 1}, "literal3" ] ``` The position values are set as follows: - arrayNode1.literal1 = 1000 - arrayNode1.2000 = 2000 - arrayNode1.literal3 = 3000 If a complex object is uploaded under an array, in this case `{"cdi1": 1}`, the endpoint creates a new virtual node with the name equal to its position. In the example above, this is 2000. For includes, the position is always empty. Data type: String |
| previous\_version | Details of the previous version of the node record. **Note:** If a new node was created, the endpoint returns `"previous_version" = null` for this parameter. Data type: Object ``` "previous_version": { "link": "String", "value": "String" } ``` |
| previous\_version.link | Call syntax for querying this node record using the Table REST API.Data type: String |
| previous\_version.value | Sys\_id of the node record.Data type: String Table: CDM Node \[sn\_cdm\_node\] |
| reason\_for\_conflict | Detailed explanation of the conflict.Data type: String |
| restricted\_to | Details of the group that has access the associated the node. Data type: Object ``` "restricted_to": { "link": "String", "value": "String" } ``` |
| restricted\_to.link | Call syntax for querying this group record using the Table REST API.Data type: String |
| restricted\_to.value | Sys\_id of the group record.Data type: String Table: CDM Group \[sys\_user\_group\] |
| secure\_value | If this value was flagged to be secured, the encrypted field \(returned masked\).A user must have the sn\_cdm.cdm\_secrets role to decrypt this information. You can direct the endpoint not to return these fields by setting the **returnFields** query parameter field. Data type: String |
| status | Node status.Possible values: - DELETED - NEW - SUPERSEDED - UPDATED - VALID Data type: String |
| system\_folder | Flag that indicates whether the associated node is a system folder.Possible values: - true: Node is a system folder. - false: Node isn't a system folder. Data type: Boolean |
| sys\_class\_name | Table in which the node resides.Data type: String |
| sys\_created\_by | Name of the user that created the node.Data type: String |
| sys\_created\_on | Date and time when the node was created.Data type: String Format: yyyy-mm-dd hh:mm:ss |
| sys\_id | Sys\_id of the node.Data type: String Table: CDM Node \[sn\_cdm\_node\] |
| sys\_updated\_by | Name of the user that updated the node.Data type: String |
| sys\_updated\_on | Date and time when the node was last updated.Data type: String Format: yyyy-mm-dd hh:mm:ss |
| type | Node type. Possible values: - sn\_cdm\_node\_cdi - sn\_cdm\_node\_collection - sn\_cdm\_node\_component - sn\_cdm\_node\_folder - sn\_cdm\_node\_variable Data type: String Default: All |
| value | Node value.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| changesetNumber | Required. Unique number of the open changeset to include in the target node.Data type: String Table: CDM Changeset \[sn\_cdm\_changeset\] |
| returnFields | List of fields to return as part of the response. Pass the record column names such as sys\_id, sys\_updated\_by, or state.Data type: Array Default: All fields as determined by the endpoint |
| sourceFullNamePath | Required. Path name of the node to include in the target node.You can pass the name path in any of the following formats. For example, to include the following node `Staging/deployables/Development1/cdi1`: - Backslash format: `Staging/deployables/Development1/cdi1` **Note:** If your node name contains a backslash \("/"\), you can't use this format. - Backend name path with replacement characters: `Staging�deployables�Development1�cdi1` - Array: `['Staging','deployables','Development1','cdi1']` Data type: String |
| targetFullNamePath | Required. Path name of the node under which the source node is to be included. You can pass the name path in any of the following formats. For example, to include the following node `Production/deployables/Development1`: - Backslash format: `Production/deployables/Development1/cdi1` **Note:** If your node name contains a backslash \("/"\), you can't use this format. - Backend name path with replacement characters: `Production�deployables�Development1�cdi1` - Array: `['Production','deployables','Development1','cdi1']` Data type: String |
| Name | Description |
|---|---|
| changeset\_id | Unique identifier of the associated changeset, such as "Chset-10". Data type: String Table: CDM Changeset \[sn\_cdm\_changeset\] |
| conflict | Flag that indicates whether there was a conflict when processing the node.Possible values: - true: Conflict detected. - false: No conflict was detected. Data type: Boolean |
| conflict\_type | If the **conflict** parameter is true, the type of conflict detected. Null if no conflict is detected.Possible values: - corrupted\_node - deleted\_node - duplicated\_node - incomplete\_deleted\_parent - incomplete\_deleted\_ref - incomplete\_renamed\_ref - invalid\_include - orphaned\_descendant - related\_conflict - unlinked\_include - unrenamed\_include - updated\_node Data type: String |
| description | Short description of the purpose of the node.Data type: String |
| effective\_from | Timestamp \(converted to a long integer\) when the node was committed as part of the changeset. If the node hasn't been committed, this value is "null".Data type: Number \(Integer\) |
| effective\_to | Timestamp \(converted to a long integer\) of the node when it was either deleted or superseded by another node, otherwise "null".Data type: Number \(Integer\) |
| error | If an error occurred during processing, the details about the error.Data type: Object ``` "error": { "detail": "String", "message": "String" } ``` |
| error.detail | Additional information about the error.Data type: String |
| error.message | Error message that was generated while trying to process the request.Data type: String |
| level | Level of the node, starting from the root node, which is always 0. For example, the node `/AppA/components/compA` has two levels.Data type: String |
| linked\_to | The **main\_id** parameter of the referenced node to which this node is linked.If this node isn't linked to a reference node, the value is "null". Data type: String |
| main\_id | Primary identifier for the node. You can use this value in the CdmQuery\(\) script include to retrieve a JSON tree. For example: `CdmQuery().mainId(‘123’)/query().getTree();` Data type: String |
| main\_id\_encoded | RADIX 57 string representation of the node's **main\_id** parameter.Data type: String |
| name | Name of the node that was included under the target path.Data type: String |
| node\_classifier | Classifier hierarchy of the node. Use this information to locate a node within the folder hierarchy.For example, a deployable would have a hierarchy of `/application/deployables/env:Development` While a collection would have a hierarchy of `/applications/collections` Data type: String |
| node\_path | Full path name of the node that was included in the target path, such as `/Production/deployables/Development1/cdi1`. Data type: String |
| position | Node position.For example: If you upload the following array: ``` arrayNode1: [ "literal1", {"cdi1": 1}, "literal3" ] ``` The position values are set as follows: - arrayNode1.literal1 = 1000 - arrayNode1.2000 = 2000 - arrayNode1.literal3 = 3000 If a complex object is uploaded under an array, in this case `{"cdi1": 1}`, the endpoint creates a new virtual node with the name equal to its position. In the example above, this is 2000. For includes, the position is always empty. Data type: String |
| previous\_version | Details of the previous version of the node record. **Note:** If a new node was created, the endpoint returns `"previous_version" = null` for this parameter. Data type: Object ``` "previous_version": { "link": "String", "value": "String" } ``` |
| restricted\_to | Details of the group that has access the associated the node. Data type: Object ``` "restricted_to": { "link": "String", "value": "String" } ``` |
| secure\_value | If this value was flagged to be secured, the encrypted field \(returned masked\).A user must have the sn\_cdm.cdm\_secrets role to decrypt this information. You can direct the endpoint not to return these fields by setting the **returnFields** query parameter field. Data type: String |
| status | Node status.Possible values: - DELETED - NEW - SUPERSEDED - UPDATED - VALID Data type: String |
| sys\_id | Sys\_id of the node.Data type: String Table: CDM Node \[sn\_cdm\_node\] |
| system\_folder | Flag that indicates whether the associated node is a system folder.Possible values: - true: Node is a system folder. - false: Node isn't a system folder. Data type: Boolean |
| type | Node type. Possible values: - sn\_cdm\_node\_cdi - sn\_cdm\_node\_collection - sn\_cdm\_node\_component - sn\_cdm\_node\_folder - sn\_cdm\_node\_variable Data type: String |
| value | Node value.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| autoCreateParents | Flag that indicates whether to automatically create the non-existent parents in the name path as components. Exceptions to this are the app, deployable, and collection. If you do not set this flag and the parents do not already exist, the endpoint fails.Valid values: - true: Automatically create the non-existent parents. - false: Don't automatically create the non-existent parents. Data type: Boolean Default: false |
| changesetNumber | Required. Unique identifier of the associated changeset, such as "Chset-10". Data type: String Table: CDM Changeset \[sn\_cdm\_changeset\] |
| fullNamePath | Required. Path name of the node. You can pass the name path in any of the following formats. For example, to define the name path for the node `testApp/deployables/Development1/cdi1`: - Backslash format: `testApp/deployables/Development1/cdi1` **Note:** If your node name contains a backslash \("/"\), you can’t use this format. - Backend name path with replacement characters: `testApp�deployables�Development1�cdi1` - Array: `['testApp','deployables','Development1','cdi1']` Data type: String |
| returnFields | List of fields to return as part of the response. Pass the record column names such as sys\_id, sys\_updated\_by, or state.Data type: Array Default: All fields as determined by the endpoint |
| secure | Flag that indicates whether the value should be encrypted for the leaf nodes.Valid values: - true: Encrypted - false: Not encrypted Data type: Boolean Default: false |
| type | Required. Type of new node.Valid values: - sn\_cdm\_node\_collection OR collection - sn\_cdm\_node\_component OR component - sn\_cdm\_node\_folder OR folder - sn\_cdm\_node\_cdi OR cdi - sn\_cdm\_node\_variable or variable Data type: String |
| value | Value of the new node.Data type: String Default: Equivalent of "null" |
| Name | Description |
|---|---|
| changeset\_id | Details of the changeset record associated with the node. Data type: Object ``` "changeset_id": { "link": "String", "value": "String" } ``` |
| changeset\_id.link | Call syntax for querying this changeset record using the Table REST API.Data type: String |
| changeset\_id.value | Unique identifier of the changeset record.Data type: String Table: CDM Changeset \[sn\_cdm\_changeset\] |
| conflict | Flag that indicates whether there was a conflict when processing the node.Possible values: - true: Conflict detected. - false: No conflict was detected. Data type: Boolean |
| conflict\_type | If the **conflict** parameter is true, the type of conflict detected. Null if no conflict is detected.Possible values: - corrupted\_node - deleted\_node - duplicated\_node - incomplete\_deleted\_parent - incomplete\_deleted\_ref - incomplete\_renamed\_ref - invalid\_include - orphaned\_descendant - related\_conflict - unlinked\_include - unrenamed\_include - updated\_node Data type: String |
| description | Short description of the purpose of the node.Data type: String |
| effective\_from | Timestamp \(converted to a long integer\) when the node was committed as part of the changeset. If the node hasn't been committed, this value is "null".Data type: Number \(Integer\) |
| effective\_to | Timestamp \(converted to a long integer\) of the node when it was either deleted or superseded by another node, otherwise "null".Data type: Number \(Integer\) |
| error | If an error occurred during processing, the details about the error.Data type: Object ``` "error": { "detail": "String", "message": "String" } ``` |
| error.detail | Additional information about the error.Data type: String |
| error.message | Error message that was generated while trying to process the request.Data type: String |
| level | Level of the node, starting from the root node, which is always 0. For example, the node `/AppA/components/compA` has two levels.Data type: String |
| linked\_to | The **main\_id** parameter of the referenced node to which this node is linked.If this node isn't linked to a reference node, the value is "null". Data type: String |
| main\_id | Primary identifier for the node. You can use this value in the CdmQuery\(\) script include to retrieve a JSON tree. For example: `CdmQuery().mainId(‘123’)/query().getTree();` Data type: String |
| main\_id\_encoded | RADIX 57 string representation of the node's **main\_id** parameter.Data type: String |
| name | Name of the node.Data type: String |
| node\_classifier | Classifier hierarchy of the node. Use this information to locate a node within the folder hierarchy.For example, a deployable would have a hierarchy of `/application/deployables/env:Development` While a collection would have a hierarchy of `/applications/collections` Data type: String |
| node\_path | Full node path name. Data type: String |
| position | Node position.For example: If you upload the following array: ``` arrayNode1: [ "literal1", {"cdi1": 1}, "literal3" ] ``` The position values are set as follows: - arrayNode1.literal1 = 1000 - arrayNode1.2000 = 2000 - arrayNode1.literal3 = 3000 If a complex object is uploaded under an array, in this case `{"cdi1": 1}`, the endpoint creates a new virtual node with the name equal to its position. In the example above, this is 2000. For includes, the position is always empty. Data type: String |
| previous\_version | Details of the previous version of the node record. **Note:** If a new node was created, the endpoint returns `"previous_version" = null` for this parameter. Data type: Object ``` "previous_version": { "link": "String", "value": "String" } ``` |
| previous\_version.link | Call syntax for querying this node record using the Table REST API.Data type: String |
| previous\_version.value | Sys\_id of the node record.Data type: String Table: CDM Node \[sn\_cdm\_node\] |
| reason\_for\_conflict | Detailed explanation of the conflict.Data type: String |
| restricted\_to | Details of the group that has access the associated the node. Data type: Object ``` "restricted_to": { "link": "String", "value": "String" } ``` |
| restricted\_to.link | Call syntax for querying this group record using the Table REST API.Data type: String |
| restricted\_to.value | Sys\_id of the group record.Data type: String Table: CDM Group \[sys\_user\_group\] |
| secure\_value | If this value was flagged to be secured, the encrypted field \(returned masked\).A user must have the sn\_cdm.cdm\_secrets role to decrypt this information. You can direct the endpoint not to return these fields by setting the **returnFields** query parameter field. Data type: String |
| status | Node status.Possible values: - DELETED - NEW - SUPERSEDED - UPDATED - VALID Data type: String |
| system\_folder | Flag that indicates whether the associated node is a system folder.Possible values: - true: Node is a system folder. - false: Node isn't a system folder. Data type: Boolean |
| sys\_class\_name | Table in which the node resides.Data type: String |
| sys\_created\_by | Name of the user that created the node.Data type: String |
| sys\_created\_on | Date and time when the node was created.Data type: String Format: yyyy-mm-dd hh:mm:ss |
| sys\_id | Sys\_id of the node.Data type: String Table: CDM Node \[sn\_cdm\_node\] |
| sys\_updated\_by | Name of the user that updated the node.Data type: String |
| sys\_updated\_on | Date and time when the node was last updated.Data type: String Format: yyyy-mm-dd hh:mm:ss |
| type | Node type. Possible values: - sn\_cdm\_node\_cdi - sn\_cdm\_node\_collection - sn\_cdm\_node\_component - sn\_cdm\_node\_folder - sn\_cdm\_node\_variable Data type: String Default: All |
| value | Node value.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| changesetNumber | Required. Unique identifier of the associated changeset, such as "Chset-10". Data type: String Table: CDM Changeset \[sn\_cdm\_changeset\] |
| fullNamePath | Required. Path name of the node. You can pass the name path in any of the following formats. For example, to define the name path for the node `testApp/deployables/Development1/cdi1`: - Backslash format: `testApp/deployables/Development1/cdi1` **Note:** If your node name contains a backslash \("/"\), you can’t use this format. - Backend name path with replacement characters: `testApp�deployables�Development1�cdi1` - Array: `['testApp','deployables','Development1','cdi1']` Data type: String |
| newName | New name for the associated node.Data type: String |
| newValue | New value for the associated node.Data type: String |
| secure | Flag that indicates whether the value should be encrypted for the leaf nodes.Valid values: - true: Encrypted - false: Not encrypted Data type: Boolean Default: false |
| returnFields | List of fields to return as part of the response. Pass the record column names such as sys\_id, sys\_updated\_by, or state.Data type: Array Default: All fields as determined by the endpoint |
| Name | Description |
|---|---|
| changeset\_id | Details of the changeset record associated with the node. Data type: Object ``` "changeset_id": { "link": "String", "value": "String" } ``` |
| changeset\_id.link | Call syntax for querying this changeset record using the Table REST API.Data type: String |
| changeset\_id.value | Unique identifier of the changeset record.Data type: String Table: CDM Changeset \[sn\_cdm\_changeset\] |
| conflict | Flag that indicates whether there was a conflict when processing the node.Possible values: - true: Conflict detected. - false: No conflict was detected. Data type: Boolean |
| conflict\_type | If the **conflict** parameter is true, the type of conflict detected. Null if no conflict is detected.Possible values: - corrupted\_node - deleted\_node - duplicated\_node - incomplete\_deleted\_parent - incomplete\_deleted\_ref - incomplete\_renamed\_ref - invalid\_include - orphaned\_descendant - related\_conflict - unlinked\_include - unrenamed\_include - updated\_node Data type: String |
| description | Short description of the purpose of the node.Data type: String |
| effective\_from | Timestamp \(converted to a long integer\) when the node was committed as part of the changeset. If the node hasn't been committed, this value is "null".Data type: Number \(Integer\) |
| effective\_to | Timestamp \(converted to a long integer\) of the node when it was either deleted or superseded by another node, otherwise "null".Data type: Number \(Integer\) |
| error | If an error occurred during processing, the details about the error.Data type: Object ``` "error": { "detail": "String", "message": "String" } ``` |
| error.detail | Additional information about the error.Data type: String |
| error.message | Error message that was generated while trying to process the request.Data type: String |
| level | Level of the node, starting from the root node, which is always 0. For example, the node `/AppA/components/compA` has two levels.Data type: String |
| linked\_to | The **main\_id** parameter of the referenced node to which this node is linked.If this node isn't linked to a reference node, the value is "null". Data type: String |
| main\_id | Primary identifier for the node. You can use this value in the CdmQuery\(\) script include to retrieve a JSON tree. For example: `CdmQuery().mainId(‘123’)/query().getTree();` Data type: String |
| main\_id\_encoded | RADIX 57 string representation of the node's **main\_id** parameter.Data type: String |
| name | Name of the node.Data type: String |
| node\_classifier | Classifier hierarchy of the node. Use this information to locate a node within the folder hierarchy.For example, a deployable would have a hierarchy of `/application/deployables/env:Development` While a collection would have a hierarchy of `/applications/collections` Data type: String |
| node\_path | Full node path name. Data type: String |
| position | Node position.For example: If you upload the following array: ``` arrayNode1: [ "literal1", {"cdi1": 1}, "literal3" ] ``` The position values are set as follows: - arrayNode1.literal1 = 1000 - arrayNode1.2000 = 2000 - arrayNode1.literal3 = 3000 If a complex object is uploaded under an array, in this case `{"cdi1": 1}`, the endpoint creates a new virtual node with the name equal to its position. In the example above, this is 2000. For includes, the position is always empty. Data type: String |
| previous\_version | Details of the previous version of the node record. **Note:** If a new node was created, the endpoint returns `"previous_version" = null` for this parameter. Data type: Object ``` "previous_version": { "link": "String", "value": "String" } ``` |
| previous\_version.link | Call syntax for querying this node record using the Table REST API.Data type: String |
| previous\_version.value | Sys\_id of the node record.Data type: String Table: CDM Node \[sn\_cdm\_node\] |
| reason\_for\_conflict | Detailed explanation of the conflict.Data type: String |
| restricted\_to | Details of the group that has access the associated the node. Data type: Object ``` "restricted_to": { "link": "String", "value": "String" } ``` |
| restricted\_to.link | Call syntax for querying this group record using the Table REST API.Data type: String |
| restricted\_to.value | Sys\_id of the group record.Data type: String Table: CDM Group \[sys\_user\_group\] |
| secure\_value | If this value was flagged to be secured, the encrypted field \(returned masked\).A user must have the sn\_cdm.cdm\_secrets role to decrypt this information. You can direct the endpoint not to return these fields by setting the **returnFields** query parameter field. Data type: String |
| status | Node status.Possible values: - DELETED - NEW - SUPERSEDED - UPDATED - VALID Data type: String |
| system\_folder | Flag that indicates whether the associated node is a system folder.Possible values: - true: Node is a system folder. - false: Node isn't a system folder. Data type: Boolean |
| sys\_class\_name | Table in which the node resides.Data type: String |
| sys\_created\_by | Name of the user that created the node.Data type: String |
| sys\_created\_on | Date and time when the node was created.Data type: String Format: yyyy-mm-dd hh:mm:ss |
| sys\_id | Sys\_id of the node.Data type: String Table: CDM Node \[sn\_cdm\_node\] |
| sys\_updated\_by | Name of the user that updated the node.Data type: String |
| sys\_updated\_on | Date and time when the node was last updated.Data type: String Format: yyyy-mm-dd hh:mm:ss |
| type | Node type. Possible values: - sn\_cdm\_node\_cdi - sn\_cdm\_node\_collection - sn\_cdm\_node\_component - sn\_cdm\_node\_folder - sn\_cdm\_node\_variable Data type: String Default: All |
| value | Node value.Data type: String |