From 24d5f1630255357cd8a8b71476bbcfd5335fc5df Mon Sep 17 00:00:00 2001 From: victor <121183489011@qq.com> Date: Wed, 27 Jan 2021 09:35:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=96=87=E6=A1=A3=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api_document.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api_document.md b/api_document.md index fa536b9ec..a4294513a 100644 --- a/api_document.md +++ b/api_document.md @@ -3502,13 +3502,13 @@ curl -X GET http://localhost:3000/api/ci/languages/114.json | jq #### 获取构建列表 ``` -GET /api/:owner/:repo/builds +GET /api/:owner/:repo/builds??branch={branch} ``` *示例* ```bash curl -X GET \ -http://localhost:3000/api/Jason/forge/builds | jq +http://localhost:3000/api/Jason/forge/builds?branch=develop | jq ``` *请求参数说明:*