Skip to main content
GET
/
api
/
v1
/
users
/
me
/
courses
Get Current User Courses
curl --request GET \
  --url https://api.seamind.xyz/api/v1/users/me/courses \
  --header 'Authorization: Bearer <token>'
{
  "courses": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "title": "<string>",
      "description": "<string>",
      "s3Path": "<string>",
      "launchFile": "<string>",
      "status": "<string>",
      "assignmentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "shipId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "shipName": "<string>",
      "role": "<string>",
      "assignmentStartDate": "2023-12-25",
      "assignmentDueDate": "2023-12-25",
      "assignmentEndDate": "2023-12-25",
      "isAssignmentActive": true,
      "curriculumId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "curriculumTitle": "<string>",
      "isOverdue": true,
      "daysUntilDue": 123,
      "registrationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "completedAt": "2023-11-07T05:31:56Z",
      "scorePercent": 123,
      "timeSpentSeconds": 0,
      "assignedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

include_past
boolean
default:false

Include courses from ended assignments

Response

Successful Response

Response wrapper for user's courses endpoint.

courses
UserCourseDTO · object[]
required