Files
cloudkitty/doc/source/api-reference/v2/dataframes/dataframes.inc
Justin Ferrieu 6e8efde432 Add a v2 API endpoint to push DataFrame objects
A new endpoint has been made available to admin users on
``POST /v2/dataframes``. This will allow end users to push
DataFrames in the form of JSON objects into the CloudKitty
storage.

Documentation and unit tests are included in this commit.

Depends-On: https://review.opendev.org/#/c/668669/
Change-Id: I42641462ecbac89f400a257805fc99f4027903b3
Story: 2005890
Task: 35953
2019-08-26 08:37:32 +00:00

42 lines
670 B
HTML

===================
Dataframes endpoint
===================
Add dataframes into the storage backend
=======================================
Add dataframes into the storage backend.
.. rest_method:: POST /v2/dataframes
.. rest_parameters:: dataframes/dataframes_parameters.yml
- dataframes: dataframes_body
Request Example
---------------
In the body:
.. literalinclude:: ./api_samples/dataframes/dataframes_post.json
:language: javascript
Status codes
------------
.. rest_status_code:: success http_status.yml
- 204
.. rest_status_code:: error http_status.yml
- 400
- 401
- 403
- 405
Response
--------
No content is to be returned.