Skip to main content
GET
/
powerpath
/
test-assignments
/
admin
List all test assignments (admin)
curl --request GET \
  --url https://api.alpha-1edtech.ai/powerpath/test-assignments/admin \
  --header 'Authorization: Bearer <token>'
{
  "testAssignments": [
    {
      "sourcedId": "<string>",
      "studentSourcedId": "<string>",
      "studentEmail": "[email protected]",
      "assignedByUserSourcedId": "<string>",
      "subject": "<string>",
      "grade": "<string>",
      "assignmentStatus": "<string>",
      "testName": "<string>",
      "assignedAt": "<string>",
      "expiresAt": "<string>",
      "completedAt": "<string>",
      "resourceSourcedId": "<string>",
      "componentResourceSourcedId": "<string>"
    }
  ],
  "totalCount": 123,
  "pageCount": 123,
  "pageNumber": 123,
  "offset": 123,
  "limit": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

limit
integer
default:100

The maximum number of items to return in the paginated response. While the OneRoster specification does not define a maximum limit, this implementation enforces a maximum of 3000 to prevent abuse and ensure optimal performance.

Required range: 1 <= x <= 3000
Example:

100

offset
integer
default:0

The number of items to skip in the paginated response

Required range: x >= 0
Example:

0

student
string

The sourcedId of the student

status
enum<string>
Available options:
assigned,
in_progress,
completed,
failed,
expired,
cancelled
subject
string
grade
enum<string>

The grades of the course

Available options:
-1,
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13

Response

Success

testAssignments
object[]
required
totalCount
number
required
pageCount
number
required
pageNumber
number
required
offset
number
required
limit
number
required