I am trying to replicate the JavaScript client library example shown on https://developers.google.com/drive/v2/reference/permissions/update#examples. There is a reference to permissionId
. How do I get this, I've looked everywhere, and my assumption is I am missing something dead obvious.
Thanks in advance.
In a REST API such as Drive, every resource has a unique ID. Permissions are the same. When you create a permission, its ID is returned within the response. If you list permissions, you'll see it there. See https://developers.google.com/drive/api/v3/reference/permissions