Rule Filters Schema - Get

GET

Retrieve Rule Filters Schema

GET /rule-filteres-schema endpoint returns the rule filters supported by flagright as JSON Schema.

When you create a rule instance, you can use the schema returned by this endpoint to construct filters field for a rule instance.

If you need an update to a rule filter or a new rule filter, you can always contact the Flagright team.

Response

This endpoint returns a map from strings to any
GET
1curl https://sandbox.api.flagright.com/management/rule-filters-schema \
2 -H "x-api-key: <apiKey>"
200
Retrieved
1{
2 "type": "object",
3 "properties": {
4 "paymentMethod": {
5 "type": "string",
6 "ui:schema": {
7 "ui:group": "transaction",
8 "ui:subtype": "PAYMENT_METHOD"
9 },
10 "title": "Payment Method",
11 "enum": {
12 "0": "ACH",
13 "1": "CARD",
14 "2": "IBAN",
15 "3": "SWIFT",
16 "4": "UPI",
17 "5": "WALLET",
18 "6": "MPESA",
19 "7": "GENERIC_BANK_ACCOUNT",
20 "8": "CHECK"
21 },
22 "nullable": true
23 }
24 }
25}