Get a deployment
const url = 'https://api.aetherpush.com/v1/apps/example/deployments/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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/apps/example/deployments/example \ --header 'Authorization: Bearer <token>'Returns deployment metadata including the current package.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Deployment details.
object
object
Deployment key consumed by the React Native SDK at runtime. Replaced with “(hidden)” for accounts without the deploymentKeys.read capability.
object
Signed URL to download the package bundle.
Map of source package hash to diff blob info.
object
object
Signed URL to the package manifest (file hash map).
Set when releaseMethod is Promote.
Set when releaseMethod is Promote or Rollback.
Account email of the releaser.
Package size in bytes.
Unix timestamp in milliseconds.
Example
{ "deployment": { "name": "Production", "key": "AbCdEf1234567890", "package": { "appVersion": "1.0.0", "label": "v3", "releaseMethod": "Upload" } }}Unauthenticated, or not a collaborator.
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"}App or deployment not found.
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"}