Page MenuHomePhabricator

D11882.diff
No OneTemporary

D11882.diff

diff --git a/src/applications/almanac/conduit/AlmanacQueryServicesConduitAPIMethod.php b/src/applications/almanac/conduit/AlmanacQueryServicesConduitAPIMethod.php
--- a/src/applications/almanac/conduit/AlmanacQueryServicesConduitAPIMethod.php
+++ b/src/applications/almanac/conduit/AlmanacQueryServicesConduitAPIMethod.php
@@ -16,6 +16,7 @@
'ids' => 'optional list<id>',
'phids' => 'optional list<phid>',
'names' => 'optional list<phid>',
+ 'devicePHIDs' => 'option list<phid>',
'serviceClasses' => 'optional list<string>',
) + self::getPagerParamTypes();
}
@@ -55,6 +56,11 @@
$query->withServiceClasses($classes);
}
+ $device_phids = $request->getValue('devicePHIDs');
+ if ($device_phids !== null) {
+ $query->withDevicePHIDs($device_phids);
+ }
+
$pager = $this->newPager($request);
$services = $query->executeWithCursorPager($pager);

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 31, 2:16 PM (5 d, 10 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7728152
Default Alt Text
D11882.diff (920 B)

Event Timeline