[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThe Playground is a tool for experimenting with how content is displayed on Google Glass, allowing users to preview how images, text, HTML, and menu items appear.\u003c/p\u003e\n"],["\u003cp\u003eUsers can authorize the Playground to interact with their Google Glass timeline, enabling features like inserting, updating, and deleting timeline items.\u003c/p\u003e\n"],["\u003cp\u003eTo use the Playground, users must provide a Google APIs project client ID, ensuring to use a separate client ID for testing purposes and not their production Glassware.\u003c/p\u003e\n"],["\u003cp\u003eGetting started with the Playground involves visiting the provided link, editing JSON or HTML content to see previews, and authorizing access to interact with a Glass timeline.\u003c/p\u003e\n"]]],[],null,["# Google Mirror API Playground\n\nThe Playground lets you experiment with how content is displayed on Glass.\n\nTo authorize the Playground to send and receive data from\nyour account, enter your Google APIs project client ID in\nthe following text field and click **Authorize**.\nShow Playground usage information\n\n### Features\n\nThe playground currently supports the following features:\n\n- **Image attachment** -- displaying an image attachment on the background or from an HTML payload.\n- **Text-only** -- displaying a text-only timeline item.\n- **Text and creator** -- displaying a text-only timeline item containing a creator.\n- **HTML** -- displaying a timeline item rendered using HTML (`htmlPages` are not supported).\n- **Menu Items** -- displaying `CUSTOM` menu items and sending fake notifications if the project is subscribed.\n- **Insert** -- inserting a new timeline item in a user's timeline.\n- **Update** -- updating existing a timeline item from a user's timeline.\n- **Delete** -- deleting existing a timeline item from a user's timeline.\n\n| **Note:** The Playground does not support bundles.\n\n### Getting started\n\nTo get started, visit the [Google Mirror API Playground](/glass/playground)\nand play with the available templates.\nYou can edit the JSON payload or the HTML/text, which will update\nhow the content looks on Glass in the preview panel.\n\nYou can also authorize the Playground to retrieve the 20 most recent\ntimeline items that the project has access to or insert the timeline\nitems you have created in your Glass.\n\nTo give the Playground access to a timeline:\n\n1. Create a [Google APIs project client ID](https://code.google.com/apis/console#:access).\n\n | **Warning:** Do not use the client ID that you use for your production Glassware for the Playground. Always create a new client ID for testing, which can reside in the same Google APIs project.\n2. Add `https://mirror-api-playground.appspot.com` to the list of authorized\n `JavaScript` origins for the client ID\n\n3. Copy your client ID to the Playground and start interacting with\n your timeline."]]