List all enrollments
π
Required OAuth scope: paths:read.
π
This endpoint is paginated with a page size of 5,000 enrollments. For more information, see the Pagination guide.
Lists all enrollments for the given path.
Request
- Base URLhttps://app.360learning.com
- URLhttps://app.360learning.com/api/v2/paths/{pathId}/enrollments
- AuthOAuth 2Client credentialsToken URL: /api/v2/oauth2/token
Path parameters
The unique ID of the path.
Query parameters
Filter on status property with LHS bracket notation.
Expected value format is a string (archived, published).
{
"eq": "archived"
}Filter on createdAt property with LHS bracket notation.
Expected value format is a date (YYYY-MM-DDThh:mm:ss.sssZ). The milliseconds are always set to 0.
{
"lt": "2020-01-01T10:30:26.000Z",
"gte": "2020-01-01T10:30:26.000Z"
}Filter on modifiedAt property with LHS bracket notation.
Expected value format is a date (YYYY-MM-DDThh:mm:ss.sssZ). The milliseconds are always set to 0.
{
"lt": "2020-01-01T10:30:26.000Z",
"gte": "2020-01-01T10:30:26.000Z"
}Filter on sessionId property with LHS bracket notation.
Expected value format is a valid ID (24 digits or letters).
{
"eq": "507f1f77bcf86cd799439011",
"ne": "507f1f77bcf86cd799439011",
"in": [
"507f1f77bcf86cd799439011"
],
"nin": [
"507f1f77bcf86cd799439011"
]
}Headers
The version of the API.
Response
Returns one page of 5000 enrollments.
Example response
[
{
"_id": "507f1f77bcf86cd799439011",
"sessionId": "507f1f77bcf86cd799439011",
"userId": "507f1f77bcf86cd799439011"
}
]Changes
No recorded changes to this operation across all 2 revisions of this API.