The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Unable to add properties for addon to the repository using the provided api

Tejas Shah
Contributor
May 14, 2019

Hi

 

I am using my personal bitbucket account to test a feature where I have a custom addon installed in my account with the app.key as "Social-Connect-Digital-Integration" 

My account name is "tejas_shah_lv"

repository name is "Atlassian-Integration"

Property name to add is "SocialConnectAddon"

https://api.bitbucket.org/2.0/repositories/tejas_shah_lv/Atlassian-Integration/properties/Social-Connect-Digital-Integration/SocialConnectAddon

curl -X PUT \
https://api.bitbucket.org/2.0/repositories/tejas_shah_lv/Atlassian-Integration/properties/Social-Connect-Digital-Integration/SocialConnectAddon \
-H 'Accept: */*' \
-H 'Authorization: Basic <<auth>>' \
-H 'Cache-Control: no-cache' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json' \
-H 'Host: api.bitbucket.org' \
-H 'Postman-Token: d8623292-1ba7-4255-93e1-fea8e327ca83,fb381ac1-0946-4926-bcf3-bcca1e18d2ec' \
-H 'User-Agent: PostmanRuntime/7.11.0' \
-H 'accept-encoding: gzip, deflate' \
-H 'cache-control: no-cache' \
-H 'content-length: 19' \
-d '{
"enabled":true
}'

 

I get the following 404 response always 

{
"type": "error",
"error": {
"message": "workspace"
}
}

Any suggestions on why this might be happening?

 

Regards

Tejas 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Tejas Shah
Contributor
May 28, 2019

Has anyone worked on adding properties using the api to the repository for an addon?

TAGS
AUG Leaders

Atlassian Community Events