As stated in the specification for the BasicServer GET operations, an empty JSON array should be returned (with status_codes::OK, as opposed to an error code) if some specific criteria is not found.
Operation: Get all entities from a partition
status_codes::OK (200): Table found and entities in the selected partition are returned in a JSON array. If there are no entries in the specified partition, return an empty JSON array.
"No entries in the specified partition" means that no entity has that partition.
Get all entities which have specified properties (regardless of their values)
status_codes::OK (200): Table found and entities with the selected properties are returned in a JSON array. If there are no entries with the specified properties, return an empty JSON array.
This is not documented in the code, and should be.
As stated in the specification for the BasicServer GET operations, an empty JSON array should be returned (with
status_codes::OK
, as opposed to an error code) if some specific criteria is not found.Operation: Get all entities from a partition
"No entries in the specified partition" means that no entity has that partition.
Get all entities which have specified properties (regardless of their values)
This is not documented in the code, and should be.