Report download of a release bundle
const url = 'https://api.aetherpush.com/v0.1/public/codepush/report_status/download';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"deployment_key":"AbCdEf1234567890","label":"v3"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.aetherpush.com/v0.1/public/codepush/report_status/download \ --header 'Content-Type: application/json' \ --data '{ "deployment_key": "AbCdEf1234567890", "label": "v3" }'Called by the React Native SDK immediately after downloading a bundle, before installing it. Used to compute per-release download counts.
Request Bodyrequired
Section titled “Request Bodyrequired”Body shape for report_status/download.
object
Example
{ "deployment_key": "AbCdEf1234567890", "label": "v3"}Responses
Section titled “Responses”Status accepted.
Lightweight acknowledgment for status reports. Sent in some legacy code paths.
object
Examplegenerated
{ "status": "example", "message": "example"}Headers
Section titled “Headers”Present on legacy acquisition endpoints. Signals the endpoint is
deprecated in favor of its canonical /v1/public/aether/* successor.
The value is the string true.
Example
trueRFC 8288 link header with two link values: the canonical successor endpoint via rel=“successor-version”, and the CodePush migration guide via rel=“deprecation”.
Example
</v1/public/aether/update_check>; rel="successor-version", <https://docs.aetherpush.com/migration/codepush/>; rel="deprecation"Missing deployment_key or label, or invalid combination.
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "The requested resource was not found.", "requestId": "req_abc123"}