.entry.update()
Function Example
/// Create instance
const connection = urchin(...config);
const connection.entry.update([...EntryUpdateInput]);
Parameters for EntryUpdateInput
label (* required)
description
type
default
valid values
publicKey*
reference to target address
PublicKey
taxonomies
associated taxonomies
[PublicKey]
[]
array length < 4
immutable
discontinue ability to update entry
boolean
false
inputs
array of objects
[object]
[]
inputs[i].label
matching label based on parameter within referenced template.inputs
string
must match from associated template
inputs[i].value
associated value
any
will be validated via template.inputs[i].validation if it exists
archived
Flag that record is no longer in use
boolean
false
Response Example
[
{
template: "5SKNwTC2Svdd7AbynWTSwPdyZitDcLVcFeQrkqQ137Hd",
taxonomy: [],
private: false,
immutable: false,
archived: false,
inputs: [
{
headline: "this is a blog post",
stage: "published",
"featured image": "./hero.img",
body: "this is the body of the post."
}
]
}
]
Last updated