Page Content Data Model

Assignment of content to a region on a page.

This resource is a part of the Publishing Workflow.

Sample JSON Data

      {
        "data": {
          "type": "page-contents",
          "id": "d19f1046-990d-4763-8579-f79a5f76dcb2",
          "attributes": {
            "position": 1,
            "published-at": "2012-04-23T18:25:43.511Z",
            "trashed-at": "2012-04-23T18:25:43.511Z",
            "created-at": "2012-04-23T18:25:43.511Z",
            "updated-at": "2012-04-23T18:25:43.511Z"
          },
          "relationships": {
            "page": {
              "data": {
                "type": "pages",
                "id": "bd6b0d07-bfb3-486f-b8a8-337d4dd9546d"
              }
            },
            "content": {
              "data": {
                "type": "contents",
                "id": "7ce783c1-6875-4727-93b4-dab1af1f40ed"
              }
            },
            "display": {
              "data": {
                "type": "displays",
                "id": "733664e4-a8a8-4909-8fc8-9a752ab25ba3"
              }
            },
            "region": {
              "data": {
                "type": "regions",
                "id": "99ba855c-78f2-4dbc-bba5-1cb31acb19db"
              }
            },
            "draft": {
              "data": [
                {
                  "type": "drafts",
                  "id": "6ca98f5f-22b7-41a4-ba7d-4e6dcfee963a"
                }
              ]
            }
          }
        }
      }

Attributes

Attribute Type Required Description
position integer Yes Order in which the content should appear within the region.
published-at date Read-only Timestamp recording when page content was first published (null if never published), localized to the current logged in user’s time zone.
trashed-at date Read-only Timestamp recording when page content was added to the trash (null if still active), localized to the current logged in user’s time zone.
created-at date Read-only Timestamp recording when page content was created, localized to the current logged in user’s time zone.
updated-at date Read-only Date and time page content record was last updated, localized to the current logged in user’s time zone.

Relationships

Title Type Required Description
page object Yes Page record that the content is associated with.
content object Yes Content record being associated with the page.
display object Yes Display chosen, describing how the content should be displayed on the page.
region object Yes Region on the page’s layout that the content should appear within.
draft object Read-only Draft of page content (if there is a draft).

Related