This repository was archived by the owner on May 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
341 lines (311 loc) · 14.2 KB
/
index.html
File metadata and controls
341 lines (311 loc) · 14.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
<!DOCTYPE html>
<html lang="en">
<head>
<script>
if(window.location.pathname === '/'){
window.location = '/docs/home';
}
</script>
<!-- History.js -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/history.js/1.8/bundled-uncompressed/html4+html5/jquery.history.js"></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="description" content="Cloud Elements is an API Integration Platform built for application developers and API publishers">
<meta name="keywords" content="Cloud Elements, API Documentation, API Integration Platform, API Integration, API Management, Integration Tools">
<meta name="author" content="Cloud Elements">
<meta name="google-site-verification" content="RCqiEIyEbmcYtLZRYMOejbAaMr4EhW9jkorS6AbdJ_k" />
<title>Developer Portal | Cloud Elements</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,400italic" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/assets/font-awesome/css/font-awesome.min.css">
<link href="/assets/css/toolkit-light.css" rel="stylesheet">
<link href="/assets/css/docs.css" rel="stylesheet">
<link href="/assets/css/application.css" rel="stylesheet">
<link href="/assets/css/custom-styles.css" rel="stylesheet">
<script src="/api-docs/swagger-ui.js" type="text/javascript"></script>
<link rel="canonical" href="https://developers.cloud-elements.com/">
<!--[if lte IE 8]>
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2-legacy.js"></script>
<![endif]-->
<!-- <script src="https://code.jquery.com/jquery-1.10.2.js"></script> -->
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script>
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png">
<link rel="manifest" href="/favicon/manifest.json">
<link rel="mask-icon" href="/favicon/safari-pinned-tab.svg" color="#5bbad5">
<meta name="theme-color" content="#ffffff">
<style>
/* note: this is a hack for ios iframe for bootstrap themes shopify page */
/* this chunk of css is not part of the toolkit :) */
body {
width: 1px;
min-width: 100%;
*width: 100%;
}
</style>
</head>
<body class="with-top-navbar">
<!-- Main Nav -->
<!-- Include the aloglia light search client from jsdelivr-->
<script src="https://cdn.jsdelivr.net/algoliasearch/3/algoliasearchLite.min.js"></script>
<script type="text/javascript">
let client = algoliasearch('G8W6UO94HX', 'f8dafac4c9e969eecadf7f97f8d3f15f');
let index = client.initIndex('developer_portal_pages');
let results;
function executeSearch(){
let resultsList = document.getElementById('resultsList');
resultsList.innerHTML = '';
let searchTerm = document.getElementById('searchBox').value;
// Only execute the search if the user has entered at least 3 characters
if(searchTerm.length >= 3){
index.search(searchTerm, function searchDone(err, content) {
// Loop through the results returned by aloglia
console.log(content);
content.hits.forEach(element => {
let listItem = document.createElement('li');
listItem.setAttribute("class", "resultsItem");
listItem.innerHTML =
listItem.innerHTML + '<a class=\'resultItemLink\' href='+element.url+'>' + element.heading + ' | ' + element.title + '</a>' + '<br/>' + element._snippetResult.text.value;
resultsList.appendChild(listItem);
})
});
$(".searchResultsContainerActive").click(function(e){
console.log("was clicked");
console.log(e.target);
if($(e.target).is("a") || $(e.target).is("div[id='resultsContainer']")){
let resultsList = document.getElementById('resultsList');
$(resultsList).empty();
$("#searchBox").val("");
document.getElementById("resultsContainer").className = "searchResultsContainer";
}
})
}
if(searchTerm.length >= 3){
document.getElementById("resultsContainer").className = "searchResultsContainerActive";
}
else{
document.getElementById("resultsContainer").className = "searchResultsContainer";
}
}
</script>
<link href="/assets/css/navbar.css" rel="stylesheet">
<nav class="nav navbar navbar-light navbar-fixed-top">
<div class="container-fluid navbar-wraper">
<div class="navbar-header col-md-2">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a id="logo" class="navbar-brand navbar-brand-emphasized" href="http://cloud-elements.com/">
<img src="/assets/img/cloud-elements-logo.png" alt="Cloud Elements Logo" />
</a>
</div>
<div class="searchBoxContainer col-md-4 hidden-sm hidden-xs">
<div class="searchBoxWrapper">
<input
id="searchBox"
class="searchBox"
type="text"
placeholder="Search the docs..."
onkeyup="executeSearch()"
autocomplete="off"
>
<span class="icon icon-magnifying-glass"></span>
</div>
</div>
<div id="navbar" class="navbar-collapse collapse col-md-6 float-right">
<ul class="nav navbar-nav">
<li>
<a href="http://status.cloud-elements.com/">Status</a>
</li>
<li>
<a href="https://support.cloud-elements.com/hc/en-us">Support</a>
</li>
<li>
<a href="https://offers.cloud-elements.com/cloud-elements-free-trial-sign-up" target="_blank">
<button type="button" class="btn btn-lg btn-danger try-it">Try it For Free! <i class="fa fa-caret-right"></i></button>
</a>
</li>
</ul>
</div>
</div>
<div class="searchResultsContainer" id='resultsContainer'>
<div class="leftPadding col-md-3"> </div>
<div class="resultsWrapper col-md-6">
<ul id="resultsList">
</ul>
</div>
<div class="rightPadding col-md-3"></div>
</div>
<script>
// $(document).ready(function(){
// console.log('its ready');
// })
</script>
</nav>
<!-- END Main Nav -->
<div class="container-fluid pageContainer">
<div class="col-md-3 sidebar">
<link href="/assets/css/sidebar.css" rel="stylesheet">
<link href="/assets/css/release-notes.css" rel="stylesheet">
<script type="text/javascript">
let currentSelection="";
// Initialize the expanded menu
function setCurrentSelection(selection){
currentSelection = selection;
document.getElementById(selection).className = "accordionListActive";
}
// Accordion List toggle
function selectAccordion(selection) {
if(currentSelection != ""){
document.getElementById(currentSelection).className = "accordionList";
}
document.getElementById(selection).className = "accordionListActive";
currentSelection = selection;
}
</script>
<div class="sidebarWrapper" id="sidebarWrapper">
</div>
<!-- This section loads in the accordion menu from the sitemap.html file
Its too expensive to build the site map for each page in the portal -->
<script>
$(window).on('load',(e) => {
// Pull in the liquid generated sitemap
$("#sidebarWrapper").load("/docs/sitemap.html", () =>{
let pathWithQuery = `${window.location.pathname}${window.location.search}`;
// Expand the current high level accordion
let highLevelId = $(`a[href*='${pathWithQuery}']`).closest(`[class*='accordionList']`).attr("id");
if(highLevelId) setCurrentSelection(highLevelId);
// Expand the lower level heading
let currentSelection = $(`a[href*='${pathWithQuery}']`).closest('ul').find('.subItem');
if(currentSelection) currentSelection.attr('class', 'subItemActive');
// Create a click listener for sub items
// Accordion operations
$(".subHeading").click(function() {
let selection = $(this).parent().find(".subItem");
selection.attr('class', 'subItemActive');
if(currentSelection) currentSelection.attr('class', 'subItem');
currentSelection = selection;
});
// Initialized the highlighting wrapper
$(`.sidebarWrapper a[href='${pathWithQuery}']`).addClass("activeAccordionLink");
//Create Click listener for the links
$(".sidebarWrapper a").click((e)=> {
$(".activeAccordionLink").removeClass("activeAccordionLink");
$(e.target).addClass("activeAccordionLink");
})
});
});
</script>
</div>
<div class="col-md-9 contentWrapper">
<link href="/assets/css/landingPage.css" rel="stylesheet">
<script src="/assets/js/application.js"></script>
<link href="/assets/css/contentToggle.css" rel="stylesheet">
<div markdown="span" class="bs-callout bs-callout-warning" role="alert">
<h4>The docs are moving! </h4><p>Find us at our new <a href ="https://docs.cloud-elements.com/">Help Center</a> where we've combined our documentation and knowledgebase articles in one easy-to-search location.</p><p>We aren't updating the Developer Portal anymore, except for the Element Docs — all updates happen in the <a href ="https://docs.cloud-elements.com/">Help Center</a>. We're retiring the Developer Portal as you know it in:</p><h4 id="demo"></h4>
<script>
// Set the date we're counting down to
var countDownDate = new Date("December 14, 2018 20:00:00").getTime();
// Update the count down every 1 second
var x = setInterval(function() {
// Get todays date and time
var now = new Date().getTime();
// Find the distance between now an the count down date
var distance = countDownDate - now;
// Time calculations for days, hours, minutes and seconds
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
// Output the result in an element with id="demo"
document.getElementById("demo").innerHTML = days + " days " + hours + " hours " + minutes + "m " + seconds + "s ";
// If the count down is over, write some text
if (distance < 0) {
clearInterval(x);
document.getElementById("demo").innerHTML = "EXPIRED";
}
}, 1000);
</script>
</div>
<h2 id="cloud-elements-documentation">Cloud Elements Documentation</h2>
<p>Cloud Elements is the leading API integration platform for app providers and the digital enterprise. Our 100% API based service can be embedded seamlessly into your app, making it easy to build and offer an integration marketplace to your customers. </p>
<div class="landingPageTileWrapper">
<a href='/docs/quickstart/overview.html'>
<img src='/assets/img/icons/gettingStartedIcon.png'></img>
<div class='landingPageTextWrapper'>
<h2>Getting Started</h2>
<p>First time using Cloud Elements? Start here. </p>
</div>
</a>
<a href='/docs/guides/index.html'>
<img src='/assets/img/icons/formulasIcon.png'></img>
<div class='landingPageTextWrapper'>
<h2>Guides</h2>
<p>Guides on Formulas, Elements, Common Resources and more. </p>
</div>
</a>
<a href='/docs/elements.html'>
<img src='/assets/img/icons/elementsIcon.png'></img>
<div class='landingPageTextWrapper'>
<h2>Elements Documentation</h2>
<p>Documentation for all the elements in our catalog. </p>
</div>
</a>
<a href='/docs/release-notes'>
<img src='/assets/img/icons/notes icon icon.png'></img>
<div class='landingPageTextWrapper'>
<h2>Release Notes</h2>
<p>Read the latest Release Notes from Cloud Elements </p>
</div>
</a>
<div>
</div>
</div>
<script src="/assets/js/chart.js"></script>
<script src="/assets/js/tablesorter.min.js"></script>
<script src="/assets/js/toolkit.js"></script>
<script src="/assets/js/application.js"></script>
<script src="/assets/js/ajaxLoading.js"></script>
<!-- /_includes/google_analytics.html -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-32342187-1', 'auto');
//ga('create', 'UA-106858868-1', 'auto');
ga('send', 'pageview');
</script>
<!-- Start of Async HubSpot Analytics Code -->
<script type="text/javascript">
(function(d,s,i,r) {
if (d.getElementById(i)){return;}
var n=d.createElement(s),e=d.getElementsByTagName(s)[0];
n.id=i;n.src='//js.hs-analytics.net/analytics/'+(Math.ceil(new Date()/r)*r)+'/440197.js';
e.parentNode.insertBefore(n, e);
})(document,"script","hs-analytics",300000);
</script>
<!-- End of Async HubSpot Analytics Code -->
<!-- Engagio Tracking Script -->
<script type=“text/javascript” charset=“utf-8 ">
var _eiq = _eiq || [];
var _engagio_settings = {
accountId: “572b5582906e828baac61d212c133b568b913200”
};
(function() {
var ei = document.createElement(‘script’); ei.type = ‘text/javascript’; ei.async = true;
ei.src = (‘https:’ == document.location.protocol ? ‘https://’ : ‘http://’) + ‘web-analytics.engagio.com/js/ei.js’;
var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ei, s);
})();
</script>
<script>
// execute/clear BS loaders for docs
$(function(){while(window.BS&&window.BS.loader&&window.BS.loader.length){(window.BS.loader.pop())()}})
</script>
</body>
</html>