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
917 B
JSON

3 years ago
{
"routes": [
{
"method": "GET",
"path": "/corpuses",
"handler": "corpus.find",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/corpuses/count",
"handler": "corpus.count",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/corpuses/:id",
"handler": "corpus.findOne",
"config": {
"policies": []
}
},
{
"method": "POST",
"path": "/corpuses",
"handler": "corpus.create",
"config": {
"policies": []
}
},
{
"method": "PUT",
"path": "/corpuses/:id",
"handler": "corpus.update",
"config": {
"policies": []
}
},
{
"method": "DELETE",
"path": "/corpuses/:id",
"handler": "corpus.delete",
"config": {
"policies": []
}
}
]
}