[英]How to download a file from Bitbucket using commitId through RestAPI?
[英]how to get file content from sharepoint list using restapi in java
我想通過REST API使用Java從SharePoint列表中獲取文件的內容
誰能幫我,我是新手
提前致謝
Sharepoint提供了REST API來訪問列表。 這是一個示例起點。
http://server/site/_api/lists/getbytitle('listname')
這是更多文檔: https : //docs.microsoft.com/zh-cn/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 。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.