{ "alps" : { "version" : "1.0", "descriptor" : [ { "id" : "order-representation", "href" : "http://linhnguyen.me/profile/orders", "descriptor" : [ { "name" : "totalPrice", "type" : "SEMANTIC" }, { "name" : "messengerUserId", "type" : "SEMANTIC" }, { "name" : "status", "type" : "SEMANTIC", "doc" : { "format" : "TEXT", "value" : "PENDING, ORDERED, CONFIRMED, DELIVERING, DELIVERED, CANCELED" } }, { "name" : "totalDish", "type" : "SEMANTIC" }, { "name" : "request", "type" : "SEMANTIC" }, { "name" : "orderTime", "type" : "SEMANTIC" }, { "name" : "expectedDeliveryTime", "type" : "SEMANTIC" }, { "name" : "deliveryTime", "type" : "SEMANTIC" }, { "name" : "rating", "type" : "SEMANTIC" }, { "name" : "feedback", "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" : "customer", "type" : "SAFE", "rt" : "http://linhnguyen.me/profile/customers#customer-representation" } ] }, { "id" : "create-orders", "name" : "orders", "type" : "UNSAFE", "rt" : "#order-representation" }, { "id" : "get-orders", "name" : "orders", "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" : "#order-representation" }, { "id" : "delete-order", "name" : "order", "type" : "IDEMPOTENT", "rt" : "#order-representation" }, { "id" : "get-order", "name" : "order", "type" : "SAFE", "rt" : "#order-representation" }, { "id" : "update-order", "name" : "order", "type" : "IDEMPOTENT", "rt" : "#order-representation" }, { "id" : "patch-order", "name" : "order", "type" : "UNSAFE", "rt" : "#order-representation" }, { "name" : "getFirstByModifiedDateBetweenAndCustomer", "type" : "SAFE", "descriptor" : [ { "name" : "startTime", "type" : "SEMANTIC" }, { "name" : "endTime", "type" : "SEMANTIC" }, { "name" : "customer", "type" : "SEMANTIC" } ] }, { "name" : "getCurrentOrder", "type" : "SAFE", "descriptor" : [ { "name" : "startTime", "type" : "SEMANTIC" }, { "name" : "endTime", "type" : "SEMANTIC" }, { "name" : "customer", "type" : "SEMANTIC" }, { "name" : "status", "type" : "SEMANTIC", "doc" : { "format" : "TEXT", "value" : "PENDING, ORDERED, CONFIRMED, DELIVERING, DELIVERED, CANCELED" } } ] }, { "name" : "calculatePrice", "type" : "SAFE", "descriptor" : [ { "name" : "customer", "type" : "SEMANTIC" }, { "name" : "status", "type" : "SEMANTIC", "doc" : { "format" : "TEXT", "value" : "PENDING, ORDERED, CONFIRMED, DELIVERING, DELIVERED, CANCELED" } } ] }, { "name" : "getFeedbackList", "type" : "SAFE" }, { "name" : "getOrderByTime", "type" : "SAFE", "descriptor" : [ { "name" : "startTime", "type" : "SEMANTIC" }, { "name" : "endTime", "type" : "SEMANTIC" }, { "name" : "customer", "type" : "SEMANTIC" } ] }, { "name" : "findByStatus", "type" : "SAFE", "descriptor" : [ { "name" : "orderStatus", "type" : "SEMANTIC", "doc" : { "format" : "TEXT", "value" : "PENDING, ORDERED, CONFIRMED, DELIVERING, DELIVERED, CANCELED" } } ] } ] } }