Created
June 26, 2018 09:08
-
-
Save w-vi/4958dc066f8271beaa74f10a08457b70 to your computer and use it in GitHub Desktop.
MSON Composition
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
FORMAT: 1A | |
# A | |
## A [GET /a] | |
+ Request (application/json) | |
+ Attributes(Filter) | |
+ Response 200 | |
# Data Structures | |
# Filter (object) | |
+ name (string, required) - Name of the filter | |
+ query (QueryComposition, required) - Query object | |
# QueryComposition (object) | |
+ and (array[Query], optional) - match all queries | |
+ or (array[Query], optional) - match any of the queries | |
+ exact (Query, optional) - macth the one exact query | |
# Query (object) | |
+ query (string, required) - matching expression | |
+ field (string, required) - field to operate on | |
+ type (enum[string], required) | |
Type of query | |
+ extact | |
+ regex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment