Added Error Codes specification

This commit is contained in:
Serg Melikyan 2013-05-08 11:54:50 +04:00
parent 6073de4e64
commit d17c1c251e

View File

@ -894,6 +894,25 @@ http://docbook.org/ns/docbook "
</tbody>
</tgroup>
</table>
<table frame='all'>
<title>Error Response Codes</title>
<tgroup cols='2' align='left' colsep='1' rowsep='1'>
<colspec colnum="1" colname="col1" colwidth="1*"/>
<colspec colnum="2" colname="col2" colwidth="4*"/>
<thead>
<row>
<entry>Code</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>401</entry>
<entry>User is not authorized to access this tenant resources</entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<section>
<title>Payload</title>
@ -957,6 +976,25 @@ http://docbook.org/ns/docbook "
</tbody>
</tgroup>
</table>
<table frame='all'>
<title>Error Response Codes</title>
<tgroup cols='2' align='left' colsep='1' rowsep='1'>
<colspec colnum="1" colname="col1" colwidth="1*"/>
<colspec colnum="2" colname="col2" colwidth="4*"/>
<thead>
<row>
<entry>Code</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>401</entry>
<entry>User is not authorized to access this tenant resources</entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<section>
<title>Payload</title>
@ -1032,6 +1070,25 @@ http://docbook.org/ns/docbook "
</tbody>
</tgroup>
</table>
<table frame='all'>
<title>Error Response Codes</title>
<tgroup cols='2' align='left' colsep='1' rowsep='1'>
<colspec colnum="1" colname="col1" colwidth="1*"/>
<colspec colnum="2" colname="col2" colwidth="4*"/>
<thead>
<row>
<entry>Code</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>401</entry>
<entry>User is not authorized to access this tenant resources</entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<section>
<title>Payload</title>
@ -1143,6 +1200,25 @@ http://docbook.org/ns/docbook "
</tbody>
</tgroup>
</table>
<table frame='all'>
<title>Error Response Codes</title>
<tgroup cols='2' align='left' colsep='1' rowsep='1'>
<colspec colnum="1" colname="col1" colwidth="1*"/>
<colspec colnum="2" colname="col2" colwidth="4*"/>
<thead>
<row>
<entry>Code</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>403</entry>
<entry>Could not open session for environment, environment has deploying status</entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<section>
<title>Payload</title>
@ -1200,6 +1276,29 @@ http://docbook.org/ns/docbook "
</tbody>
</tgroup>
</table>
<table frame='all'>
<title>Error Response Codes</title>
<tgroup cols='2' align='left' colsep='1' rowsep='1'>
<colspec colnum="1" colname="col1" colwidth="1*"/>
<colspec colnum="2" colname="col2" colwidth="4*"/>
<thead>
<row>
<entry>Code</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>403</entry>
<entry>Session is invalid</entry>
</row>
<row>
<entry>403</entry>
<entry>Session is already deployed or deployment is in progress</entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<section>
<title>Payload</title>
@ -1244,6 +1343,29 @@ http://docbook.org/ns/docbook "
</tbody>
</tgroup>
</table>
<table frame='all'>
<title>Error Response Codes</title>
<tgroup cols='2' align='left' colsep='1' rowsep='1'>
<colspec colnum="1" colname="col1" colwidth="1*"/>
<colspec colnum="2" colname="col2" colwidth="4*"/>
<thead>
<row>
<entry>Code</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>401</entry>
<entry>User is not authorized to access this session</entry>
</row>
<row>
<entry>403</entry>
<entry>Session is invalid</entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<section>
<title>Payload</title>
@ -1301,6 +1423,29 @@ http://docbook.org/ns/docbook "
</tbody>
</tgroup>
</table>
<table frame='all'>
<title>Error Response Codes</title>
<tgroup cols='2' align='left' colsep='1' rowsep='1'>
<colspec colnum="1" colname="col1" colwidth="1*"/>
<colspec colnum="2" colname="col2" colwidth="4*"/>
<thead>
<row>
<entry>Code</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>401</entry>
<entry>User is not authorized to access this session</entry>
</row>
<row>
<entry>403</entry>
<entry>Session is in deploying state and could not be deleted</entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<section>
<title>Payload</title>