Last active
September 23, 2019 20:13
-
-
Save jamesvidler/8a6b63a9bf79eebc03dc90cc934d538a to your computer and use it in GitHub Desktop.
How to execute a search query with Agility CMS
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
Agility.Search.Query({ | |
query: 'agility', | |
languageCode: 'en-ca', //optional | |
category: 'product', // optional | |
domain: 'agilitycms.com', //optional | |
top: 100, //optional | |
skip: 0 //optional | |
}) | |
.success(function(resp){ | |
//success | |
}).error(function(err){ | |
//error | |
}).always(function(){ | |
//always | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment