Skip to main content
GET
Show a site file

Authorizations

Authorization
string
header
required

A member credential in the Authorization: Bearer header: a member session JWT, a portal JWT whose login is linked to a membership in that company, an opaque member token, or a verified One Auth identity access token. The credential alone identifies the member and company. Member session and portal JWTs are read-only and are refused with 403 on every write.

Headers

If-None-Match
string

ETag from a previous response.

Path Parameters

site_id
string<uuid>
required

Public id of one of the member's sites.

path
string
required

The theme-style path of the file, with its slash: layouts/<name>.liquid, sections/<name>.liquid, snippets/<name>.liquid, pages/<slug>.liquid (pages/index.liquid for the home page), assets/<file> (a css, js, json, txt or html file), config/settings.json, config/menus.json, config/pages.json or config/access.json. Names use lowercase letters, digits, hyphens and underscores, with no subfolders. Any other path is refused with 422.

Pattern: ^.+$

Response

The file.

One site file.

status
integer
required

HTTP status code (mirrors the response status line).

data
object
required

One file of a site.

meta
object
required

Envelope metadata present on every response.