![]() This adds an alternative method for uploading files by giving Canvas a public URL in the first step, rather than uploading the file data directly. test plan: - create a course file via the API upload mechanism - make sure the return values are as documented - make sure the file was correctly uploaded - create a course file via the URL approach - make sure the return values are as documented - make sure the file status endpoint returns valid responses - make sure the file was correctly stored in Canvas - repeat that process with a file that has at least one redirect - repeat that process but creating a homework submission file - try to create a course file with a malformed URL - confirm that the appropriate error message is returned - try to create a course file with a relative URL - confirm that the appropriate error message is returned - try to create a course file with a URL that doesn't return 200 - confirm that the appropriate error message is returned Change-Id: I2dcf711347ec4ef26d767ae1c1fa0bb056986651 Reviewed-on: https://gerrit.instructure.com/12143 Tested-by: Jenkins <jenkins@instructure.com> Reviewed-by: Jeremy Stanley <jeremy@instructure.com> |
||
---|---|---|
.. | ||
api | ||
high_level.txt |