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
983 B
JSON
53 lines
983 B
JSON
{
|
|
"routes": [
|
|
{
|
|
"method": "GET",
|
|
"path": "/contributions",
|
|
"handler": "contribution.find",
|
|
"config": {
|
|
"policies": []
|
|
}
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/contributions/count",
|
|
"handler": "contribution.count",
|
|
"config": {
|
|
"policies": []
|
|
}
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/contributions/:id",
|
|
"handler": "contribution.findOne",
|
|
"config": {
|
|
"policies": []
|
|
}
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/contributions",
|
|
"handler": "contribution.create",
|
|
"config": {
|
|
"policies": []
|
|
}
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/contributions/:id",
|
|
"handler": "contribution.update",
|
|
"config": {
|
|
"policies": []
|
|
}
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/contributions/:id",
|
|
"handler": "contribution.delete",
|
|
"config": {
|
|
"policies": []
|
|
}
|
|
}
|
|
]
|
|
}
|