إنتقل إلى المحتوى الرئيسي

هذه الصفحة غير متاحة بالعربية بعد، وتُعرض بالإنجليزية.

Dexwize Academy Service

Partner training and certification (E37): learning paths, lessons (video, interactive, documents, SCORM 1.2/2004, xAPI and hands-on labs), randomized timed exams, certificates with a public verification page, and the vendor portal's authoring, review and publish workflow. Learners hold academy permissions (partner staff and admins, and customer admins when their plan includes the Academy); authoring needs a platform session. Three paths are public by design: certificate verification (name, level, status and dates only), the HMAC-signed package player paths, and the xAPI statements endpoint, which accepts only a launch token. Catalog text may contain the Dexwize placeholder, which clients replace with the active brand's product name.

Version 1.0.0. Download the OpenAPI specification.

Authentication: bearer, launch.

Operations​

MethodPathSummary
POST/v1/academy/assignmentsassignPath
POST/v1/academy/attempts/{id}/submitsubmitExam
GET/v1/academy/authoring/{kind}listCatalogContent
PUT/v1/academy/authoring/{kind}/{key}draftCatalogContent
POST/v1/academy/authoring/{kind}/{key}/publishpublishCatalogContent
POST/v1/academy/authoring/{kind}/{key}/returnreturnCatalogContent
POST/v1/academy/authoring/{kind}/{key}/submitsubmitCatalogContent
GET/v1/academy/authoring/{kind}/{key}/versionslistCatalogVersions
GET/v1/academy/certificateslistMyCertificates
GET/v1/academy/certificates/{certificateId}/pdfdownloadCertificate
POST/v1/academy/certifications/{id}/examstartExam
PUT/v1/academy/customer-access/{tenantId}setCustomerAcademyAccess
POST/v1/academy/enrolments/{id}/courses/{courseId}/lessons/{lessonId}/completecompleteLesson
POST/v1/academy/enrolments/{id}/courses/{courseId}/lessons/{lessonId}/scormreportScormRuntime
POST/v1/academy/enrolments/{id}/courses/{courseId}/lessons/{lessonId}/scorm/launchlaunchScormLesson
POST/v1/academy/enrolments/{id}/courses/{courseId}/lessons/{lessonId}/scorm/navigatenavigateScorm
POST/v1/academy/enrolments/{id}/courses/{courseId}/lessons/{lessonId}/xapi-launchlaunchXapiLesson
GET/v1/academy/lab-instances/{id}getLab
POST/v1/academy/lab-instances/{id}/tasks/{taskId}answerLabTask
POST/v1/academy/labs/{labId}/provisionprovisionLab
GET/v1/academy/learning-records/statementslistLearningRecordStatements
GET/v1/academy/packageslistPackages
POST/v1/academy/packagesimportPackage
GET/v1/academy/packages/{id}/launchgetPackageLaunch
GET/v1/academy/pathslistAcademyPaths
POST/v1/academy/paths/{id}/enrolenrolInPath
GET/v1/academy/progresslistLearnerProgress
GET/v1/academy/verify/{certificateId}verifyCertificate
GET/v1/academy/xapi/activitiesgetXapiActivity
GET/v1/academy/xapi/activities/profilegetXapiActivityProfile
POST/v1/academy/xapi/activities/profilemergeXapiActivityProfile
PUT/v1/academy/xapi/activities/profileputXapiActivityProfile
DELETE/v1/academy/xapi/activities/profiledeleteXapiActivityProfile
GET/v1/academy/xapi/activities/stategetXapiState
POST/v1/academy/xapi/activities/statemergeXapiState
PUT/v1/academy/xapi/activities/stateputXapiState
DELETE/v1/academy/xapi/activities/statedeleteXapiState
GET/v1/academy/xapi/agentsgetXapiPerson
GET/v1/academy/xapi/agents/profilegetXapiAgentProfile
POST/v1/academy/xapi/agents/profilemergeXapiAgentProfile
PUT/v1/academy/xapi/agents/profileputXapiAgentProfile
DELETE/v1/academy/xapi/agents/profiledeleteXapiAgentProfile
GET/v1/academy/xapi/statementsgetXapiStatements
POST/v1/academy/xapi/statementsstoreXapiStatements
PUT/v1/academy/xapi/statementsputXapiStatement

