summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2018-09-01 00:39:43 +0000
committerRobert Speicher <robert@gitlab.com>2018-09-01 00:39:43 +0000
commit21b7e203b3d0b3048cd5f860e602d8a18655f118 (patch)
tree508e57775ff761599b25ca499daa15551e33c85e /doc
parentf9b96bd273c636c41e0160b97ea9182f97339f26 (diff)
parent5e5a16a5a8777f6de466f1e790a53a8a1c5b53d7 (diff)
downloadgitlab-ce-21b7e203b3d0b3048cd5f860e602d8a18655f118.tar.gz
Merge branch 'feature/#32877-add-default-field-branch-api' into 'master'
Add default parameter to branches API Closes #32877 See merge request gitlab-org/gitlab-ce!21294
Diffstat (limited to 'doc')
-rw-r--r--doc/api/branches.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api/branches.md b/doc/api/branches.md
index bfb21608d28..4abf0639eb0 100644
--- a/doc/api/branches.md
+++ b/doc/api/branches.md
@@ -27,6 +27,7 @@ Example response:
"name": "master",
"merged": false,
"protected": true,
+ "default": true,
"developers_can_push": false,
"developers_can_merge": false,
"can_push": true,
@@ -75,6 +76,7 @@ Example response:
"name": "master",
"merged": false,
"protected": true,
+ "default": true,
"developers_can_push": false,
"developers_can_merge": false,
"can_push": true,
@@ -141,6 +143,7 @@ Example response:
"name": "master",
"merged": false,
"protected": true,
+ "default": true,
"developers_can_push": true,
"developers_can_merge": true,
"can_push": true
@@ -190,6 +193,7 @@ Example response:
"name": "master",
"merged": false,
"protected": false,
+ "default": true,
"developers_can_push": false,
"developers_can_merge": false,
"can_push": true
@@ -234,6 +238,7 @@ Example response:
"name": "newbranch",
"merged": false,
"protected": false,
+ "default": false,
"developers_can_push": false,
"developers_can_merge": false,
"can_push": true