how to you find the name of the repository slug on a (private) bitbucket server

Navron Quixley April 14, 2016

This question is in reference to Atlassian Documentation: What is a Slug

how to you find the name of the repository slug on a (private) bitbucket server

I am current trying to write against bit bucket API and simple things like working out what the owner name is and repo slug should be is hard to find

 

1 answer

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 14, 2016

Are you trying to find it from user interface? Or using Bitbucket APIs?

Slug is in the url on the browser. You can also see it when you click on the "Clone" option when you are in a repository.

Navron Quixley April 14, 2016

I am trying to find it from the User Interface, so I can use it with an API call
Looking at the clone text from the repository  I am using the tail end is /scm/sm/sandbox.git

I am assuming that scm/sm is the owner, and the repo slug is sandbox.git

 

Sorry for the basic questions, first time writing API calls to a Bitbucket server

 

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 14, 2016

yes. repo slug is sandbox. The format is:

<bitbucketURL>/<accountname>/<reponame>.git

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events