| 1 |
.. -*- rst -*- |
| 2 |
.. needs:body_verification |
| 3 |
|
| 4 |
Deployables |
| 5 |
+++++++++++ |
| 6 |
|
| 7 |
Lists, shows details for deployables. |
| 8 |
|
| 9 |
A `deployables` represent a logical unit of an acceleration card, such as re-configurable |
| 10 |
region of an FPGA card. |
| 11 |
|
| 12 |
List Deployables |
| 13 |
---------------- |
| 14 |
|
| 15 |
.. rest_method:: GET /v2/deployables |
| 16 |
|
| 17 |
Lists UUIDs, names, attribute list and more information for all deployables. |
| 18 |
|
| 19 |
Normal response codes: 200 |
| 20 |
|
| 21 |
Error response codes: badRequest(400), unauthorized(401), forbidden(403), internalServerError(500) |
| 22 |
|
| 23 |
Request |
| 24 |
======= |
| 25 |
.. rest_parameters:: parameters.yaml |
| 26 |
|
| 27 |
- filters: filters |
| 28 |
|
| 29 |
Response |
| 30 |
======== |
| 31 |
.. rest_parameters:: parameters.yaml |
| 32 |
|
| 33 |
- deployables: deployables |
| 34 |
- uuid: deployable_uuid_resp |
| 35 |
- parent_id: deployable_parent_id |
| 36 |
- root_id: deployable_root_id |
| 37 |
- name: deployable_name |
| 38 |
- num_accelerators: deployable_num_accelerators |
| 39 |
- device_id: deployable_device_id |
| 40 |
- attributes_list: deployable_attributes_list |
| 41 |
- rp_uuid: deployable_rp_uuid |
| 42 |
- driver_name: deployable_driver_name |
| 43 |
- bitstream_id: deployable_bitstream_id |
| 44 |
- created_at: created |
| 45 |
- updated_at: updated |
| 46 |
- links: links |
| 47 |
|
| 48 |
**Example response: list all deployables** |
| 49 |
|
| 50 |
.. literalinclude:: ../../doc/api_samples/deployables/deployables-list-resp.json |
| 51 |
:language: javascript |
| 52 |
|
| 53 |
Get One Deployable |
| 54 |
------------------ |
| 55 |
|
| 56 |
.. rest_method:: GET /v2/deployables/{deployable_uuid} |
| 57 |
|
| 58 |
Gets the UUID, name, attribute list and more information for one deployable with the specified UUID. |
| 59 |
|
| 60 |
Normal response codes: 200 |
| 61 |
|
| 62 |
Error response codes: badRequest(400), unauthorized(401), forbidden(403), notfound(404) |
| 63 |
|
| 64 |
Request |
| 65 |
======= |
| 66 |
.. rest_parameters:: parameters.yaml |
| 67 |
|
| 68 |
- deployable_uuid: deployable_uuid |
| 69 |
|
| 70 |
Response |
| 71 |
======== |
| 72 |
.. rest_parameters:: parameters.yaml |
| 73 |
|
| 74 |
- uuid: deployable_uuid_resp |
| 75 |
- parent_id: deployable_parent_id |
| 76 |
- root_id: deployable_root_id |
| 77 |
- name: deployable_name |
| 78 |
- num_accelerators: deployable_num_accelerators |
| 79 |
- device_id: deployable_device_id |
| 80 |
- attributes_list: deployable_attributes_list |
| 81 |
- rp_uuid: deployable_rp_uuid |
| 82 |
- driver_name: deployable_driver_name |
| 83 |
- bitstream_id: deployable_bitstream_id |
| 84 |
- created_at: created |
| 85 |
- updated_at: updated |
| 86 |
- links: links |
| 87 |
|
| 88 |
**Example response: show details of a specific deployable** |
| 89 |
|
| 90 |
.. literalinclude:: ../../doc/api_samples/deployables/deployables-getone-resp.json |
| 91 |
:language: javascript |