Commit Graph

2 Commits

Author SHA1 Message Date
James Williams f31d2bd04d add search_term to files, modules, and module item apis
test plan:
* test the new /courses/:course_id/files index endpoint,
 which should return all files that belong to a course
* refer to the API documentation to test the
 search_term parameter (which should work as with other
 API index actions), for:
  - Files (both folder and course specific)
  - Modules
  - Module Items

closes #CNVS-6904

Change-Id: I4c6f80792cda453d53bf48741d14e851f5040dd4
Reviewed-on: https://gerrit.instructure.com/22746
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
2013-08-02 20:12:04 +00:00
James Williams 8eda5da295 add search helper module
mostly just refactoring

test plan:
* reference the pages API documentation to
search for wiki pages by title
* confirm that an error is returned if
search_term is less than 3 characters long

closes #CNVS-6958

Change-Id: I12cfd9641fb223e0b56cb322920f71caa9ae19e1
Reviewed-on: https://gerrit.instructure.com/22400
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
2013-07-23 16:31:51 +00:00