Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98091493
FileUploadHashConduitAPIMethod.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Jan 9, 16:50
Size
804 B
Mime Type
text/x-php
Expires
Sat, Jan 11, 16:50 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23504975
Attached To
rPH Phabricator
FileUploadHashConduitAPIMethod.php
View Options
<?php
final
class
FileUploadHashConduitAPIMethod
extends
FileConduitAPIMethod
{
public
function
getAPIMethodName
()
{
return
'file.uploadhash'
;
}
public
function
getMethodStatus
()
{
return
self
::
METHOD_STATUS_DEPRECATED
;
}
public
function
getMethodStatusDescription
()
{
return
pht
(
'This method is deprecated. Callers should use "file.allocate" '
.
'instead.'
);
}
public
function
getMethodDescription
()
{
return
pht
(
'Obsolete. Has no effect.'
);
}
protected
function
defineParamTypes
()
{
return
array
(
'hash'
=>
'required nonempty string'
,
'name'
=>
'required nonempty string'
,
);
}
protected
function
defineReturnType
()
{
return
'null'
;
}
protected
function
execute
(
ConduitAPIRequest
$request
)
{
return
null
;
}
}
Event Timeline
Log In to Comment