addRole.addStatus(notModified("the role is already owned by the account"));
addRole.addStatus(badRequest("the role parameter is blank"));
addRole.addStatus(forbidden("insufficient rights to add the role"));
addRole.addStatus(notFound("the account does not exist"));
addRole.addStatus(notFound("the site does not exist"));
addRole.addStatus(serviceUnavailable("the site is temporarily offline"));
addRole.setTestForm(new TestForm());
addRole.addPathParameter(new Parameter("login", Parameter.Type.String, "Unique login name"));
addRole.addPathParameter(new Parameter("context", Parameter.Type.String, "Role context"));
addRole.addRequiredParameter(new Parameter("role", Parameter.Type.String, "Role name"));
docs.addEndpoint(Endpoint.Type.WRITE, addRole);