{ "alps" : { "version" : "1.0", "descriptor" : [ { "id" : "reservation-representation", "href" : "http://linhnguyen.me/profile/reservations", "descriptor" : [ { "name" : "reservationDate", "type" : "SEMANTIC" }, { "name" : "numberOfPeople", "type" : "SEMANTIC" }, { "name" : "request", "type" : "SEMANTIC" }, { "name" : "customerId", "type" : "SEMANTIC" }, { "name" : "createdDate", "type" : "SEMANTIC" }, { "name" : "modifiedDate", "type" : "SEMANTIC" }, { "name" : "isActive", "type" : "SEMANTIC" }, { "name" : "customer", "type" : "SAFE", "rt" : "http://linhnguyen.me/profile/customers#customer-representation" } ] }, { "id" : "create-reservations", "name" : "reservations", "type" : "UNSAFE", "rt" : "#reservation-representation" }, { "id" : "get-reservations", "name" : "reservations", "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" : "#reservation-representation" }, { "id" : "delete-reservation", "name" : "reservation", "type" : "IDEMPOTENT", "rt" : "#reservation-representation" }, { "id" : "get-reservation", "name" : "reservation", "type" : "SAFE", "rt" : "#reservation-representation" }, { "id" : "update-reservation", "name" : "reservation", "type" : "IDEMPOTENT", "rt" : "#reservation-representation" }, { "id" : "patch-reservation", "name" : "reservation", "type" : "UNSAFE", "rt" : "#reservation-representation" } ] } }