/2.0/repositories/{username}/{repo_slug}/diffstat/{spec} stoped working with token-based march/12/19

Karlo Mendoza March 12, 2019

Today I was still being able to use this endpoint using username and token, is this endpoint no longer going to allow that?

when I do a get to:
https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/diffstat/%7Bspec%7D

I get the response:

This endpoint does not support token-based authentication

Is there other endpoint to use to obtain the diffstat from one commit to another?

1 answer

1 accepted

0 votes
Answer accepted
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 25, 2019

Hello Karlo and welcome to the Community!

Your exact issue with your reported endpoint reporting it does not support token-based authentication was also submitted as a bug within Bitbucket cloud support. You may find this issue at Issue #18334. The good news is that it has since been marked as resolved and reported as working again.

With this said, could you please confirm that the endpoint is accepting token-based authentication again?

Regards,
Stephen Sifers

Karlo Mendoza March 25, 2019

Tested it, working now, thanks Stephen :)

Like Stephen Sifers likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events