POST /v1/academy/assignments​

Request body: object (JSON).

StatusDescriptionBody
201AssignedEnrolment

POST /v1/academy/attempts/{id}/submit​

ParameterInTypeRequiredDescription
idpathstringyes

Request body: object (JSON).

StatusDescriptionBody
200Score, pass or fail, and the certificate id when passedExamResult

GET /v1/academy/authoring/{kind}​

ParameterInTypeRequiredDescription
kindpathstringyes
StatusDescriptionBody
200The latest version of every item of the kindCatalogEntry[]

PUT /v1/academy/authoring/{kind}/{key}​

Creates or edits a draft. Editing published content drafts its next version.

ParameterInTypeRequiredDescription
kindpathstringyes
keypathstringyes

Request body: object (JSON).

StatusDescriptionBody
200The draft versionCatalogEntry

POST /v1/academy/authoring/{kind}/{key}/publish​

The reviewer must not be the author or the submitter; referenced content must already be published.

ParameterInTypeRequiredDescription
kindpathstringyes
keypathstringyes
StatusDescriptionBody
200PublishedCatalogEntry

POST /v1/academy/authoring/{kind}/{key}/return​

ParameterInTypeRequiredDescription
kindpathstringyes
keypathstringyes

Request body: object (JSON).

StatusDescriptionBody
200Back to draft with the reviewer's noteCatalogEntry

POST /v1/academy/authoring/{kind}/{key}/submit​

ParameterInTypeRequiredDescription
kindpathstringyes
keypathstringyes
StatusDescriptionBody
200In reviewCatalogEntry

GET /v1/academy/authoring/{kind}/{key}/versions​

ParameterInTypeRequiredDescription
kindpathstringyes
keypathstringyes
StatusDescriptionBody
200Every version, oldest firstCatalogEntry[]

GET /v1/academy/certificates​

StatusDescriptionBody
200The caller's certificatesCertificate[]

GET /v1/academy/certificates/{certificateId}/pdf​

ParameterInTypeRequiredDescription
certificateIdpathstringyes
StatusDescriptionBody
200The certificate as PDF (holder, or an admin of the same tenant)
404Not found

POST /v1/academy/certifications/{id}/exam​

Checks prerequisites, required courses and labs and the retake rules, then draws questions at random. The deadline is enforced on submit. Every attempt is audited.

ParameterInTypeRequiredDescription
idpathstringyes
localequerystringno

Request body: object (JSON).

StatusDescriptionBody
200The attempt and its questions (no answers)ExamStart
400Not eligible, no attempts left, or waiting to retake

PUT /v1/academy/customer-access/{tenantId}​

ParameterInTypeRequiredDescription
tenantIdpathstringyes

Request body: object (JSON).

StatusDescriptionBody
204Saved

POST /v1/academy/enrolments/{id}/courses/{courseId}/lessons/{lessonId}/complete​

Self-reported completion for videos, documents and interactive lessons only.

ParameterInTypeRequiredDescription
idpathstringyes
courseIdpathstringyes
lessonIdpathstringyes
StatusDescriptionBody
200The updated enrolmentEnrolment
400SCORM, xAPI and lab lessons complete through their own tracking
404Not found

POST /v1/academy/enrolments/{id}/courses/{courseId}/lessons/{lessonId}/scorm​

Persists a batch of SCORM run-time values from the API shim (LMSCommit/Commit, or LMSFinish/Terminate with terminate), in the order they were set. Values are validated against the data model again; refused ones are listed with their SCORM error code and not stored. Session time is added to the attempt's total time.

ParameterInTypeRequiredDescription
idpathstringyes
courseIdpathstringyes
lessonIdpathstringyes

Request body: object (JSON).

StatusDescriptionBody
200Whether the lesson is now complete, and the values refusedScormCommitResult
400Not a SCORM lesson, or too much data
409The SCO session was replaced by a newer launch

POST /v1/academy/enrolments/{id}/courses/{courseId}/lessons/{lessonId}/scorm/launch​

Starts a SCORM 1.2 lesson's SCO session: resumes the learner's attempt with its stored run-time data (cmi.core.entry "resume" after a suspend, otherwise ""), or starts a new attempt when the last session finished it. SCORM 2004 lessons launch through scorm/navigate.

