Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab
GitLab
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 35,751
    • Issues 35,751
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 1,291
    • Merge Requests 1,291
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Metrics
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #1499

Closed
Open
Opened Jan 06, 2017 by De Wet@dewetblomerusContributor

API for configuring repository pull mirroring via HTTP

Using the API, one can create a Project and set an import_url but Repository Mirroring can not be turned on via the API. We should provide an API for managing pull mirroring.

Proposal

Because multiple push mirroring targets are supported, the API should be designed so that it works for both

  • Add an API to configure pull mirroring PUT /projects/{project_id}/mirror

{ "todo": "todo" } ```

  • Add an API to disable pull mirroring DELETE /projects/{project_id}/mirror/{id}
  • Add an API to list mirroring target GET /projects/{project_id}/mirror

Links / references

Here is where the customer asked about it https://gitlab.zendesk.com/agent/tickets/55517

Edited Jul 12, 2018 by James Ramsay (ex-GitLab)
Assignee
Assign to
11.2
Milestone
11.2 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: gitlab-org/gitlab#1499