Aller au contenu principal

Create Lesson

POST$BEEDEEZ_API/v1/lessons/create

Create Lesson

Create a Lesson

Request Body — REQUIRED
playMode string

Possible values: [standard, battle, adaptive]

categoryIds string[]

IDs of the categories this lesson belongs to

trackIds string[]

IDs of the tracks this lesson belongs to

level string

Possible values: [beginning, intermediary, expert]

images object[]

Publicly accessible URLs of the images of the lesson

type string

Possible values: [original, site, site-low-res, mobile, small, tiny, specific]

url string

URL of the image

image string

Publicly accessible URL of the image of the lesson

notions object[]

Notions of the lesson

exitQuizz object
questions object[]

Questions of the quiz

choicesOrderType string

Possible values: [ordered, random]

choices object[]

Choices of the question

value double

Value of the choice

choiceAnswer string

Answer of the choice

good boolean

Good choice

title string

Title of the choice

allowedAttempts double

Allowed attempts of the question

type string — REQUIRED

Possible values: [simple, swipecards, image-map, label-matching, multiple, truefalse, checkbox, order, gap-fill, satisfaction, evaluation, free-text, free-text-image-b64, free-number]

explanation string — REQUIRED

Explanation of the answer

title string — REQUIRED

Title of the question

type string

Possible values: [question-list, evaluation, life, survey, diagnostic, game, iterative, useCase]

lifeNumber double

Number of life of the quiz

entryQuizz object
questions object[]

Questions of the quiz

choicesOrderType string

Possible values: [ordered, random]

choices object[]

Choices of the question

value double

Value of the choice

choiceAnswer string

Answer of the choice

good boolean

Good choice

title string

Title of the choice

allowedAttempts double

Allowed attempts of the question

type string — REQUIRED

Possible values: [simple, swipecards, image-map, label-matching, multiple, truefalse, checkbox, order, gap-fill, satisfaction, evaluation, free-text, free-text-image-b64, free-number]

explanation string — REQUIRED

Explanation of the answer

title string — REQUIRED

Title of the question

type string

Possible values: [question-list, evaluation, life, survey, diagnostic, game, iterative, useCase]

lifeNumber double

Number of life of the quiz

iconsPreview object[]

Icons preview of the notion

type string

Possible values: [original, site, site-low-res, mobile, small, tiny, specific]

url string

URL of the image

contents object[] — REQUIRED

Contents of the notion

videoContent object

Video content of the lesson

thumbnail string
url string — REQUIRED
flashCardContent object[]

Flash card content of the lesson

backContent object — REQUIRED
images object[]
type string

Possible values: [original, site, site-low-res, mobile, small, tiny, specific]

url string

URL of the image

image string
text string — REQUIRED
frontContent object — REQUIRED
images object[]
type string

Possible values: [original, site, site-low-res, mobile, small, tiny, specific]

url string

URL of the image

image string
text string — REQUIRED
icons object[]

Publicly accessible URLs of the images of the lesson

type string

Possible values: [original, site, site-low-res, mobile, small, tiny, specific]

url string

URL of the image

duration double

Duration of the content

standardContent string

Content of the content card (markdown format accepted)

type string — REQUIRED

Possible values: [standard, flashCards, video, infographic]

Type of the content

name string — REQUIRED

Name of the content

description string — REQUIRED

Description of the notion

title string — REQUIRED

Title of the notion

status string — REQUIRED

Possible values: [saved, submit, online, refused, deleted, draft]

visibility string — REQUIRED

Possible values: [public, private]

summary string — REQUIRED

Summary of the lesson

title string — REQUIRED

Title of the lesson

id string
Responses
200

Ok

Schema — OPTIONAL
playMode string — OPTIONAL

Possible values: [standard, battle, adaptive]

categoryIds string[] — OPTIONAL

IDs of the categories this lesson belongs to

trackIds string[] — OPTIONAL

IDs of the tracks this lesson belongs to

level string — OPTIONAL

Possible values: [beginning, intermediary, expert]

images object[] — OPTIONAL

Publicly accessible URLs of the images of the lesson

type string — OPTIONAL

Possible values: [original, site, site-low-res, mobile, small, tiny, specific]

url string — OPTIONAL

URL of the image

image string — OPTIONAL

Publicly accessible URL of the image of the lesson

notions object[] — OPTIONAL

Notions of the lesson

exitQuizz object — OPTIONAL
questions object[] — OPTIONAL

Questions of the quiz

choicesOrderType string — OPTIONAL

Possible values: [ordered, random]

choices object[] — OPTIONAL

Choices of the question

value double — OPTIONAL

Value of the choice

choiceAnswer string — OPTIONAL

Answer of the choice

good boolean — OPTIONAL

Good choice

title string — OPTIONAL

Title of the choice

allowedAttempts double — OPTIONAL

Allowed attempts of the question

type string

Possible values: [simple, swipecards, image-map, label-matching, multiple, truefalse, checkbox, order, gap-fill, satisfaction, evaluation, free-text, free-text-image-b64, free-number]

explanation string

