Appendix 1HTTP and HTML Resources

This appendix contains a listing of the valid HTTP resources and their valid values, based on the Mirror API version 1, Glass platform XE11.

Every resource body is represented in HTTP as a JavaScript Object Notation (JSON) object with various fields. Every resource object body has a unique id that represents the object, and a kind that represents a resource type prefixed by mirror# (such as mirror#location for Location resource JSON objects). The rest of the fields are either writeable or read-only, or are objects that themselves are field values.

The base URL for the Mirror API is (usually) https://www.googleapis.com/mirror/v1. For timeline resources, there are two base URLs for the Mirror API: Mirror and Mirror ...

Get Programming Google Glass now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.