mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00

Inevitably, some resources will not allow to filter by the exact keyword that is included in a resources body. Take for example asset and metadata. They both have a property called 'id', hence requests of a form: /transactions&fields=x,y&property_name=z might now be allowed to be resolved as the keyword 'id' in this case could reference both 'metadata.id' and 'asset.id'. This problem cannot be structurally resolved with URL paths. Hence it was decided to emphasize on a few resources that implement 'id' as a sort-of primary key.