1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
//! Single branch //! //! https://docs.gitlab.com/ce/api/projects.html#single-branch //! //! # Single branch //! //! A specific branch of a project. //! //! ```text //! GET /projects/ID/repository/branches/BRANCH //! ``` //! //! Parameters: //! //! | Attribute | Type | Required | Description | //! | --------- | ---- | -------- | ----------- | //! | `id` | integer/string | yes | The ID of the project or `NAMESPACE/PROJECT_NAME` | //! | `branch` | string | yes | The name of the branch | //! | `developers_can_push` | boolean | no | Flag if developers can push to the branch | //! | `developers_can_merge` | boolean | no | Flag if developers can merge to the branch |