From 85de6904e57a65def1e15e695c3b717a3601433f Mon Sep 17 00:00:00 2001 From: Luke Bennett Date: Wed, 28 Nov 2018 22:08:30 +0000 Subject: Fix issue where deleting a remote mirror doesnt remove it from database Remote mirrors were simply being disabled when the user clicks the UI delete button. This commit adds a remote mirrors delete endpoint that correctly destroys the database record. It is important to correctly delete remote mirrors when the user requests it as their credentials are present in `remote_mirrors_attributes`. --- doc/api/README.md | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/api/README.md') diff --git a/doc/api/README.md b/doc/api/README.md index 89069fe60e1..f14b4a6e53e 100644 --- a/doc/api/README.md +++ b/doc/api/README.md @@ -52,6 +52,7 @@ The following API resources are available in the project context: | [Project-level variables](project_level_variables.md) | `/projects/:id/variables` | | [Project import/export](project_import_export.md) | `/projects/:id/export`, `/projects/import`, `/projects/:id/import` | | [Project milestones](milestones.md) | `/projects/:id/milestones` | +| [Project remote mirrors](project_remote_mirrors.md) | `/projects/:id/remote_mirrors` | | [Project snippets](project_snippets.md) | `/projects/:id/snippets` | | [Project templates](project_templates.md) | `/projects/:id/templates` | | [Protected branches](protected_branches.md) | `/projects/:id/protected_branches` | -- cgit v1.2.1