JSON API
Add .json
Add .json to any canonical action, issue, or organization page URL. Responses use application/json and only expose published directory records.
/action/:issueSlug/:actionSlug.jsonReturns one published action, including its issue and organization.
/issue/:issueSlug.jsonReturns an issue and its 20 most recently created published actions.
/org/:organizationSlug.jsonReturns an organization and its 20 most recently created published actions.
Example
curl https://forceagainstsomething.com/issue/criminal-justice.jsonFor local development, use http://localhost:3000 as the base URL. Missing or unpublished records return a JSON response with a 404 status.
