summaryrefslogtreecommitdiff
path: root/doc/api/README.md
diff options
context:
space:
mode:
authorLuke Bennett <lbennett@gitlab.com>2018-11-28 22:08:30 +0000
committerLuke Bennett <lbennett@gitlab.com>2019-02-18 19:41:30 +0000
commit85de6904e57a65def1e15e695c3b717a3601433f (patch)
tree0201d70a0f111d2c3237db44aeb94d686d6321ad /doc/api/README.md
parentfe10964a6884162b9272ec3a32a5736c2a997ab2 (diff)
downloadgitlab-ce-fix-destroy-remote-mirror.tar.gz
Fix issue where deleting a remote mirror doesnt remove it from databasefix-destroy-remote-mirror
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`.
Diffstat (limited to 'doc/api/README.md')
-rw-r--r--doc/api/README.md1
1 files changed, 1 insertions, 0 deletions
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` |