Changeset View
Changeset View
Standalone View
Standalone View
src/applications/search/engine/PhabricatorSearchEngineAPIMethod.php
Show First 20 Lines • Show All 397 Lines • ▼ Show 20 Lines | EOTEXT | ||||
} | } | ||||
private function buildFieldsBox( | private function buildFieldsBox( | ||||
PhabricatorApplicationSearchEngine $engine) { | PhabricatorApplicationSearchEngine $engine) { | ||||
$info = pht(<<<EOTEXT | $info = pht(<<<EOTEXT | ||||
Objects matching your query are returned as a list of dictionaries in the | Objects matching your query are returned as a list of dictionaries in the | ||||
`data` property of the results. Each dictionary has some metadata and a | `data` property of the results. Each dictionary has some metadata and a | ||||
`fields` key, which contains the information abou the object that most callers | `fields` key, which contains the information about the object that most callers | ||||
will be interested in. | will be interested in. | ||||
For example, the results may look something like this: | For example, the results may look something like this: | ||||
```lang=json, name="Example Results" | ```lang=json, name="Example Results" | ||||
{ | { | ||||
... | ... | ||||
"data": [ | "data": [ | ||||
▲ Show 20 Lines • Show All 225 Lines • Show Last 20 Lines |