Subscriptions
The subscription resource supports most CRUD operations as RESTful HTTP methods, except for getting a single subscription.
HTTP Methods
Description | Method | Path | |
---|---|---|---|
insert a new subscription | POST | /subscriptions | default |
list a user’s subscriptions accessible by this app | GET | /subscriptions | default |
update the subscription with the given ID | PUT | /subscriptions/{subscriptionId} | default |
delete the subscription with the given ID | DELETE | /subscriptions/{subscriptionId} | default |
Read-Only Fields
kind | mirror#subscription |
updated | A timestamp that’s updated whenever the subscription changes |
Writable Fields
callbackUrl | A required URL that is called when a matching event happens; must begin with https:// |
collection | The required event source, either timeline or locations |
operation ... |
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.