Check whether an update is available for the client (canonical)
const url = 'https://api.aetherpush.com/v1/public/aether/update_check?deployment_key=example&app_version=example&is_companion=true';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.aetherpush.com/v1/public/aether/update_check?deployment_key=example&app_version=example&is_companion=true'Canonical Aether acquisition endpoint. Called by the React Native
SDK at launch to determine if a newer JS bundle is available.
Response fields use snake_case, wrapped in update_info. Successor
to /v0.1/public/codepush/update_check with an identical payload.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Deployment key (provided in app bundle config).
Binary version of the installed app (semver).
Responses
Section titled “Responses”Update info (may indicate no update available).
Wrapper response for update_check. The actual update info lives
under update_info.
object
Response shape consumed by the React Native SDK acquisition endpoint.
Field names use snake_case for backward compatibility with
react-native-code-push. Returned wrapped in { "update_info": ... }.
object
Semver range of binary versions this update targets.
Example
{ "update_info": { "app_version": "1.0.0", "target_binary_range": "1.0.0" }}Invalid deployment_key or app_version.
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"}