Say that a step asks about a field, whether it may also change it, and to which values.
curl --request POST \
--url https://app.assetinfinity.ai/api/rpc/set_node_field \
--header 'Content-Type: application/json' \
--data '
{
"p_column_name": "<string>",
"p_node_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"p_allowed_values": [
"<string>"
],
"p_hint": "<string>",
"p_is_editable": true,
"p_is_required": true
}
'import requests
url = "https://app.assetinfinity.ai/api/rpc/set_node_field"
payload = {
"p_column_name": "<string>",
"p_node_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"p_allowed_values": ["<string>"],
"p_hint": "<string>",
"p_is_editable": True,
"p_is_required": True
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
p_column_name: '<string>',
p_node_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
p_allowed_values: ['<string>'],
p_hint: '<string>',
p_is_editable: true,
p_is_required: true
})
};
fetch('https://app.assetinfinity.ai/api/rpc/set_node_field', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.assetinfinity.ai/api/rpc/set_node_field",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'p_column_name' => '<string>',
'p_node_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'p_allowed_values' => [
'<string>'
],
'p_hint' => '<string>',
'p_is_editable' => true,
'p_is_required' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.assetinfinity.ai/api/rpc/set_node_field"
payload := strings.NewReader("{\n \"p_column_name\": \"<string>\",\n \"p_node_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"p_allowed_values\": [\n \"<string>\"\n ],\n \"p_hint\": \"<string>\",\n \"p_is_editable\": true,\n \"p_is_required\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.assetinfinity.ai/api/rpc/set_node_field")
.header("Content-Type", "application/json")
.body("{\n \"p_column_name\": \"<string>\",\n \"p_node_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"p_allowed_values\": [\n \"<string>\"\n ],\n \"p_hint\": \"<string>\",\n \"p_is_editable\": true,\n \"p_is_required\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.assetinfinity.ai/api/rpc/set_node_field")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"p_column_name\": \"<string>\",\n \"p_node_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"p_allowed_values\": [\n \"<string>\"\n ],\n \"p_hint\": \"<string>\",\n \"p_is_editable\": true,\n \"p_is_required\": true\n}"
response = http.request(request)
puts response.read_bodyWorkflow studio
Say that a step asks about a field, whether it may also change it, and to which values.
Say that a step asks about a field, whether it may also change it, and to which values.
Whether it may change it defaults to whether the field can be changed on this kind of request, and asking for a change that cannot be made is refused. A list of values narrows the field to some of the values it takes; it cannot add one.
POST
/
rpc
/
set_node_field
Say that a step asks about a field, whether it may also change it, and to which values.
curl --request POST \
--url https://app.assetinfinity.ai/api/rpc/set_node_field \
--header 'Content-Type: application/json' \
--data '
{
"p_column_name": "<string>",
"p_node_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"p_allowed_values": [
"<string>"
],
"p_hint": "<string>",
"p_is_editable": true,
"p_is_required": true
}
'import requests
url = "https://app.assetinfinity.ai/api/rpc/set_node_field"
payload = {
"p_column_name": "<string>",
"p_node_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"p_allowed_values": ["<string>"],
"p_hint": "<string>",
"p_is_editable": True,
"p_is_required": True
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
p_column_name: '<string>',
p_node_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
p_allowed_values: ['<string>'],
p_hint: '<string>',
p_is_editable: true,
p_is_required: true
})
};
fetch('https://app.assetinfinity.ai/api/rpc/set_node_field', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.assetinfinity.ai/api/rpc/set_node_field",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'p_column_name' => '<string>',
'p_node_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'p_allowed_values' => [
'<string>'
],
'p_hint' => '<string>',
'p_is_editable' => true,
'p_is_required' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.assetinfinity.ai/api/rpc/set_node_field"
payload := strings.NewReader("{\n \"p_column_name\": \"<string>\",\n \"p_node_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"p_allowed_values\": [\n \"<string>\"\n ],\n \"p_hint\": \"<string>\",\n \"p_is_editable\": true,\n \"p_is_required\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.assetinfinity.ai/api/rpc/set_node_field")
.header("Content-Type", "application/json")
.body("{\n \"p_column_name\": \"<string>\",\n \"p_node_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"p_allowed_values\": [\n \"<string>\"\n ],\n \"p_hint\": \"<string>\",\n \"p_is_editable\": true,\n \"p_is_required\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.assetinfinity.ai/api/rpc/set_node_field")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"p_column_name\": \"<string>\",\n \"p_node_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"p_allowed_values\": [\n \"<string>\"\n ],\n \"p_hint\": \"<string>\",\n \"p_is_editable\": true,\n \"p_is_required\": true\n}"
response = http.request(request)
puts response.read_bodyHeaders
Preference
Available options:
params=single-object Body
application/jsonapplication/vnd.pgrst.object+jsonapplication/vnd.pgrst.object+json;nulls=strippedtext/csv
Say that a step asks about a field, whether it may also change it, and to which values.
Whether it may change it defaults to whether the field can be changed on this kind of request, and asking for a change that cannot be made is refused. A list of values narrows the field to some of the values it takes; it cannot add one.
Response
200
OK
⌘I

