Revision 9c6bd23f snf-astakos-app/astakos/im/templates/im/api_access_base.html
b/snf-astakos-app/astakos/im/templates/im/api_access_base.html | ||
---|---|---|
11 | 11 |
{% block page.body %} |
12 | 12 |
<form>{% csrf_token %}</form> |
13 | 13 |
<div class="api-access-view"> |
14 |
<div class="subsection">
|
|
14 |
<div> |
|
15 | 15 |
{% block page.body.title %} |
16 |
<h2>API ACCESS</h2> |
|
17 |
{% endblock %} |
|
18 |
{% block page.body.description %} |
|
19 |
<div class="two-cols dotted clearfix"> |
|
20 |
<div class="rt"> |
|
21 |
<p> |
|
22 |
If |
|
23 |
you want to learn more about the specification of the REST API itself, |
|
24 |
please take a look at the <a href="https://www.synnefo.org/docs" |
|
25 |
alt="Synnefo documentation">Synnefo documentation</a>. |
|
26 |
</p> |
|
27 |
</div> |
|
28 |
<div class="lt"> |
|
29 |
<p>{{ BRANDING_SERVICE_NAME }} provides a complete REST API that allows you to access and |
|
30 |
control your virtual resources programmatically. This means you can execute |
|
31 |
all the actions you do from the {{ BRANDING_SERVICE_NAME }} Web UI by using a command |
|
32 |
line client or importing the corresponding library inside your own code.</p> |
|
33 |
</div> |
|
34 |
|
|
35 |
</div> |
|
36 |
|
|
16 |
<h2>API details</h2> |
|
37 | 17 |
{% endblock %} |
18 |
<p class="dotted"> |
|
19 |
To use {{ BRANDING_SERVICE_NAME }} via its REST API you will need the following Authentication URL |
|
20 |
and API token:<br /><br /> |
|
21 |
</p> |
|
38 | 22 |
</div> |
39 |
|
|
40 | 23 |
<div class="subsection dotted"> |
41 | 24 |
{% block page.body.token %} |
42 |
<h2>API details</h2> |
|
43 |
<p> |
|
44 |
To use {{ BRANDING_SERVICE_NAME }} via its REST API you will need the following Authentication URL |
|
45 |
and API token:<br /><br /> |
|
46 |
</p> |
|
25 |
|
|
26 |
|
|
47 | 27 |
<div class="token-view"> |
48 | 28 |
<div class="detail small clearfix"> |
49 | 29 |
<span class="title">Authentication URL</span> |
... | ... | |
67 | 47 |
<a href="#" class="do">renew token</a> |
68 | 48 |
<a href="#" class="confirm">confirm</a> |
69 | 49 |
<a href="#" class="close">x</a> |
70 |
<p class="sub">Every time you renew it, make sure to |
|
71 |
update the clients you use with the new token.</p> |
|
50 |
<p class="sub"><span>Every time you renew it, make sure to
|
|
51 |
update the clients you use with the new token.</span></p>
|
|
72 | 52 |
</div> |
73 | 53 |
</div> |
74 | 54 |
|
... | ... | |
80 | 60 |
{% endblock %} |
81 | 61 |
</div> |
82 | 62 |
|
83 |
|
|
63 |
<div class="subsection"> |
|
64 |
|
|
65 |
<h2>GENERAL</h2> |
|
66 |
|
|
67 |
{% block page.body.description %} |
|
68 |
<div class="two-cols dotted clearfix"> |
|
69 |
<div class="rt"> |
|
70 |
<p> |
|
71 |
If |
|
72 |
you want to learn more about the specification of the REST API itself, |
|
73 |
please take a look at the <a href="https://www.synnefo.org/docs" |
|
74 |
alt="Synnefo documentation">Synnefo documentation</a>. |
|
75 |
</p> |
|
76 |
</div> |
|
77 |
<div class="lt"> |
|
78 |
<p>{{ BRANDING_SERVICE_NAME }} provides a complete REST API that allows you to access and |
|
79 |
control your virtual resources programmatically. This means you can execute |
|
80 |
all the actions you do from the {{ BRANDING_SERVICE_NAME }} Web UI by using a command |
|
81 |
line client or importing the corresponding library inside your own code.</p> |
|
82 |
</div> |
|
83 |
|
|
84 |
</div> |
|
85 |
|
|
86 |
{% endblock %} |
|
87 |
</div> |
|
84 | 88 |
|
85 | 89 |
<div class="two-cols dotted clearfix"> |
86 | 90 |
<div class="rt"> |
Also available in: Unified diff