{ "alps" : { "version" : "1.0", "descriptor" : [ { "id" : "userRole-representation", "href" : "http://linhnguyen.me/profile/userRoles", "descriptor" : [ { "name" : "userID", "type" : "SEMANTIC" }, { "name" : "roleID", "type" : "SEMANTIC" }, { "name" : "createdDate", "type" : "SEMANTIC" }, { "name" : "modifiedDate", "type" : "SEMANTIC" }, { "name" : "isActive", "type" : "SEMANTIC" } ] }, { "id" : "create-userRoles", "name" : "userRoles", "type" : "UNSAFE", "rt" : "#userRole-representation" }, { "id" : "get-userRoles", "name" : "userRoles", "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" : "#userRole-representation" }, { "id" : "delete-userRole", "name" : "userRole", "type" : "IDEMPOTENT", "rt" : "#userRole-representation" }, { "id" : "get-userRole", "name" : "userRole", "type" : "SAFE", "rt" : "#userRole-representation" }, { "id" : "update-userRole", "name" : "userRole", "type" : "IDEMPOTENT", "rt" : "#userRole-representation" }, { "id" : "patch-userRole", "name" : "userRole", "type" : "UNSAFE", "rt" : "#userRole-representation" }, { "name" : "getRolesById", "type" : "SAFE", "descriptor" : [ { "name" : "id", "type" : "SEMANTIC" } ] }, { "name" : "getRoles", "type" : "SAFE" } ] } }