Rules

Compare two states of a decision table

GET
/rules/tables/{record_type_id}/diff

Compare two states of a decision table by (rule_key, valid_from). base defaults to the latest release, target to the working rows.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Path Parameters

record_type_id*string

Resource identifier: record_type_id.

Formatuuid

Query Parameters

base?string

Either "working" (the current rows) or the id of a release.

target?string

Either "working" (the current rows) or the id of a release.

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/rules/tables/123e4567-e89b-42d3-a456-426614174000/diff"
{  "base": {    "kind": "working",    "release_id": "123e4567-e89b-42d3-a456-426614174000",    "number": 0,    "content_hash": "3f786850e387550fdab836ed7e6dc881de23001b"  },  "target": {    "kind": "working",    "release_id": "123e4567-e89b-42d3-a456-426614174000",    "number": 0,    "content_hash": "3f786850e387550fdab836ed7e6dc881de23001b"  },  "added": [],  "removed": [],  "changed": [],  "config_changed": false,  "tests_changed": []}