Reads one theme file on a branch (a working branch falls through to live for a file it did not change): text in `content
Changed onReads one theme file on a branch (a working branch falls through to live for a file it did not change): text in content, a binary asset base64 in content_base64, with its content_sha — the sha a later write must name as its base. A file over one megabyte is described without its body (omitted: too_large). A path that does not exist, or that the branch deleted, is not_found.
Request
- Base URLhttps://app.magistry.io
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://app.magistry.io/api/oauth/authorizeToken URLhttps://app.magistry.io/api/oauth/tokenScopestheme:read
Request body
Theme path, e.g. sections/header.liquid.
live (the imported theme, default) or a working branch chat/<uuid> / api/<uuid>.
Response
Tool result
Changes
- warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status
11 more changes in this revision
- warning