code: public int create(Reference object, HookCreate create) {
  		return getResourceFactory()
  				.getApiResource(
  						"/hook/" + object.getType() + "/" + object.getId()
  								+ "/")
  				.entity(create, MediaType.APPLICATION_JSON)
  				.post(HookCreateResponse.class).getId();
  	}
docs: Create a new hook on the given object.
  
  @param object
  The reference to the object the hook should be created on
  @param create
  The details for the new hook
  @return The id of the newly created hook