Skip to main content
GET
Read a text asset of a company site

Authorizations

Authorization
string
header
required

A company admin credential for your company, or a droplet installation token with the website scope for reads, except on the share routes, which refuse a droplet token.

Path Parameters

id
string<uuid>
required

The site's id.

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.