CMSDanh mục trang

Page Category Object

Cấu trúc đối tượng danh mục trang tĩnh.

Schema

{
  "company_id": 1,
  "creator_id": 5,
  "id": 10,
  "uuid": "abc-123-def",
  "identifier": "gioi-thieu",
  "name": "Giới thiệu",
  "description": "Nhóm các trang giới thiệu công ty",
  "display_order": 1,
  "parent_id": 0,
  "external_id": "",
  "avatar_file_id_list": [601],
  "avatar_file_list": [
    {
      "id": 601,
      "url": "https://example.com/cat-icon.png"
    }
  ],
  "status": 1,
  "seo_url": "danh-muc-gioi-thieu",
  "seo_title": "Danh mục giới thiệu",
  "seo_meta_description": "",
  "seo_meta_keyword": "",
  "seo_graph_file_id": 0,
  "seo_graph_file": { ... },
  "seo_canonical": "",
  "seo_options": {},
  "date_created": 1700000000,
  "date_modified": 1700005000
}

Field Descriptions

Tên trườngKiểu dữ liệuMô tả
company_idintegerID công ty (shop)
creator_idintegerID người tạo
idintegerID danh mục
uuidstringMã UUID của danh mục
identifierstringĐịnh danh duy nhất
namestringTên danh mục
descriptionstringMô tả danh mục
parent_idintegerID danh mục cha (0 nếu là cấp cao nhất)
external_idstringMã tham chiếu hệ thống ngoài
display_orderfloatThứ tự hiển thị
statusintegerTrạng thái (1: Enable, 3: Disabled)
avatar_file_id_listarrayDanh sách ID file ảnh đại diện
avatar_file_listarrayDanh sách file ảnh đại diện
seo_urlstringSlug chuẩn SEO
seo_title, seo_meta_description, seo_meta_keywordstringThông tin SEO
seo_graph_file_idintegerID ảnh OpenGraph
seo_graph_fileobjectẢnh OpenGraph
seo_canonicalstringURL canonical
seo_optionsobjectTuỳ chọn SEO bổ sung
date_createdintegerUnix timestamp ngày tạo
date_modifiedintegerUnix timestamp ngày cập nhật

On this page