{ "alps" : { "version" : "1.0", "descriptor" : [ { "id" : "category-representation", "href" : "http://linhnguyen.me/profile/categories", "descriptor" : [ { "name" : "name", "type" : "SEMANTIC" }, { "name" : "imageUrl", "type" : "SEMANTIC" }, { "name" : "description", "type" : "SEMANTIC" }, { "name" : "createdDate", "type" : "SEMANTIC" }, { "name" : "modifiedDate", "type" : "SEMANTIC" }, { "name" : "isActive", "type" : "SEMANTIC" }, { "name" : "dishes", "type" : "SAFE", "rt" : "http://linhnguyen.me/profile/dishes#dish-representation" } ] }, { "id" : "create-categories", "name" : "categories", "type" : "UNSAFE", "rt" : "#category-representation" }, { "id" : "get-categories", "name" : "categories", "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" : "#category-representation" }, { "id" : "delete-category", "name" : "category", "type" : "IDEMPOTENT", "rt" : "#category-representation" }, { "id" : "get-category", "name" : "category", "type" : "SAFE", "rt" : "#category-representation" }, { "id" : "update-category", "name" : "category", "type" : "IDEMPOTENT", "rt" : "#category-representation" }, { "id" : "patch-category", "name" : "category", "type" : "UNSAFE", "rt" : "#category-representation" } ] } }