El catálogo/Dropbox

Dropbox

app.dropbox

Dropbox file storage — list, search, upload, download, and share files and folders.

OAuth 2storageLeer el código
Versión2.0.0
Categoríastorage
AutenticaciónOAuth 2
Herramientas16
Transportestdio
LicenciaMIT
02

Herramientas

16 herramientas que el agente puede llamar.

Todas se declaran con parámetros tipados y devuelven resultados estructurados, así que el anfitrión puede renderizarlas en vez de narrarlas.

  • copy-fileCopy a file or folder in Dropbox to a new location.
  • create-folderCreate a new folder in Dropbox.
  • create-shared-linkCreate a shared link for a file or folder in Dropbox. Returns a URL that can be shared with others.
  • delete-fileDelete a file or folder from Dropbox.
  • get-accountGet information about the currently authenticated Dropbox user account.
  • get-metadataGet metadata for a file or folder in Dropbox (size, modified date, path, etc.).
  • get-space-usageGet the storage space usage and quota information for the authenticated Dropbox account.
  • get-temporary-linkGet a temporary download link for a file in Dropbox. The link expires after 4 hours.
  • list-file-requestsList all file requests for the authenticated Dropbox account.
  • list-folderList files and folders in a Dropbox folder. Returns metadata entries for each item.
  • list-folder-continueContinue listing files and folders from a previous list-folder call. Use the cursor returned by list-folder when has_more is true.
  • list-shared-linksList shared links for a file or folder in Dropbox, or list all shared links if no path is given.
  • move-fileMove a file or folder in Dropbox to a new location.
  • revoke-shared-linkRevoke a shared link for a file or folder in Dropbox.
  • save-urlSave a URL to a file in Dropbox. Downloads the content from the URL and saves it at the specified path.
  • search-filesSearch for files and folders in Dropbox by name or content.
03

Autenticación y permisos

Qué pide.

Declarado en el manifiesto y por adelantado. La aplicación no puede alcanzar nada que no haya pedido aquí.

Permisos

files.content.readfiles.content.writefiles.metadata.readsharing.readsharing.writeaccount_info.read

Secretos de sistema

CLIENT_IDCLIENT_SECRETREDIRECT_URI

Secretos de usuario

ACCESS_TOKENREFRESH_TOKEN

Seguir leyendo

El manifiesto y el código de Dropbox están en el monorepo, junto al resto de aplicaciones.

Leer el códigoVolver al catálogo

Dropbox · Agent Apps