{ "alps" : { "version" : "1.0", "descriptor" : [ { "id" : "orderDetail-representation", "href" : "http://linhnguyen.me/profile/orderDetails", "descriptor" : [ { "name" : "unitPrice", "type" : "SEMANTIC" }, { "name" : "quantity", "type" : "SEMANTIC" }, { "name" : "otherDetail", "type" : "SEMANTIC" }, { "name" : "dishId", "type" : "SEMANTIC" }, { "name" : "orderId", "type" : "SEMANTIC" }, { "name" : "createdDate", "type" : "SEMANTIC" }, { "name" : "modifiedDate", "type" : "SEMANTIC" }, { "name" : "isActive", "type" : "SEMANTIC" }, { "name" : "order", "type" : "SAFE", "rt" : "http://linhnguyen.me/profile/orders#order-representation" }, { "name" : "dish", "type" : "SAFE", "rt" : "http://linhnguyen.me/profile/dishes#dish-representation" } ] }, { "id" : "create-orderDetails", "name" : "orderDetails", "type" : "UNSAFE", "rt" : "#orderDetail-representation" }, { "id" : "get-orderDetails", "name" : "orderDetails", "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" : "#orderDetail-representation" }, { "id" : "delete-orderDetail", "name" : "orderDetail", "type" : "IDEMPOTENT", "rt" : "#orderDetail-representation" }, { "id" : "get-orderDetail", "name" : "orderDetail", "type" : "SAFE", "rt" : "#orderDetail-representation" }, { "id" : "update-orderDetail", "name" : "orderDetail", "type" : "IDEMPOTENT", "rt" : "#orderDetail-representation" }, { "id" : "patch-orderDetail", "name" : "orderDetail", "type" : "UNSAFE", "rt" : "#orderDetail-representation" } ] } }