Add 409 response code to add samples to meter
Change-Id: I5e34915032710afa504078d5fa165ac65d2cf151 Closes-Bug: #1435868
This commit is contained in:
parent
ffebf13092
commit
34714a740d
|
@ -1,3 +1,9 @@
|
|||
<!ENTITY fault409 '
|
||||
<response status="409" xmlns="http://wadl.dev.java.net/2009/02">
|
||||
<representation mediaType="application/xml"
|
||||
element="csapi:conflict"/>
|
||||
<representation mediaType="application/json"/>
|
||||
</response>'>
|
||||
<!-- Response parameters of the Capabilities endpoint -->
|
||||
<!ENTITY capabilitiesListParameters '
|
||||
<param xmlns="http://wadl.dev.java.net/2009/02" required="true"
|
||||
|
|
|
@ -267,6 +267,10 @@
|
|||
<para role="shortdesc">
|
||||
Adds samples to a meter, by meter name.
|
||||
</para>
|
||||
<para>
|
||||
If you attempt to add a sample that is not supported, this
|
||||
call returns the <code>409</code> response code.
|
||||
</para>
|
||||
</wadl:doc>
|
||||
<request>
|
||||
<representation mediaType="application/json">
|
||||
|
@ -318,6 +322,7 @@
|
|||
</wadl:doc>
|
||||
</representation>
|
||||
</response>
|
||||
&fault409;
|
||||
</method>
|
||||
<method id="listSamplesStatistics" name="GET">
|
||||
<wadl:doc title="Show meter statistics" xml:lang="EN"
|
||||
|
|
Loading…
Reference in New Issue