Last active
January 4, 2016 10:38
-
-
Save mamund/8609762 to your computer and use it in GitHub Desktop.
mapping out a QBE extension for Cj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"collection": { | |
"qbe": [ | |
{ | |
"href": "http://example.org/Customers", | |
"method" : "POST", | |
"data": [ | |
{"name": "fname", "prompt": "First Name:", "operators": ["Eq", "substringof"]}, | |
{"name": "lname", "prompt": "Last Name:", "operators": ["Eq", "substringof"]}, | |
{"name": "age", "prompt": "Age:", "operators": []}, | |
{"name": "customerStatus", "prompt": "Status:", "operators": ["Eq"], | |
"options": ["pending", "under-review", "approved", "suspended"] | |
} | |
] | |
} | |
] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"collection": { | |
"qbe": [ | |
{ | |
"href": "http://example.org/Customers", | |
"data": [ | |
{"name": "fname", "prompt": "First Name:", "operators": ["Eq", "substringof"]}, | |
{"name": "lname", "prompt": "Last Name:", "operators": ["Eq", "substringof"]}, | |
{"name": "age", "prompt": "Age:", "operators": []}, | |
{"name": "customerStatus", "prompt": "Status:", "operators": ["Eq"], | |
"options": ["pending", "under-review", "approved", "suspended"] | |
} | |
] | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment