List all user statistics for all paths
Changed onπ
Required OAuth scope: pathStats:read.
π
This endpoint is paginated with a page size of 2,000 path user statistics. For more information, see the Pagination guide.
Lists all user statistics for paths in the platform.
Request
- Base URLhttps://app.360learning.com
- URLhttps://app.360learning.com/api/v2/paths/stats
- AuthOAuth 2Client credentialsToken URL: /api/v2/oauth2/token
Query parameters
Filter on status property with LHS bracket notation.
Expected value format is a string (archived, published).
{
"eq": "archived"
}Filter on completedAt 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 pathId property with LHS bracket notation.
Expected value format is a valid ID (24 digits or letters).
{
"eq": "507f1f77bcf86cd799439011",
"ne": "507f1f77bcf86cd799439011",
"in": [
"507f1f77bcf86cd799439011"
],
"nin": [
"507f1f77bcf86cd799439011"
]
}Filter on userId 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 2000 path user statistics.
Example response
[
{
"_id": "507f1f77bcf86cd799439011",
"userId": "507f1f77bcf86cd799439011",
"certificateId": "507f1f77bcf86cd799439011",
"pathId": "507f1f77bcf86cd799439011",
"sessionId": "507f1f77bcf86cd799439011"
}
]Changes
- info
added the optional property
/to the response with the status
- info