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

Start Assignment Endpoint

The POST /assignments/instance endpoint starts a specific assignment for a specific student.

Request

This endpoint takes the following JSON object as the request body:

Field Name
JSON Data Type
Required
Description

assignment_id

string

student_name

string

The name of the student.

student_email

string

The student's email address.

Response

For successful requests, the response code will be 201 Created and the response body will be a JSON object containing the following fields:

Field Name
JSON Data Type
Description

instance_id

string

The Unique ID of this assignment instance.

instance_url

string

The URL of this assignment instance.

Example

An example request to this endpoint is:

curl -X POST https://app.assignment-os.com/api/assignments/instance \
  -H 'Authorization: apiKey 5a355e5a-8e1b-4dab-a17c-4ab49fc267c3' \
  -H 'Content-Type: application/json' \
  -d '{
    "assignment_id": "6vb0aa8d-0d2a-4e0d-8a63-a738ab62fa0b",
    "student_name": "John Smith",
    "student_email": "john.smith@example.edu"
}'

The body of the response to this request would be:

{
    "instance_id": "67961167-20c6-4183-9b6b-6033ba61ba76",
    "instance_url": "https://app.assignment-os.com/student/assignment/67961167-20c6-4183-9b6b-6033ba61ba76"
}
PreviousLoad Assignments EndpointNextLoad Assignment Instance Endpoint

Last updated 1 year ago

Was this helpful?

The Unique ID of the assignment, retrieved from the .

⚙️
Load Assignment Endpoint