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

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
atlassian, atlassian community, job interviews, interview tips, career advice, interview preparation, job search, interview experiences, hiring process, atlassian careers, community discussion, interview best practices

Interview Tips & Pet Peeves ✍️

Join the discussion on interview best practices and common pitfalls. Share your experiences and learn from others in the Atlassian Community.

Share you experiences!
AUG Leaders

Atlassian Community Events