<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="generator" content="smart-doc">
    <%if(isNotEmpty(projectName)){%><title>${projectName}</title><%}else{%><title>API Reference</title><%}%>
    <link rel="stylesheet" href="font.css">
    <link rel="stylesheet" href="AllInOne.css?v=${version}"/>
    <%if(isNotEmpty(highlightCssLink)){%><link rel="stylesheet" href="${highlightCssLink}"><%}%>
    <style>.literalblock pre, .listingblock pre:not(.highlight), .listingblock pre[class="highlight"], .listingblock pre[class^="highlight "], .listingblock pre.CodeRay, .listingblock pre.prettyprint {
        background: ${background};
    }

    .hljs {
        padding: 0em;
    }</style>
    <script src="highlight.min.js"></script>
    <script src="jquery.min.js"></script>
</head>
<body class="book toc2 toc-left">
<div id="header"><%if(isNotEmpty(projectName)){%><h1>${projectName}</h1><%}%>
    <div id="toc" class="toc2">
        <div id="book-search-input"><input id="search" type="text" placeholder="Type to search"></div>
        <div id="toctitle"><span>API Reference</span></div>
        <ul id="accordion" class="sectlevel1"><%for(api in apiDocList){%><% var myStyle = "display: none"; var liClass =
            ""; if(api.order==order){ myStyle= "display: block"; liClass = "open"; }%><%if(apiLP.first){%>
            <li class="${liClass}"><a class="dd" href="${alias}.html#header">${api.order}.&nbsp;${htmlEscape(api.desc)}</a>
                <ul class="sectlevel2" style="${myStyle}"><%for(doc in api.list){%>
                    <li><%if(doc.deprecated){%><a href="${alias}.html#_${api.order}_${doc.order}_${doc.desc}">${api.order}.${doc.order}.&nbsp;<span
                            class="line-through">${htmlEscape(doc.desc)}</span></a><%}else{%><a
                            href="${alias}.html#_${api.order}_${doc.order}_${doc.desc}">${api.order}.${doc.order}.&nbsp;${htmlEscape(doc.desc)}</a><%}%>
                    </li>
                    <%}%>
                </ul>
            </li>
            <%}else{%>
            <li class="${liClass}"><a class="dd" href="${api.alias}.html#header">${api.order}.&nbsp;${htmlEscape(api.desc)}</a>
                <ul class="sectlevel2" style="${myStyle}"><%for(doc in api.list){%>
                    <li><%if(doc.deprecated){%><a href="${api.alias}.html#_${api.order}_${doc.order}_${doc.desc}">${api.order}.${doc.order}.&nbsp;<span
                            class="line-through">${htmlEscape(doc.desc)}</span></a><%}else{%><a
                            href="${api.alias}.html#_${api.order}_${doc.order}_${doc.desc}">${api.order}.${doc.order}.&nbsp;${htmlEscape(doc.desc)}</a><%}%>
                    </li>
                    <%}%>
                </ul>
            </li>
            <%}%><%}%><%if(isNotEmpty(errorCodeList)){%>
            <li><a href="error.html#header">${apiDocList.~size+1}.&nbsp;${errorListTitle}</a></li>
            <%}%><%if(isNotEmpty(dictList)){%>
            <li><a class="dd" href="dict.html#header">${dictListOrder}.&nbsp;${dictListTitle}</a>
                <ul class="sectlevel2"><%for(dict in dictList){%>
                    <li><a href="dict.html#_${dictListOrder}_${dict.order}_${dict.title}">${dictListOrder}.${dict.order}.&nbsp;${htmlEscape(dict.title)}</a>
                    </li>
                    <%}%>
                </ul>
            </li>
            <%}%>
        </ul>
    </div>