Explanation of the answer

title string

Title of the question

type string — OPTIONAL

Possible values: [question-list, evaluation, life, survey, diagnostic, game, iterative, useCase]

lifeNumber double — OPTIONAL

Number of life of the quiz

entryQuizz object — OPTIONAL
questions object[] — OPTIONAL

Questions of the quiz

choicesOrderType string — OPTIONAL

Possible values: [ordered, random]

choices object[] — OPTIONAL

Choices of the question

value double — OPTIONAL

Value of the choice

choiceAnswer string — OPTIONAL

Answer of the choice

good boolean — OPTIONAL

Good choice

title string — OPTIONAL

Title of the choice

allowedAttempts double — OPTIONAL

Allowed attempts of the question

type string

Possible values: [simple, swipecards, image-map, label-matching, multiple, truefalse, checkbox, order, gap-fill, satisfaction, evaluation, free-text, free-text-image-b64, free-number]

explanation string

Explanation of the answer

title string

Title of the question

type string — OPTIONAL

Possible values: [question-list, evaluation, life, survey, diagnostic, game, iterative, useCase]

lifeNumber double — OPTIONAL

Number of life of the quiz

iconsPreview object[] — OPTIONAL

Icons preview of the notion

type string — OPTIONAL

Possible values: [original, site, site-low-res, mobile, small, tiny, specific]

url string — OPTIONAL

URL of the image

contents object[]

Contents of the notion

videoContent object — OPTIONAL

Video content of the lesson

thumbnail string — OPTIONAL
url string
flashCardContent object[] — OPTIONAL

Flash card content of the lesson

backContent object
images object[] — OPTIONAL
type string — OPTIONAL

Possible values: [original, site, site-low-res, mobile, small, tiny, specific]

url string — OPTIONAL

URL of the image

image string — OPTIONAL
text string
frontContent object
images object[] — OPTIONAL
type string — OPTIONAL

Possible values: [original, site, site-low-res, mobile, small, tiny, specific]

url string — OPTIONAL

URL of the image

image string — OPTIONAL
text string
icons object[] — OPTIONAL

Publicly accessible URLs of the images of the lesson

type string — OPTIONAL

Possible values: [original, site, site-low-res, mobile, small, tiny, specific]

url string — OPTIONAL

URL of the image

duration double — OPTIONAL

Duration of the content

standardContent string — OPTIONAL

Content of the content card (markdown format accepted)

type string

Possible values: [standard, flashCards, video, infographic]

Type of the content

name string

Name of the content

description string

Description of the notion

title string

Title of the notion

status string

Possible values: [saved, submit, online, refused, deleted, draft]

visibility string

Possible values: [public, private]

summary string

Summary of the lesson

title string

Title of the lesson

id string — OPTIONAL

Autorisation

AuthorizationAccess token de type Bearerscope adminComment l’obtenir

Corps de la requête

object
playModestringfacultatif
standardbattleadaptive
categoryIdsstring[]facultatif
IDs of the categories this lesson belongs to
trackIdsstring[]facultatif
IDs of the tracks this lesson belongs to
levelstringfacultatif
beginningintermediaryexpert
imagesobject[]facultatif
Publicly accessible URLs of the images of the lesson
typestringfacultatif
originalsitesite-low-resmobilesmalltinyspecific
urlstringfacultatif
URL of the image
imagestringfacultatif
Publicly accessible URL of the image of the lesson
notionsobject[]facultatif
Notions of the lesson
exitQuizzobjectfacultatif
questionsobject[]facultatif
Questions of the quiz
choicesOrderTypestringfacultatif
orderedrandom
choicesobject[]facultatif
Choices of the question
valuedoublefacultatif
Value of the choice
choiceAnswerstringfacultatif
Answer of the choice
goodbooleanfacultatif
Good choice
titlestringfacultatif
Title of the choice
allowedAttemptsdoublefacultatif
Allowed attempts of the question
typestringobligatoire
simpleswipecardsimage-maplabel-matchingmultipletruefalsecheckboxordergap-fillsatisfactionevaluationfree-textfree-text-image-b64free-number
explanationstringobligatoire
Explanation of the answer
titlestringobligatoire
Title of the question
typestringfacultatif
question-listevaluationlifesurveydiagnosticgameiterativeuseCase
lifeNumberdoublefacultatif
Number of life of the quiz
entryQuizzobjectfacultatif
questionsobject[]facultatif
Questions of the quiz
choicesOrderTypestringfacultatif
orderedrandom
choicesobject[]facultatif
Choices of the question
valuedoublefacultatif
Value of the choice
choiceAnswerstringfacultatif
Answer of the choice
goodbooleanfacultatif
Good choice
titlestringfacultatif
Title of the choice
allowedAttemptsdoublefacultatif
Allowed attempts of the question
typestringobligatoire
simpleswipecardsimage-maplabel-matchingmultipletruefalsecheckboxordergap-fillsatisfactionevaluationfree-textfree-text-image-b64free-number
explanationstringobligatoire
Explanation of the answer
titlestringobligatoire
Title of the question
typestringfacultatif
question-listevaluationlifesurveydiagnosticgameiterativeuseCase
lifeNumberdoublefacultatif
Number of life of the quiz
iconsPreviewobject[]facultatif
Icons preview of the notion
typestringfacultatif
originalsitesite-low-resmobilesmalltinyspecific
urlstringfacultatif
URL of the image
contentsobject[]obligatoire
Contents of the notion
videoContentobjectfacultatif
Video content of the lesson
thumbnailstringfacultatif
urlstringobligatoire
flashCardContentobject[]facultatif
Flash card content of the lesson
backContentobjectobligatoire
imagesobject[]facultatif
typestringfacultatif
originalsitesite-low-resmobilesmalltinyspecific
urlstringfacultatif
URL of the image
imagestringfacultatif
textstringobligatoire
frontContentobjectobligatoire
imagesobject[]facultatif
typestringfacultatif
originalsitesite-low-resmobilesmalltinyspecific
urlstringfacultatif
URL of the image
imagestringfacultatif
textstringobligatoire
iconsobject[]facultatif
Publicly accessible URLs of the images of the lesson
typestringfacultatif
originalsitesite-low-resmobilesmalltinyspecific
urlstringfacultatif
URL of the image
durationdoublefacultatif
Duration of the content
standardContentstringfacultatif
Content of the content card (markdown format accepted)
typestringobligatoire
Type of the content
standardflashCardsvideoinfographic
namestringobligatoire
Name of the content
descriptionstringobligatoire
Description of the notion
titlestringobligatoire
Title of the notion
statusstringobligatoire
savedsubmitonlinerefuseddeleteddraft
visibilitystringobligatoire
publicprivate
summarystringobligatoire
Summary of the lesson
titlestringobligatoire
Title of the lesson
idstringfacultatif

