Homec4science

Give ConduitAPIMethod->getMethodDescription() access to a real Viewer

Authored by epriestley <git@epriestley.com> on Dec 13 2015, 11:45.

Description

Give ConduitAPIMethod->getMethodDescription() access to a real Viewer

Summary:
Ref T9964. The new *.search and *.edit methods generate documentation which depends on the viewer.

For example, the *.search methods show a reference table of the keys for all your saved queries.

Give them a real viewer to work with.

During normal execution, just populate this viewer with the request's viewer, so $request->getViewer() and $this->getViewer() both work and mean the same thing.

Test Plan: {F1023780}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9964

Differential Revision: https://secure.phabricator.com/D14761

Details

Committed
epriestley <git@epriestley.com>Dec 14 2015, 13:20
Pushed
aubortJan 31 2017, 17:16
Parents
rPHf3b57990bfe4: Add "maniphest.search" Conduit API endpoint
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHd1a1d4800143: Give ConduitAPIMethod->getMethodDescription() access to a real Viewer (authored by epriestley <git@epriestley.com>).Dec 14 2015, 13:20