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, bitbucket, ci/cd workflows, scale ci cd, bitbucket webinar, devops pipeline, continuous integration, continuous delivery, atlassian learning, software automation, developer tools, build and deploy, pipeline optimization, atlassian community

Scale CI/CD workflows faster with Bitbucket Pipelines 🪣

Join this webinar on June 25/26th to learn how to build secure CI/CD workflows using Bitbucket Pipelines and get tips from our own engineers on how to speed up builds and operate at scale.

Register today
AUG Leaders

Atlassian Community Events