Category/List

List all categorys in a brands knowledgebase library.

Parameters
Parameter Type Required Description
category_id string optional Provide a 'category_id' to list a specific category.
category_type string optional Priovide a category type to return only categories of that type; 'PARENT' and 'SUB' are acceptable values.
parent_category_id string optional Provide a 'parent_category_id' to list sub categories of one or more parent categories.
name string optional Provide a name to search for a category by name.
show_sub_categories string optional Provide a 'Y' to show sub categories and their article count connected to a parent category. 'category_type' must be set to 'PARENT'.
GET https://api.recurringstack.com/{format}/Category/List
//key,user_key,brand_id,response_format (xml or json),return (clean = return object, leave blank to return raw)
$rstack = new recurringstack('','','','xml','clean'); 

$params = array('category_id' => "",'category_type' => "",'parent_category_id' => "",'name' => "",'show_sub_categories' => "");
try { $response = $rstack->request('Category/List','GET',$params); } catch(Exception $e) { $error =  $e->getMessage(); echo "Error: $error"; }
print_r($response);
Response

Category/Create

Create a primary or sub category in the knowledgebase library.

If creating a sub category a 'parent_category_id' must be supplied.

Parameters
Parameter Type Required Description
name string required The name of the knowledgebase library category.
category_type string required The type of category to create ('PRIMARY' and 'SUB' are valid options).
parent_category_id string optional The 'category_id' of a parent category if creating a sub category.
visibility string required The visibility of the category. 1 - for visible; 2 - for hidden. Visibility does not affect the status of the category.
POST https://api.recurringstack.com/{format}/Category/Create
//key,user_key,brand_id,response_format (xml or json),return (clean = return object, leave blank to return raw)
$rstack = new recurringstack('','','','xml','clean'); 

$params = array('name' => "",'category_type' => "",'parent_category_id' => "",'visibility' => "");
try { $response = $rstack->request('Category/Create','POST',$params); } catch(Exception $e) { $error =  $e->getMessage(); echo "Error: $error"; }
print_r($response);
Response

Category/Update

Update a category.

Parameters
Parameter Type Required Description
category_id string required The 'category_id' of the category you wish to update.
name string required The name of the knowledgebase library category.
category_type string required The type of category to create ('PRIMARY' and 'SUB' are valid options).
parent_category_id string optional The 'category_id' of a parent category if creating a sub category.
visibility string required The visibility of the category. 1 - for visible; 2 - for hidden. Visibility does not affect the status of the category.
PATCH https://api.recurringstack.com/{format}/Category/Update
//key,user_key,brand_id,response_format (xml or json),return (clean = return object, leave blank to return raw)
$rstack = new recurringstack('','','','xml','clean'); 

$params = array('category_id' => "",'name' => "",'category_type' => "",'parent_category_id' => "",'visibility' => "");
try { $response = $rstack->request('Category/Update','PATCH',$params); } catch(Exception $e) { $error =  $e->getMessage(); echo "Error: $error"; }
print_r($response);
Response

Category/Delete

Delete a category.

Categorys with sub categorys cannot be deleted until all sub categories are deleted first.

Parameters
Parameter Type Required Description
category_id string required The 'category_id' you wish to delete.
DELETE https://api.recurringstack.com/{format}/Category/Delete
//key,user_key,brand_id,response_format (xml or json),return (clean = return object, leave blank to return raw)
$rstack = new recurringstack('','','','xml','clean'); 

$params = array('category_id' => "");
try { $response = $rstack->request('Category/Delete','DELETE',$params); } catch(Exception $e) { $error =  $e->getMessage(); echo "Error: $error"; }
print_r($response);
Response

Category/Restore

Restore a category from deleted.

Parameters
Parameter Type Required Description
category_id string required The 'category_id' you wish to restore.
PATCH https://api.recurringstack.com/{format}/Category/Restore
//key,user_key,brand_id,response_format (xml or json),return (clean = return object, leave blank to return raw)
$rstack = new recurringstack('','','','xml','clean'); 

$params = array('category_id' => "");
try { $response = $rstack->request('Category/Restore','PATCH',$params); } catch(Exception $e) { $error =  $e->getMessage(); echo "Error: $error"; }
print_r($response);
Response

Your content here

Lorem ipsum dolor sit amet consectetur adipisicing elit. Qui, natus temporibus voluptate corporis possimus ab aut cumque.

Homepage

Quick Tips

You may remove all ID or Class names which contain _dm-, they are only used for demonstration.


Boxed Layout

Fluid Layout Remove the .boxed-layout and .centered-layout classes from the body.
Centered Layout Add a class .centered-layout to the body.
Boxed Layout Add a class .boxed-layout to the body.
Boxed Layout with background image

Add background image to the body.

<body class="boxed-layout" style='background-image: url("path_to_img/image.jpg");'>
    ..
    ..
</body>

Or it could be in your own class.

.bg-img {
background-image: url("path_to_img/image.jpg");
}
<body class="boxed-layout bg-img">
    ..
    ..
</body>

Color Schemes

Replace the current Bootstrap CSS and Nifty CSS path with the new path of the CSS color schemes you wish to use.

This is where you can change the color scheme of your app / website.

<head>
    ...
    <title>My Project</title>
    ...

    <!-- STYLESHEETS -->
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--- -->

    <!-- Bootstrap CSS [ REQUIRED ] -->
    <link rel="stylesheet" href="documentation/assets/css/color-schemes/SELECTED-SCEHEMS/bootstrap.min.css">

    <!-- Nifty CSS [ REQUIRED ] -->
    <link rel="stylesheet" href="documentation/assets/css/color-schemes/SELECTED-SCEHEMS/nifty.min.css">

</head>

Header

Sticky header Add a class .hd--sticky to the #root.
Expanded header Add a class .hd--expanded to the #root.
Expanded header with overlapping content. Add a class .overlapping to the #content > .content__header.
Disable rounded header. Add a class .rounded-0 to the #content > .content__header.

Animations

Add the following class to the body to change the animation transition.

Transition function name Class name
In Quart .in-quart
Out Quart .out-quart
In Back .in-back
Out Back .out-back
In Out Back .in-out-back
easeInOutBack .easeInOutBack
steps .steps
jumping .jumping
rubber .rubber
RecurringStack Documentation
RecurringStack Docs
Sign In

Background Images

Add an image to replace the solid background color
Layouts
Layouts
Transitions
Header
Additional Offcanvas New in BS v.5.0

Select the offcanvas placement.

Sidebars
Navigation
Right sidebar
Color Schemes
Light Completely bright color themes.
Dark Completely dark color themes.
Expanded Header
Fair Header
Full Header
Primary Nav
Brand
Tall Header New in v3.0
Scrollbars

Hides native scrollbars and creates custom styleable overlay scrollbars.

Offcanvas Header
Content Here

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sapiente eos nihil earum aliquam quod in dolor, aspernatur obcaecati et at. Dicta, ipsum aut, fugit nam dolore porro non est totam sapiente animi recusandae obcaecati dolorum, rem ullam cumque. Illum quidem reiciendis autem neque excepturi odit est accusantium, facilis provident molestias, dicta obcaecati itaque ducimus fuga iure in distinctio voluptate nesciunt dignissimos rem error a. Expedita officiis nam dolore dolores ea. Soluta repellendus delectus culpa quo. Ea tenetur impedit error quod exercitationem ut ad provident quisquam omnis! Nostrum quasi ex delectus vero, facilis aut recusandae deleniti beatae. Qui velit commodi inventore.