跳到主要内容
版本:202201

查询主题文档树

GET 

/openapi/2022-01/themes/:theme_id/doctree

获取指定主题的文档树结构。

请求

Path参数

    theme_id string必填

    主题 ID。

响应

200

数据结构
    layout object[]
  • Array [
  • idstring
    示例: af02b274-2ac3-4f2f-af8f-d4430abfff9f
    locationstring
    示例: theme.liquid
  • ]
  • templates object[]
  • Array [
  • idstring
    示例: ce95ad88-5f4a-4cbc-8180-4c3e5d0caf8b
    locationstring
    示例: 404.liquid
  • ]
  • sections object[]
  • Array [
  • idstring
    示例: bf7065ed-c498-4d44-be04-03900db3e80e
    locationstring
    示例: accessories_list.liquid
  • ]
  • snippets object[]
  • Array [
  • idstring
    示例: e026b4a2-9063-4bcd-8ff4-022e4dca804e
    locationstring
    示例: accessories_list_css.liquid
  • ]
  • assets object[]
  • Array [
  • idstring
    示例: eca9db3a-18e6-4dee-b8f2-60da7d589302
    locationstring
    示例: theme.css
  • ]
  • config object[]
  • Array [
  • idstring
    示例: 429e1998-6ec0-45b4-b6f5-42182cf05fac
    locationstring
    示例: settings_data.json
  • ]
  • locales object[]
  • Array [
  • idstring
    示例: 8e966bb3-d02c-497e-b3a4-3090c76fc19a
    locationstring
    示例: ar-SA.json
  • ]