{ "alps" : { "version" : "1.0", "descriptor" : [ { "id" : "user-representation", "href" : "http://linhnguyen.me/profile/users", "descriptor" : [ { "name" : "userName", "type" : "SEMANTIC" }, { "name" : "password", "type" : "SEMANTIC" }, { "name" : "address", "type" : "SEMANTIC" }, { "name" : "email", "type" : "SEMANTIC" }, { "name" : "phoneNumber", "type" : "SEMANTIC" }, { "name" : "createdDate", "type" : "SEMANTIC" }, { "name" : "modifiedDate", "type" : "SEMANTIC" }, { "name" : "isActive", "type" : "SEMANTIC" }, { "name" : "roles", "type" : "SAFE", "rt" : "http://linhnguyen.me/profile/roles#role-representation" } ] }, { "id" : "create-users", "name" : "users", "type" : "UNSAFE", "rt" : "#user-representation" }, { "id" : "get-users", "name" : "users", "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" : "#user-representation" }, { "id" : "delete-user", "name" : "user", "type" : "IDEMPOTENT", "rt" : "#user-representation" }, { "id" : "get-user", "name" : "user", "type" : "SAFE", "rt" : "#user-representation" }, { "id" : "update-user", "name" : "user", "type" : "IDEMPOTENT", "rt" : "#user-representation" }, { "id" : "patch-user", "name" : "user", "type" : "UNSAFE", "rt" : "#user-representation" }, { "name" : "getUserOfRole", "type" : "SAFE", "descriptor" : [ { "name" : "role", "type" : "SEMANTIC" } ] }, { "name" : "getAllUser", "type" : "SAFE" }, { "name" : "getUserByName", "type" : "SAFE", "descriptor" : [ { "name" : "name", "type" : "SEMANTIC" } ] }, { "name" : "getUser", "type" : "SAFE", "descriptor" : [ { "name" : "id", "type" : "SEMANTIC" } ] } ] } }