Changeset View
Changeset View
Standalone View
Standalone View
src/applications/search/engine/PhabricatorSearchEngineAPIMethod.php
Show First 20 Lines • Show All 163 Lines • ▼ Show 20 Lines | |||||
Different endpoints support different constraints. The constraints this method | Different endpoints support different constraints. The constraints this method | ||||
supports are detailed below. As an example, you might specify constraints like | supports are detailed below. As an example, you might specify constraints like | ||||
this: | this: | ||||
```lang=json, name="Example Custom Constraints" | ```lang=json, name="Example Custom Constraints" | ||||
{ | { | ||||
... | ... | ||||
"constraints": { | "constraints": { | ||||
"authors": ["PHID-USER-1111", "PHID-USER-2222"], | "authorPHIDs": ["PHID-USER-1111", "PHID-USER-2222"], | ||||
"statuses": ["open", "closed"], | "flavors": ["cherry", "orange"], | ||||
... | ... | ||||
}, | }, | ||||
... | ... | ||||
} | } | ||||
``` | ``` | ||||
This API endpoint supports these constraints: | This API endpoint supports these constraints: | ||||
EOTEXT | EOTEXT | ||||
▲ Show 20 Lines • Show All 460 Lines • Show Last 20 Lines |