ParameterInTypeRequiredDescription
idpathstringyes
courseIdpathstringyes
lessonIdpathstringyes
StatusDescriptionBody
200The signed SCO address and the run-time data its API starts withScormLaunch
400Not a SCORM 1.2 lesson
404Not found

POST /v1/academy/enrolments/{id}/courses/{courseId}/lessons/{lessonId}/scorm/navigate​

SCORM 2004 sequencing and navigation (ADR-0051 amendment). Applies the departing SCO's run-time data, then the navigation request: launch (resume a suspended session, re-deliver an interrupted one, or start), start, resumeAll, continue, previous, choice (with target), exit, exitAll, suspendAll, or an adl.nav.request value. A refused request answers 200 with an error and the current state.

ParameterInTypeRequiredDescription
idpathstringyes
courseIdpathstringyes
lessonIdpathstringyes

Request body: object (JSON).

StatusDescriptionBody
200What to deliver next and what the learner may doScormNavigation
400Not a SCORM 2004 lesson, or an unsupported navigation request
404Not found

POST /v1/academy/enrolments/{id}/courses/{courseId}/lessons/{lessonId}/xapi-launch​

ParameterInTypeRequiredDescription
idpathstringyes
courseIdpathstringyes
lessonIdpathstringyes
StatusDescriptionBody
200Launch parameters with a four-hour launch token bound to this learner and lessonXapiLaunch

GET /v1/academy/lab-instances/{id}​

ParameterInTypeRequiredDescription
idpathstringyes
localequerystringno
StatusDescriptionBody
200The caller's labLab

POST /v1/academy/lab-instances/{id}/tasks/{taskId}​

ParameterInTypeRequiredDescription
idpathstringyes
taskIdpathstringyes

Request body: object (JSON).

StatusDescriptionBody
200The lab with the graded taskLab

POST /v1/academy/labs/{labId}/provision​

Creates a sandbox tenant with a simulated fleet (under five minutes); it expires after seven days.

ParameterInTypeRequiredDescription
labIdpathstringyes
localequerystringno
StatusDescriptionBody
200The lab, its tasks and the device consoleLab

GET /v1/academy/learning-records/statements​

xAPI statements for a signed-in user, with the LRS query parameters: the learner's own, or the whole tenant's for an admin who assigns training.

ParameterInTypeRequiredDescription
statementIdquerystringno
voidedStatementIdquerystringno
agentquerystringno
verbquerystringno
activityquerystringno
registrationquerystringno
related_activitiesquerybooleanno
related_agentsquerybooleanno
sincequerystringno
untilquerystringno
limitqueryintegerno
formatquerystringno
ascendingquerybooleanno
cursorquerystringno
StatusDescriptionBody
200One statement (by id) or a page of statementsobject
400Invalid parameters
404Unknown statement

GET /v1/academy/packages​

StatusDescriptionBody
200Imported SCORM and xAPI packagesContentPackage[]

POST /v1/academy/packages​

StatusDescriptionBody
201ImportedContentPackage
400Not a valid SCORM 1.2, SCORM 2004 or xAPI package

GET /v1/academy/packages/{id}/launch​

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
200A signed, four-hour URL for the sandboxed playerobject

GET /v1/academy/paths​

ParameterInTypeRequiredDescription
localequerystringno
StatusDescriptionBody
200Learning paths visible to the caller, with their enrolment and progressPathView[]
403No Academy permission

POST /v1/academy/paths/{id}/enrol​

ParameterInTypeRequiredDescription
idpathstringyes

Request body: object (JSON).

StatusDescriptionBody
200The enrolment (an existing one is returned again)Enrolment
404Path not found or not visible

GET /v1/academy/progress​

ParameterInTypeRequiredDescription
localequerystringno
StatusDescriptionBody
200Progress and completion of every learner in the caller's tenantLearnerProgress[]

GET /v1/academy/verify/{certificateId}​

ParameterInTypeRequiredDescription
certificateIdpathstringyes
StatusDescriptionBody
200Name, certification, level, status and dates, and the brand the certificate was issued underCertificateVerification
404Unknown certificate

