从文档库(Rest Api)链接项目和文件信息 [英] Link items and files information from document library (Rest Api)

查看:79
本文介绍了从文档库(Rest Api)链接项目和文件信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个文档库,其中包含一些文件,我想在站点中获取有关文件和列表的信息,因此我要执行 两个请求使用其余的api,

I'm have a document library with some files inside, i want to get information about the file and the list in te site, So i execute  two request using the rest api,

首先:http://< site url> /web/lists(guid'< list id> ')/items

first: http://<site url>/web/lists(guid'<list id>')/items

秒:http://< site url> /web/lists(guid'< list id> ')/files

second: http://<site url>/web/lists(guid'<list id>')/files

在这两种方法中,我得到了不同的有用信息,但我无法关联此信息,我正在寻找某个看起来像ID的字段,但是什么也没找到.

In both i get diferent useful informatión, but i can't relate this information, i was looking for some field that seems a ID, however don't find nothing.

在这种情况下,我使用的是JavaScript,而我的sharepoint网站是Office 365的一部分.

For this escenario i'm using javascript and my sharepoint site is part of office 365.

¿我如何通过标识符关联两个结果?

¿How can i relate both result through an identifier?

推荐答案

为什么你想这样做吗?他们专注于两个方面.
why do you want to do this? they focus on two aspects.


这篇关于从文档库(Rest Api)链接项目和文件信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