API Guide

Table Of Contents
3.12.7. Create a new DistributedDevice
POST /distributed_storage/distributed_devices
Parameters
Type Name Description Schema
Header
X-Include-
Object
optional
When passed as part of a POST request, controls
whether the representation of the newly created
object is included in the response. Defaults to
'true' which will include the object in the
response. This header is useful because
refreshing the newly created object is usually
the slowest part of a POST operation.
string
Body
distributed_de
vice_payload
required
distributed_device_p
ayload
Responses
HTTP
Code
Description Schema
201
Created
Headers :
Location (string) : URI of created DistributedDevice.
DistributedDevice
204
Created
Headers :
Location (string) : URI of created DistributedDevice.
No Content
3.12.8. Returns a list of DistributedDevices
GET /distributed_storage/distributed_devices
Parameters
Type Name Description Schema
Query
capacity
optional
Filter results by capacity. See
NumericQueryExpression for details.
string
(NumericQueryExpr
ession)
Query
fields
optional
Select which fields are included in the response.
'name' is always included. See
FieldSelectionExpression for details.
string
(FieldSelectionExpre
ssion)
Query
health_state
optional
Filter results by health_state. See
LexicalQueryExpression for details.
string
(LexicalQueryExpres
sion)
40