GetNodeInputSchema
Retrieves the input schema of a node.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paidesigner:GetNodeInputSchema |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/experiments/{ExperimentId}/nodes/{NodeId}/schema HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ExperimentId |
string |
Yes |
The workflow draft ID. |
experiment-rbvg5wzljzjhc9ks92 |
| NodeId |
string |
Yes |
The node ID in the workflow draft. |
ff1f33b0-426a-46bb-bb30-4a5648058079 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InputId |
string |
No |
The name of the input port of the experiment node. If this parameter is left empty, the merged schema of the entire node is returned. |
inputTable |
| InputIndex |
integer |
No |
The index of the variable port extension, starting from 0. This parameter is used when the port is a variable port. |
0 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
CEB07647-8A5D-56F1-8B99-361BCF51402F |
| ColNames |
array |
The names of the columns in the input table. |
|
|
string |
The column name. |
col1 |
|
| ColTypes |
array |
The types of the columns in the input table. |
|
|
string |
The column type. |
STRING |
Examples
Success response
JSON format
{
"RequestId": "CEB07647-8A5D-56F1-8B99-361BCF51402F",
"ColNames": [
"col1"
],
"ColTypes": [
"STRING"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.