Commit Graph

2 Commits

Author SHA1 Message Date
Jeremy Stanley 281b72673d return content_id in module items api
fixes CNVS-5807

test plan:
 - index or show action for module item should show the id
   of the referenced object (content_id), if it has one
   - note that wiki page ids are not exposed by the api

Change-Id: I05748fa562b9e7cb5a775b6c8e40a5ff2e835f01
Reviewed-on: https://gerrit.instructure.com/20525
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: James Williams  <jamesw@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2013-05-15 20:55:34 +00:00
James Williams f9237bc856 add create/update/delete to api for context modules and items
test plan:
* refer to the API documentation to:

 * create a module
 * update existing module
 * delete a module

 * create a module item
 * update a module item
 * delete a module item

closes #CNVS-5534 #CNVS-5555

Change-Id: Icf13300d015e37bae636324a218ecf9ab9f2f8d0
Reviewed-on: https://gerrit.instructure.com/20200
QA-Review: Adam Phillipps <adam@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
2013-05-10 15:16:34 +00:00