2.2.30753 • Published 2 years ago

strongmind-mavenplayerapi v2.2.30753

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Assessment Player Client API

Client Side Wrapper around the Assessment Player Server API

Functions

method namein parametersdescription
GetAllAssessmentsnonereturns all published assessments
GetAssessmentByIdid numberreturns a published assessment by id
GetAssessmentLtiModel objectPOST that returns a published assessment with potentially pooled items
GetAssessmentByTitletitle stringreturns a published assessment by title
PublishAssessmentmodel AssessmentModelpublishes the assessment to the player API
GetAccessTokenexternalId numbergets an access token from itemlogic - temporary
GetAssessmentProgresskey stringgets assessment progress with composite key
SaveAssessmentProgressmodel ProgressModelsaves assessment progress
SubmitAssessmentV2model SubmitModelsaves assessment progress

Models

AssessmentModel

nametypedescription
CourseTemplateIdstringcourse template id that the assessment is linked to
Descriptionstringdescription of assessment
ExternalIdnumberexternal id of the assessment
Idnumberid of the assessment
IsActivebooleanis assessment active
ItemBankManifestIdnumbergrade level to search for
ItemsList<string>can supply a list of authorities
Randomizebooleanare assessment questions randomized
Titlestringtitle of assessment

ProgressModel

nametypedescription
Keystringcomposite string make up of assessmentId, studentId, ltiToken
ValuestringJSON string of an object dictionary of assessment progress

SubmitModel

nametypedescription
ItemsList<ItemInfo>List of items in the assessment with their corresponding selected responses
LtiModelobjectLti object

ItemInfo

nametypedescription
KeystringquestionId
ResponseList<Response>List of responses to the item

Response

nametypedescription
ResponseList<string>A list of the string idendifiers for the answer selected for the item
2.2.30753

2 years ago