Réponse

200 OKobject
playModestring
standardbattleadaptive
categoryIdsstring[]
IDs of the categories this lesson belongs to
trackIdsstring[]
IDs of the tracks this lesson belongs to
levelstring
beginningintermediaryexpert
imagesobject[]
Publicly accessible URLs of the images of the lesson
typestring
originalsitesite-low-resmobilesmalltinyspecific
urlstring
URL of the image
imagestring
Publicly accessible URL of the image of the lesson
notionsobject[]
Notions of the lesson
exitQuizzobject
questionsobject[]
Questions of the quiz
choicesOrderTypestring
orderedrandom
choicesobject[]
Choices of the question
valuedouble
Value of the choice
choiceAnswerstring
Answer of the choice
goodboolean
Good choice
titlestring
Title of the choice
allowedAttemptsdouble
Allowed attempts of the question
typestring
simpleswipecardsimage-maplabel-matchingmultipletruefalsecheckboxordergap-fillsatisfactionevaluationfree-textfree-text-image-b64free-number
explanationstring
Explanation of the answer
titlestring
Title of the question
typestring
question-listevaluationlifesurveydiagnosticgameiterativeuseCase
lifeNumberdouble
Number of life of the quiz
entryQuizzobject
questionsobject[]
Questions of the quiz
choicesOrderTypestring
orderedrandom
choicesobject[]
Choices of the question
valuedouble
Value of the choice
choiceAnswerstring
Answer of the choice
goodboolean
Good choice
titlestring
Title of the choice
allowedAttemptsdouble
Allowed attempts of the question
typestring
simpleswipecardsimage-maplabel-matchingmultipletruefalsecheckboxordergap-fillsatisfactionevaluationfree-textfree-text-image-b64free-number
explanationstring
Explanation of the answer
titlestring
Title of the question
typestring
question-listevaluationlifesurveydiagnosticgameiterativeuseCase
lifeNumberdouble
Number of life of the quiz
iconsPreviewobject[]
Icons preview of the notion
typestring
originalsitesite-low-resmobilesmalltinyspecific
urlstring
URL of the image
contentsobject[]
Contents of the notion
videoContentobject
Video content of the lesson
thumbnailstring
urlstring
flashCardContentobject[]
Flash card content of the lesson
backContentobject
imagesobject[]
typestring
originalsitesite-low-resmobilesmalltinyspecific
urlstring
URL of the image
imagestring
textstring
frontContentobject
imagesobject[]
typestring
originalsitesite-low-resmobilesmalltinyspecific
urlstring
URL of the image
imagestring
textstring
iconsobject[]
Publicly accessible URLs of the images of the lesson
typestring
originalsitesite-low-resmobilesmalltinyspecific
urlstring
URL of the image
durationdouble
Duration of the content
standardContentstring
Content of the content card (markdown format accepted)
typestring
Type of the content
standardflashCardsvideoinfographic
namestring
Name of the content
descriptionstring
Description of the notion
titlestring
Title of the notion
statusstring
savedsubmitonlinerefuseddeleteddraft
visibilitystring
publicprivate
summarystring
Summary of the lesson
titlestring
Title of the lesson
idstring
Bloqué sur une intégration ?
Écrivez à l’équipe développeurs avec votre ID de requête, on vous répond vite.