对于Azure git,我可以使用 this : https://dev.azure.com/{organization}/{Project}/_apis/sourceProviders/TfsGit/filecontents?repository={repo}&path={filename}&commitOrBranch=master&api-version=5.0-preview.1
但是当我调用一个类似的命令,它应该列出一个目录中的所有文件, it 不起作用: https://dev.azure.com/{organization}/{Project}/_apis/sourceProviders/TfsGit/pathcontents?repository={repo}&path={foldername}&commitOrBranch=master&api-version=5.0-preview.1
它总是返回以下内容:
{"count":0,"value":[]}
我做错了什么?