Dev endpoint to test matcho engine
Last updated 4 months ago
Was this helpful?
Matcho DSL is used to define rules for and resources.
Matcho DSL syntax is described .
POST /$matcho is a REST endpoint to test matcho engine, which is used in AccessPolicy and Subscriptions.
POST /$matcho
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]