Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions api/results.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ curl https://api.devicecloud.dev/results/7e12345f-eb12-12ec-a30b-bb1234f1d12a/re

## Download HTML report

::: tip
We recommend [Download ZIPs through the CDN](#download-zips-through-the-cdn) instead: `report-bundle` gives the same ZIP, built and served by our CDN.
::: warning
This endpoint is deprecated. We're targeting its removal on **1 March 2027**, subject to change based on usage, and its responses carry `Deprecation` and `Sunset` headers. Use [Download ZIPs through the CDN](#download-zips-through-the-cdn) instead: `report-bundle` gives the same ZIP.
:::

Returns a ZIP containing the HTML report together with the screenshots, videos and logs of every test in an upload (the latest attempt of each). An upload with no results in your team answers HTTP `404`.
Expand All @@ -157,8 +157,8 @@ curl https://api.devicecloud.dev/results/7e12345f-eb12-12ec-a30b-bb1234f1d12a/ht

## Download artifacts

::: tip
We recommend [Download ZIPs through the CDN](#download-zips-through-the-cdn) instead: `artifacts-bundle` gives the same ZIP, with the same `results` and `resultId` filters, built and served by our CDN.
::: warning
This endpoint is deprecated. We're targeting its removal on **1 March 2027**, subject to change based on usage, and its responses carry `Deprecation` and `Sunset` headers. Use [Download ZIPs through the CDN](#download-zips-through-the-cdn) instead: `artifacts-bundle` gives the same ZIP and takes the same `results` and `resultId` filters.
:::

Returns a zip file containing logs, screenshots, and videos. Filter to all results or failing only. Each test's files sit in a folder named after its result ID (`<resultId>/logs/`, `<resultId>/screenshots/`, `<resultId>/videos/`), and a merged JUnit `report.xml` covering the whole upload is added at the root — see [Artifact Archive Structure](../artifacts/artifacts.md#artifact-archive-structure).
Expand Down Expand Up @@ -198,7 +198,7 @@ curl -X POST https://api.devicecloud.dev/results/7e12345f-eb12-12ec-a30b-bb1234f

## Download ZIPs through the CDN

Gets the artifacts ZIP or the HTML report ZIP from DeviceCloud's CDN, which builds it. It takes two requests: one to the API for a signed manifest, then one to the CDN with that manifest, which answers with the ZIP. The ZIPs have the same layout as the [HTML report](#download-html-report) and [artifacts](#download-artifacts) downloads (see [Artifact Archive Structure](../artifacts/artifacts.md#artifact-archive-structure)). This is the recommended way to download them, and the one the `dcd` CLI uses: the CDN builds and serves the ZIP, so a large download doesn't have to pass through the API.
Gets the artifacts ZIP or the HTML report ZIP from DeviceCloud's CDN, which builds it. It takes two requests: one to the API for a signed manifest, then one to the CDN with that manifest, which answers with the ZIP. The ZIPs have the same layout as the [HTML report](#download-html-report) and [artifacts](#download-artifacts) downloads, which they replace (see [Artifact Archive Structure](../artifacts/artifacts.md#artifact-archive-structure)). The `dcd` CLI downloads them this way: the CDN builds and serves the ZIP, so a large download doesn't have to pass through the API.

### 1. Get a manifest

Expand Down
5 changes: 3 additions & 2 deletions getting-started/deprecations.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
description: "The devices, OS versions, Maestro versions, report formats and runner types DeviceCloud is retiring, when, and what to move to, plus what was removed recently."
description: "The devices, OS versions, Maestro versions, report formats, runner types and API endpoints DeviceCloud is retiring, when, and what to move to, plus what was removed recently."
---

# Deprecations & Removals

Before we remove a device, an OS version, a Maestro version, a report format or a runner type, we mark it as deprecated and set a target date for its removal. This page lists what's deprecated now, and what was removed recently.
Before we remove a device, an OS version, a Maestro version, a report format, a runner type or an API endpoint, we mark it as deprecated and set a target date for its removal. This page lists what's deprecated now, and what was removed recently.

## Upcoming

Expand All @@ -18,6 +18,7 @@ Removal dates are targets, subject to change based on usage.
| Maestro 2.2.0 | Maestro version | 14 December 2026 | 2.6.1 or newer |
| Google Play on `cpu1` | Runner type change | 14 December 2026 | Nothing: Google Play runs move to `m1` on their own. Test your app on `m1` first, see [Moving to Apple Silicon](../configuration/google-play-apis.md#moving-to-apple-silicon-m1) |
| `POST /uploads/flow`, the flow upload that `dcd` CLI 4.x uses | REST API endpoint | 1 March 2027 | The latest `dcd` CLI: `npm install -g @devicecloud.dev/dcd@latest`. If your CI pins a 4.x version, update the pin too |
| `GET /results/:uploadId/html-report` and `POST /results/:uploadId/download` | REST API endpoints | 1 March 2027 | `report-bundle` and `artifacts-bundle`, see [Download ZIPs through the CDN](../api/results.md#download-zips-through-the-cdn). The `dcd` CLI already uses them |

`dcd live` is deprecated too, with no removal date set. Use [`dcd device`](../cli/dcd-device.md) instead.

Expand Down
43 changes: 38 additions & 5 deletions public/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -428,12 +428,14 @@ paths:
operationId: getHtmlReport
tags: [Results]
summary: Download HTML report
deprecated: true
description: |
A ZIP holding the HTML report (`report.html`) with the screenshots, videos
and logs of the latest attempt of every test in the upload.

`getReportBundle` gives the same ZIP, built and served by DeviceCloud's
CDN instead of the API, and is the recommended way to download it.
Deprecated: removal is targeted for 1 March 2027, subject to change based
on usage. Use `getReportBundle` instead. Every response carries
`Deprecation`, `Sunset` and `Link` headers.
parameters:
- $ref: '#/components/parameters/UploadId'
responses:
Expand All @@ -444,6 +446,12 @@ paths:
description: '`attachment; filename="report-<uploadId>.zip"`'
schema:
type: string
Deprecation:
$ref: '#/components/headers/Deprecation'
Sunset:
$ref: '#/components/headers/Sunset'
Link:
$ref: '#/components/headers/DeprecationLink'
content:
application/zip:
schema:
Expand All @@ -466,6 +474,7 @@ paths:
operationId: downloadArtifacts
tags: [Results]
summary: Download artifacts
deprecated: true
description: |
A ZIP of the upload's logs, screenshots and videos. Each test's files sit in
a folder named after its result ID (`<resultId>/logs/`,
Expand All @@ -479,9 +488,10 @@ paths:
The ZIP is streamed as it is built. An error after streaming starts ends
the download early, leaving a truncated ZIP.

`getArtifactsBundle` gives the same ZIP, with the same `results` and
`resultId` filters, built and served by DeviceCloud's CDN instead of the
API. It is the recommended way to download it.
Deprecated: removal is targeted for 1 March 2027, subject to change based
on usage. Use `getArtifactsBundle` instead, which takes the same `results`
and `resultId` filters. Every response carries `Deprecation`, `Sunset` and
`Link` headers.
parameters:
- $ref: '#/components/parameters/UploadId'
requestBody:
Expand All @@ -500,6 +510,12 @@ paths:
description: '`attachment; filename="artifacts.zip"`'
schema:
type: string
Deprecation:
$ref: '#/components/headers/Deprecation'
Sunset:
$ref: '#/components/headers/Sunset'
Link:
$ref: '#/components/headers/DeprecationLink'
content:
application/zip:
schema:
Expand Down Expand Up @@ -3567,6 +3583,23 @@ components:
description: Seconds to wait before retrying.
schema:
type: integer
Deprecation:
description: |
The endpoint is deprecated (RFC 9745): `@` and the Unix time it was
deprecated at.
schema:
type: string
example: '@1795564800'
Sunset:
description: When the endpoint is targeted for removal (RFC 8594), as an HTTP date.
schema:
type: string
example: Mon, 01 Mar 2027 00:00:00 GMT
DeprecationLink:
description: Where the replacement is documented.
schema:
type: string
example: <https://docs.devicecloud.dev/rest-api/results#download-zips-through-the-cdn>; rel="deprecation"
responses:
Forbidden:
description: |
Expand Down
Loading