traditional
[default]/?toJSON
, custom made JSON views are accessible. headless
*
allowing client requests from any domain. Headless routing is available from /-/headless/
/?toJSON
is available to return routes with meta data, using /?toJSON=nometa
/-/headless/routing.json
hybrid
/about/
would return HTML, but /about/?toJSON
would return a fully hydrated JSON object of the about page. *
allowing client requests from any domain. Headless routing is available from /-/headless/
/?toJSON
, query parameter at the end of any route. Custom made JSON views and other datatypes are also accessible. /headless/routing.json
endpoint