From 00f35a58c5efca286f9832a50a519c512043ab39 Mon Sep 17 00:00:00 2001 From: Duane Johnson Date: Mon, 21 Jul 2014 15:40:33 -0600 Subject: [PATCH] add API docs for integration_id/data API docs are missing integration_id/integration_data for assignment 'update' API call. Test Plan: - Update Assignment API docs should include integration_id/data Fixes SIS-374 Change-Id: I088796e2aac274ba90a048c55f9b53dcceb63be4 Reviewed-on: https://gerrit.instructure.com/37949 Tested-by: Jenkins Reviewed-by: Tyler Pickett Product-Review: Tyler Pickett QA-Review: Jeremy Putnam --- app/controllers/assignments_api_controller.rb | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/app/controllers/assignments_api_controller.rb b/app/controllers/assignments_api_controller.rb index cf026d2db7b..3fc8ffff9bc 100644 --- a/app/controllers/assignments_api_controller.rb +++ b/app/controllers/assignments_api_controller.rb @@ -604,16 +604,16 @@ class AssignmentsApiController < ApplicationController # Toggles Turnitin submissions for the assignment. # Will be ignored if Turnitin is not available for the course. # + # @argument assignment[turnitin_settings] [Optional] + # Settings to send along to turnitin. See Assignment object definition for + # format. + # # @argument assignment[integration_data] [Optional] # Data related to third party integrations, JSON string required. # # @argument assignment[integration_id] [Optional] # Unique ID from third party integrations # - # @argument assignment[turnitin_settings] [Optional] - # Settings to send along to turnitin. See Assignment object definition for - # format. - # # @argument assignment[peer_reviews] [Optional, Boolean] # If submission_types does not include external_tool,discussion_topic, # online_quiz, or on_paper, determines whether or not peer reviews @@ -752,6 +752,12 @@ class AssignmentsApiController < ApplicationController # Settings to send along to turnitin. See Assignment object definition for # format. # + # @argument assignment[integration_data] [Optional] + # Data related to third party integrations, JSON string required. + # + # @argument assignment[integration_id] [Optional] + # Unique ID from third party integrations + # # @argument assignment[peer_reviews] [Optional, Boolean] # If submission_types does not include external_tool,discussion_topic, # online_quiz, or on_paper, determines whether or not peer reviews