iSpring Learn statistics API
The statistics API from iSpring Learn — 2 operation(s) for statistics.
The statistics API from iSpring Learn — 2 operation(s) for statistics.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/ispring-statistics-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Learn Rest Api assignments Statistics API
version: '3.0'
description: Assignment operations
servers:
- url: https://api-learn.ispring.com
description: Main server
security:
- bearerAuth: []
tags:
- name: statistics
paths:
/statistics/course:
post:
tags:
- statistics
summary: Update course status
operationId: UpdateCourseStatus
parameters:
- name: courseId
in: query
required: false
schema:
type: string
format: uuid
- name: enrollmentIds
in: query
required: false
schema:
$ref: '#/components/schemas/ArrayOfIds'
- name: status
in: query
required: false
schema:
$ref: '#/components/schemas/CourseCompletionStatus'
- name: date
in: query
required: false
schema:
type: string
format: date-time
- name: reason
in: query
required: false
schema:
type: string
- name: awardedScore
in: query
required: false
schema:
type: number
maximum: 100
minimum: 0
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateCourseStatus'
application/xml:
schema:
$ref: '#/components/schemas/UpdateCourseStatus'
responses:
'200':
description: Success Response
content:
application/json:
schema:
required:
- taskId
properties:
taskId:
description: Async Task ID
type: integer
type: object
application/xml:
schema:
required:
- taskId
properties:
taskId:
description: Async Task ID
type: integer
type: object
xml:
name: response
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/PermissionDenied'
/statistics/module:
post:
tags:
- statistics
summary: Update modules statuses
operationId: UpdateModuleStatuses
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateModulesStatuses'
application/xml:
schema:
$ref: '#/components/schemas/UpdateModulesStatuses'
responses:
'200':
description: Success Response
content:
application/json:
schema:
required:
- taskId
properties:
taskId:
description: Async Task ID
type: integer
type: object
application/xml:
schema:
required:
- taskId
properties:
taskId:
description: Async Task ID
type: integer
type: object
xml:
name: response
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/PermissionDenied'
delete:
tags:
- statistics
summary: Reset modules statistics
operationId: ResetModuleStatistics
parameters:
- name: courseId
in: query
required: false
schema:
type: string
format: uuid
- name: enrollmentIds
in: query
required: false
schema:
type: array
items:
type: string
format: uuid
- name: contentItemIds
in: query
required: false
schema:
type: array
items:
type: string
format: uuid
responses:
'200':
description: Success Response
content:
application/json:
schema:
required:
- taskId
properties:
taskId:
description: Async Task ID
type: integer
type: object
application/xml:
schema:
required:
- taskId
properties:
taskId:
description: Async Task ID
type: integer
type: object
xml:
name: response
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/PermissionDenied'
components:
responses:
Unauthorized:
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
application/xml:
schema:
$ref: '#/components/schemas/ErrorResponse'
PermissionDenied:
description: Permission Denied
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
application/xml:
schema:
$ref: '#/components/schemas/ErrorResponse'
BadRequest:
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
application/xml:
schema:
$ref: '#/components/schemas/ErrorResponse'
schemas:
UpdateModulesStatuses:
required:
- enrollmentIds
- courseId
- moduleStatuses
properties:
enrollmentIds:
$ref: '#/components/schemas/ArrayOfIds'
courseId:
type: string
format: uuid
moduleStatuses:
type: array
items:
$ref: '#/components/schemas/ModuleStatus'
xml:
wrapped: true
type: object
xml:
name: request
ArrayOfIds:
type: array
items:
type: string
format: uuid
xml:
name: id
xml:
wrapped: true
ErrorResponse:
required:
- code
- message
properties:
code:
type: integer
message:
type: string
type: object
xml:
name: response
ModuleStatus:
required:
- contentItemId
- date
- reason
- status
- awardedScore
properties:
contentItemId:
type: string
format: uuid
date:
type: string
format: date-time
reason:
type: string
status:
$ref: '#/components/schemas/CompletionStatus'
awardedScore:
type: number
maximum: 100
minimum: 0
type: object
xml:
name: moduleStatus
CompletionStatus:
type: string
enum:
- not_started
- in_progress
- pending
- complete
- passed
- accepted
- incomplete
- failed
- declined
CourseCompletionStatus:
type: string
enum:
- complete
- incomplete
- passed
- failed
- automatic
UpdateCourseStatus:
required:
- courseId
- enrollmentIds
- status
properties:
courseId:
type: string
format: uuid
enrollmentIds:
$ref: '#/components/schemas/ArrayOfIds'
status:
$ref: '#/components/schemas/CourseCompletionStatus'
date:
type: string
format: date-time
reason:
type: string
awardedScore:
type: number
maximum: 100
minimum: 0
type: object
xml:
name: request
securitySchemes:
bearerAuth:
type: http
scheme: bearer