</div>
<div id="content">
    <div class="sect1"><h2 id="_${desc}"><a class="anchor" href="#_${desc}"></a><a class="link" href="#_${desc}">${order}.&nbsp;${htmlEscape(desc)}</a>
    </h2>
        <div class="sectionbody"><%for(doc in list){%>
            <div class="sect2"><h3 id="_${order}_${doc.order}_${doc.desc}">
                <a class="anchor" href="#_${order}_${doc.order}_${doc.desc}"></a><%if(doc.deprecated){%><a
                    class="link" href="#_${order}_${doc.order}_${doc.desc}">${order}.${doc.order}.&nbsp;<span
                    class="line-through">${htmlEscape(doc.desc)}</span></a><%}else{%>
                <a class="link" href="#_${order}_${doc.order}_${doc.desc}">${order}.${doc.order}.&nbsp;${htmlEscape(doc.desc)}</a><%}%>
            </h3>
                <div class="paragraph"><p><strong>URL:</strong><a href="${doc.url}" class="bare">&nbsp;${doc.url}</a>
                </p></div>
                <div class="paragraph"><p><strong>Type:</strong>&nbsp;${doc.type}</p></div>
                <%if(isNotEmpty(doc.author)){%>
                <div class="paragraph"><p><strong>Author:</strong>&nbsp;${doc.author}</p></div>
                <%}%>
                <div class="paragraph"><p><strong>Content-Type:</strong>&nbsp;${doc.contentType}</p></div>
                <div class="paragraph"><p><strong>Description:</strong>&nbsp;${lineBreaksToBr(doc.detail)}</p></div>
                <%if(isNotEmpty(doc.requestHeaders)){%>
                <div class="paragraph"><p><strong>Request-headers:</strong></p></div>
                <table class="tableblock frame-all grid-all spread">
                    <colgroup>
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                    </colgroup>
                    <thead>
                    <tr>
                        <th class="tableblock halign-left valign-top">Header</th>
                        <th class="tableblock halign-left valign-top">Type</th>
                        <th class="tableblock halign-left valign-top">Description</th>
                        <th class="tableblock halign-left valign-top">Required</th>
                        <th class="tableblock halign-left valign-top">Since</th>
                    </tr>
                    </thead>
                    <tbody><%for(header in doc.requestHeaders){%>
                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${header.name}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${header.type}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${htmlEscape(header.desc)}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${header.required}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${header.since}</p></td>
                    </tr>
                    <%}%>
                    </tbody>
                </table>
                <%}%><%if(isNotEmpty(doc.pathParams)){%>
                <div class="paragraph"><p><strong>Path-parameters:</strong></p></div>
                <table class="tableblock frame-all grid-all spread">
                    <colgroup>
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                    </colgroup>
                    <thead>
                    <tr>
                        <th class="tableblock halign-left valign-top">Parameter</th>
                        <th class="tableblock halign-left valign-top">Type</th>
                        <th class="tableblock halign-left valign-top">Description</th>
                        <th class="tableblock halign-left valign-top">Required</th>
                        <th class="tableblock halign-left valign-top">Since</th>
                    </tr>
                    </thead>
                    <tbody><%for(param in doc.pathParams){%>
                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.field}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.type}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${htmlEscape(param.desc)}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.required}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.version}</p></td>
                    </tr>
                    <%}%>
                    </tbody>
                </table>
                <%}%><%if(isNotEmpty(doc.queryParams)){%>
                <div class="paragraph"><p><strong>Query-parameters:</strong></p></div>
                <table class="tableblock frame-all grid-all spread">
                    <colgroup>
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                    </colgroup>
                    <thead>
                    <tr>
                        <th class="tableblock halign-left valign-top">Parameter</th>
                        <th class="tableblock halign-left valign-top">Type</th>
                        <th class="tableblock halign-left valign-top">Description</th>
                        <th class="tableblock halign-left valign-top">Required</th>
                        <th class="tableblock halign-left valign-top">Since</th>
                    </tr>
                    </thead>
                    <tbody><%for(param in doc.queryParams){%>
                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.field}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.type}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${htmlEscape(param.desc)}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.required}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.version}</p></td>
                    </tr>
                    <%}%>
                    </tbody>
                </table>
                <%}%><%if(isNotEmpty(doc.requestParams)){%>
                <div class="paragraph"><p><strong>Body-parameters:</strong></p></div>
                <table class="tableblock frame-all grid-all spread">
                    <colgroup>
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                    </colgroup>
                    <thead>
                    <tr>
                        <th class="tableblock halign-left valign-top">Parameter</th>
                        <th class="tableblock halign-left valign-top">Type</th>
                        <th class="tableblock halign-left valign-top">Description</th>
                        <th class="tableblock halign-left valign-top">Required</th>
                        <th class="tableblock halign-left valign-top">Since</th>
                    </tr>
                    </thead>
                    <tbody><%for(param in doc.requestParams){%>
                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.field}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.type}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${htmlEscape(param.desc)}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.required}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.version}</p></td>
                    </tr>
                    <%}%>
                    </tbody>
                </table>
                <%}%><%if(isNotEmpty(doc.requestUsage)&&isRequestExample){%>
                <div class="paragraph"><p><strong>Request-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="bash">${doc.requestUsage}</code></pre>
                    </div>
                </div>
                <%}%><%if(isNotEmpty(doc.responseParams)){%>
                <div class="paragraph"><p><strong>Response-fields:</strong></p></div>
                <table class="tableblock frame-all grid-all spread">
                    <colgroup>
                        <col style="width: 25%;">
                        <col style="width: 25%;">
                        <col style="width: 25%;">
                        <col style="width: 25%;">
                    </colgroup>
                    <thead>
                    <tr>
                        <th class="tableblock halign-left valign-top">Field</th>
                        <th class="tableblock halign-left valign-top">Type</th>
                        <th class="tableblock halign-left valign-top">Description</th>
                        <th class="tableblock halign-left valign-top">Since</th>
                    </tr>
                    </thead>
                    <tbody><%for(param in doc.responseParams){%>
                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.field}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.type}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${htmlEscape(param.desc)}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.version}</p></td>
                    </tr>
                    <%}%>
                    </tbody>
                </table>
                <%}%><%if(isNotEmpty(doc.responseUsage)&&isResponseExample){%>
                <div class="paragraph"><p><strong>Response-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="json">${doc.responseUsage}</code></pre>
                    </div>
                </div>
                <%}%>
            </div>
            <%}%>
        </div>
    </div>
    <footer class="page-footer"><span class="copyright">Generated by smart-doc at ${createTime}</span><span
            class="footer-modification">Suggestions,contact,support and error reporting on<a
            href="https://gitee.com/smart-doc-team/smart-doc" target="_blank">&nbsp;Gitee</a>&nbsp;or<a
            href="https://github.com/smart-doc-group/smart-doc.git" target="_blank">&nbsp;Github</a></span></footer>
</div>
<script src="search.js?v=${version}"></script>
<script>
    $(function () {
        const Accordion = function (el, multiple) {
            this.el = el || {};
            this.multiple = multiple || false;
            const links = this.el.find('.dd');
            links.on('click', {el: this.el, multiple: this.multiple}, this.dropdown);
        };
        Accordion.prototype.dropdown = function (e) {
            const $el = e.data.el;
            const $this = $(this), $next = $this.next();
            $next.slideToggle();
            $this.parent().toggleClass('open');
            if (!e.data.multiple) {
                $el.find('.submenu').not($next).slideUp("20").parent().removeClass('open');
            }
        };
        new Accordion($('#accordion'), false);
        hljs.highlightAll()
    });
</script>
</body>
</html>
