e77dbe04ac
We do not need these namespaces like xmlns:svg and xmlns:html anywhere, remove the declarations. Change-Id: Ic6aa62c28b2b21092d1e1d5c6f431807519f59af
24 lines
1.2 KiB
XML
24 lines
1.2 KiB
XML
<section xml:id="image-configuring-api"
|
|
xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
version="5.0">
|
|
<title>Configure the API</title>
|
|
<para>The Image Service has two APIs: the user-facing API, and
|
|
the registry API, which is for internal requests that require
|
|
access to the database.</para>
|
|
<para>Both of the APIs currently have two major versions, v1 and v2.
|
|
It is possible to run either or both version, by setting appropriate
|
|
values of <literal>enable_v1_api</literal>,
|
|
<literal>enable_v2_api</literal>, <literal>enable_v1_registry</literal> and
|
|
<literal>enable_v2_registry</literal>. If the v2 API is used, running
|
|
<systemitem class="service">glance-registry</systemitem> is optional, as
|
|
v2 of <systemitem class="service">glance-api</systemitem>
|
|
can connect directly to the database.</para>
|
|
<para>Tables of all options used to configure the APIs, including enabling
|
|
SSL and modifying WSGI settings are found below.</para>
|
|
<xi:include href="../../common/tables/glance-api.xml"/>
|
|
<xi:include href="../../common/tables/glance-ssl.xml"/>
|
|
<xi:include href="../../common/tables/glance-wsgi.xml"/>
|
|
</section>
|