Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15336566
D15769.id37991.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D15769.id37991.diff
View Options
diff --git a/src/applications/owners/conduit/OwnersQueryConduitAPIMethod.php b/src/applications/owners/conduit/OwnersQueryConduitAPIMethod.php
--- a/src/applications/owners/conduit/OwnersQueryConduitAPIMethod.php
+++ b/src/applications/owners/conduit/OwnersQueryConduitAPIMethod.php
@@ -6,12 +6,17 @@
return 'owners.query';
}
+ public function getMethodStatus() {
+ return self::METHOD_STATUS_DEPRECATED;
+ }
+
+ public function getMethodStatusDescription() {
+ return pht('Obsolete; use "owners.search" instead.');
+ }
+
+
public function getMethodDescription() {
- return pht(
- 'Query for packages by one of the following: repository/path, '.
- 'packages with a given user or project owner, or packages affiliated '.
- 'with a user (owned by either the user or a project they are a member '.
- 'of.) You should only provide at most one search query.');
+ return pht('Query for Owners packages. Obsoleted by "owners.search".');
}
protected function defineParamTypes() {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mar 9 2025, 7:38 PM (5 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7390935
Default Alt Text
D15769.id37991.diff (1 KB)
Attached To
Mode
D15769: Formally deprecate owners.query Conduit API method
Attached
Detach File
Event Timeline
Log In to Comment