Skip to main content
GET
Read a text asset of a site's draft

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.

Path Parameters

site_id
string<uuid>
required

Public id of one of the member's sites.

path
string
required

The theme-style path of a text asset, with its slash: assets/<file>, a css, js, json, txt or html file such as assets/site.css. Any other path is the same empty 404.

Pattern: ^.+$

Response

The asset, typed by its extension.

The response is of type string.