mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-06-13 16:19:30 +08:00
103 lines
4.1 KiB
HTML
103 lines
4.1 KiB
HTML
{% extends "base.html" %}
|
|
{% from '_docsection.html' import docsection %}
|
|
|
|
{% block scripts %}
|
|
{{ super() }}
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.5/highlight.min.js"></script>
|
|
<script>hljs.initHighlightingOnLoad();</script>
|
|
{% endblock %}
|
|
|
|
{% block desktop_navbar %}
|
|
{{ super() }}
|
|
<div class="content">
|
|
<div class="container-fluid pull-left col-sm-6 head-zone">
|
|
<div></div>
|
|
</div>
|
|
<!--<div class="container-fluid head-code">
|
|
<ul class="nav navbar-nav head-in">
|
|
<li>
|
|
<a href="#" class="active">curl</a>
|
|
</li>
|
|
<li>
|
|
<a href="#">Python</a>
|
|
</li>
|
|
</ul>
|
|
</div>-->
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div>
|
|
<!-- sidebar navbar - changes here need to reflect on mobile .navbar-collapse -->
|
|
<div class="pull-left sidebar hidden-xs hidden-sm">
|
|
<div class="list-group">
|
|
<a href="/#" class="list-group-item">Getting Started</a>
|
|
|
|
{% for group_name, subgroups in grouped_calls.iteritems() %}
|
|
<h5 class="navheader">{{ group_name }}</h5>
|
|
{% for subgroup_name, group_entries in subgroups.iteritems() %}
|
|
{% if subgroups|length > 1 and subgroup_name %}
|
|
<h7 class="navheader">{{ subgroup_name }}</h7>
|
|
{% endif %}
|
|
{% for call in group_entries %}
|
|
<a href="/#{{ call.anchor_tag }}" class="list-group-item">{{ call.title }}</a>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
|
|
</div>
|
|
</div><!--/sidebar navbar -->
|
|
<div id="background" class="hidden-xs">
|
|
<div class="background-actual"></div>
|
|
</div>
|
|
<div class="content">
|
|
<div>
|
|
<section>
|
|
<div class="container pull-left col-sm-12 segment-wrapper" id="get-started">
|
|
<div class="container-fluid col-sm-6 segment-zone" style="border:none;">
|
|
<div class="seg-zone-wrap">
|
|
<h3>Getting Started</h3>
|
|
<p>
|
|
Welcome to this deployment of Blockstack Core v{{server_info.server_version}}. You can read the documentation and make RESTful calls to this node.
|
|
</p>
|
|
|
|
<p>
|
|
<table>
|
|
<tr>
|
|
<td>Consensus hash</td>
|
|
<td>{{server_info.consensus}}</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Last block seen</td>
|
|
<td>{{server_info.last_block_seen}}</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="padding:0px 20px 0px 0px;">Last block processed</td>
|
|
<td>{{server_info.last_block_processed}}</td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
Blockstack Core is open-source software released under a GPLv3 license. The code for this API is <a href="https://github.com/blockstack/blockstack-core/tree/master/api">available on Github</a> and you can deploy your own nodes by following <a href="https://github.com/blockstack/blockstack-core/tree/master/api">these instructions</a>.
|
|
</p>
|
|
<p>
|
|
Note that this page does not yet contain the full set of supported API calls. More recent documentation of supported API calls can be found on our <a href="https://github.com/blockstack/blockstack-core/blob/api/docs/api-specs.md">Github</a>, though not all of those are enabled on the public Blockstack node.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
{% for api_call in api_calls %}
|
|
{{ docsection(api_call, server_url) }}
|
|
{% endfor %}
|
|
</div>
|
|
|
|
</div>
|
|
{% endblock %}
|