Extending MyJadu API
First off, I've posted a similar question to Support and figured I'd post it here as well, just in case another school has done this already.
I'm using the Jadu API to pull entries in a directory. I need to limit the results to records that are assigned to a specific category or categories. The default API call looks like this :
http://{domain}/api/directories/1/entries.xml?api_key={api_key}&per_page=10&page=1
Which successfully pulls all entries (as XML blah) in directory 1
I also tried the directory search API call to no success :
http://{domain}/api/directories/9/search.xml?api_key={api_key}&query=Communication
where Communication is the category name. Also tried the category id in the search, but the search only looks at the <field> data.
Has anyone needed to limit the results by category?
Does anyone have tips on extending or creating a new API call?
I can probably hack the default code to do what I need, but I'd like it to survive an update.
The other route would be just hitting the database straight, but I've done that a couple other times and that's a mess, I figured I'd use the API this time, and I've hit a wall.
-Jon
