Getting the Catalog of an Environment
The catalog is a list of all of the content available in an environment. You may want to use this catalog to keep track of which pieces of content has been updated in your environment
||Your API key||yes||The API key you created for the environment you are targeting. This is different for each environment. Created and managed in the Environment page.|
||This is the root object. A dictionary of objects, the key is each ContentId in the environment, the body is metadata about that piece of content.|
||The hash of the latest version of the content. You can use this to check if your cached copy is the most up to date.|
||A boolean flag indicating if this piece of content has a dynamic mapping attached, and potentially segmentation or ab-testing activated.|
Using the Catalog API
When you retrieve any individual piece of content, that response will also return a content hash. You can then use the hash on the catalog API to periodically check if the copy you have locally is the most up-to-date and decide if to refresh it from Joystick again.
Please refer to our Integration Guide for more information!