Method | Description | |
---|---|---|
deleteUpload ( $token ) : boolean | Delete a resource | |
upload ( array $params ) : stdClass | Upload an attachment $params must include: 'file' - an attribute with the absolute local file path on the server 'type' - the MIME type of the file Optional: 'optional_token' - an existing token 'name' - preferred filename |
Method | Description | |
---|---|---|
setUpRoutes ( ) |
public deleteUpload ( $token ) : boolean | ||
$token | ||
return | boolean |