GET /v1/academy/xapi/activities​

The activity with the definition its package declares in tincan.xml (name, description, type), for the launched activity, activities beneath it and activities the package declares.

ParameterInTypeRequiredDescription
X-Experience-API-Versionheaderstringyes
activityIdquerystringyes
StatusDescriptionBody
200The Activity objectobject
403Not an activity of the launched package

GET /v1/academy/xapi/activities/profile​

One document (with its ETag) by profileId, or the profile ids (optionally since a time). Shared by the tenant's learners.

ParameterInTypeRequiredDescription
X-Experience-API-Versionheaderstringyes
activityIdquerystringyesThe launched activity or one beneath it
profileIdquerystringno
sincequerystringno
StatusDescriptionBody
200The document, or the profile ids
401Missing or invalid launch token
403Outside the launched activity
404No such document

POST /v1/academy/xapi/activities/profile​

Merges a JSON object into the stored JSON object (or stores it when there is none).

ParameterInTypeRequiredDescription
X-Experience-API-Versionheaderstringyes
activityIdquerystringyesThe launched activity or one beneath it
profileIdquerystringno
If-MatchheaderstringnoThe ETag the document must have (or * for any)
If-None-Matchheaderstringno* when the document must not exist

Request body: object (JSON).

StatusDescriptionBody
204Stored
400Not a JSON object, or the stored document is not one
412If-Match or If-None-Match does not hold

PUT /v1/academy/xapi/activities/profile​

Replaces the document. A document that exists can only be replaced with If-Match (or If-None-Match).

ParameterInTypeRequiredDescription
X-Experience-API-Versionheaderstringyes
activityIdquerystringyesThe launched activity or one beneath it
profileIdquerystringno
If-MatchheaderstringnoThe ETag the document must have (or * for any)
If-None-Matchheaderstringno* when the document must not exist
StatusDescriptionBody
204Stored
409The document exists and neither If-Match nor If-None-Match was sent
412If-Match or If-None-Match does not hold

DELETE /v1/academy/xapi/activities/profile​

ParameterInTypeRequiredDescription
X-Experience-API-Versionheaderstringyes
activityIdquerystringyesThe launched activity or one beneath it
profileIdquerystringno
If-MatchheaderstringnoThe ETag the document must have (or * for any)
StatusDescriptionBody
204Deleted (or there was nothing to delete)
412If-Match does not hold

GET /v1/academy/xapi/activities/state​

ParameterInTypeRequiredDescription
X-Experience-API-Versionheaderstringyes
activityIdquerystringyesThe launched activity or one beneath it
agentquerystringyes
registrationquerystringno
stateIdquerystringno
sincequerystringno
StatusDescriptionBody
200The document (with stateId, and its ETag), or the state ids (without)
401Missing or invalid launch token
403Outside the launched activity
404No such document

POST /v1/academy/xapi/activities/state​

Merges a JSON object into the stored JSON object (or stores it when there is none).

ParameterInTypeRequiredDescription
X-Experience-API-Versionheaderstringyes
activityIdquerystringyesThe launched activity or one beneath it
agentquerystringyes
registrationquerystringno
stateIdquerystringno
If-MatchheaderstringnoThe ETag the document must have (or * for any)
If-None-Matchheaderstringno* when the document must not exist

Request body: object (JSON).

StatusDescriptionBody
204Stored
400Not a JSON object, or the stored document is not one
412If-Match or If-None-Match does not hold

PUT /v1/academy/xapi/activities/state​

ParameterInTypeRequiredDescription
X-Experience-API-Versionheaderstringyes
activityIdquerystringyesThe launched activity or one beneath it
agentquerystringyes
registrationquerystringno
stateIdquerystringno
If-MatchheaderstringnoThe ETag the document must have (or * for any)
If-None-Matchheaderstringno* when the document must not exist
StatusDescriptionBody
204Stored
412If-Match or If-None-Match does not hold

DELETE /v1/academy/xapi/activities/state​

Deletes one document, or every document of the activity and registration without stateId.

