bunnyData that holds stream metadata for each document.
Shape
For a video, the API returns:bunnyData is null.
videoIdStored — stored and indexed.typeandlibraryIdComputed — computed on read from your config, not stored in the database.resolutionsStored —availablelists the MP4 renditions Bunny reports (unordered);highestis the highest of those whose MP4 file has been verified to exist. Because Bunny encodes renditions asynchronously,highestcan be lower than the top ofavailableuntil the higher rendition finishes.
Querying
BecausevideoId is stored, you can query it directly:
Upgrading from v2
In v2 this data lived in flatbunnyVideoId and bunnyVideoMeta fields. See the migration guide to move existing documents into bunnyData.