Commit bb63bbc6 by Chandrakant Gopalan

Updated docs

parent 4599ffbb
...@@ -249,8 +249,8 @@ The `answer_data` field contains these items: ...@@ -249,8 +249,8 @@ The `answer_data` field contains these items:
### POST Submit Data ### POST Submit Data
When submitting the problem either via Problem Builder or Step Builder, the data When submitting the problem either via Problem Builder or Step Builder, the data
entry corresponding to the Long Answer block should be an array with a single entry corresponding to the Long Answer block should be a single object
object containing the `"value"` property. Example: `[{"value": "Student's input"}]`. containing the `"value"` property. Example: `{"value": "Student's input"}`.
Multiple Choice Question (`pb-mcq`) Multiple Choice Question (`pb-mcq`)
----------------------------------- -----------------------------------
...@@ -298,8 +298,10 @@ Each entry in the `tips` array contains these values: ...@@ -298,8 +298,10 @@ Each entry in the `tips` array contains these values:
### POST Submit Data ### POST Submit Data
When submitting the problem the data should be equal to the string value of the When submitting the problem the data should be a single object containing the
selected choice. Example: `"blue"`. `"value"` property which has the value of the selected choice.
Example: `{"value": "blue"}`
Rating Question (`pb-rating`) Rating Question (`pb-rating`)
----------------------------- -----------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment