github - 如何在 PR 中为 repo 获取标签 added_at?
问题描述
我正在尝试从 github 获取一些指标,为此我在我的存储库中创建了几个标签,并希望跟踪何时将其添加到 PR。
我正在使用以下 API 来获取 PR 详细信息,但我能够看到所有标签已添加到 PR 但无法获取它的时间戳,如何从 github APIs 获取标签 added_at time ?
API 路由 -https://api.github.com/repos/<org>/<repo>/pulls?state=closed&page=%s&per_page=100
API 响应的标签部分:
{
"id":1234,
"node_id":"1234",
"url":"https://api.github.com/repos/<org>/<repo>/labels/enhancement",
"name":"enhancement",
"color":"a2eeef",
"default":true,
"description":"New feature or request"
}
解决方案
推荐阅读
- db2 - Db2 发生内存分配错误,com.ibm.db2.jcc.am.SqlException: SQLCODE=-83, DRIVER=3.65.77
- r - 使用变量对象调用函数
- r - 比较模糊 R
- xcode - 如何公证包含嵌入其中的帮助程序的应用程序包?
- ios - 使用 buttonclick 快速打开浏览器
- python - WTForms RadioField 阻止表单验证
- python - 如何使用存储在另一个数组中的索引访问 ndarray 中的行?
- node.js - 数据未呈现到 EJS 页面中
- android - 如何动态添加到矢量可绘制对象?
- python - 我想在 python 中显示输入错误消息,但它似乎不起作用