首页 > 解决方案 > Phabricator Conduit API 端点“diffusion.lastmodifiedquery”中“路径”字段的示例输入

问题描述

https://secure.phabricator.com/conduit/method/diffusion.lastmodifiedquery/上的“路径”字段接受什么输入?{"0":"file_path.py"}我已经尝试了各种输入,例如{"0":"/<entire_directory_path>/file_path.py"}等。

标签: phabricator

解决方案


使用此语法:

{ "paths": ["/<entire_directory_path>/file_path.py"] }

所需地图的关键是paths其值是路径数组。


推荐阅读