setprop

Modify, create or remove properties of a Library member.

Properties are typed. Possible types are: string, boolean, integer, double, dateTime, node(), and <expression>:

 

HTTP Request: POST

Parameters:

NameValueDescription
pathPath of the Library member to modify.
namename of a property to set.
value[optional] new value. If absent, the property is removed.
type[optional] type of the property value: simple name without namespace, defaults to "string".
name2[optional] additional property names.
value2[optional] additional property values.
type2[optional] additional property types.
name3[optional] ... name-N: additional property names.
value3[optional] ... value-N: additional property values.
type3[optional] ... type-N: additional property types.
libraryName of Library used (can be empty if exactly one Library in server).

Response:

 mime-type: text/plain

Single line containing the path of the Library member.

Error codes:

NotFound
When the Library member does not exist.