Google Drive SDK

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,
  "installed": boolean,
  "authorized": 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
authorized boolean Whether the app is authorized to access data on the user's Drive.
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.
createUrl string The url to create a new file with this app.
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


Acceptable values are:
  • "application":
  • "document":
  • "documentShared":
icons[].iconUrl string URL for the icon.
icons[].size integer Size of the icon. Represented as the maximum of the width and height.
id string The ID of the app.
installed boolean Whether the app is installed.
kind string This is always drive#app.
longDescription string A long description 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.
openUrlTemplate string The template url for opening files with this app. The template will contain {id} and/or {exportId} placeholders to be replaced by a file ID.
primaryFileExtensions[] list The list of primary file extensions.
primaryMimeTypes[] list The list of primary mime types.
productId string The ID of the product listing for this app.
productUrl string A link to the product listing for this app.
secondaryFileExtensions[] list The list of secondary file extensions.
secondaryMimeTypes[] list The list of secondary mime types.
shortDescription string A short description of the app.
supportsCreate boolean Whether this app supports creating new objects.
supportsImport boolean Whether this app supports importing Google Docs.
supportsMultiOpen boolean Whether this app supports opening more than one file.
useByDefault boolean Whether the app is selected as the default handler for the types it supports.

Methods

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

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.