Is it possible to work with the document library with UniqueID/Guids rather than using
Say if I wanted to upload a file to a folder, could this be done using the Unique Id instead of the relative path?
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
You can get the document library using the title and then perform the upload
_api/web/lists/getByTitle(@TargetLibrary)/RootFolder/Files/add(url=@TargetFileName,overwrite='true')?@TargetLibrary='LibraryName'&@TargetFileName='Target File Name'