concept datum structure in category api

appears as: data structure, data structures
The Design of Web APIs

This is an excerpt from Manning's book The Design of Web APIs.

We start by listing the data structure’s properties and giving each a name. A product can have reference, name, and price properties, for example. It could also be useful to tell the customer when the product was added to the catalog (dateAdded) and let them know whether it’s in stock or not (unavailable). And what about listing the warehouses where this product can be found and its suppliers? Finally, we might want to return a fuller description of the product.

  • Organize data properties by sorting them, naming them using patterns, or grouping them in data structures.