Site Data Model

Live Editor-hosted website.

Sample JSON Data

      {
        "data": {
          "type": "sites",
          "id": "cca8bec3-42f7-44b3-9e06-2df3272904f2",
          "attributes": {
            "title": "Coffee Shop",
            "subdomain-slug": "coffee",
            "created-at": "2012-04-23T18:25:43.511Z",
            "updated-at": "2012-04-23T18:25:43.511Z"
          },
          "relationships": {
            "theme": {
              "data": {
                "type": "themes",
                "id": "cc099404-fa56-43e4-9f2c-a239c2eeafbb"
              }
            }
          }
        }
      }

Attributes

Attribute Type Required Description
title string Yes Title of site.
subdomain-slug string Yes Subdomain used to access admin area of site. For example, the coffee part of https://coffee.liveeditorapp.com/.
created-at date Read-only Records when site was created, localized to the current logged in user’s time zone.
updated-at date Read-only Records when site record was last updated, localized to the current logged in user’s time zone.

Relationships

Title Type Required Description
theme object No Version of theme that is set as the current live theme on this site.

Related