---
title: "Get deployment releases history"
method: GET
path: "/api/v3/over-the-air-updates/deployments/{deployment_id}/releases"
tags: ["Over-the-air Updates"]
deprecated: true
---

# Get deployment releases history

`GET /api/v3/over-the-air-updates/deployments/{deployment_id}/releases`

## Request

- Base URL: `https://codemagic.io`
- URL: `https://codemagic.io/api/v3/over-the-air-updates/deployments/{deployment_id}/releases`
- Auth: API key in header `x-auth-token`
- TypeScript: <https://skmtc.dev/codemagic/apis/codemagic-api/docs/api/v3/over-the-air-updates/deployments/:deployment_id/releases/get.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

Deprecated. Use `GET /ota/deployments/{deployment_id}/releases` instead.

## Path parameters

- `deployment_id` string, required

## Query parameters

- `page_size` integer: The maximum number of results per page.
- `page` integer: The page number of the results to fetch.

## Response `200`

Request fulfilled, document follows

- DeploymentReleaseSchemaClassicPagination
  - `data` DeploymentReleaseSchema[], required
    - `version` string, nullable, required
    - `application_version` string, nullable, required
    - `released_at` string, date-time, nullable, required
    - `status` 'active' | 'inactive', required: Whether a CodePush release is served to devices.
    - `summary` OtaDeploymentReleasesSchemasMetricSchema[], required
      - `metric` string, required
      - `value` integer, required
  - `page_size` integer, required
  - `current_page` integer, required
  - `total_pages` integer, required

## Other responses

- `400`: The request could not be validated
- `401`: Authentication is missing or invalid
- `403`: The caller lacks the required permission
- `404`: The requested resource does not exist
- `429`: The rate limit has been exceeded

---

[API](https://skmtc.dev/codemagic/apis/codemagic-api.md) - [All operations](https://skmtc.dev/codemagic/apis/codemagic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/codemagic/apis/codemagic-api/revisions/be09630f65e2?raw)
