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>
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>