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"
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
Has anyone worked on adding properties using the api to the repository for an addon?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.