As I am using the JSON API, the permalinks don't make sense. My site URLs are totally different to the ones generated by the permalinks, so this is likely to confuse the client.
Is there any way I can disable permalinks on pages and on the default post type? I was able to do it on custom post types by specifying
'public' => false but how do I make this change site-wide? Even the media pages have a permalink.