Retrieve Rules

curl -X GET -H "Content-Type: application/json" \
-u"[your token]:" \
"https://ac.cnstrc.com/v1/searchandized_queries?key=[your API key]&section=[section]"
curl -X GET -H "Content-Type: application/json" \
-u"[your token]:" \
"https://ac.cnstrc.com/v1/searchandized_queries/leashes?key=[your API key]&section=Products"

HTTP Requests#

GET https://ac.cnstrc.com/v1/searchandized_queries?key=[your API key]&section=[section]

GET https://ac.cnstrc.com/v1/searchandized_queries/[query]?key=[your API key]&section=[section]

Response format#

caution

Response format documentation is in progress.

URL Parameters#

ParameterDescription
queryThe query you'd like to retrieve rules for.

Query Parameters#

ParameterRequired?Description
keyYesThe index you'd like to to retrieve results from.
sectionYesThe index section you'd like to retrieve results from.
num_results_per_pageNoThe number of rules to return. Defaults to 100.
pageNoThe page of results to return. Defaults to 1.