3 final class FileUploadHashConduitAPIMethod
extends FileConduitAPIMethod
{
5 public function getAPIMethodName() {
6 return 'file.uploadhash';
9 public function getMethodStatus() {
10 return self
::METHOD_STATUS_DEPRECATED
;
13 public function getMethodStatusDescription() {
15 'This method is deprecated. Callers should use "file.allocate" '.
19 public function getMethodDescription() {
20 return pht('Obsolete. Has no effect.');
23 protected function defineParamTypes() {
25 'hash' => 'required nonempty string',
26 'name' => 'required nonempty string',
30 protected function defineReturnType() {
34 protected function execute(ConduitAPIRequest
$request) {