"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "api-ref/source/v2/devices.inc" between
openstack-cyborg-6.0.0.tar.gz and openstack-cyborg-7.0.0.tar.gz

About: OpenStack Cyborg provides a general purpose management framework for acceleration resources.
The "Xena" series (latest release).

devices.inc  (openstack-cyborg-6.0.0):devices.inc  (openstack-cyborg-7.0.0)
skipping to change at line 24 skipping to change at line 24
.. rest_method:: GET /v2/devices .. rest_method:: GET /v2/devices
Lists UUIDs, names, type and more informations for all devices. Lists UUIDs, names, type and more informations for all devices.
Normal response codes: 200 Normal response codes: 200
Error response codes: unauthorized(401), forbidden(403) Error response codes: unauthorized(401), forbidden(403)
**Example response: list all devices** **Example response: list all devices**
.. literalinclude:: ../../../doc/api_samples/devices/devices-list-resp.json .. literalinclude:: ../../doc/api_samples/devices/devices-list-resp.json
:language: javascript :language: javascript
Get One Device Get One Device
-------------- --------------
.. rest_method:: GET /v2/devices/{device_uuid} .. rest_method:: GET /v2/devices/{device_uuid}
Gets the UUID, name, type and more informations for one device with the specifie d UUID. Gets the UUID, name, type and more informations for one device with the specifie d UUID.
Normal response codes: 200 Normal response codes: 200
skipping to change at line 46 skipping to change at line 46
Error response codes: badRequest(400), unauthorized(401), forbidden(403) Error response codes: badRequest(400), unauthorized(401), forbidden(403)
Request Request
======= =======
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- device_uuid: device_uuid - device_uuid: device_uuid
**Example response: show details of a specific device** **Example response: show details of a specific device**
.. literalinclude:: ../../../doc/api_samples/devices/devices-getone-resp.json .. literalinclude:: ../../doc/api_samples/devices/devices-getone-resp.json
:language: javascript :language: javascript
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)