Flextensions API v1 (0.0.0)

Download OpenAPI specification:

Armando Fox: fox@berkeley.edu License: BSD-2

Official Flextensions API Documentation.

config

Pings the server

Responses

Response samples

Content type
application/json
"pong"

Swagger OpenAPI Spec

Responses

Response samples

Content type
application/json
{ }

users

Create a new user

Responses

Response samples

Content type
application/json
{ }

List of users under the specified course

path Parameters
course_id
required
integer

id of course

Responses

Response samples

Content type
application/json
{ }

Add an existing user to the specified course

path Parameters
course_id
required
integer

id of course

user_id
required
integer

id of user

Responses

Response samples

Content type
application/json
{ }

Delete the specified user from the specified course

path Parameters
course_id
required
integer

id of course

user_id
required
integer

id of user

Responses

Response samples

Content type
application/json
{ }

courses

List of users under the specified course

path Parameters
course_id
required
integer

id of course

Responses

Response samples

Content type
application/json
{ }

Add an existing user to the specified course

path Parameters
course_id
required
integer

id of course

user_id
required
integer

id of user

Responses

Response samples

Content type
application/json
{ }

Delete the specified user from the specified course

path Parameters
course_id
required
integer

id of course

user_id
required
integer

id of user

Responses

Response samples

Content type
application/json
{ }

List of courses for the current user

Responses

Response samples

Content type
application/json
{ }

Create a new course

Responses

Response samples

Content type
application/json
{ }

Delete a course

path Parameters
course_id
required
integer

id of course

Responses

Response samples

Content type
application/json
{ }

lms

Index of all lms providers for the specified class

path Parameters
course_id
required
integer

id of course

Responses

Response samples

Content type
application/json
{ }

Adds the specified LMS to the course

path Parameters
course_id
required
integer

id of course

lms_id
required
string

id of lms

Responses

Response samples

Content type
application/json
{ }

Removes the specified LMS to the course

path Parameters
course_id
required
integer

id of course

lms_id
required
string

id of lms

Responses

Response samples

Content type
application/json
{ }

extension

Creates an extension for the specified assignment

path Parameters
course_id
required
integer

id of course

lms_id
required
string

id of lms

assignment_id
required
integer

id of assignment_id

header Parameters
Authorization
required
integer
Request Body schema: application/json
required

Required info for the extension: Student ID and new due date

any

Responses

Request samples

Content type
application/json
{
  • "SID": "1234567890",
  • "New Due Date": "01/01/2000"
}

Response samples

Content type
application/json
{ }

Gets all extensions for the specified assignment

path Parameters
course_id
required
integer

id of course

lms_id
required
string

id of lms

assignment_id
required
integer

id of assignment_id

header Parameters
Authorization
required
integer

Responses

Response samples

Content type
application/json
{ }

assignments

Get all assignments from one (course, lms)

path Parameters
course_id
required
string
lms_id
required
string

Responses

Response samples

Content type
application/json
{ }

Create a new assignment from one (course, lms)

path Parameters
course_id
required
string
lms_id
required
string
Request Body schema: application/json
assignment_uid
string

Responses

Request samples

Content type
application/json
{
  • "assignment_uid": "string"
}

Response samples

Content type
application/json
{ }

Delete an assignment from one (course, lms)

path Parameters
course_id
required
string
lms_id
required
string
assignment_id
required
string

Responses

Response samples

Content type
application/json
{ }