This namespace contains APIs for interacting with evidence.
- See:
-
- {Evidence} The type used by this namespace.
Namespaces
Methods
-
staticbelhop.evidence.create(evidence, cb)
-
Create new evidence.
Name Type Description evidenceEvidence Evidence to create
cbbelhop.Callback -
staticbelhop.evidence.delete(evidence, cb)
-
Delete evidence. Invokes the callback functions in the cb parameter.
Name Type Description evidencebelhop.Evidence The evidence to delete
cbbelhop.Callback -
staticbelhop.evidence.get(id, cb)
-
Get evidence. Invokes the callback functions in the cb parameter.
Name Type Description idstring nullable Evidence to get
cbbelhop.Callback belhop.Evidenceif it exists;nullif not -
staticbelhop.evidence.reset(evidence, cb)
-
Reset evidence, reverting unsaved changes. Invokes the callback functions in the cb parameter.
Name Type Description evidencebelhop.Evidence The evidence to reset
cbbelhop.Callback -
staticbelhop.evidence.search(searchOptions, cb, options)
-
Search for evidence.
Name Type Description searchOptionsbelhop.__.SearchOptions Search options
cbbelhop.Callback Plain object with
evidenceandfacetsproperties containingbelhop.Evidenceandbelhop.Facetelements respectivelyoptionsobject nullable Plain object with
additionalFiltersand any number ofbelhop.__.FilterOptions -
staticbelhop.evidence.update(evidence, cb)
-
Update evidence, saving changes. Invokes the callback functions in the cb parameter.
Name Type Description evidencebelhop.Evidence The evidence to update
cbbelhop.Callback