openstack-manuals/doc/config-reference/image-service/section_image-service-api.xml
Christian Berendt a6bce01980 Unified the syntax of the XML root element (config-reference)
The XML root element of Docbook XML files should match the following
format:

<ELEMENT xmlns="http://docbook.org/ns/docbook"
  xmlns:xi="http://www.w3.org/2001/XInclude"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  version="5.0"
  xml:id="THE_XML_ID_OF_THE_ELEMENT">

Change-Id: I02a75b63d0fb3ea4a7d015794b9229a94ddad279
2014-07-10 14:11:19 +02:00

24 lines
1.2 KiB
XML

<section xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="5.0"
xml:id="image-configuring-api">
<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 versions, 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 the 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>