On acceptance as a valid issue, the code should be annotated with a comment pointing back to this issue.
On completion of the issue, the code should be updated to remove the comment and the pointer to the issue.
$this->addCallback(
'metaWeblog.getRecentPosts',
'this:metaWeblog_getRecentPosts',
array('array', 'string', 'string', 'string', 'int'),
'retrieves a given number of recent posts'
);
// TODO: metaWeblog.newMediaObject (blogid, username, password, struct) returns struct
// MovableType API[] - add as server capability.
$this->capabilities['MovableType API'] = array(
'specUrl' => 'http://www.sixapart.com/movabletype/docs/mtmanual_programmatic.html#xmlrpc%20api',
'specVersion' => 1,
);
// Not completely implemented.
$this->addCallback(
'mt.getRecentPostTitles',
'this:mt_getRecentPostTitles',
array('array', 'string', 'string', 'string', 'id'),
'returns a bandwidth-friendly list of the most recent posts in the system'
);
$this->addCallback(
'mt.getCategoryList',
'this:mt_getCategoryList',
array('array', 'string', 'string', 'string'),
'returns a list of all categories defined in the weblog'
Background
This issue is part of a project (#1004) to migrate inline TODOs to GitHub issues. If this issue is still relevant, please assign milestone(s) and team member(s) accordingly.
On acceptance as a valid issue, the code should be annotated with a comment pointing back to this issue.
On completion of the issue, the code should be updated to remove the comment and the pointer to the issue.
TODO and surrounding code
https://github.com/textpattern/textpattern/blob/dev/rpc/TXP_RPCServer.php#L150