{ "info": { "name": "GitLab Delete Projects Repository Merged Branches", "_postman_id": "4fe19e21-bc46-4da8-ac97-fa0bbbb65636", "description": "Delete projects repository merged branches.", "schema": "https://schema.getpostman.com/json/collection/v2.0.0/" }, "item": [ { "name": "Projects", "item": [ { "id": "e1a00047-b0c0-4fe6-a03b-2995cda8b053", "name": "getV3ProjectsIdRepositoryBranches", "request": { "url": { "protocol": "http", "host": "localhost", "path": [ "api", "v3/projects/:id/repository/branches" ], "port": "3000", "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Get a project repository branches" }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "f15d0f7d-9a7c-46f1-8c8a-852c05197716" } ] }, { "id": "ae710582-fb61-4036-a53b-8216e832c513", "name": "postV3ProjectsIdRepositoryBranches", "request": { "url": { "protocol": "http", "host": "localhost", "path": [ "api", "v3/projects/:id/repository/branches" ], "port": "3000", "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "branch_name", "value": "{}", "disabled": false, "description": "The name of the branch" }, { "key": "ref", "value": "{}", "disabled": false, "description": "Create branch from commit sha or existing branch" } ] }, "description": "Post projects repository branches." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "3eb029ac-bb2f-4f09-a72f-0a422ceb8630" } ] }, { "id": "dacdd7f9-4d4a-4f5e-b236-7b96b6f01ac4", "name": "getV3ProjectsIdRepositoryBranchesBranch", "request": { "url": { "protocol": "http", "host": "localhost", "path": [ "api", "v3/projects/:id/repository/branches/:branch" ], "port": "3000", "variable": [ { "id": "branch", "value": "{}", "type": "string" }, { "id": "id", "value": "{}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Get projects repository branches branch." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "9183846a-65e5-4b98-b6ae-6e04f875e8cd" } ] }, { "id": "e0c9d3ef-1d46-46b0-8f8d-c46ee929b751", "name": "deleteV3ProjectsIdRepositoryBranchesBranch", "request": { "url": { "protocol": "http", "host": "localhost", "path": [ "api", "v3/projects/:id/repository/branches/:branch" ], "port": "3000", "variable": [ { "id": "branch", "value": "{}", "type": "string" }, { "id": "id", "value": "{}", "type": "string" } ] }, "method": "DELETE", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Delete projects repository branches branch." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "ac03e885-0fa5-4864-b66e-826211768b10" } ] }, { "id": "eec67bf5-ed6d-4255-8f40-e77fe9bd92e6", "name": "putV3ProjectsIdRepositoryBranchesBranchProtect", "request": { "url": { "protocol": "http", "host": "localhost", "path": [ "api", "v3/projects/:id/repository/branches/:branch/protect" ], "port": "3000", "variable": [ { "id": "branch", "value": "{}", "type": "string" }, { "id": "id", "value": "{}", "type": "string" } ] }, "method": "PUT", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "developers_can_merge", "value": "{}", "disabled": false, "description": "Flag if developers can merge to that branch" }, { "key": "developers_can_push", "value": "{}", "disabled": false, "description": "Flag if developers can push to that branch" } ] }, "description": "Put projects repository branches branch protect." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "29877b99-5ead-480e-a38c-2b06801bf1ac" } ] }, { "id": "519274a1-8d58-4ad7-a8de-87cbe794aaaa", "name": "putV3ProjectsIdRepositoryBranchesBranchUnprotect", "request": { "url": { "protocol": "http", "host": "localhost", "path": [ "api", "v3/projects/:id/repository/branches/:branch/unprotect" ], "port": "3000", "variable": [ { "id": "branch", "value": "{}", "type": "string" }, { "id": "id", "value": "{}", "type": "string" } ] }, "method": "PUT", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Put projects repository branches branch unprotect." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "caa86043-b84d-4067-b8c0-7d20692594ec" } ] }, { "id": "f603cc6a-8e32-4919-8db3-3226cd38adbc", "name": "deleteV3ProjectsIdRepositoryMergedBranches", "request": { "url": { "protocol": "http", "host": "localhost", "path": [ "api", "v3/projects/:id/repository/merged_branches" ], "port": "3000", "variable": [ { "id": "id", "value": "{}", "type": "string" } ] }, "method": "DELETE", "header": [ { "key": "Accept", "value": "*/*", "disabled": false } ], "body": { "mode": "raw" }, "description": "Delete projects repository merged branches." }, "response": [ { "status": "OK", "code": 200, "name": "Response_200", "id": "e5465dce-010c-46b3-ab22-e27a225d1555" } ] } ] } ] }