Git Product home page Git Product logo

php-dropbox-v2's Introduction

Table of contents


Class: \MisterPaladin\Dropbox\App

Visibility Function
public __construct(string $accessToken) : void
Add endpoints instances
public __get(string $key) : mixed
Access to static properties

Class: \MisterPaladin\Dropbox\Endpoints\EndpointGroup (abstract)

Visibility Function
public __construct(mixed $app) : void
Create new endpoints instance
protected contentDownloadRequest(mixed $method, mixed $path, array $parameters=array()) : void
protected rcpRequest(string $method, string $path, array $parameters=array()) : mixed
Create and send request

Class: \MisterPaladin\Dropbox\Endpoints\Files

Visibility Function
public copy(array $parameters) : object
Copy a file or folder to a different location in the user's Dropbox. If the source path is a folder all its contents will be copied.
public createFolder(array $parameters) : object
Create a folder at a given path.
public delete(array $parameters) : object
Delete the file or folder at a given path. If the path is a folder, all its contents will be deleted too. A successful response indicates that the file or folder was deleted. The returned metadata will be the corresponding FileMetadata or FolderMetadata for the item at time of deletion, and not a DeletedMetadata object.
public download(array $parameters) : void
Download a file from a user's Dropbox.
public getMetadata(array $parameters=array()) : object
Returns the metadata for a file or folder. Note: Metadata for the root folder is unsupported.
public getTemporaryLink(array $parameters) : object
Get a temporary link to stream content of a file. This link will expire in four hours and afterwards you will get 410 Gone. Content-Type of the link is determined automatically by the file's mime type.
protected meta(object $data) : object
Make meta object

This class extends \MisterPaladin\Dropbox\Endpoints\EndpointGroup


Class: \MisterPaladin\Dropbox\Endpoints\Users

Visibility Function
public getCurrentAccount() : object
Get information about the current user's account.
public getSpaceUsage() : mixed

This class extends \MisterPaladin\Dropbox\Endpoints\EndpointGroup


Class: \MisterPaladin\Dropbox\Exceptions\DropboxAPIException

Visibility Function

This class extends \Exception

This class implements \Throwable


Class: \MisterPaladin\Dropbox\Exceptions\DropboxAppException

Visibility Function

This class extends \Exception

This class implements \Throwable


Class: \MisterPaladin\Dropbox\Types\Account

Visibility Function

This class extends \MisterPaladin\Dropbox\Types\DropboxType


Class: \MisterPaladin\Dropbox\Types\DeletedMetadata

Visibility Function

This class extends \MisterPaladin\Dropbox\Types\DropboxType


Class: \MisterPaladin\Dropbox\Types\DropboxType

Visibility Function
public __construct(mixed $attributes) : void

Class: \MisterPaladin\Dropbox\Types\FileMetadata

Visibility Function

This class extends \MisterPaladin\Dropbox\Types\DropboxType


Class: \MisterPaladin\Dropbox\Types\FolderMetadata

Visibility Function

This class extends \MisterPaladin\Dropbox\Types\DropboxType


Class: \MisterPaladin\Dropbox\Types\SpaceUsage

Visibility Function

This class extends \MisterPaladin\Dropbox\Types\DropboxType


Class: \MisterPaladin\Dropbox\Types\TemporaryLink

Visibility Function

This class extends \MisterPaladin\Dropbox\Types\DropboxType

php-dropbox-v2's People

Watchers

James Cloos avatar Min De Sik avatar Vladimir avatar

php-dropbox-v2's Issues

Endpoints

Dropbox v2 API endpoints

auth

  • /token/from_oauth1
  • /token/revoke

files

  • /copy
  • /copy_batch
  • /copy_batch/check
  • /copy_reference/get
  • /copy_reference/save
  • /create_folder
  • /delete
  • /delete_batch
  • /delete_batch/check
  • /download
  • /get_metadata
  • /get_preview
  • /get_temporary_link
  • /get_thumbnail
  • /list_folder
  • /list_folder/continue
  • /list_folder/get_latest_cursor
  • /list_folder/longpoll
  • /list_revisions
  • /move
  • /move_batch
  • /move_batch/check
  • /permanently_delete
  • /properties/add
  • /properties/overwrite
  • /properties/remove
  • /properties/template/get
  • /properties/template/list
  • /properties/update
  • /restore
  • /save_url
  • /save_url/check_job_status
  • /search
  • /upload
  • /upload_session/append
  • /upload_session/append_v2
  • /upload_session/finish
  • /upload_session/finish_batch
  • /upload_session/finish_batch/check
  • /upload_session/start

paper

  • /docs/archive
  • /docs/download
  • /docs/folder_users/list
  • /docs/folder_users/list/continue
  • /docs/get_folder_info
  • /docs/list
  • /docs/list/continue
  • /docs/permanently_delete
  • /docs/sharing_policy/get
  • /docs/sharing_policy/set
  • /docs/users/add
  • /docs/users/list
  • /docs/users/list/continue
  • /docs/users/remove

sharing

  • /add_file_member
  • /add_folder_member
  • /change_file_member_access
  • /check_job_status
  • /check_remove_member_job_status
  • /check_share_job_status
  • /create_shared_link
  • /create_shared_link_with_settings
  • /get_file_metadata
  • /get_file_metadata/batch
  • /get_folder_metadata
  • /get_shared_link_file
  • /get_shared_link_metadata
  • /get_shared_links
  • /list_file_members
  • /list_file_members/batch
  • /list_file_members/continue
  • /list_folder_members
  • /list_folder_members/continue
  • /list_folders
  • /list_folders/continue
  • /list_mountable_folders
  • /list_mountable_folders/continue
  • /list_received_files
  • /list_received_files/continue
  • /list_shared_links
  • /modify_shared_link_settings
  • /mount_folder
  • /relinquish_file_membership
  • /relinquish_folder_membership
  • /remove_file_member
  • /remove_file_member_2
  • /remove_folder_member
  • /revoke_shared_link
  • /share_folder
  • /transfer_folder
  • /unmount_folder
  • /unshare_file
  • /unshare_folder
  • /update_file_member
  • /update_folder_member
  • /update_folder_policy

users

  • /get_account
  • /get_account_batch
  • /get_current_account
  • /get_space_usage

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.