Add Sample ReST API path in webapi document
Sample type has been described in webapi document, but API path is missing, this patch fixes it. Change-Id: I09248aac036479c9ccd250824de4df05713bfaa1 Closes-Bug: #1388507
This commit is contained in:
parent
6eac318612
commit
e48e1736d7
@ -1162,9 +1162,9 @@ class SamplesController(rest.RestController):
|
||||
|
||||
@wsme_pecan.wsexpose(Sample, wtypes.text)
|
||||
def get_one(self, sample_id):
|
||||
"""Return a sample
|
||||
"""Return a sample.
|
||||
|
||||
:param sample_id: the id of the sample
|
||||
:param sample_id: the id of the sample.
|
||||
"""
|
||||
f = storage.SampleFilter(message_id=sample_id)
|
||||
|
||||
|
@ -31,6 +31,9 @@ Meters
|
||||
Samples and Statistics
|
||||
======================
|
||||
|
||||
.. rest-controller:: ceilometer.api.controllers.v2:SamplesController
|
||||
:webprefix: /v2/samples
|
||||
|
||||
.. autotype:: ceilometer.api.controllers.v2.Sample
|
||||
:members:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user