Skip to main content
Version: 8.1.0

🌐 Shared library

See Taking a quiz for conventions.

Shared quizzes​

Quizzes shared by other teachers, in one curriculum topic. search filters them.

POST /{typeSegment}/{id}/national/{idTaxonomie}/qcms.awp?verbe=get&v=8.1.0
data={
"search": ""
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": [
{
"id": 0,
"titre": "",
"introduction": "", // Text shown before starting
"conclusion": "", // Text shown at the end
"baremeBR": 1, // Points for a right answer
"baremeAR": 0, // Points for no answer
"baremeMR": -1, // Points for a wrong answer
"idAuteur": 0, // Author id
"qAleatoire": false, // Shuffle the questions
"masquerCorrectifFE": false, // Hide the correction from students (graded)
"masquerCorrectifFormatif": false, // Hide the correction (formative)
"bloquerRejeuFormatif": false, // Forbid replaying a formative quiz
"introductionDecode": "", // optional
"conclusionDecode": "", // optional
"created": "", // Creation date
"guid": "", // Shared id (empty if not shared)
"efface": false, // Deleted
"nbQuestions": 0, // Number of questions
"etiquettes": [], // optional; Tag ids, comma separated
"evaluations": [ // optional; Linked assessments
{
"id": 0,
"titre": "",
"sousTitre": "", // Subtitle
"idEntite": 0, // Id of the linked homework or assessment
"date": "2025-10-03", // optional
"idGroupe": 0,
"idClasse": 0,
"periode": "",
"codeMatiere": "FRANC", // Subject code
"codeSSMatiere": "",
"disponible": false, // Available to students
"debute": "", // optional; Started
"fini": "" // optional; Finished
}
],
"travauxafaire": [ // optional; Linked homework
{
"id": 0,
"titre": "",
"sousTitre": "", // Subtitle
"idEntite": 0, // Id of the linked homework or assessment
"date": "2025-10-03" // optional
}
],
"taxonomies": [ // optional; Curriculum topics
{
"id": 0,
"idParent": 0, // Parent topic id
"libelleParent": "", // Parent topic label
"libelle": "", // Label
"libelleDisplay": "", // Display label
"ordre": 0, // Position
"nbQCM": 0, // Quizzes in the topic
"isLeaf": false, // Has no sub-topic
"tabChildren": [] // optional; Sub-topics
}
],
"natCommentaire": "", // optional; Shared quiz: author comment
"natEtablissement": "", // optional; Shared quiz: school
"natOgec": "", // optional; Shared quiz: school code
"natAuteur": "", // optional; Shared quiz: author
"natMotsCles": "", // optional; Shared quiz: keywords
"natNbTelecharge": "", // optional; Shared quiz: times reused
"natScoring": "", // optional; Shared quiz: average rating
"natNbVotants": "" // optional; Shared quiz: number of votes
}
]
}

Share a quiz​

POST /{typeSegment}/{id}/qcms/{idQCM}.awp?verbe=copy&v=8.1.0
data={
"share": true,
"qcm": {
"id": 0,
"titre": "",
"introduction": "", // Text shown before starting
"conclusion": "", // Text shown at the end
"baremeBR": 1, // Points for a right answer
"baremeAR": 0, // Points for no answer
"baremeMR": -1, // Points for a wrong answer
"idAuteur": 0, // Author id
"qAleatoire": false, // Shuffle the questions
"masquerCorrectifFE": false, // Hide the correction from students (graded)
"masquerCorrectifFormatif": false, // Hide the correction (formative)
"bloquerRejeuFormatif": false, // Forbid replaying a formative quiz
"introductionDecode": "", // optional
"conclusionDecode": "", // optional
"created": "", // Creation date
"guid": "", // Shared id (empty if not shared)
"efface": false, // Deleted
"nbQuestions": 0, // Number of questions
"etiquettes": [], // optional; Tag ids, comma separated
"evaluations": [ // optional; Linked assessments
{
"id": 0,
"titre": "",
"sousTitre": "", // Subtitle
"idEntite": 0, // Id of the linked homework or assessment
"date": "2025-10-03", // optional
"idGroupe": 0,
"idClasse": 0,
"periode": "",
"codeMatiere": "FRANC", // Subject code
"codeSSMatiere": "",
"disponible": false, // Available to students
"debute": "", // optional; Started
"fini": "" // optional; Finished
}
],
"travauxafaire": [ // optional; Linked homework
{
"id": 0,
"titre": "",
"sousTitre": "", // Subtitle
"idEntite": 0, // Id of the linked homework or assessment
"date": "2025-10-03" // optional
}
],
"taxonomies": [ // optional; Curriculum topics
{
"id": 0,
"idParent": 0, // Parent topic id
"libelleParent": "", // Parent topic label
"libelle": "", // Label
"libelleDisplay": "", // Display label
"ordre": 0, // Position
"nbQCM": 0, // Quizzes in the topic
"isLeaf": false, // Has no sub-topic
"tabChildren": [] // optional; Sub-topics
}
],
"natCommentaire": "", // optional; Shared quiz: author comment
"natEtablissement": "", // optional; Shared quiz: school
"natOgec": "", // optional; Shared quiz: school code
"natAuteur": "", // optional; Shared quiz: author
"natMotsCles": "", // optional; Shared quiz: keywords
"natNbTelecharge": "", // optional; Shared quiz: times reused
"natScoring": "", // optional; Shared quiz: average rating
"natNbVotants": "" // optional; Shared quiz: number of votes
}
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": {
"guid": "" // Shared id
}
}

