24/7 Support: 800.608.6482

Navigation


Changeset_Create

This function is used to create a new changeset in Miva. A changeset consists of 5 objects. They are: Templates, CSS, JavaScript, Mannaged Properties (Theme components), and Resource Group Assignments. Not all ojbects are required to be passed. Only the objects which have changed should be included in the new Changeset request.

Request Body Parameters

Branch_Name Type:
String
Title:
Branch Name
The name of the branch you want to create the changeset on
Notes Type:
String
Title:
Notes
Changeset Notes. These are displayed in the Branch History when viewing the changeset as well as at the individual template level.
Tags Type:
Array
Title:
Tags
Optional. An Array of tags associated with this changeset.
Template_Changes
+ Show Properties
Type:
Object
Title:
Template Changes
This object is an arrray of individual template changes. Each template change should inlcude a Template_Filename, Source and Settings value. If Source or Settings are omitted the latest version form the Head of the branch will be used.
CSSResource_Changes
+ Show Properties
Type:
Object
Title:
CSS Resource Changes
This object is an array of individual CSS Resource changes.
JavaScriptResource_Changes
+ Show Properties
Type:
Object
Title:
JavaScript Resource Changes
This object is an array of individual JS Resource changes.
Property_Changes
+ Show Properties
Type:
Object
Title:
Managed Properties Changes
This object is an array of individual [Managed] Property changes.

Response Parameters

id Type:
Number
Title:
Changeset ID
Changeset ID
branch_id Type:
Number
Title:
Branch ID
Branch ID or the Branch new changeset was created on
user_id Type:
String
Title:
User ID
ID of the admin user who created the changeset. Changesets creared via the API will not have a user id
dtstamp Type:
Unix Timestamp
Title:
Date/Timestamp
Date/Timestamp
notes Type:
String
Title:
Notes
Notes Associated with the changeset
tags Type:
Array
Title:
Tags
Array of any tags associated with the changeset
formatted_tags Type:
String
Title:
Formatted Tags
List of all tags including #

Example Request

Example Response

This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

Accept

Copyright © 1997 – 2023 Miva©, Miva Merchant©, MivaPay©, MivaCon©, Camp Miva ℠, Miva, Inc. All Rights Reserved.