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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,900
Community Members
 
Community Events
176
Community Groups

Why isn't "/attachments" listed in the api documentation?

according to https://confluence.atlassian.com/bitbucketserverkb/how-to-enclose-file-to-pull-request-comment-via-rest-api-952073003.html

I should be able to upload files to a repo via a POST to

/projects/{projectKey}/repos/{repositorySlug}/attachments

yet this throws a 404. Also, the word "attachments" doesn't even exist on the rest api page https://docs.atlassian.com/bitbucket-server/rest/6.4.0/bitbucket-rest.html

Please let me know how this is supposed to work and where the api documentation is for it. Thanks.

1 answer

Hi @brian kidd I am blocked with the same issue. I am on bb server v7.8.1 and in the Environment section from the Confluence link which you have shared says "Bitbucket Server and DataCenter version 7.16+". Just curious to know what bb server version are you on?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events