如何獲取請求/重新請求 PR 審查的時間戳?它在 PR 的對話選項卡中顯示為一個事件,因此它必須存在于某處。

拉取API 端點顯示誰被要求審查,但我看不到什么時候。
"requested_reviewers": [
{
"login": "tamlyn",
...
},
],
有任何想法嗎?
uj5u.com熱心網友回復:
您正在尋找 GitHub 時間線 API。在此處查看 Timeline API的檔案。
要求:
curl \
-H "Accept: application/vnd.github json" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
https://api.github.com/repos/OWNER/REPO/issues/ISSUE_NUMBER/timeline
回復:
...
{
"id": "12345",
...
"actor": {
"login": "user",
...
},
"event": "review_requested",
"created_at": "2022-01-01T01:01:01Z",
...
"review_requester": {
"login": "user",
...
},
"requested_reviewer": {
"login": "user2",
...
},
...
},
...
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/520036.html
