With reference to this document
Specifically the commit request:
curl https://api.bitbucket.org/2.0/repositories/username/slug/src \
-F /repo/path/to/image.png=@image.png
I don't see how this request is authenticated, there is no password or personal access token used.
Hi John, the documentation is assuming that the user is already authenticated
Bitbucket uses the authenticated user's full/display name and primary email address. Commits cannot be created anonymously.
Similarly to when you do any git operations from your terminal.
Hope that clarifies!
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.