I have tried this but it doesn’t work.
Cannot understand how using api to download with curl my file on gitlab.
here my url:
I have checked official website but cannot understand how it’s works and which part I should replace:
curl --request GET --header 'PRIVATE-TOKEN: ’ ‘https://gitlab.example.com/api/v4/projects/13083/repository/files/app%2Fmodels%2Fkey%2Erb/raw?ref=master’
I have tried but it’s not working
curl --insecure --request GET --header ‘PRIVATE-TOKEN: Y_F8YP3nUnFbzhxkQvgo’ ‘https://gitlabxxxxxxxxxx/api/v4/administration/gitlab/98/src/main/script/deploiement/settings/rci/sesameweb2.sh/app%2Fmodels%2Fkey.rb/raw?ref=master’
My project ID is : 98 I would like to download this setting.sh, I’am using gitlab-ce 12.6.4.
Thanks for help