---
title: "Package and download app"
method: GET
path: "/api/apps/download"
tags: ["apps"]
---

# Package and download app

`GET /api/apps/download`

## Request

- Base URL: `/exist/apps/tei-publisher` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/exist/apps/tei-publisher/api/apps/download`
- Auth: one of:
  - API key in cookie `teipublisher.com.login`
  - HTTP basic

Package up this application and return it as a `.xar`.

## Response `200`

xar package (zip format) containing the app code

## Changes

- **2020-10-01** `26906f3086c5`: 1 warning
  - deleted the `query` request parameter `app`
- **2020-10-01** `03834a92bbe6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/eeditiones/apis/tei-publisher-documentation-and-demo/changes/api/apps/download/get.md)

---

[API](https://skmtc.dev/eeditiones/apis/tei-publisher-documentation-and-demo.md) - [All operations](https://skmtc.dev/eeditiones/apis/tei-publisher-documentation-and-demo/llms.txt) - [OpenAPI document](https://skmtc.dev/eeditiones/apis/tei-publisher-documentation-and-demo/revisions/07216792837f?raw)
