我想通过rest api使用java从共享点列表中获取文件的内容
谁能帮助我,我是sharepoint的新手
提前致谢
最佳答案
Sharepoint 提供 REST API 来访问列表。 这是一个开始的示例终点。
http://server/site/_api/lists/getbytitle('listname')
这里有更多文档: https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/get-to-know-the-sharepoint-rest-service
编辑: 要下载文件,请使用以下 URL:
http://server/site/_api/SP.AppContextSite(@target)/web/GetFileByServerRelativeUrl('/sites/Test/Shared Documents/" + sourcefile.get_name() + "')/$value?@target='myhosturl'
http://www.techmikael.com/2013/07/how-to-copy-files-between-sites-using.html了解更多信息。
关于java - 如何使用java中的rest api从共享点列表中获取文件内容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48422868/