Closed tobiasnteireho closed 3 years ago
Legal Navigator API Endpoints
State Slugs
Returns the slug for each state:
https://legalnav.org/wp-json/wp/v2/states?_fields=slug
Topics For State
Returns ID, name and slug of all topics associated with a given state slug:
https://legalnav.org/wp-json/wp/v2/topics/
@tobiasnteireho found if you remove the ?_fields=slug option you get a states object that has a friendly name on it, aka 'Alaska' Will is going to add an abbreviation as well, just in case we need it in the future, aka 'AK'
for the text template itself will asked for a friendly name like we show now, but as an tag with the resource url mapped to it's src
attribute`
fixed by #177
legalnav servers and queries are changing. Detailed in attached pdf
Legal Navigator API Endpoints(2).pdf