{
  "author": "DropSnip",
  "description": "Upload screenshots to Google Drive using an OAuth access token.",
  "icon": "externaldrive.fill",
  "id": "com.dropsnip.google-drive",
  "name": "Google Drive Upload",
  "openURLTemplate": null,
  "settings": [
    {
      "defaultValue": null,
      "isSecret": true,
      "key": "accessToken",
      "label": "OAuth Access Token",
      "type": "secret"
    },
    {
      "defaultValue": null,
      "isSecret": false,
      "key": "folderId",
      "label": "Folder ID (optional)",
      "type": "text"
    }
  ],
  "shellCommand": null,
  "type": "urlAction",
  "urlBodyType": "multipartFormData",
  "urlEndpoint": "https://www.googleapis.com/upload/drive/v3/files?uploadType=multipart",
  "urlHeaders": {
    "Authorization": "Bearer {{setting:accessToken}}"
  },
  "urlMethod": "POST",
  "version": "1.0.0"
}