While performing the checkin in sharepoint my file version is getting updated by 0.2 but it should be 0.1.
This is happening because after checkin i am uploading the edited file again which further increase the version number by 0.1.
How i can prevent the version update in case of uploading the edited file?.
i have used below method and in both case version is getting updated
case 1 /_api/web/getfolderbyserverrelativeurl('%@')/Files/add(url='%@',overwrite=true) Method:POST body:content of file
case 2 /_api/web/getfilebyserverrelativeurl('%@')/$value Method:POST body:content of file