public ItemRequest < Task > update ( String task ) { String path = String . format ( "/tasks/%s" , task ) ; return new ItemRequest < Task > ( this , Task . class , path , "PUT" ) ; }
A specific existing task can be updated by making a PUT request on the URL for that task . Only the fields provided in the data block will be updated ; any unspecified fields will remain unchanged .