soupette 5a7dbe742a Display relations and medias
Signed-off-by: soupette <cyril@strapi.io>
2021-09-14 07:34:48 +02:00

45 lines
719 B
JavaScript

module.exports = {
routes: [
{
method: 'GET',
path: '/temps',
handler: 'temp.find',
config: {
policies: [],
},
},
{
method: 'GET',
path: '/temps/:id',
handler: 'temp.findOne',
config: {
policies: [],
},
},
{
method: 'POST',
path: '/temps',
handler: 'temp.create',
config: {
policies: [],
},
},
{
method: 'PUT',
path: '/temps/:id',
handler: 'temp.update',
config: {
policies: [],
},
},
{
method: 'DELETE',
path: '/temps/:id',
handler: 'temp.delete',
config: {
policies: [],
},
},
],
};