REST has the advantage of small overhead and ease of implementation, but if you're looking at a heterogeneous collection of binary objects, it's more likely you'd either want
Java serialized data or something like
SOAP.
Java serialized data tends to be incompatible between different Java implementations, so it's usually not good to use with mobile devices.
SOAP can encapsulate all sorts of things, but of course it's fairly high overhead.