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