Marketplace Course Accounts
Operations Summary
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/marketplace-course-accounts/ |
List course accounts |
| GET | /api/marketplace-course-accounts/{uuid}/ |
Retrieve a course account |
| POST | /api/marketplace-course-accounts/ |
Create a course account |
| POST | /api/marketplace-course-accounts/create_bulk/ |
Bulk create course accounts |
| DELETE | /api/marketplace-course-accounts/{uuid}/ |
Delete (close) a course account |
List course accounts
Returns a paginated list of course accounts accessible to the current user.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 | |
- API Source:
marketplace_course_accounts_list
1 2 3 4 5 6 7 8 9 10 | |
| Name | Type | Description |
|---|---|---|
email |
string | Email contains |
o |
array | Ordering |
page |
integer | A page number within the paginated result set. |
page_size |
integer | Number of results to return per page. |
project_end_date_after |
string (date) | Project end date range |
project_end_date_before |
string (date) | Project end date range |
project_start_date_after |
string (date) | Project start date range |
project_start_date_before |
string (date) | Project start date range |
project_uuid |
string (uuid) | Project UUID |
state |
array | Course account state |
username |
string | Username |
200 -
The response body is an array of objects, where each object has the following structure:
| Field | Type |
|---|---|
url |
string (uri) |
uuid |
string (uuid) |
created |
string (date-time) |
modified |
string (date-time) |
project |
string (uuid) |
project_uuid |
string (uuid) |
project_name |
string |
project_slug |
string |
project_start_date |
string (date) |
project_end_date |
string (date) |
user_uuid |
string (uuid) |
username |
string |
customer_uuid |
string (uuid) |
customer_name |
string |
state |
any |
email |
string (email) |
description |
string |
error_message |
string |
error_traceback |
string |
Retrieve a course account
Returns the details of a specific course account.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
marketplace_course_accounts_retrieve
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
200 -
| Field | Type |
|---|---|
url |
string (uri) |
uuid |
string (uuid) |
created |
string (date-time) |
modified |
string (date-time) |
project |
string (uuid) |
project_uuid |
string (uuid) |
project_name |
string |
project_slug |
string |
project_start_date |
string (date) |
project_end_date |
string (date) |
user_uuid |
string (uuid) |
username |
string |
customer_uuid |
string (uuid) |
customer_name |
string |
state |
any |
email |
string (email) |
description |
string |
error_message |
string |
error_traceback |
string |
Create a course account
Creates a new temporary course account within a specified course project.
1 2 3 4 5 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | |
- Model Source:
CourseAccountRequest - API Source:
marketplace_course_accounts_create
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Field | Type | Required |
|---|---|---|
project |
string (uuid) | ✓ |
email |
string (email) | |
description |
string |
201 -
| Field | Type |
|---|---|
url |
string (uri) |
uuid |
string (uuid) |
created |
string (date-time) |
modified |
string (date-time) |
project |
string (uuid) |
project_uuid |
string (uuid) |
project_name |
string |
project_slug |
string |
project_start_date |
string (date) |
project_end_date |
string (date) |
user_uuid |
string (uuid) |
username |
string |
customer_uuid |
string (uuid) |
customer_name |
string |
state |
any |
email |
string (email) |
description |
string |
error_message |
string |
error_traceback |
string |
Bulk create course accounts
Creates multiple course accounts within a specified course project in a single request.
1 2 3 4 5 6 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | |
- Model Source:
CourseAccountsBulkCreateRequest - API Source:
marketplace_course_accounts_create_bulk
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
| Name | Type | Description |
|---|---|---|
email |
string | Email contains |
o |
array | Ordering |
page |
integer | A page number within the paginated result set. |
page_size |
integer | Number of results to return per page. |
project_end_date_after |
string (date) | Project end date range |
project_end_date_before |
string (date) | Project end date range |
project_start_date_after |
string (date) | Project start date range |
project_start_date_before |
string (date) | Project start date range |
project_uuid |
string (uuid) | Project UUID |
state |
array | Course account state |
username |
string | Username |
| Field | Type | Required |
|---|---|---|
course_accounts |
array of objects | ✓ |
course_accounts.email |
string (email) | |
course_accounts.description |
string | |
project |
string (uuid) | ✓ |
200 -
The response body is an array of objects, where each object has the following structure:
| Field | Type |
|---|---|
url |
string (uri) |
uuid |
string (uuid) |
created |
string (date-time) |
modified |
string (date-time) |
project |
string (uuid) |
project_uuid |
string (uuid) |
project_name |
string |
project_slug |
string |
project_start_date |
string (date) |
project_end_date |
string (date) |
user_uuid |
string (uuid) |
username |
string |
customer_uuid |
string (uuid) |
customer_name |
string |
state |
any |
email |
string (email) |
description |
string |
error_message |
string |
error_traceback |
string |
Delete (close) a course account
Deletes a course account, which triggers a 'close' operation in the backend.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
marketplace_course_accounts_destroy
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
204 - No response body