---
title: "Diff a draft with the current deployment"
method: GET
path: "/groups/{groupId}/apps/{appId}/drafts/{draftId}/diff"
tags: ["deploy"]
---

# Diff a draft with the current deployment

`GET /groups/{groupId}/apps/{appId}/drafts/{draftId}/diff`

Return a diff between the currently deployed application and the
specified draft.

## Response `200`

Successfully diffed draft.

- Diff
  - `diffs` string[] — A list where each item is the line-by-line diff for a specific configuration file.
  - `hosting_files_diff` object — The filenames of hosted files that have been added, removed, or modified.
    - `added` string[]
    - `deleted` string[]
    - `modified` string[]

---

[API](https://skmtc.net/mongodb/apis/mongodb-atlas-app-services-admin-api.md) · [All operations](https://skmtc.net/mongodb/apis/mongodb-atlas-app-services-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mongodb/mongodb-atlas-app-services-admin-api/revisions/1365ab72bc03/schema)
