Create Teks collection

This commit is contained in:
2020-12-18 19:23:21 +01:00
parent 1ba20a2003
commit 3ba187e602
6 changed files with 152 additions and 2 deletions
+52
View File
@@ -0,0 +1,52 @@
{
"routes": [
{
"method": "GET",
"path": "/teks",
"handler": "teks.find",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/teks/count",
"handler": "teks.count",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/teks/:id",
"handler": "teks.findOne",
"config": {
"policies": []
}
},
{
"method": "POST",
"path": "/teks",
"handler": "teks.create",
"config": {
"policies": []
}
},
{
"method": "PUT",
"path": "/teks/:id",
"handler": "teks.update",
"config": {
"policies": []
}
},
{
"method": "DELETE",
"path": "/teks/:id",
"handler": "teks.delete",
"config": {
"policies": []
}
}
]
}