1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 17:52:43 +01:00
phorge-phorge/src/applications/phame/conduit/PhameBlogSearchConduitAPIMethod.php
epriestley b74f93f229 Add phame.blog.search Conduit API endpoint
Summary: Ref T9897. Adds basic blog query support.

Test Plan: Ran some queries.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9897

Differential Revision: https://secure.phabricator.com/D14900
2015-12-28 06:49:28 -08:00

18 lines
351 B
PHP

<?php
final class PhameBlogSearchConduitAPIMethod
extends PhabricatorSearchEngineAPIMethod {
public function getAPIMethodName() {
return 'phame.blog.search';
}
public function newSearchEngine() {
return new PhameBlogSearchEngine();
}
public function getMethodSummary() {
return pht('Read information about blogs.');
}
}