Create repository in GitLab using RestAPI

11 views
Skip to first unread message

Jainath Gupta

unread,
Sep 5, 2017, 1:34:19 AM9/5/17
to GitLab
Hi,
   I need to create 
1) Groups --> New Group with name of HDFC
2) click on HDFC -->New Project with name of Policy
3) select visibility level as Internal
4)click on Create Project button


But I want to do all this using RestAPI. Please help me if any cookbook is available then suggest me.

Thanks

Jainath Gupta

unread,
Sep 6, 2017, 1:11:46 AM9/6/17
to GitLab
If I used postman rest Service
Heaser: XXXXXXXXXXXX
BODY: {"name":"test_project","issues_enabled":"false","private":"true","namespace_id":10}
SEND

it gives me all the project details of namespace id 10. And it's not create any project. I think Post also work like as Get.
Can devs help me ?

On Tuesday, September 5, 2017 at 11:04:19 AM UTC+5:30, Jainath Gupta wrote:
Hi,
   I need to create 
1) Groups --> New Group with name of HDFC
2) click on HDFC -->New Project with name of Policy
3) select visibility level as Internal
4)click on Create Project button

Reply all
Reply to author
Forward
0 new messages