Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
problem-builder
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
problem-builder
Commits
bb63bbc6
Commit
bb63bbc6
authored
Aug 18, 2017
by
Chandrakant Gopalan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated docs
parent
4599ffbb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
doc/Native APIs.md
+6
-4
No files found.
doc/Native APIs.md
View file @
bb63bbc6
...
@@ -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 a
n 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`)
-----------------------------
-----------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment