Something went wrong on our end
-
Jonas Blatt authoredJonas Blatt authored
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
-
/api/dmn/verification/classifications
- Produces: application/json
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
-
/api/dmn/verification/types
- Produces: application/json
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
- GET
-
/api/dmn/verification/config
- Produces: application/json
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'.- GET
-
/api/dmn/verification/metrics?token={token}
- Produces: application/json
Action Config
Get global the action config
Get "true" or "false" for the global action creation setting. If "false", no actions will be created.- GET
-
/api/dmn/verification/actions/global
- Produces: text/plain
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
-
>/api/dmn/verification/actions/allowedActions
- Produces: application/json
Get a list of action types
- GET
-
>/api/dmn/verification/actions/actionTypes
- Produces: application/json
Get a list of action scopes
- GET
-
>/api/dmn/verification/actions/actionScopes
- Produces: application/json
Set the boolean for the allowed action type / action scope
- POST
-
/api/dmn/verification/actions/allowedActions/{scope}/{type}/{value}
- Produces: text/plain