Add recordsdata utilizing the Learner API for the File Ship Exercise module.
On this weblog, I’ve connected an indication video of the workflow for sending recordsdata utilizing the API. For testing, we used EvaporateJS and AWS V4 Signatures.
Stipulations:
Step 1: Save a sound entry (oAuth) token from the general public API as proven beneath.
Step -2: Save the entry token and the general public API add info response will probably be routinely populated within the check space.
Step -3: Open the community log window as proven within the video.
Step -4: Browse for the file you need to add.
Step -5: Copy the request URL from the community logs as proven within the video.
Step -6: Change the submission URL within the API response physique.
Pattern payload:
{
“information”: {
“id”: “Course:123_234_345_0”,
“sort”: “learningObjectResource”,
“attribute”: {
“submissionUrl”: “https://instance.com/abc”
}
}
}
I’ve connected the HTML code within the Phrase doc and the demo video.
When testing this, change the file extension from a Phrase doc to an HTM doc.