Download folder structure from gitlab

Hi,

I am trying to download the repository folder path using terraform local exe as below. Here Ansible is folder path which has multiple subfolders and files(.zip,.exe,.yml,.xml) with in it.

resource “null_resource” “download_zip” {
provisioner “local-exec” {
command = “curl https://XXX.gitlab.us-west2.XXX.com/api/v4/projects/93/repository/tree?path=ansible
}
}

during terraform apply its not downloading, 0 resources added.