Skip to content
Snippets Groups Projects
docApi.md 4.27 KiB

Documentation API

Root path: /api

Verifications

Get all verifications from all verifiers with the given dmn table

The token parameter is optional for some metric statistics.
  • POST
  • /api/dmn/verification?token={token}
  • Consumes: text/xml - the dmn table as xml string
  • Produces: application/json

Verification classifications

Get a list of all verification classifications

Get all verifications for the given verification classification

The token parameter is optional for some metric statistics.
  • POST
  • /api/dmn/verification/classifications/{classificationName}?token={token}
  • Consumes: text/xml - the dmn table as xml string
  • Produces: application/json

Verification types

Get a list of all active verification types

Get all verifications for the given verification types a and b

The token parameter is optional for some metric statistics.
  • POST
  • /api/dmn/verification/types?typeName={a}&typeName={b}&token={token}
  • Consumes: text/xml - the dmn table as xml string
  • Produces: application/json

Verification Config

Get all verification types and the boolean value of their active state

Set the config to enable/disable a verification type

Set "true" or "false" for the active state of the verification. If "false", no verification will be computed.
  • POST
  • /api/dmn/verification/config/{verificationName}/{active}

Metrics

Get some statistics about execution times

The token parameter is optional for some metric statistics. The default value is 'all'.

Action Config

Get global the action config

Get "true" or "false" for the global action creation setting. If "false", no actions will be created.

Set global the action config

Set "true" or "false" for the global action creation setting. If "false", no actions will be created.
  • POST
  • /api/dmn/verification/actions/global/{boolean}
  • Produces: text/plain

Get configs for allowed actions scopes and action types

Get a list of action types

Get a list of action scopes

Set the boolean for the allowed action type / action scope

  • POST
  • /api/dmn/verification/actions/allowedActions/{scope}/{type}/{value}
  • Produces: text/plain