Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Creating a repo via REST API

nweiler2 August 31, 2012

Is it possible to create a repo programmatically via the REST API? Based on the documentation it appears I should do something like this:

POST /projects/MGM/repos?create HTTP/1.1

...

name=newrepo&submit=Create+Repository

But it doesn't seem to work. Any ideas?

1 answer

1 accepted

1 vote
Answer accepted
seb
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 31, 2012

Please see this answer: https://answers.atlassian.com/questions/65826/programmatically-create-stash-git-repos

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events