Allow a project imported from another source to be mirrored from the API
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.
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:
Documentation for feature on the frontend: