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

Bitbucket Cloud API Repository Owner Type Values

Anthony Velázquez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 7, 2024

Hey All,

 

I'm looking at building an integration against the Bitbucket REST API and I could not find the answer to this in the docs. Specifically, when looking at the list of repositories for a workspace, I see repositories have an "owner" object. That Owner object is guaranteed to have a field "type." In my testing I see all my repositories have a type of "team" but what are the other possible values for that field? Would like to make sure I understand the different values that could be populated there.

Thanks for any help!

1 answer

1 accepted

2 votes
Answer accepted
Saxea _Flowie_
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.
February 7, 2024

Hi @Anthony Velázquez

I think it can be "user" for personal workspaces.

 

Anthony Velázquez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 7, 2024

Ah, the fact that it's now deprecated makes a lot of sense for why I couldn't get it to be anything besides, "team." Thanks so much!!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events