{ "alps" : { "version" : "1.0", "descriptor" : [ { "id" : "dish-representation", "href" : "http://linhnguyen.me/profile/dishes", "descriptor" : [ { "name" : "title", "type" : "SEMANTIC" }, { "name" : "imageUrl", "type" : "SEMANTIC" }, { "name" : "subTitle", "type" : "SEMANTIC" }, { "name" : "price", "type" : "SEMANTIC" }, { "name" : "orderTimes", "type" : "SEMANTIC" }, { "name" : "remainingDishes", "type" : "SEMANTIC" }, { "name" : "defaultRemainingDishes", "type" : "SEMANTIC" }, { "name" : "categoryId", "type" : "SEMANTIC" }, { "name" : "createdDate", "type" : "SEMANTIC" }, { "name" : "modifiedDate", "type" : "SEMANTIC" }, { "name" : "isActive", "type" : "SEMANTIC" }, { "name" : "orderDetails", "type" : "SAFE", "rt" : "http://linhnguyen.me/profile/orderDetails#orderDetail-representation" }, { "name" : "category", "type" : "SAFE", "rt" : "http://linhnguyen.me/profile/categories#category-representation" } ] }, { "id" : "create-dishes", "name" : "dishes", "type" : "UNSAFE", "rt" : "#dish-representation" }, { "id" : "get-dishes", "name" : "dishes", "type" : "SAFE", "descriptor" : [ { "name" : "page", "type" : "SEMANTIC", "doc" : { "format" : "TEXT", "value" : "The page to return." } }, { "name" : "size", "type" : "SEMANTIC", "doc" : { "format" : "TEXT", "value" : "The size of the page to return." } }, { "name" : "sort", "type" : "SEMANTIC", "doc" : { "format" : "TEXT", "value" : "The sorting criteria to use to calculate the content of the page." } } ], "rt" : "#dish-representation" }, { "id" : "delete-dish", "name" : "dish", "type" : "IDEMPOTENT", "rt" : "#dish-representation" }, { "id" : "get-dish", "name" : "dish", "type" : "SAFE", "rt" : "#dish-representation" }, { "id" : "update-dish", "name" : "dish", "type" : "IDEMPOTENT", "rt" : "#dish-representation" }, { "id" : "patch-dish", "name" : "dish", "type" : "UNSAFE", "rt" : "#dish-representation" }, { "name" : "updateRemainingDishes", "type" : "SAFE" }, { "name" : "findByCategoryIdAndRemainingDishesGreaterThanOrderByOrderTimesDesc", "type" : "SAFE", "descriptor" : [ { "name" : "categoryId", "type" : "SEMANTIC" }, { "name" : "minimum", "type" : "SEMANTIC" } ] } ] } }