Forums

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

How can I check via API does user have permission to make push (via api) ?

Krzysztof Wawer
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!
September 27, 2017

I tried to get

/2.0/repositories/{username}/{repo_slug}/branch-restrictions

but it returns empty values. I checked 

/2.0/repositories/{username}/{repo_slug}

and this endpoint works ok and returning value.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events