LMS Collaborator knowledge base

Home/Technical requirements/API/API - List of quizzes

API – List of quizzes

Request example:

curl 'https://your-domain.davintoo.com/api/v2/tests/get-items' -H 'Authorization: Bearer xxxxxx' -H 'Content-Type: application/json;charset=UTF-8'

The request supports filtering by the following fields:

title - Quiz title
tags - Tags

Example of a request with a search by title:

curl 'https://your-domain.davintoo.com/api/v2/tests/get-items?filter[title]=How Well Do You Know About The Microsoft Word' -H 'Authorization: Bearer xxxxxx' -H 'Content-Type: application/json;charset=UTF-8'


Answer

  • In case of successful request (HTTP response code - 200), the following result will be returned:

data - quiz array
pager - pagination object (information about the number of pages, the current page, the number of quizzes)

  • In case of error (HTTP code response - 400) it returns JSON object with information about the error
Still have questions?
Our technical support team is always happy to help!
Write to us at technical support [email protected]. If you are registered on our Helpdesk - send request button below.
Send request