ParameterInTypeRequiredDescription
X-Experience-API-Versionheaderstringyes
activityIdquerystringyesThe launched activity or one beneath it
agentquerystringyes
registrationquerystringno
stateIdquerystringno
If-MatchheaderstringnoThe ETag the document must have (or * for any)
StatusDescriptionBody
204Deleted
412If-Match does not hold

GET /v1/academy/xapi/agents​

A Person object carrying the identifiers of the agent given (the LRS knows nothing more about anyone).

ParameterInTypeRequiredDescription
X-Experience-API-Versionheaderstringyes
agentquerystringyes
StatusDescriptionBody
200The Person objectobject
400Not an identified Agent

GET /v1/academy/xapi/agents/profile​

ParameterInTypeRequiredDescription
X-Experience-API-Versionheaderstringyes
agentquerystringyesAn Agent (JSON); documents belong to the launch learner whatever agent is named
profileIdquerystringno
sincequerystringno
StatusDescriptionBody
200The document, or the profile ids
401Missing or invalid launch token
404No such document

POST /v1/academy/xapi/agents/profile​

ParameterInTypeRequiredDescription
X-Experience-API-Versionheaderstringyes
agentquerystringyesAn Agent (JSON); documents belong to the launch learner whatever agent is named
profileIdquerystringno
If-MatchheaderstringnoThe ETag the document must have (or * for any)
If-None-Matchheaderstringno* when the document must not exist

Request body: object (JSON).

StatusDescriptionBody
204Stored
400Not a JSON object, or the stored document is not one
412If-Match or If-None-Match does not hold

PUT /v1/academy/xapi/agents/profile​

Replaces the document. A document that exists can only be replaced with If-Match (or If-None-Match).

ParameterInTypeRequiredDescription
X-Experience-API-Versionheaderstringyes
agentquerystringyesAn Agent (JSON); documents belong to the launch learner whatever agent is named
profileIdquerystringno
If-MatchheaderstringnoThe ETag the document must have (or * for any)
If-None-Matchheaderstringno* when the document must not exist
StatusDescriptionBody
204Stored
409The document exists and neither If-Match nor If-None-Match was sent
412If-Match or If-None-Match does not hold

DELETE /v1/academy/xapi/agents/profile​

ParameterInTypeRequiredDescription
X-Experience-API-Versionheaderstringyes
agentquerystringyesAn Agent (JSON); documents belong to the launch learner whatever agent is named
profileIdquerystringno
If-MatchheaderstringnoThe ETag the document must have (or * for any)
StatusDescriptionBody
204Deleted (or there was nothing to delete)
412If-Match does not hold

GET /v1/academy/xapi/statements​

xAPI 1.0.3 statement queries for the launch token's learner and lesson: statementId or voidedStatementId, or the filters with paging through more. Voided statements are excluded from listings.

ParameterInTypeRequiredDescription
X-Experience-API-Versionheaderstringyes
statementIdquerystringno
voidedStatementIdquerystringno
agentquerystringno
verbquerystringno
activityquerystringno
registrationquerystringno
related_activitiesquerybooleanno
related_agentsquerybooleanno
sincequerystringno
untilquerystringno
limitqueryintegerno
formatquerystringno
attachmentsquerybooleanno
ascendingquerybooleanno
cursorquerystringno
StatusDescriptionBody
200One statement (by id) or a page of statementsobject
400Invalid parameters or missing version header
401Missing or invalid launch token
404Unknown or voided statement

POST /v1/academy/xapi/statements​

Stores 1 to 50 statements. Attachments without a fileUrl, and signatures, send their data as multipart/mixed: the statements first (application/json), then one part per attachment with Content-Transfer-Encoding binary and X-Experience-API-Hash, the SHA-2 of its content (at most 20 parts, 10 MB per request, 50 MB per learner).

ParameterInTypeRequiredDescription
X-Experience-API-Versionheaderstringyes

Request body: object (JSON).

StatusDescriptionBody
200Stored statement idsstring[]
401Missing or invalid launch token

PUT /v1/academy/xapi/statements​

ParameterInTypeRequiredDescription
X-Experience-API-Versionheaderstringyes
statementIdquerystringyes

Request body: object (JSON).

StatusDescriptionBody
204Stored (or the same statement was already stored)
400Invalid statement, or an attachment whose data is missing, mismatches its hash, or whose signature fails
409A different statement has that id