How to create a Gitlab directory and subdirectories using API
I am able to create Files under Gitlab projects using API with the below code in TERRAFORM:
curl --request POST --header PRIVATE-TOKEN:${var.gitlab_token} --data branch=master --data content=testfile --data commit_message=newfile
{local.url}/{gitlab_project.projects[each.key].id}/repository/files/provider.tf?ref=master
I want to create directoies and subdirectories in the projects using a Gitlab API call. How is this possible.