---
ai:
  exclude: true
search:
  tags:
    - attachment
    - GET
seo:
  description: >-
    Tries to expand an attachment. Output… Reference for the GET
    /api/2/attachment/{id}/expand/human endpoint in the Jira Software Data
    Center REST API Reference.
sidebar:
  label: Get human-readable attachment expansion
  badge: GET
title: Get human-readable attachment expansion
type: openapi-operation
---
Tries to expand an attachment. Output is human-readable and subject to change.

`GET /api/2/attachment/{id}/expand/human`

**Responses**

- `200` — JSON representation of the attachment expanded contents. Empty entry list means that attachment cannot be expanded. It's either empty, corrupt or not an archive at all.
- `403` — The calling user is not permitted to view the requested attachment.
- `404` — Any of: there is no attachment with the requested id, attachments feature is disabled
- `409` — The archive format is not supported. since v6.4

Response example, 200:

```json
{
  "entries": {},
  "id": 7237823,
  "mediaType": "application/zip",
  "name": "images.zip",
  "totalEntryCount": 39
}
```
