I've been trying to push a bundle of cards to the timeline using the MirrorAPI and found a bit of info on this here Erroring with Bundle of HTML Pages
However, the official docs https://developers.google.com/glass/v1/reference/timeline are missing the HtmlPages option. Has it been deprecated? Why?
Is there another way for me to add a bundle like structure to the timeline in one go?
E.g. BundleCover > Item 1, Item 2, Item 3 > each with their own submenu or even all with the same?
Would appreciate any help :)
If you want to have separate menuItems
for each card your only option is to add several timeline cards, each with the same bundleId
and optionally one card with isBundleCover
set to true
. No way to do this with one API request (but you can do a batch request).
(More Information from the docs)
The htmlPages
parameter has been replaced with (semi-)automatic pagination of cards when the html
content exceeds the space on one card. So instead of having a list of htmlPages
which was used previously, you can now have the full content in the html
property, with some special mark-up to control pagination. This will result in the cover card (i.e. the first html page) to get a Read more
menu item. All cards will have the same menuItems
in this case.