AssignmentOS Lecturer & TA User Guide
  • 👋Welcome to AssignmentOS!
  • 🖌️Create Custom Assignment
    • 1️⃣Select/Create Course
    • 2️⃣Choose Language/Framework
    • 3️⃣Set Deadline
    • 4️⃣Add Description & Starter Code
    • 5️⃣Define Grading Criteria
  • 🤖Automated Grading
    • Automated Test-Suite Scoring
    • Hidden Tests
    • Language/Framework Guides
      • Java (Maven)
      • Java (Gradle)
      • Kotlin (Maven)
      • Kotlin (Gradle)
      • Scala
      • JavaScript
      • TypeScript
      • Python
      • Ruby
      • Go
      • PHP
      • .NET
      • C++
      • Rust
      • Haskell
      • Elixir
      • Solidity
      • SQL
      • Swift
      • R
      • Web
      • Angular
      • AngularJS
      • React
      • React Native
      • Vue.js
      • Svelte
      • Elm
      • Rails
      • Django
      • WordPress
      • Terraform
      • Ansible
      • Powershell
      • Full-Stack
  • 📤Sending Assignments
    • From UI
    • From LMS
    • From API
  • 🔎Tracking
    • Student Tracking
    • Self-Tracking For Students
  • 👁️Reviewing Results
    • View Score & Status
    • View Report
    • View AI Feedback
  • 💬Feedback
    • Leaving Feedback In-App
    • Leaving Feedback in GitHub/GitLab Repo
  • 🤹Management
    • Manage Courses
      • Create New Course
      • Duplicate Course
      • Delete Course
    • Manage Assignments
      • Update Assignment
      • Delete Assignment
    • Manage Users
      • Add New Users
      • User Roles
      • Delete Users
  • 🤍White-Labelling
    • Editing Email Templates
    • Editing From Email Address
  • 💫LMS Integrations
    • Moodle
      • 1️⃣Connect AssignmentOS
      • 2️⃣Add Assignment
      • 3️⃣Access Assignment
        • As a Lecturer/TA
        • As a Student
    • Blackboard
    • Canvas
      • 1️⃣Connect AssignmentOS
      • 2️⃣Add Assignment
      • 3️⃣Access Assignment
        • As a Lecturer/TA
        • As Student
    • Brightspace
    • Schoology
  • 🔐Plagiarism Checker
    • Plagiarism Checker
  • 📊Analytics
    • Course Level
    • Assignment Level
  • ⚙️API
    • Workflow
    • Authentication
    • Endpoints
      • Load Assignments Endpoint
      • Start Assignment Endpoint
      • Load Assignment Instance Endpoint
    • Error Responses
  • ❓FAQ
    • Can I edit an assignment after I send it?
Powered by GitBook
On this page

Was this helpful?

  1. API
  2. Endpoints

Load Assignments Endpoint

PreviousEndpointsNextStart Assignment Endpoint

Last updated 1 year ago

Was this helpful?

The GET /assignments endpoint retrieves the list of all assignments that you have created on AssignmentOS.

Request

curl -X GET https://app.assignment-os.com/api/assignments -H 'Authorization: apiKey 5a355e5a-8e1b-4dab-a17c-4ab49fc267c3' 

Response

For successful requests, the response code will be 200 OK and the response object will be a JSON list containing one more AssignmentDetail objects. An AssignmentDetail object contains the following fields:

Field Name
JSON Data Type
Description

id

string

The Unique ID of the assignment.

name

string

The name of the assignment.

course_id

string

The Unique ID of the course this assignment belongs to in AssignmentOS.

course_name

string

The name of the course this assignment belongs to in AssignmentOS.

Example

Let's assume you have one Course on AssignmentOS called Java Intro, and that Course contains the following assignments:

Then the response from calling this endpoint will be:

[
    {
        "id": "6vb0aa8d-0d2a-4e0d-8a63-a738ab62fa0b",
        "name": "Java Week 1 - Data Structures",
        "course_id": "7b491b0a-d1c7-4cad-b66c-566715de8cc3",
        "course_name": "Java Intro"
    },
    {
        "id": "2d39c9b2-e89a-48fa-b5e3-79304c5dea06",
        "name": "Java Week 2 - Classes",
        "course_id": "7b491b0a-d1c7-4cad-b66c-566715de8cc3",
        "course_name": "Java Intro"
    },
    {
        "id": "745be3c2-ac1d-4150-9d99-062e93376cfc",
        "name": "Java Week 3 - Loops",
        "course_id": "7b491b0a-d1c7-4cad-b66c-566715de8cc3",
        "course_name": "Java Intro"
    }
]

⚙️