{"action":"closed","issue":{"url":"https://api.github.com/repos/wistityhq/strapi/issues/68","labels_url":"https://api.github.com/repos/wistityhq/strapi/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/wistityhq/strapi/issues/68/comments","events_url":"https://api.github.com/repos/wistityhq/strapi/issues/68/events","html_url":"https://github.com/wistityhq/strapi/issues/68","id":127260539,"number":68,"title":"Setting API route prefix breaks admin","user":{"login":"buffonomics","id":5804246,"avatar_url":"https://avatars.githubusercontent.com/u/5804246?v=3","gravatar_id":"","url":"https://api.github.com/users/buffonomics","html_url":"https://github.com/buffonomics","followers_url":"https://api.github.com/users/buffonomics/followers","following_url":"https://api.github.com/users/buffonomics/following{/other_user}","gists_url":"https://api.github.com/users/buffonomics/gists{/gist_id}","starred_url":"https://api.github.com/users/buffonomics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buffonomics/subscriptions","organizations_url":"https://api.github.com/users/buffonomics/orgs","repos_url":"https://api.github.com/users/buffonomics/repos","events_url":"https://api.github.com/users/buffonomics/events{/privacy}","received_events_url":"https://api.github.com/users/buffonomics/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wistityhq/strapi/labels/admin","name":"admin","color":"bfdadc"},{"url":"https://api.github.com/repos/wistityhq/strapi/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/wistityhq/strapi/labels/framework","name":"framework","color":"fef2c0"}],"state":"closed","locked":false,"assignee":{"login":"pierreburgy","id":5550462,"avatar_url":"https://avatars.githubusercontent.com/u/5550462?v=3","gravatar_id":"","url":"https://api.github.com/users/pierreburgy","html_url":"https://github.com/pierreburgy","followers_url":"https://api.github.com/users/pierreburgy/followers","following_url":"https://api.github.com/users/pierreburgy/following{/other_user}","gists_url":"https://api.github.com/users/pierreburgy/gists{/gist_id}","starred_url":"https://api.github.com/users/pierreburgy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierreburgy/subscriptions","organizations_url":"https://api.github.com/users/pierreburgy/orgs","repos_url":"https://api.github.com/users/pierreburgy/repos","events_url":"https://api.github.com/users/pierreburgy/events{/privacy}","received_events_url":"https://api.github.com/users/pierreburgy/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/wistityhq/strapi/milestones/5","html_url":"https://github.com/wistityhq/strapi/milestones/v1.5.0","labels_url":"https://api.github.com/repos/wistityhq/strapi/milestones/5/labels","id":1427429,"number":5,"title":"v1.5.0","description":"","creator":{"login":"loicsaintroch","id":2212354,"avatar_url":"https://avatars.githubusercontent.com/u/2212354?v=3","gravatar_id":"","url":"https://api.github.com/users/loicsaintroch","html_url":"https://github.com/loicsaintroch","followers_url":"https://api.github.com/users/loicsaintroch/followers","following_url":"https://api.github.com/users/loicsaintroch/following{/other_user}","gists_url":"https://api.github.com/users/loicsaintroch/gists{/gist_id}","starred_url":"https://api.github.com/users/loicsaintroch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loicsaintroch/subscriptions","organizations_url":"https://api.github.com/users/loicsaintroch/orgs","repos_url":"https://api.github.com/users/loicsaintroch/repos","events_url":"https://api.github.com/users/loicsaintroch/events{/privacy}","received_events_url":"https://api.github.com/users/loicsaintroch/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":20,"state":"open","created_at":"2015-11-24T15:13:41Z","updated_at":"2016-01-18T17:14:47Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2016-01-18T16:20:55Z","updated_at":"2016-01-18T17:14:47Z","closed_at":"2016-01-18T17:14:47Z","body":"When an API prefix is set, the admin interface breaks as the API routes it references also needs to change to accomodate the prefix.\r\n\r\ni.e.\r\nWith prefix => /my/prefix,\r\n/admin/config => 404 which the admin dashboard seems to be referencing directly regardless of set prefix.\r\n\r\nAdmin dashboard should use /my/prefix/admin/config => 200 OR there should be an \"API prefix exclusion\" feature where we define which APIs should/should not be affected by prefix."}}