VSTS API-存储库创建日期 [英] VSTS API - repository creation date

查看:50
本文介绍了VSTS API-存储库创建日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经查看了VSTS REST API文档,但是还没有找到一种方法来获取关于存储库创建日期的信息.

I've checked VSTS REST API documentation, but I haven't found a method which allows me to get information about the repository creation date.

是否可以通过VSTS API获得此类数据?

Is it possible to get such data via the VSTS API?

推荐答案

您需要检查存储库的首次提交日期.检查获取提交API :

You need to check the first commit date for the repository. Check the Get Commits API:

GET https://{accountName}.visualstudio.com/_apis/git/repositories/{project}/commits?api-version=4.1

这篇关于VSTS API-存储库创建日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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