Google Mirror
Interacts with Glass users via the timeline.
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Interacts with Glass users via the timeline.
Endpoints 24
accounts
- POSTmirror.accounts.insert
/accounts/:userToken/:accountType/:accountName?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringInserts a new account for a user
contacts
- GETmirror.contacts.list
/contacts?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringRetrieves a list of contacts for the authenticated user. - POSTmirror.contacts.insert
/contacts?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringInserts a new contact. - GETmirror.contacts.get
/contacts/:id?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringGets a single contact by ID. - PUTmirror.contacts.update
/contacts/:id?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdates a contact in place. - DELETEmirror.contacts.delete
/contacts/:id?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringDeletes a contact. - PATCHmirror.contacts.patch
/contacts/:id?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdates a contact in place. This method supports patch semantics.
locations
- GETmirror.locations.list
/locations?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringRetrieves a list of locations for the user. - GETmirror.locations.get
/locations/:id?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringGets a single location by ID.
settings
- GETmirror.settings.get
/settings/:id?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringGets a single setting by ID.
subscriptions
- GETmirror.subscriptions.list
/subscriptions?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringRetrieves a list of subscriptions for the authenticated user and service. - POSTmirror.subscriptions.insert
/subscriptions?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringCreates a new subscription. - PUTmirror.subscriptions.update
/subscriptions/:id?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdates an existing subscription in place. - DELETEmirror.subscriptions.delete
/subscriptions/:id?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringDeletes a subscription.
timeline
- GETmirror.timeline.list
/timeline?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string&bundleId=string&includeDeleted=true&maxResults=0&orderBy=displayTime&pageToken=string&pinnedOnly=true&sourceItemId=stringRetrieves a list of timeline items for the authenticated user. - POSTmirror.timeline.insert
/timeline?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringInserts a new item into the timeline. - GETmirror.timeline.get
/timeline/:id?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringGets a single timeline item by ID. - PUTmirror.timeline.update
/timeline/:id?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdates a timeline item in place. - DELETEmirror.timeline.delete
/timeline/:id?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringDeletes a timeline item. - PATCHmirror.timeline.patch
/timeline/:id?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringUpdates a timeline item in place. This method supports patch semantics. - GETmirror.timeline.attachments.list
/timeline/:itemId/attachments?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringReturns a list of attachments for a timeline item. - POSTmirror.timeline.attachments.insert
/timeline/:itemId/attachments?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringAdds a new attachment to a timeline item. - GETmirror.timeline.attachments.get
/timeline/:itemId/attachments/:attachmentId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringRetrieves an attachment on a timeline item by item ID and attachment ID. - DELETEmirror.timeline.attachments.delete
/timeline/:itemId/attachments/:attachmentId?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=stringDeletes an attachment from a timeline item.
API details
- Base URL
https://www.googleapis.com/mirror/v1- Authentication
- OAuth 2.0 (implicit flow) with 2 scopes
OAuth 2.0 (authorization code flow) with 2 scopes - Operations
- 24 operations on 12 pathsGET 10POST 5DELETE 4PUT 3PATCH 2
- Main resources
- timeline 10contacts 6subscriptions 4locations 2accounts 1settings 1
- Response formats
*/*- Description format
- OpenAPI 3.0.0, API version
v1 - Links
- Documentation · OpenAPI document · Terms of service · Support
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the Google Mirror in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Google Mirror collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (implicit flow) with 2 scopes. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “mirror.accounts.insert” (POST /accounts/:userToken/:accountType/:accountName?alt=json&fields=string&key=string&oauth_token=string&prettyPrint=true"aUser=string&userIp=string), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Google Mirror?
Interacts with Glass users via the timeline. It is listed under Developer tools and has 24 endpoints.
Who publishes the Google Mirror?
It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Google Mirror?
Requests go to https://www.googleapis.com/mirror/v1. Endpoint paths are added to this base URL.
How do I authenticate with the Google Mirror?
It accepts 2 methods: OAuth 2.0 (implicit flow) with 2 scopes; OAuth 2.0 (authorization code flow) with 2 scopes.
How many endpoints does the Google Mirror have?
24 operations on 12 paths (10 GET, 5 POST, 4 DELETE, 3 PUT, 2 PATCH). The largest groups are timeline, contacts, subscriptions, locations.
Is forking the Google Mirror free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.