I have a set of files in different subdirectories in my repository. I have a container that’s trying to use the API to iterate over a set of files recursively and download them. However, the API seems to be omitting one of the files and I can’t seem to identify why.
Here is the API output:
And here is my repo showing that the file does exist:
all of the other files in the repo appear to be returning fine so I’m not sure why this is happening.
Here is the cmdline I’m using to query the API before all of the ‘jq’ filtering:
curl --header “PRIVATE-TOKEN: [my-token]” “https://[my-internal-gitlab-url]/api/v4/projects/50/repository/tree?path=build/nginx-alpine/root/0&recursive=true&ref=master”