Mirror pull API endpoint returns 404

Summary

Triggering a pull mirror operation via the API results in a 404

Steps to reproduce

  1. Mirror a project
  2. Trigger a pull via
curl -X POST -H "private-token: [PRIVATE_TOKEN]" https://gitlab.test.com/api/v4/projects/2022093/mirror/pull

Example Project

Mirroring enabled on public project https://gitlab.com/cpallares/gitlab-ce https://gitlab.com/api/v4/projects/2022093/mirror/pull

What is the current bug behavior?

Returns 404

What is the expected correct behavior?

Return 200

https://gitlab.zendesk.com/agent/tickets/98963

Edited Jul 05, 2018 by Cindy Pallares 🦉
Assignee Loading
Time tracking Loading