Resource: App
The apps
resource provides a list of apps that a user has installed, with information about each app's supported MIME types, file extensions, and other details.
Some resource methods (such as apps.get
) require an appId
. Use the apps.list
method to retrieve the ID for an installed application.
JSON representation |
---|
{
"name": string,
"objectType": string,
"supportsCreate": boolean,
"productUrl": string,
"primaryMimeTypes": [
string
],
"secondaryMimeTypes": [
string
],
"primaryFileExtensions": [
string
],
"secondaryFileExtensions": [
string
],
"id": string,
"supportsImport": boolean,
"installed": boolean,
"authorized": boolean,
"icons": [
{
object ( |
Fields | |
---|---|
name |
The name of the app. |
objectType |
The type of object this app creates such as a Chart. If empty, the app name should be used instead. |
supportsCreate |
Whether this app supports creating objects. |
productUrl |
A link to the product listing for this app. |
primaryMimeTypes[] |
The list of primary MIME types. |
secondaryMimeTypes[] |
The list of secondary MIME types. |
primaryFileExtensions[] |
The list of primary file extensions. |
secondaryFileExtensions[] |
The list of secondary file extensions. |
id |
The ID of the app. |
supportsImport |
Whether this app supports importing from Google Docs. |
installed |
Whether the app is installed. |
authorized |
Whether the app is authorized to access data on the user's Drive. |
icons[] |
The various icons for the app. |
useByDefault |
Whether the app is selected as the default handler for the types it supports. |
kind |
Output only. Identifies what kind of resource this is. Value: the fixed string "drive#app". |
shortDescription |
A short description of the app. |
longDescription |
A long description of the app. |
supportsMultiOpen |
Whether this app supports opening more than one file. |
productId |
The ID of the product listing for this app. |
openUrlTemplate |
The template URL for opening files with this app. The template contains
or
to be replaced by the actual file IDs. For more information, see Open Files for the full documentation. |
createUrl |
The URL to create a file with this app. |
createInFolderTemplate |
The template URL to create a file with this app in a given folder. The template contains the {folderId} to be replaced by the folder ID house the new file. |
supportsOfflineCreate |
Whether this app supports creating files when offline. |
hasDriveWideScope |
Whether the app has Drive-wide scope. An app with Drive-wide scope can access all files in the user's Drive. |
Icons
JSON representation |
---|
{ "size": integer, "category": string, "iconUrl": string } |
Fields | |
---|---|
size |
Size of the icon. Represented as the maximum of the width and height. |
category |
Category of the icon. Allowed values are:
|
iconUrl |
URL for the icon. |
Methods |
|
---|---|
|
Gets a specific app. |
|
Lists a user's installed apps. |