Skip to content
Select themeSelect language

`GET /api/marketplace/items/{id}/files` — read-only source tree of the item's latest version (ADR 0030 W6-5). Text files carry capped content; binary files report metadata only. Any approved user can preview.

GET
/api/marketplace/items/{id}/files
curl --request GET \
--url https://example.com/api/marketplace/items/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/files
id
required
string format: uuid
Media typeapplication/json

The full read-only source-tree response for a marketplace item.

object
expected_build_minutes
integer | null format: int32
expected_storage_mb
integer | null format: int32
files
required
Array<object>

One node in the read-only source tree returned to the browse UI.

object
content

UTF-8 content for text files under the cap; None for binary files or oversize text files (the UI shows a placeholder).

string | null
is_binary
required
boolean
language
required
string
path
required
string
size_bytes
required
integer format: int64
framework
required
string
item_id
required
string format: uuid
version
required
string
Examplegenerated
{
"expected_build_minutes": 1,
"expected_storage_mb": 1,
"files": [
{
"content": "example",
"is_binary": true,
"language": "example",
"path": "example",
"size_bytes": 1
}
],
"framework": "example",
"item_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"version": "example"
}