GET api/problem/{problem_id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| problem_id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Problem| Name | Description | Type | Additional information |
|---|---|---|---|
| problem_id | integer |
None. |
|
| title_cht | string |
Required Max length: 255 |
|
| title_chs | string |
Required Max length: 255 |
|
| title_eng | string |
Required Max length: 255 |
|
| title_jpn | string |
Required Max length: 255 |
|
| content_cht | string |
Required Max length: 1000 |
|
| content_chs | string |
Required Max length: 1000 |
|
| content_eng | string |
Required |
|
| content_jpn | string |
Required Max length: 1000 |
|
| pic_filepath | string |
Required Max length: 255 |
|
| priority | integer |
Required |
|
| create_date | string |
None. |
|
| update_date | string |
None. |
|
| problem_family_id | integer |
Required |
|
| is_disabled | string |
Required Max length: 1 |
Response Formats
application/json, text/json
Sample:
{
"problem_id": 1,
"title_cht": "sample string 2",
"title_chs": "sample string 3",
"title_eng": "sample string 4",
"title_jpn": "sample string 5",
"content_cht": "sample string 6",
"content_chs": "sample string 7",
"content_eng": "sample string 8",
"content_jpn": "sample string 9",
"pic_filepath": "sample string 10",
"priority": 11,
"create_date": "sample string 12",
"update_date": "sample string 13",
"problem_family_id": 14,
"is_disabled": "sample string 15"
}