Course
CRUD endpoints for a user's courses
Please note that in all urls & code samples you'll need to replace:username
and :corporation
with appropriate values
Get All Courses
GET
/v2/organization/:corporation/expert/:username/course
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Url
Name | Type | Description |
---|---|---|
corporation | number | Corporation ID |
username | string | Unique username |
Response
Code
Get Individual Course
GET
/v2/organization/:corporation/expert/:username/course/:id
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Url
Name | Type | Description |
---|---|---|
corporation | number | Corporation ID |
username | string | Unique username |
id | number | Course ID |
Response
Code
Create Course
POST
/v2/organization/:corporation/expert/:username/course
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Url
Name | Type | Description |
---|---|---|
corporation | number | Corporation ID |
username | string | Unique username |
Body
Name | Type | Description |
---|---|---|
title* | string | Course Title |
details* | string | Course Detail |
url | string | Course Url |
Response
Code
Update Course
PUT
/v2/organization/:corporation/expert/:username/course/:id
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Url
Name | Type | Description |
---|---|---|
corporation | number | Corporation ID |
username | string | Unique username |
id | number | Course ID |
Body
Name | Type | Description |
---|---|---|
title* | string | Course Title |
details* | string | Course Detail |
url | string | Course Url |
Response
Code
Delete Course
DELETE
/v2/organization/:corporation/expert/:username/course/:id
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Url
Name | Type | Description |
---|---|---|
corporation | number | Corporation ID |
username | string | Unique username |
id | number | Course ID |
Response
Code
Last updated