mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-01 19:22:42 +01:00
f7d5904e4b
Summary: Fixes T10411. Ref T10246. There are probably still some rough edges with this, but replace the old-school endpoints with modern ones so we don't unprototype with deprecated stuff. Test Plan: - Made a bunch of calls to the new endpoints with various constraints/attachments. - Created and edited services, devices, interfaces, bindings, and properties on everything. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10246, T10411 Differential Revision: https://secure.phabricator.com/D15329
18 lines
373 B
PHP
18 lines
373 B
PHP
<?php
|
|
|
|
final class AlmanacDeviceSearchConduitAPIMethod
|
|
extends PhabricatorSearchEngineAPIMethod {
|
|
|
|
public function getAPIMethodName() {
|
|
return 'almanac.device.search';
|
|
}
|
|
|
|
public function newSearchEngine() {
|
|
return new AlmanacDeviceSearchEngine();
|
|
}
|
|
|
|
public function getMethodSummary() {
|
|
return pht('Read information about Almanac devices.');
|
|
}
|
|
|
|
}
|