Continues Delevery API

Hi everyone
any tips to add git repo via api since i can’t find any api for that feature or i miss .
My plan to automaticly add git repo to rancher continues delevery when create project in gitlab .
Thanks so much for any help