【问题标题】:How do I access the default SharePoint image library by using the SharePoint REST API for SharePoint Online?如何使用 SharePoint Online 的 SharePoint REST API 访问默认的 SharePoint 图像库?
【发布时间】:2014-07-25 19:33:06
【问题描述】:

我正在使用来自Get all files and folders in default document library 的信息来访问默认文档库。访问默认文档库中文件和文件夹的资源是GET https://tenant.sharepoint.com/_api/files。在 Web 浏览器中,URL 类似于:https://tenant.sharepoint.com/Documents/。现在,我想访问我的 SharePoint 网站中的默认图像库。我不知道访问 https://tenant.sharepoint.com/SiteImages/ 上的图片库的资源 URL 是什么样的。

如何使用 SharePoint REST API 访问我的 SharePoint Online 网站的默认图像库?

【问题讨论】:

    标签: rest sharepoint ms-office office365


    【解决方案1】:

    尝试以下操作:

    https://tenant.sharepoint.com/_api/files('SiteImages')/Children
    

    【讨论】:

    • 我在尝试该资源时收到 404。感谢您的回复。
    猜你喜欢
    • 2019-10-23
    • 1970-01-01
    • 2017-07-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-01-30
    • 2013-09-13
    • 1970-01-01
    相关资源
    最近更新 更多