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