regula
regula copied to clipboard
Consult latest ruleset endpoint
Endpoint: GET /i/rulesets/<path>
Expected payload :
{
"path": "",
"version": "",
"signature": {
"params": [
{
"<name>": "<type>"
}
],
"returnType": "<type>"
},
"versions": [
"",
""
], // list of string representing all the existing versions of the ruleset
"rules": [
{
"sExpr": "",
"returnValue": "",
}
]
}
Success
Response: 200
I think that we need all the existing versions of the retrieved ruleset? Isn't it? For the versions dropdown list in the consult page cf https://github.com/heetch/regula/issues/32
@YassineE Good catch! I've edited the message :+1: