endpoint:

_api/web/GetFileByServerRelativeUrl('/allDoc/xxx.pdf')/Versions

问题:

第一次使用,无论在本地还是o365上,都只返回第一个版本信息,无法返回所有版本。

解决方法:

到列表设置,版本设置中,启用小版本,保存。 好了。

后面即使还原成只创建主要版本,api的返回也是正确的。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-16
  • 2021-07-22
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-17
  • 2021-06-27
  • 2021-07-25
  • 2021-11-10
相关资源
相似解决方案