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, (*1)
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, (*2)
Class: \MisterPaladin\Dropbox\Exceptions\DropboxAPIException
This class extends \Exception, (*3)
This class implements \Throwable, (*4)
Class: \MisterPaladin\Dropbox\Exceptions\DropboxAppException
This class extends \Exception, (*5)
This class implements \Throwable, (*6)
Class: \MisterPaladin\Dropbox\Types\Account
This class extends \MisterPaladin\Dropbox\Types\DropboxType, (*7)
This class extends \MisterPaladin\Dropbox\Types\DropboxType, (*8)
Class: \MisterPaladin\Dropbox\Types\DropboxType
Visibility |
Function |
public |
__construct(mixed $attributes) : void
|
This class extends \MisterPaladin\Dropbox\Types\DropboxType, (*9)
This class extends \MisterPaladin\Dropbox\Types\DropboxType, (*10)
Class: \MisterPaladin\Dropbox\Types\SpaceUsage
This class extends \MisterPaladin\Dropbox\Types\DropboxType, (*11)
Class: \MisterPaladin\Dropbox\Types\TemporaryLink
This class extends \MisterPaladin\Dropbox\Types\DropboxType, (*12)