Missing permissions for plugins v3-v4 comparison

You must specify the type ‘content-api’ in plugin-name/server/routes/index.js, like this:

module.exports = {
  'content-api': {
    type: 'content-api',
    routes: [
      {
        method: 'POST',
        path: '/some-path',
        handler: 'myController.action',
        config: {
          policies: []
        }
      }
    ]
  }
};
1 Like