Stop sharing​

POST /{typeSegment}/{id}/national/qcms/{idQCM}.awp?verbe=delete&v=8.1.0
data={
"guid": ""
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}

Rate a shared quiz​

POST /{typeSegment}/{id}/national/qcms/{idQCM}.awp?verbe=patch&v=8.1.0
data={
"rating": 5,
"action": "rateQCM"
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": {}
}

Reuse a shared quiz​

Copies a shared quiz into the teacher's own quizzes.

POST /{typeSegment}/{id}/national/qcms/{idQCM}.awp?verbe=copy&v=8.1.0
data={
"qcm": {
"id": 0,
"titre": "",
"introduction": "", // Text shown before starting
"conclusion": "", // Text shown at the end
"baremeBR": 1, // Points for a right answer
"baremeAR": 0, // Points for no answer
"baremeMR": -1, // Points for a wrong answer
"idAuteur": 0, // Author id
"qAleatoire": false, // Shuffle the questions
"masquerCorrectifFE": false, // Hide the correction from students (graded)
"masquerCorrectifFormatif": false, // Hide the correction (formative)
"bloquerRejeuFormatif": false, // Forbid replaying a formative quiz
"introductionDecode": "", // optional
"conclusionDecode": "", // optional
"created": "", // Creation date
"guid": "", // Shared id (empty if not shared)
"efface": false, // Deleted
"nbQuestions": 0, // Number of questions
"etiquettes": [], // optional; Tag ids, comma separated
"evaluations": [ // optional; Linked assessments
{
"id": 0,
"titre": "",
"sousTitre": "", // Subtitle
"idEntite": 0, // Id of the linked homework or assessment
"date": "2025-10-03", // optional
"idGroupe": 0,
"idClasse": 0,
"periode": "",
"codeMatiere": "FRANC", // Subject code
"codeSSMatiere": "",
"disponible": false, // Available to students
"debute": "", // optional; Started
"fini": "" // optional; Finished
}
],
"travauxafaire": [ // optional; Linked homework
{
"id": 0,
"titre": "",
"sousTitre": "", // Subtitle
"idEntite": 0, // Id of the linked homework or assessment
"date": "2025-10-03" // optional
}
],
"taxonomies": [ // optional; Curriculum topics
{
"id": 0,
"idParent": 0, // Parent topic id
"libelleParent": "", // Parent topic label
"libelle": "", // Label
"libelleDisplay": "", // Display label
"ordre": 0, // Position
"nbQCM": 0, // Quizzes in the topic
"isLeaf": false, // Has no sub-topic
"tabChildren": [] // optional; Sub-topics
}
],
"natCommentaire": "", // optional; Shared quiz: author comment
"natEtablissement": "", // optional; Shared quiz: school
"natOgec": "", // optional; Shared quiz: school code
"natAuteur": "", // optional; Shared quiz: author
"natMotsCles": "", // optional; Shared quiz: keywords
"natNbTelecharge": "", // optional; Shared quiz: times reused
"natScoring": "", // optional; Shared quiz: average rating
"natNbVotants": "" // optional; Shared quiz: number of votes
}
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": {
"id": 1234, // Id of the copy
"created": "2025-10-03",
"natNbTelecharge": 1, // Times reused
"nbQuestions": 10
}
}