Aidbox
Search…
$matcho
Dev endpoint to test matcho engine
Macho DSL is used as engine in AccessPolicy and Subscription

Matcho DSL definition is described here

POST /$matcho is a REST endpoint to test matcho engine, which is used in AccessPolicy and Subscriptions.
POST /$matcho
matcho: {'a': 1}
resource: {'a': 2}
context: { user: 'u-1' }
--
matcho: {a: 1}
resource: {a: 2}
result:
- expected: 1
but: 2
path: [a]
Copy link
Edit on GitHub
On this page
Definition
Debug endpoint