mirror of
https://github.com/strapi/strapi.git
synced 2026-01-05 11:45:51 +00:00
53 lines
929 B
JSON
Executable File
53 lines
929 B
JSON
Executable File
{
|
|
"routes": [
|
|
{
|
|
"method": "GET",
|
|
"path": "/addresses",
|
|
"handler": "Address.find",
|
|
"config": {
|
|
"policies": []
|
|
}
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/addresses/count",
|
|
"handler": "Address.count",
|
|
"config": {
|
|
"policies": []
|
|
}
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/addresses/:id",
|
|
"handler": "Address.findOne",
|
|
"config": {
|
|
"policies": []
|
|
}
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/addresses",
|
|
"handler": "Address.create",
|
|
"config": {
|
|
"policies": []
|
|
}
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/addresses/:id",
|
|
"handler": "Address.update",
|
|
"config": {
|
|
"policies": []
|
|
}
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/addresses/:id",
|
|
"handler": "Address.delete",
|
|
"config": {
|
|
"policies": []
|
|
}
|
|
}
|
|
]
|
|
}
|