Method returns tests list from StartExam using specified filters.
GET https://api.startexam.com/v1/tests?projectId={projectId}&type={type}&status={status}
projectId
- optional filter by project identifier, guid from StartExam.
type
- optional filter by type. Supported values: test
, survey
.
status
- optional filter by status. Supported values: active
, archive
, deleted
.
None.
GET https://api.startexam.com/v1/tests?projectId=4080eefb-be19-4650-b30a-0e4095c5a97a HTTP/1.1
Host: api.startexam.com
Accept: application/json; charset=utf-8
Authorization: SharedKey 99:f52JP7GQd0xqrBzMO1NWTNVGzLENymgdUXu/Ie++NX4=
Content-Type: application/json; charset=utf-8
Date: Thu, 16 Jan 2025 05:10:35 GMT
Date and Authorization headers are constructed in the standard way.
200 OK, 400 Bad Request, etc. according the response processing guide.
Json.
testId
- test id, guid.
projectId
- project id, guid.
type
- test type, test/survey.
status
- test status, active/archive/deleted.
title
- test name, string.
description
- test description, string, nullable.
time
- test time limit, HH:MM:SS, nullable.
modified
- test last modified in UTC, ISO 8601.
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 657
{
"tests": [
{
"testId": "12b2617f-6761-4b2c-b2ff-de9f75a6def1",
"projectId": "4080eefb-be19-4650-b30a-0e4095c5a97a",
"type": "test",
"status": "active",
"title": "IQ Test",
"description": "Standard intelligence quotient assessment",
"time": "02:00:00",
"modified": "2024-03-16T05:10:35Z"
},
{
"testId": "0d645742-4cb6-4f61-a862-37315227e854",
"projectId": "4080eefb-be19-4650-b30a-0e4095c5a97a",
"type": "survey",
"status": "deleted",
"title": "Motivation Survey",
"description": null,
"time": null,
"modified": "1995-01-16T05:10:35Z"
}
]
}