BatchGetItem

POST v1/data/{project_id}/batch_get_item

Request Syntax

{
    "request_items": {
        "string": {
            "attributes_to_get": [
                "string"
            ],
            "consistent_read": "boolean",
            "keys": [

                {
                    "string": {
                        "B": "blob",
                        "BS": [
                            "blob"
                        ],
                        "N": "string",
                        "NS": [
                            "string"
                        ],
                        "S": "string",
                        "SS": [
                            "string"
                        ]
                    }
                }
            ]
        }
    }
}

Request Parameters

request_items
Type: String to object map
Required: Yes

Response Syntax

{
    "responses": {
        "string": [

            {
                "string": {
                    "B": "blob",
                    "BS": [
                        "blob"
                    ],
                    "N": "string",
                    "NS": [
                        "string"
                    ],
                    "S": "string",
                    "SS": [
                        "string"
                    ]
                }
            }
        ]
    },
    "unprocessed_keys": {
        "string": {
            "attributes_to_get": [
                "string"
            ],
            "consistent_read": "boolean",
            "keys": [

                {
                    "string": {
                        "B": "blob",
                        "BS": [
                            "blob"
                        ],
                        "N": "string",
                        "NS": [
                            "string"
                        ],
                        "S": "string",
                        "SS": [
                            "string"
                        ]
                    }
                }
            ]
        }
    }
}

Response Elements

responses
Type: String to map
unprocessed_keys
Type: String to object map

Errors

BackendInteractionException
ClusterIsNotConnectedException
ValidationError

Sample Request

{
    "request_items": {
        "Forum": {
            "keys": [
                {
                    "Name": {
                        "S": "MagnetoDB"
                    },
                    "Category": {
                        "S": "OpenStack KVaaS"
                    }
                },
                {
                    "Name": {
                        "S": "Nova"
                    },
                    "Category": {
                        "S": "OpenStack Core"
                    }
                }
            ]
        },
        "Thread": {
            "keys": [
                {
                    "Name": {
                        "S": "MagnetoDB"
                    },
                    "Category": {
                        "S": "OpenStack KVaaS"
                    }
                },
                {
                    "Name": {
                        "S": "Nova"
                    },
                    "Category": {
                        "S": "OpenStack Core"
                    }
                }
            ]
        }
    }
}

Sample Response

{
    "responses": {
        "Forum": {
            "keys": [
                {
                    "Name": {
                        "S": "MagnetoDB"
                    },
                    "Category": {
                        "S": "OpenStack KVaaS"
                    }
                },
                {
                    "Name": {
                        "S": "Nova"
                    },
                    "Category": {
                        "S": "OpenStack Core"
                    }
                }
            ]
        }
    },
    "unprocessed_keys": {
        "Thread": {
            "keys": [
                {
                    "Name": {
                        "S": "MagnetoDB"
                    },
                    "Category": {
                        "S": "OpenStack KVaaS"
                    }
                },
                {
                    "Name": {
                        "S": "Nova"
                    },
                    "Category": {
                        "S": "OpenStack Core"
                    }
                }
            ]
        }
    }
}