Branch Object


A branch is a version of draft site content that can be edited independently. Also known as a test site. Read more about branches in this article.

Properties
idstringRead-onlyformat GUID

Branch ID.


revisionintegerRead-onlyformat int64

Revision number, which increments by 1 each time the branch is updated. To prevent conflicting changes, the current revision must be passed when updating the branch.


typestring

Branch type.


namestringmaxLength 50

Branch name.


sourceTypestring

Source type.


lastPublishDateintegerRead-onlyformat int64

Date and time the branch was last published, if relevant.


createdDatestringRead-onlyformat date-time

Date and time the branch was created.


updatedDatestringRead-onlyformat date-time

Date and time the branch was last updated.


extendedFieldsExtendedFields

Custom field data for the branch. Extended fields must be configured in the app dashboard before they can be accessed with API calls.


ONE OF:

sourceBranchPropertiesSourceBranchProperties

Source branch properties


sourceTemplatePropertiesSourceTemplateProperties

Source template properties

Did this help?