Fix errors in metadata scecification

Change-Id: Ifccb0c5dbadbc4a0ecfa9d7a871c0353730ab522
This commit is contained in:
Ekaterina Fedorova 2013-12-10 11:37:06 +04:00 committed by Gerrit Code Review
parent f666477b00
commit adc5321952
1 changed files with 17 additions and 8 deletions

View File

@ -1300,7 +1300,7 @@
<entry>full_service_name</entry>
<entry>Identifies the type service (corresponds to
full_service_name in manifest)</entry>
<entry>false</entry>
<entry>true</entry>
</row>
</tbody>
</tgroup>
@ -1322,10 +1322,6 @@
<entry>User is not authorized to access this tenant
resources</entry>
</row>
<row>
<entry>404</entry>
<entry>The full_service_name is unknown</entry>
</row>
<row>
<entry>400</entry>
<entry>If specified full_service_name is not equivalent to that
@ -1335,8 +1331,22 @@
</tgroup>
</table>
<para><emphasis role="bold">Payload</emphasis></para>
<para>All files from archive are copied to corresponds location in
<para>New manifest created in manifests directory.
Metadata Service</para>
<para><emphasis role="bold">Example</emphasis></para>
<para>Here are json that will create new service manifest in Metadata Repository
(json for service update looks the same - all data will be overwritten with the new one).
Note that service_display_name is a required parameter and full_service_name should correspond
to<filename>full_service_name</filename> given in URL or skipped.
<programlisting>
{
"full_service_name": "new_service",
"service_display_name" : "Test Service",
"version": "0.1"
}
</programlisting>
All other parameters will be set to default parameters.
</para>
<para><emphasis role="bold">Returns</emphasis></para>
<para>
In case of successful result this call returns a json:
@ -1417,8 +1427,7 @@
</tgroup>
</table>
<para><emphasis role="bold">Payload</emphasis></para>
<para>All files from archive are copied to corresponds location in
Metadata Service</para>
<para>Manifest for specified service deleted from </para>
<para><emphasis role="bold">Returns</emphasis></para>
<para>
In case of successful result this call returns a json: