read
theme

Lists the theme's files on a branch, one page at a time, in path order: each with its content sha, size, whether it is b

Changed on

Lists the theme's files on a branch, one page at a time, in path order: each with its content sha, size, whether it is binary, and its state against live (same, modified, added, deleted — a working branch only holds what it changed). Narrow with prefix (e.g. sections/). Paged: pass page.next_cursor back as cursor while page.has_more is true; walking every page lists each path exactly once.

post/api/v1/tools/theme_tree

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopestheme:read

Request body

object required
branch, string

live (the imported theme, default) or a working branch chat/<uuid> / api/<uuid>.

prefix, string

Only paths starting with this, e.g. templates/.

cursor, string

The page.next_cursor of the previous page.

limit, integer

Page size, default 25.

Response

Tool result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision