--- swagger: "2.0" x-collection-name: GitLab x-complete: 0 info: title: GitLab Delete Projects Repository Merged Branches version: 1.0.0 description: Delete projects repository merged branches. host: localhost:3000 basePath: /api schemes: - http produces: - application/json consumes: - application/json paths: /v3/projects/{id}/repository/branches: get: summary: Get Projects Repository Branches description: Get a project repository branches operationId: getV3ProjectsIdRepositoryBranches x-api-path-slug: v3projectsidrepositorybranches-get parameters: - in: path name: id description: The ID of a project responses: 200: description: OK tags: - Projects - Repository - Branches post: summary: Post Projects Repository Branches description: Post projects repository branches. operationId: postV3ProjectsIdRepositoryBranches x-api-path-slug: v3projectsidrepositorybranches-post parameters: - in: formData name: branch_name description: The name of the branch - in: path name: id description: The ID of a project - in: formData name: ref description: Create branch from commit sha or existing branch responses: 200: description: OK tags: - Projects - Repository - Branches /v3/projects/{id}/repository/branches/{branch}: get: summary: Get Projects Repository Branches Branch description: Get projects repository branches branch. operationId: getV3ProjectsIdRepositoryBranchesBranch x-api-path-slug: v3projectsidrepositorybranchesbranch-get parameters: - in: path name: branch description: The name of the branch - in: path name: id description: The ID of a project responses: 200: description: OK tags: - Projects - Repository - Branches - Branch delete: summary: Delete Projects Repository Branches Branch description: Delete projects repository branches branch. operationId: deleteV3ProjectsIdRepositoryBranchesBranch x-api-path-slug: v3projectsidrepositorybranchesbranch-delete parameters: - in: path name: branch description: The name of the branch - in: path name: id description: The ID of a project responses: 200: description: OK tags: - Projects - Repository - Branches - Branch /v3/projects/{id}/repository/branches/{branch}/protect: put: summary: Put Projects Repository Branches Branch Protect description: Put projects repository branches branch protect. operationId: putV3ProjectsIdRepositoryBranchesBranchProtect x-api-path-slug: v3projectsidrepositorybranchesbranchprotect-put parameters: - in: path name: branch description: The name of the branch - in: formData name: developers_can_merge description: Flag if developers can merge to that branch - in: formData name: developers_can_push description: Flag if developers can push to that branch - in: path name: id description: The ID of a project responses: 200: description: OK tags: - Projects - Repository - Branches - Branch - Protect /v3/projects/{id}/repository/branches/{branch}/unprotect: put: summary: Put Projects Repository Branches Branch Unprotect description: Put projects repository branches branch unprotect. operationId: putV3ProjectsIdRepositoryBranchesBranchUnprotect x-api-path-slug: v3projectsidrepositorybranchesbranchunprotect-put parameters: - in: path name: branch description: The name of the branch - in: path name: id description: The ID of a project responses: 200: description: OK tags: - Projects - Repository - Branches - Branch - Unprotect /v3/projects/{id}/repository/merged_branches: delete: summary: Delete Projects Repository Merged Branches description: Delete projects repository merged branches. operationId: deleteV3ProjectsIdRepositoryMergedBranches x-api-path-slug: v3projectsidrepositorymerged-branches-delete parameters: - in: path name: id description: The ID of a project responses: 200: description: OK tags: - Projects - Repository - Merged - Branches x-streamrank: polling_total_time_average: 0 polling_size_download_average: 0 streaming_total_time_average: 0 streaming_size_download_average: 0 change_yes: 0 change_no: 0 time_percentage: 0 size_percentage: 0 change_percentage: 0 last_run: "" days_run: 0 minute_run: 0 ---