24/7 Support: 800.608.6482

Navigation


BranchCSSResourceVersionList_Load_Query

An Optional Changeset_ID may be passed. If omitted the respose will include templates from the head.

This funciton is used pull the CSS Resources for a specific branch.

Request Body Parameters

count Type:
Number
Title:
Count
Count is used to tell Miva how many CSS Resources you want returned. If for example you are querying thousands of CSS Resources you'll want to set the count to limit how many you get back in a single request.
offset Type:
Offset
Title:
Number
Used in conjunction with the Count parameter for paginating results of large datasets. Default is 0 whcih is no offset.
sort Type:
String
Title:
Sort
Field to sort results by. Avaiilable sorting fields listed above. Use - prefix for a decending sort.
Filter Type:
Object
Title:
Filter
Array of Object containing search filters. See usage here: List Load Query Overview
Branch_Name Type:
String
Title:
Branch Name
Name of Branch you want to pull templates from
Changeset_ID Type:
Number
Title:
Changeset ID
Optional Changeset ID. If omitted, the response will include the CSS Resources from the head of the Branch

On Demand Columns

source Template Source
settings Template Settings
linkedpages Will output array of all pages resource is output on, if not a global resource
linkedresources If CSS is a Combined Resource, this ondemandcolumn will output an object of all CSS Resources linked to this Combined Resource.

Response Parameters

total_count Type:
Number
Title:
Total Product Count
total_count is the total number of records that match your search criteria. Note: this is not always the total products returned. Based on the Count and Offset parameters passed, the number of records returned could be different than the total_count.
start_offset Type:
Number
Title:
Start Offset
Number number of the starting offset number of branches to return. Used in conjunction with the Count parameter for paginating results of large datasets.
id Type:
Number
Title:
Template Version ID
Template Version ID
res_id Type:
Number
Title:
Resource ID
Resource ID
user_id Type:
Number
Title:
User ID
Admin User ID of the user who created the template version.
code Type:
String
Title:
Resource Code
Resource Code
type Type:
String
Title:
Resource Type
One of: L = local file, C = Combined Resource, E = External File, I = Inline
is_global Type:
Boolean
Title:
Is Global
Is Global Resource - Output on all pages
active Type:
Boolean
Title:
Active
Active Flag
file Type:
String
Title:
File
Relative path to file
templ_id Type:
Number
Title:
Template Id
Set for Inline resources whcih have a linked page template. All other resources will have a 0
attributes Type:
Array
Title:
Attributes
Array of Name/Value Pairs
settings Type:
Array
Title:
Settings
JSON Array of Object defining the settings for each template and component assigned to the page. Not all templates will have settings and different types of template will have completely different settings.
linkedpages Type:
Array
Title:
Linked Pages
Array of linked pages if the resource is not output globally
source Type:
String
Title:
Source
CSS Resource Source
linkedresources Type:
Array
Title:
Linked Resources
Array of any linked resources if CSS resource is a Combined Resource

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 – 2019 Miva©, Miva Merchant©, MivaPay©, MivaCon© Miva, Inc. All Rights Reserved.