@leansdk/leanrc
Version:
LeanRC is a MVC framework for creating graceful applications
466 lines (465 loc) • 10.7 kB
JSON
[
{
"method": "post",
"path": "/auth/signin",
"resource": "auth/",
"action": "signin"
},
{
"method": "get",
"path": "/users/",
"resource": "users/",
"action": "list",
"keyName": "user",
"entityName": "user",
"recordName": "user"
},
{
"method": "get",
"path": "/users/:user",
"resource": "users/",
"action": "detail",
"keyName": "user",
"entityName": "user",
"recordName": "user"
},
{
"method": "post",
"path": "/users/",
"resource": "users/",
"action": "create",
"keyName": "user",
"entityName": "user",
"recordName": "user"
},
{
"method": "put",
"path": "/users/:user",
"resource": "users/",
"action": "update",
"keyName": "user",
"entityName": "user",
"recordName": "user"
},
{
"method": "post",
"path": "/users/verify",
"resource": "users/",
"action": "verify",
"entityName": "user",
"recordName": "user"
},
{
"method": "get",
"path": "/users/:user/today_watches",
"resource": "users/",
"action": "today_watches",
"entityName": "user",
"recordName": "user"
},
{
"method": "get",
"path": "/users/:user/descendants/count",
"resource": "users/descendants/",
"action": "count",
"keyName": "users_descendant",
"entityName": "descendant",
"recordName": "descendant"
},
{
"method": "get",
"path": "/users/:user/descendants/",
"resource": "users/descendants/",
"action": "list",
"keyName": "users_descendant",
"entityName": "user",
"recordName": "user"
},
{
"method": "post",
"path": "/invitations/confirm",
"resource": "invitations/",
"action": "confirm",
"keyName": "invitation",
"entityName": "invitation",
"recordName": "invitation"
},
{
"method": "get",
"path": "/invitations/",
"resource": "invitations/",
"action": "list",
"keyName": "invitation",
"entityName": "invitation",
"recordName": "invitation"
},
{
"method": "get",
"path": "/invitations/:invitation",
"resource": "invitations/",
"action": "detail",
"keyName": "invitation",
"entityName": "invitation",
"recordName": "invitation"
},
{
"method": "post",
"path": "/invitations/",
"resource": "invitations/",
"action": "create",
"keyName": "invitation",
"entityName": "invitation",
"recordName": "invitation"
},
{
"method": "put",
"path": "/invitations/:invitation",
"resource": "invitations/",
"action": "update",
"keyName": "invitation",
"entityName": "invitation",
"recordName": "invitation"
},
{
"method": "get",
"path": "/spaces/",
"resource": "areas/",
"action": "list",
"keyName": "area",
"entityName": "space",
"recordName": "space"
},
{
"method": "get",
"path": "/spaces/:area",
"resource": "areas/",
"action": "detail",
"keyName": "area",
"entityName": "space",
"recordName": "space"
},
{
"method": "post",
"path": "/spaces/",
"resource": "areas/",
"action": "create",
"keyName": "area",
"entityName": "space",
"recordName": "space"
},
{
"method": "put",
"path": "/spaces/:area",
"resource": "areas/",
"action": "update",
"keyName": "area",
"entityName": "space",
"recordName": "space"
},
{
"method": "delete",
"path": "/spaces/:area",
"resource": "areas/",
"action": "delete",
"keyName": "area",
"entityName": "space",
"recordName": "space"
},
{
"method": "post",
"path": "/:v/:space/uploads/:upload/add_attachment",
"resource": "uploads/",
"action": "add_attachment",
"keyName": "upload",
"entityName": "attachment",
"recordName": "upload"
},
{ "method": "post",
"path": "/:v/:space/uploads/:upload/add_test",
"resource": "uploads/",
"action": "add_test",
"template": "uploads/add_test",
"keyName": "test",
"entityName": "test_entity",
"recordName": "test"
},
{
"method": "get",
"path": "/:v/:space/uploads/",
"resource": "uploads/",
"action": "list",
"keyName": "upload",
"entityName": "upload",
"recordName": "upload"
},
{
"method": "get",
"path": "/:v/:space/uploads/:upload",
"resource": "uploads/",
"action": "detail",
"keyName": "upload",
"entityName": "upload",
"recordName": "upload"
},
{
"method": "post",
"path": "/:v/:space/uploads/",
"resource": "uploads/",
"action": "create",
"keyName": "upload",
"entityName": "upload",
"recordName": "upload"
},
{
"method": "put",
"path": "/:v/:space/uploads/:upload",
"resource": "uploads/",
"action": "update",
"keyName": "upload",
"entityName": "upload",
"recordName": "upload"
},
{
"method": "delete",
"path": "/:v/:space/uploads/:upload",
"resource": "uploads/",
"action": "delete",
"keyName": "upload",
"entityName": "upload",
"recordName": "upload"
},
{
"method": "get",
"path": "/:v/:space/cucumbers/",
"resource": "cucumbers/",
"action": "list",
"keyName": "cucumber",
"entityName": "cucumber",
"recordName": "cucumber"
},
{
"method": "get",
"path": "/:v/:space/cucumbers/:cucumber",
"resource": "cucumbers/",
"action": "detail",
"keyName": "cucumber",
"entityName": "cucumber",
"recordName": "cucumber"
},
{
"method": "get",
"path": "/:v/:space/admin/tomatos/",
"resource": "admin/tomatos/",
"action": "list",
"keyName": "admin_tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "get",
"path": "/:v/:space/admin/tomatos/:admin_tomato",
"resource": "admin/tomatos/",
"action": "detail",
"keyName": "admin_tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "post",
"path": "/:v/:space/admin/tomatos/",
"resource": "admin/tomatos/",
"action": "create",
"keyName": "admin_tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "put",
"path": "/:v/:space/admin/tomatos/:admin_tomato",
"resource": "admin/tomatos/",
"action": "update",
"keyName": "admin_tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "get",
"path": "/:v/:space/test/tomatos/",
"resource": "tomatos/",
"action": "list",
"keyName": "tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "get",
"path": "/:v/:space/test/tomatos/:tomato",
"resource": "tomatos/",
"action": "detail",
"keyName": "tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "post",
"path": "/:v/:space/test/tomatos/",
"resource": "tomatos/",
"action": "create",
"keyName": "tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "put",
"path": "/:v/:space/test/tomatos/:tomato",
"resource": "tomatos/",
"action": "update",
"keyName": "tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "get",
"path": "/:v/:space/tomatos/",
"resource": "tomatos/",
"action": "list",
"keyName": "tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "get",
"path": "/:v/:space/tomatos/:tomato",
"resource": "tomatos/",
"action": "detail",
"keyName": "tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "post",
"path": "/:v/:space/tomatos/",
"resource": "tomatos/",
"action": "create",
"keyName": "tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "put",
"path": "/:v/:space/tomatos/:tomato",
"resource": "tomatos/",
"action": "update",
"keyName": "tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "get",
"path": "/:v/:space/tomatos/",
"resource": "cucumber/tomatos/",
"action": "list",
"keyName": "cucumber_tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "get",
"path": "/:v/:space/tomatos/:cucumber_tomato",
"resource": "cucumber/tomatos/",
"action": "detail",
"keyName": "cucumber_tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "post",
"path": "/:v/:space/tomatos/",
"resource": "cucumber/tomatos/",
"action": "create",
"keyName": "cucumber_tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "put",
"path": "/:v/:space/tomatos/:cucumber_tomato",
"resource": "cucumber/tomatos/",
"action": "update",
"keyName": "cucumber_tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "get",
"path": "/:v/:space/onion/tomatos/",
"resource": "cucumber/tomatos/",
"action": "list",
"keyName": "cucumber_tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "get",
"path": "/:v/:space/onion/tomatos/:cucumber_tomato",
"resource": "cucumber/tomatos/",
"action": "detail",
"keyName": "cucumber_tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "post",
"path": "/:v/:space/onion/tomatos/",
"resource": "cucumber/tomatos/",
"action": "create",
"keyName": "cucumber_tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "put",
"path": "/:v/:space/onion/tomatos/:cucumber_tomato",
"resource": "cucumber/tomatos/",
"action": "update",
"keyName": "cucumber_tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "get",
"path": "/:v/:space/onion/tomatos/",
"resource": "carrot/tomatos/",
"action": "list",
"keyName": "carrot_tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "get",
"path": "/:v/:space/onion/tomatos/:carrot_tomato",
"resource": "carrot/tomatos/",
"action": "detail",
"keyName": "carrot_tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "post",
"path": "/:v/:space/onion/tomatos/",
"resource": "carrot/tomatos/",
"action": "create",
"keyName": "carrot_tomato",
"entityName": "tomato",
"recordName": "tomato"
},
{
"method": "put",
"path": "/:v/:space/onion/tomatos/:carrot_tomato",
"resource": "carrot/tomatos/",
"action": "update",
"keyName": "carrot_tomato",
"entityName": "tomato",
"recordName": "tomato"
}
]