appcenter-docs
appcenter-docs copied to clipboard
API Documentation Error for Uploading a New Release
Item number 7 in the Upload a New Release section for the API seems to be the wrong endpoint. Is there a correct endpoint or am I missing something? The swagger docs do not show the data being submitted as valid and the when submitting similar json an error is returned. The section that seems to be incorrect is this.
DISTRIBUTE_URL="https://api.appcenter.ms/v0.1/apps/$OWNER_NAME/$APP_NAME/uploads/releases/$RELEASE_ID"
curl -H "Content-Type: application/json" -H "Accept: application/json" -H "X-API-Token: $API_TOKEN" \
--data '{"destinations": [{ "name": "'"$DISTRIBUTION_GROUP"'"}] }' \
-X PATCH \
$DISTRIBUTE_URL
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: f8ccb786-5f74-9c47-f6fa-a22720f823ad
- Version Independent ID: 3185af63-60df-aa2b-1d8c-b3db0ca3ad8c
- Content: Distribute a build via App Center - Visual Studio App Center
- Content Source: docs/distribution/uploading.md
- Service: vs-appcenter
- Sub-service: app-center-distribute
- GitHub Login: @lucen-ms
- Microsoft Alias: lucen