set of string values from metadata list of options; when passed in *WhereOpts, uses string "contains" searching, e.g. searching for "A" returns all values containing "A", such as set("A"), set("A", "B"), set("A", "B", "C") ...
Add a metadata definition to the specified team; will assign an ID and a default position
Raises BAD_REQUEST if key is not unique among unarchived metadata for the same team+owner;
note that it is OK to create a new item to replace an archived one with the same key
Update a metadata definition.
Allowable update operations include:
a) change key name, b) position change (re-order), c) change required-ness,
d) modify range, e) change or clear default value, f) change externally-managed flag
Disallowed update operations include:
f) change list values (DEPRECATED, use updateList* below for granular ops),
g) change to metadata owner, h) change to metadata type (except list -> multi-select list)
Add values to a list (or multi-select list) metadata
Append values to end of list by default. Insert into list position if params contains position, append to end of list when position=-1 Sort all values alphabetically if params contains alphabetical=true, ignoring position when set
Return added list value ids in original input order, error if metadata is not one of the list types or values already added or bad insert position
Remove values from a list (or multi-select list) metadata
Remove values from list if they exist; active metadata list objects will remove these values automatically
Error if metadata is not one of the list types or values not found
Update values in a list (or multi-select list) metadata
Update value names if params contains name; active metadata list objects will update value names automatically
Move values to list position if params contains position, move to end of list when position=-1 Sort all values alphabetically if any params contains alphabetical=true, ignoring all position when set
Error if metadata is not one of the list types or values not found or bad move position
Note that multi-move position is not supported unless all params have the same position (bulk move).
Merge values in a list (or multi-select list) metadata
Merge values into a single existing value; active metadata list objects will update all merged values to final value automatically
Error if metadata is not one of the list types or values/merged value not found