Get a shared drive's metadata by ID

GET {{baseUrl}}/drives/:driveId?key={{key}}&oauth_token={{oauthToken}}

Gets a shared drive's metadata by ID.

Request Params

KeyDatatypeRequiredDescription
useDomainAdminAccessstringIssue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs.
altstringData format for the response.
fieldsstringSelector specifying which fields to include in a partial response.
keystringAPI key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
oauth_tokenstringOAuth 2.0 token for the current user.
prettyPrintstringReturns response with indentations and line breaks.
quotaUserstringAn opaque string that represents a user for quota purposes. Must not exceed 40 characters.
userIpstringDeprecated. Please use quotaUser instead.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"backgroundImageFile":{"id":"\u003cstring\u003e","width":"\u003cfloat\u003e","xCoordinate":"\u003cfloat\u003e","yCoordinate":"\u003cfloat\u003e"},"backgroundImageLink":"\u003cstring\u003e","capabilities":{"canAddChildren":"\u003cboolean\u003e","canChangeCopyRequiresWriterPermissionRestriction":"\u003cboolean\u003e","canChangeDomainUsersOnlyRestriction":"\u003cboolean\u003e","canChangeDriveBackground":"\u003cboolean\u003e","canChangeDriveMembersOnlyRestriction":"\u003cboolean\u003e","canChangeSharingFoldersRequiresOrganizerPermissionRestriction":"\u003cboolean\u003e","canComment":"\u003cboolean\u003e","canCopy":"\u003cboolean\u003e","canDeleteChildren":"\u003cboolean\u003e","canDeleteDrive":"\u003cboolean\u003e","canDownload":"\u003cboolean\u003e","canEdit":"\u003cboolean\u003e","canListChildren":"\u003cboolean\u003e","canManageMembers":"\u003cboolean\u003e","canReadRevisions":"\u003cboolean\u003e","canRename":"\u003cboolean\u003e","canRenameDrive":"\u003cboolean\u003e","canResetDriveRestrictions":"\u003cboolean\u003e","canShare":"\u003cboolean\u003e","canTrashChildren":"\u003cboolean\u003e"},"colorRgb":"\u003cstring\u003e","createdTime":"\u003cdateTime\u003e","hidden":"\u003cboolean\u003e","id":"\u003cstring\u003e","kind":"drive#drive","name":"\u003cstring\u003e","orgUnitId":"\u003cstring\u003e","restrictions":{"adminManagedRestrictions":"\u003cboolean\u003e","copyRequiresWriterPermission":"\u003cboolean\u003e","domainUsersOnly":"\u003cboolean\u003e","driveMembersOnly":"\u003cboolean\u003e","sharingFoldersRequiresOrganizerPermission":"\u003cboolean\u003e"},"themeId":"\u003cstring\u003e"}