The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

TAGS
AUG Leaders

Atlassian Community Events