Skip to content

Instantly share code, notes, and snippets.

@baebb
Last active December 7, 2019 06:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baebb/9956c2d847f4f04d0f4dcdf6f064548c to your computer and use it in GitHub Desktop.
Save baebb/9956c2d847f4f04d0f4dcdf6f064548c to your computer and use it in GitHub Desktop.
Earning by Learning test payload
{
test_name: string,
test_description: string,
test_video: string, //url
test_questions: [
{
question_id: integer,
question_text: string,
question_options: [
{
answer_id: integer,
answer_text
},
{
answer_id: integer,
answer_text
},
],
},
{
question_id: integer,
question_text: blah,
question_options: [
{
answer_id: integer,
answer_text
},
{
answer_id: integer,
answer_text
},
],
},
],
question_answer: {
question_id: answer_id,
question_id: answer_id
}
funded_amount: integer,
funds_redeemed: bool,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment