Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 46564e6

Browse files
committedApr 21, 2013
Expand SOAP API documentation
Fixes #14301: Add SOAP API documentation in the administration guide
1 parent e957627 commit 46564e6

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed
 

‎docbook/administration_guide/en/configuration.sgml

+30-1
Original file line numberDiff line numberDiff line change
@@ -3367,7 +3367,11 @@
33673367

33683368
<section id="admin.config.soap">
33693369
<title>SOAP API</title>
3370-
<para>These options are used to control the behaviour of the MantisBT SOAP API and are usually configured in <literal>api/soap/mc_config_inc.php</literal>.</para>
3370+
3371+
<para>MantisBT exposes a SOAP API which allows remote clients to interact with MantisBT and perform many of the usual tasks, such as reporting issues, running filtered searches and retrieving attachments. The SOAP API is enabled by default and available at <literal>/api/soap/mantisconnect.php</literal> below your installation root.</para>
3372+
<para>A WSDL file which describes the web service is available at <literal>/api/soap/mantisconnect.php?wsdl</literal> below your installation root.</para>
3373+
3374+
<para>The following options are used to control the behaviour of the MantisBT SOAP API and are usually configured in <literal>api/soap/mc_config_inc.php</literal>.</para>
33713375
<variablelist>
33723376
<varlistentry>
33733377
<term>$g_mc_use_nusoap</term>
@@ -3376,7 +3380,32 @@
33763380
Flag controlling the library to use for SOAP communication. When the native PHP extension is available this flag default to OFF, which means that nusoap will not used. The native extension has the advantage of being faster, more memory efficient and maintained to work with recent versions on PHP. When the extension is not available MantisBT falls back to using nusoap.</para>
33773381
</listitem>
33783382
</varlistentry>
3383+
<varlistentry>
3384+
<term>$g_mc_readonly_access_level_threshold</term>
3385+
<listitem>
3386+
<para>Minimum global access level required to access webservice for readonly operations.</para>
3387+
</listitem>
3388+
</varlistentry>
3389+
<varlistentry>
3390+
<term>$g_mc_readwrite_access_level_threshold</term>
3391+
<listitem>
3392+
<para>Minimum global access level required to access webservice for read/write operations.</para>
3393+
</listitem>
3394+
</varlistentry>
3395+
<varlistentry>
3396+
<term>$g_mc_admin_access_level_threshold</term>
3397+
<listitem>
3398+
<para>Minimum global access level required to access the administrator webservices.</para>
3399+
</listitem>
3400+
</varlistentry>
33793401
</variablelist>
3402+
3403+
<section id="admin.config.soap.disable">
3404+
<title>Disabling the SOAP API</title>
3405+
<para>If you wish to temporarily disable the SOAP API it is sufficient to set the specific access thresholds to NOBODY in <literal>api/soap/mc_config_inc.php</literal>:</para>
3406+
<para><literal>$g_mc_readonly_access_level_threshold = $g_mc_readwrite_access_level_threshold = $g_mc_admin_access_level_threshold = NOBODY;</literal></para>
3407+
<para>While the SOAP API will still be accessible, it will not allow users to retrieve or modify data.</para>
3408+
</section>
33803409
</section>
33813410

33823411
<section id="admin.config.mantistouch">

0 commit comments

Comments
 (0)
Please sign in to comment.