Update a build artifact
Update the is_public_page_enabled
attribute of your app's build. The required parameters are app slug, build slug and artifact slug. You can fetch the build artifact slug if you first list all build artifacts of an app with the GET /apps/ endpoint.
Path parameters
-
app-slug
string Required App slug
-
build-slug
string Required Build slug
-
artifact-slug
string Required Artifact slug
PATCH
/apps/{app-slug}/builds/{build-slug}/artifacts/{artifact-slug}
curl \
--request PATCH 'https://api.bitrise.io/v0.1/apps/{app-slug}/builds/{build-slug}/artifacts/{artifact-slug}' \
--header "Authorization: $API_KEY" \
--data '{"is_public_page_enabled":true}'
Request examples
{
"is_public_page_enabled": true
}
Response examples (200)
{
"data": {
"artifact_meta": {},
"artifact_type": "string",
"expiring_download_url": "string",
"file_size_bytes": 42,
"intermediate_file_info": {},
"is_public_page_enabled": true,
"public_install_page_url": "string",
"slug": "string",
"title": "string"
}
}
Response examples (400)
{
"message": "string"
}
Response examples (401)
{
"message": "string"
}
Response examples (404)
{
"message": "string"
}
Response examples (500)
{
"message": "string"
}