You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
887 B
JSON

{
"routes": [
{
"method": "GET",
"path": "/types",
"handler": "type.find",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/types/count",
"handler": "type.count",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/types/:id",
"handler": "type.findOne",
"config": {
"policies": []
}
},
{
"method": "POST",
"path": "/types",
"handler": "type.create",
"config": {
"policies": []
}
},
{
"method": "PUT",
"path": "/types/:id",
"handler": "type.update",
"config": {
"policies": []
}
},
{
"method": "DELETE",
"path": "/types/:id",
"handler": "type.delete",
"config": {
"policies": []
}
}
]
}