iSpring Learn assignments API

Assignment operations

Operations 3

GET /assignments List assignments #
GET /assignment/{assignmentId}/attempts/ungraded Retrieves a list of ungraded attempts for an assignment #
POST /assignments/attempts/grade Grade user assignment attempts #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ispring-assignments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

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 Specification

ispring-assignments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Learn Rest Assignments API
  version: '3.0'
  description: Assignment operations
servers:
- url: https://api-learn.ispring.com
  description: Main server
security:
- bearerAuth: []
tags:
- name: assignments
  description: Assignment operations
paths:
  /assignments:
    get:
      tags:
      - assignments
      summary: List assignments
      operationId: ListAssignments
      parameters:
      - $ref: '#/components/parameters/pageSize'
      - $ref: '#/components/parameters/pageToken'
      - name: ungraded
        in: query
        required: false
        schema:
          type: integer
          enum:
          - 0
          - 1
      responses:
        '200':
          description: Success Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssignmentsPage'
            application/xml:
              schema:
                $ref: '#/components/schemas/AssignmentsPage'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/PermissionDenied'
  /assignment/{assignmentId}/attempts/ungraded:
    get:
      tags:
      - assignments
      summary: Retrieves a list of ungraded attempts for an assignment
      operationId: ListAssignmentAttempts
      parameters:
      - name: assignmentId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: userIds[]
        in: query
        required: false
        schema:
          type: array
          items:
            type: string
            format: uuid
      responses:
        '200':
          description: Success Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AssignmentAttempt'
            application/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AssignmentAttempt'
                xml:
                  name: response
                  wrapped: true
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/PermissionDenied'
  /assignments/attempts/grade:
    post:
      tags:
      - assignments
      summary: Grade user assignment attempts
      operationId: GradeAssignments
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssignmentAttemptGrades'
          application/xml:
            schema:
              $ref: '#/components/schemas/AssignmentAttemptGrades'
      responses:
        '200':
          description: Success 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:
    AssignmentAttemptGrades:
      required:
      - assignmentAttemptGrades
      properties:
        assignmentAttemptGrades:
          type: array
          items:
            $ref: '#/components/schemas/AssignmentAttemptGrade'
          xml:
            wrapped: true
      type: object
      xml:
        name: request
    AssignmentAttemptAttachment:
      required:
      - fileName
      - fileSize
      - url
      properties:
        fileName:
          type: string
        fileSize:
          description: File size in bytes
          type: integer
        url:
          type: string
          format: url
      type: object
      xml:
        name: attachment
    Assignment:
      required:
      - assignmentId
      - title
      properties:
        assignmentId:
          type: string
          format: uuid
        title:
          type: string
        instructorId:
          type: string
          format: uuid
        courseFields:
          type: array
          items:
            $ref: '#/components/schemas/CourseFieldValue'
      type: object
      xml:
        name: assignment
    AssignmentsPage:
      required:
      - assignments
      properties:
        assignments:
          type: array
          items:
            $ref: '#/components/schemas/Assignment'
          xml:
            wrapped: true
        nextPageToken:
          type: string
      type: object
      xml:
        name: response
    AssignmentAttemptGrade:
      required:
      - attemptId
      - score
      properties:
        attemptId:
          type: string
          format: uuid
        score:
          type: number
          maximum: 100
          minimum: 0
        comment:
          type: string
      type: object
      xml:
        name: attemptGrade
    CourseFieldValue:
      required:
      - fieldId
      - fieldValue
      properties:
        fieldId:
          type: string
          format: uuid
        fieldValue:
          type: string
      type: object
      xml:
        name: courseField
        wrapped: true
    AssignmentAttempt:
      required:
      - attemptId
      - enrollmentId
      - userId
      - comment
      properties:
        attemptId:
          type: string
          format: uuid
        enrollmentId:
          type: string
          format: uuid
        userId:
          type: string
          format: uuid
        comment:
          type: string
        attachments:
          type: array
          items:
            $ref: '#/components/schemas/AssignmentAttemptAttachment'
      type: object
      xml:
        name: attempt
    ErrorResponse:
      required:
      - code
      - message
      properties:
        code:
          type: integer
        message:
          type: string
      type: object
      xml:
        name: response
  parameters:
    pageToken:
      name: pageToken
      in: query
      required: false
      schema:
        type: string
    pageSize:
      name: pageSize
      in: query
      required: false
      schema:
        type: integer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer