Allow a project imported from another source to be mirrored from the API
Description
Right now, the gitlab API allows for a new project to be imported from another source, such as a git url. The problem is that while there is an option to automatically update from the remote every hour on the web UI, the option is not documented on the API docs.
Proposal
Add a new option to the create project endpoint:
mirror:
type: boolean
required: no
description: whether the imported repo should be mirrored (ONLY USED IF import_url IS GIVEN)
Links / references
Current API documentation:
https://docs.gitlab.com/ee/api/projects.html#create-project
Documentation for feature on the frontend:
https://docs.gitlab.com/ee/workflow/repository_mirroring.html