Creation of a project coming from a Template with the API
Hello, I would like to create a project from a template project using the API but when creating I always have an empty project.
Via the GUI I can do it very well but impossible with the API.
exemple:
curl -v -X POST --header "PRIVATE-TOKEN: ${TOKEN} “https://<private_url/api/v4/projects??use_custom_template=true&template_project_id=246&path=newProject&visibility=internal”
I made several tests with the different attributes “template_name”, “template_project_id”, “namespace_id”, “path”, “name”, “group_with_project_templates_id” but nothing worked.
My Template project has been added as a template with this documentation: Redirecting...
I would like to know what I didn’t understand in order to be able to use the API correctly.
Thank You