Updated example since the documentation isn't really clear and doesn't 
give too many examples at the time of this writing

curl --header "PRIVATE-TOKEN: <your secret token>" -H "Content-Type: 
application/json" -d '{"name”:”<name of 
repo>","public":"true","namespace_id”:3000}' 
"https://gitlab.example.com/api/v3/projects"; --insecure

Replace parts in < >

Also, of course, namespace_id through:

curl -k --header "PRIVATE-TOKEN: <your secret token>" 
"https://gitlab.example.com/api/v3/namespaces";

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/2eddec98-b010-406d-b7d7-fa4b11c7c889%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to