get_constraint_list
Get all constraints for this tenant. Constraints define field-level validation rules on items (mutual exclusion between field values).Parameters
None.Returns
A list ofDataConstraint objects with constraint details including source field, target field, target mode (Include/Exclude), and associated containers.
get_constraints_for_container
Get all constraints that belong to a specific container.Parameters
Returns
A list ofDataConstraint objects for the specified container.
create_constraint
Create a new constraint. Constraints define: whensourceFieldId has value sourceFieldDataId, then targetFieldId is constrained to targetFieldDataId values.
Parameters
Returns
The createdDataConstraint. Requires super admin.
update_constraint
Update an existing constraint. Only provided fields are updated.Parameters
Returns
The updatedDataConstraint. Requires super admin.