summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2018-06-19 15:42:07 +0000
committerRobert Speicher <robert@gitlab.com>2018-06-19 15:42:07 +0000
commite7549b9882560cf8cc3e61f67acbf69cf3c4c7d4 (patch)
tree3ea48dd4f8ab7f1d4aadf131429b65b542e26eec /spec
parent80044bdad09cfa09f89e4e45b49fc0abb19a6c84 (diff)
parent07e95b0cd48192804324a3c47729b5641df54fe6 (diff)
downloadgitlab-ce-e7549b9882560cf8cc3e61f67acbf69cf3c4c7d4.tar.gz
Merge branch 'dm-branch-api-can-push' into 'master'
Expose whether current user can push into a branch on branches API See merge request gitlab-org/gitlab-ce!19958
Diffstat (limited to 'spec')
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/branch.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/branch.json b/spec/fixtures/api/schemas/public_api/v4/branch.json
index a3581178974..a8891680d06 100644
--- a/spec/fixtures/api/schemas/public_api/v4/branch.json
+++ b/spec/fixtures/api/schemas/public_api/v4/branch.json
@@ -14,7 +14,8 @@
"merged": { "type": "boolean" },
"protected": { "type": "boolean" },
"developers_can_push": { "type": "boolean" },
- "developers_can_merge": { "type": "boolean" }
+ "developers_can_merge": { "type": "boolean" },
+ "can_push": { "type": "boolean" }
},
"additionalProperties": false
}