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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

What is the equivalent of --author in Bitbucket REST API?

Hello,

I am trying to commit changes on behalf of another person using REST API

Is there an equivalent to git --author <name <email>>in rest endpoints?

The API version used is 1.0

Could someone help?

1 answer

1 accepted

1 vote
Answer accepted
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 19, 2021

Hi @Ehab Arman

Welcome to Atlassian Community!

Bitbucket does not have endpoints for git commands, all your git commands are run locally on your machine and then synced to the remote repository.

Thanks Mikael

Like Mikael Sandberg likes this

That's not technically true, the Bitbucket REST API does have endpoints for uploading and updating files in a repository, which includes the ability to specify a commit message, so these endpoints are clearly running git commands under the hood in order to perform commits. It seems like it should be technically possible to support an additional param to these endpoints for specifying the git author.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events