Lists
Last updated
Last updated
Lists serve as an unstructured data store for JSON data that any Clay instance might need to use. The only requirement for the data inside an instance of a list is that the data is valid JSON.
Lists — like other data structures in Clay — have unique instances. To view a list of all instances in your Clay installation simply navigate to the /_lists
endpoint at the root of your install. For example, navigating will return an Array of list id's, similar to how requesting will return a list of all pages.
Once you know the id of a list you would like to see the contents of, simply request that specific uri in your browser. For example, will return a list of authors who have published content on .
The important thing to realize is that the data in this list is arbitrary and is not something dictated by the Clay platform. The data is kept up-to-date by components as they are edited and published. This list can then turn around and be used by any component (such as a ) or any external service. The content of lists
are completely dictated by the implementation.