MicrosoftDocs / appcenter-docs

content repo for Visual Studio App Center on docs.microsoft.com
https://docs.microsoft.com/appcenter/
Creative Commons Attribution 4.0 International
122 stars 320 forks source link

The directions on authorizing for the Open API is innacurate #1350

Open blanthor opened 2 years ago

blanthor commented 2 years ago

[Enter feedback here] Documentation states that if you are successful authorizing for Swagger, it will show as "authorized". The fact is it will show as "authorized" even if you put in a wrong password. So does this really work? I'm getting a 401 - Unauthorized on https://openapi.appcenter.ms/#/distribute/releases_addDistributionGroup, which is not sufficiently documented. I'm not sure what RELEASE_ID and id should be.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

King-of-Spades commented 2 years ago

This might help, if the API hasn't changed and your use case isn't too different from the sample: https://docs.microsoft.com/en-us/appcenter/distribution/uploading#distributing-using-the-api

That was my last project before I left App Center support entirely just about 1 year ago. It took a LOT of reverse engineering and interviewing engineers and customers...because, as you noted, the Swagger stuff doesn't really explain it's intention. :'(