mirror of
https://github.com/strapi/strapi.git
synced 2025-10-17 19:13:25 +00:00

- Hooks registry - D&P CT migrations - i18N CT migrations - Umzug with js / sql migrations - Eslint updates
45 lines
739 B
JavaScript
45 lines
739 B
JavaScript
module.exports = {
|
|
routes: [
|
|
{
|
|
method: 'GET',
|
|
path: '/d-p-cts',
|
|
handler: 'd-p-ct.find',
|
|
config: {
|
|
policies: [],
|
|
},
|
|
},
|
|
{
|
|
method: 'GET',
|
|
path: '/d-p-cts/:id',
|
|
handler: 'd-p-ct.findOne',
|
|
config: {
|
|
policies: [],
|
|
},
|
|
},
|
|
{
|
|
method: 'POST',
|
|
path: '/d-p-cts',
|
|
handler: 'd-p-ct.create',
|
|
config: {
|
|
policies: [],
|
|
},
|
|
},
|
|
{
|
|
method: 'PUT',
|
|
path: '/d-p-cts/:id',
|
|
handler: 'd-p-ct.update',
|
|
config: {
|
|
policies: [],
|
|
},
|
|
},
|
|
{
|
|
method: 'DELETE',
|
|
path: '/d-p-cts/:id',
|
|
handler: 'd-p-ct.delete',
|
|
config: {
|
|
policies: [],
|
|
},
|
|
},
|
|
],
|
|
};
|