Article View API
1. Overview
2. Request URL
- http://{Account Id}.cafe24.com/_api/module/article/{Sequence Number}/view
3. Request Parameters
| Name |
Type |
Mandatory |
Description |
Value |
|---|
| idx |
integer |
Y |
Article Index |
|
4. Response Code
| Code |
Description |
|---|
| 200 |
Success |
| 500 |
Error (Error Message Display) |
5. Response Fields
| Name |
Type |
Description |
|---|
| subject |
string |
Subject of article |
| author |
string |
Author of the article |
| contents |
string |
Contents of the article |
| contents_striptags |
string |
Contents of the article (html tags stript) |
| category_name |
string |
Category name |
| category_idx |
string |
Category index |
| date_registered |
integer(timestamp) |
Registered date |
| date_modified |
integer(timestamp) |
Modified date |
| prev_idx |
integer |
Index of previous article |
| next_idx |
integer |
Index of the next article |
6. Response Sample Data
{
"code": "200",
"msg": "success",
"data": {
"subject": "Subject.",
"author": "user",
"contents": "Contents.",
"contents_striptags": "Contents Striptags.",
"category_name": "Default Category",
"category_idx": "1",
"date_registered": "1312868816",
"date_modified": "1313561881",
"prev_idx": "1",
"next_idx": "3"
}
}