Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Latest commit

 

History

History
67 lines (50 loc) · 1.35 KB

get_item.rst

File metadata and controls

67 lines (50 loc) · 1.35 KB

GetItem

magnetodb.api.openstack.v1.data.get_item

Request Syntax

../api/openstack/samples/get_item_request_syntax.json

Request Parameters

key
The primary key of the item to retrieve.
Type: String to object map
Required: Yes
attributes_to_get
The names of one or more attributes to retrieve.
Type: array of Strings
Required: No
consistent_read
Use or not use strongly consistent read.
Type: Boolean
Required: No

Response Syntax

../api/openstack/samples/get_item_response_syntax.json

Response Elements

item
An itemi with attributes.
Type: String to object map

Errors

BackendInteractionException
ClusterIsNotConnectedException
ValidationError

Sample Request

../api/openstack/samples/get_item_sample_request.json

Sample Response

../api/openstack/samples/get_item_sample_response.json