curl --location -g --request GET 'http://gitlab.example.com/v3/projects//repository/tree?ref_name&path&recursive'
{ "id": "string", "name": "string", "type": "string", "path": "string", "mode": "string" }