Click here to see your recently viewed pages and most viewed pages.
Hide
Drive REST API

Apps

For a list of methods for this resource, see the end of this page.

Resource representations

The apps resource provides a list of the apps that a user has installed, with information about each app's supported MIME types, file extensions, and other details.

{
  "kind": "drive#app",
  "id": string,
  "name": string,
  "objectType": string,
  "shortDescription": string,
  "longDescription": string,
  "supportsCreate": boolean,
  "supportsImport": boolean,
  "supportsMultiOpen": boolean,
  "supportsOfflineCreate": boolean,
  "installed": boolean,
  "authorized": boolean,
  "hasDriveWideScope": boolean,
  "useByDefault": boolean,
  "productUrl": string,
  "productId": string,
  "openUrlTemplate": string,
  "createUrl": string,
  "createInFolderTemplate": string,
  "primaryMimeTypes": [
    string
  ],
  "secondaryMimeTypes": [
    string
  ],
  "primaryFileExtensions": [
    string
  ],
  "secondaryFileExtensions": [
    string
  ],
  "icons": [
    {
      "category": string,
      "size": integer,
      "iconUrl": string
    }
  ]
}
Property name Value Description Notes
kind string This is always drive#app.
id string The ID of the app.
name string The name of the app.
objectType string The type of object this app creates (e.g. Chart). If empty, the app name should be used instead.
supportsCreate boolean Whether this app supports creating new objects.
supportsImport boolean Whether this app supports importing Google Docs.
installed boolean Whether the app is installed.
authorized boolean Whether the app is authorized to access data on the user's Drive.
useByDefault boolean Whether the app is selected as the default handler for the types it supports.
productUrl string A link to the product listing for this app.
primaryMimeTypes[] list The list of primary mime types.
secondaryMimeTypes[] list The list of secondary mime types.
primaryFileExtensions[] list The list of primary file extensions.
secondaryFileExtensions[] list The list of secondary file extensions.
icons[] list The various icons for the app.
icons[].category string Category of the icon. Allowed values are:
  • application - icon for the application
  • document - icon for a file associated with the app
  • documentShared - icon for a shared file associated with the app
icons[].size integer Size of the icon. Represented as the maximum of the width and height.
icons[].iconUrl string URL for the icon.
shortDescription string A short description of the app.
longDescription string A long description of the app.
supportsMultiOpen boolean Whether this app supports opening more than one file.
productId string The ID of the product listing for this app.
openUrlTemplate string The template url for opening files with this app. The template will contain {ids} and/or {exportIds} to be replaced by the actual file ids. See Open Files for the full documentation.
createUrl string The url to create a new file with this app.
createInFolderTemplate string The template url to create a new file with this app in a given folder. The template will contain {folderId} to be replaced by the folder to create the new file in.
supportsOfflineCreate boolean Whether this app supports creating new files when offline.
hasDriveWideScope boolean Whether the app has drive-wide scope. An app with drive-wide scope can access all files in the user's drive.

Methods

list
Lists a user's installed apps.
get
Gets a specific app.