问答(废弃了)
肺轻松
诊断标签
创建诊断标签
Description
医生创建诊断标签
Method and URL Structure
| Method |
Resource URL |
| POST |
/qa/diagnosis_tag/create/ |
Request Parameters
| Name |
Description |
Required |
Default |
| name |
诊断名称 |
Yes |
|
| description |
诊断描述 |
NO |
|
Request
{ "name":"肺结核", "description":"这是一个肺结核"}
| Name |
Description |
Required |
Default |
| Authorization |
Token 48cebaf1955b6f45ee76515dbed221a1f229dd69 |
Yes |
|
* Authorization的值为登录成功后返回值
cURL Example
curl -X POST -H 'Authorization: Token 48cebaf1955b6f45ee76515dbed221a1f229dd69' -d 'order_type=online&doctor=doctor1' http://127.0.0.1:8000/qa/diagnosis_tag/create/
JSON Response
{ "pk": 4, "owner": "doctor1", "name": "肺结核", "description": "这是一个肺结核"}
获取诊断标签列表
Description
获取诊断标签列表
Method and URL Structure
| Method |
Resource URL |
| GET |
/qa/diagnosis_tag/list/ |
| Name |
Description |
Required |
Default |
| Authorization |
Token 48cebaf1955b6f45ee76515dbed221a1f229dd69 |
Yes |
|
* Authorization的值为登录成功后返回值
cURL Example
curl -X POST -H 'Authorization: Token 48cebaf1955b6f45ee76515dbed221a1f229dd69' -d 'order_type=online&doctor=doctor1' http://127.0.0.1:8000/qa/diagnosis_tag/list/
JSON Response
{ "count": 3, "next": null, "previous": null, "results": [ { "pk": 4, "owner": "doctor1", "name": "肺结核", "description": "这是一个肺结核" }, { "pk": 3, "owner": "doctor1", "name": "肺结核", "description": "这是一个肺结核" }, { "pk": 2, "owner": "doctor1", "name": "哮喘", "description": "这是一个挺严重的哮喘病" } ]}
获取诊断标签详情
Description
获取诊断标签详情
Method and URL Structure
| Method |
Resource URL |
| GET |
/qa/diagnosis_tag/detail/${pk}/ |
| Name |
Description |
Required |
Default |
| Authorization |
Token 48cebaf1955b6f45ee76515dbed221a1f229dd69 |
Yes |
|
* Authorization的值为登录成功后返回值
cURL Example
curl -X POST -H 'Authorization: Token 48cebaf1955b6f45ee76515dbed221a1f229dd69' -d 'order_type=online&doctor=doctor1' http://127.0.0.1:8000/qa/diagnosis_tag/detail/2/
JSON Response
{ "pk": 2, "owner": "doctor1", "name": "哮喘", "description": "这是一个挺严重的哮喘病"}
修改诊断标签
Description
修改诊断标签
Method and URL Structure
| Method |
Resource URL |
| PUT |
/qa/diagnosis_tag/update/${pk}/ |
Request Parameters
| Name |
Description |
Required |
Default |
| name |
诊断名称 |
NO |
|
| description |
诊断描述 |
NO |
|
Request
{ "name":"肺结核", "description":"这是一个肺结核"}
| Name |
Description |
Required |
Default |
| Authorization |
Token 48cebaf1955b6f45ee76515dbed221a1f229dd69 |
Yes |
|
* Authorization的值为登录成功后返回值
cURL Example
curl -X POST -H 'Authorization: Token 48cebaf1955b6f45ee76515dbed221a1f229dd69' -d 'order_type=online&doctor=doctor1' http://127.0.0.1:8000/qa/diagnosis_tag/update/2/
JSON Response
{ "pk": 2, "owner": "doctor1", "name": "哮喘", "description": "这是一个挺严重的哮喘病"}
删除诊断标签
Description
删除诊断标签
Method and URL Structure
| Method |
Resource URL |
| DELETE |
/qa/diagnosis_tag/destroy/${pk}/ |
| Name |
Description |
Required |
Default |
| Authorization |
Token 48cebaf1955b6f45ee76515dbed221a1f229dd69 |
Yes |
|
* Authorization的值为登录成功后返回值
cURL Example
curl -X POST -H 'Authorization: Token 48cebaf1955b6f45ee76515dbed221a1f229dd69' -d 'order_type=online&doctor=doctor1' http://127.0.0.1:8000/qa/diagnosis_tag/destroy/2/
JSON Response
| Name |
Description |
Default |
| detail |
失败原因 |
Not found |
| status |
成功 |
204 |
常用药
创建药
Description
医生创建药
Method and URL Structure
| Method |
Resource URL |
| POST |
/qa/drug/create/ |
Request Parameters
| Name |
Description |
Required |
Default |
| name |
药名称 |
YES |
|
| standard |
规格 |
YES |
|
| total_dosage |
总量 |
YES |
|
| each_dosage |
每次用量 |
YES |
|
| day_times |
一天多少次 |
YES |
|
Request
{ "name":"头孢", "standard":"0.25*20s", "total_dosage":"125mg*10盒(瓶)", "each_dosage":"0.5g", "day_times":"3次/天"}
| Name |
Description |
Required |
Default |
| Authorization |
Token 48cebaf1955b6f45ee76515dbed221a1f229dd69 |
Yes |
|
* Authorization的值为登录成功后返回值
cURL Example
curl -X POST -H 'Authorization: Token 48cebaf1955b6f45ee76515dbed221a1f229dd69' http://127.0.0.1:8000/qa/drug/create/
JSON Response
{ "pk": 6, "owner": "doctor1", "name": "头孢", "standard": "0.25*20s", "total_dosage": "125mg*10盒(瓶)", "each_dosage": "0.5g", "day_times": "3次/天"}
获取药列表
Description
获取药列表
Method and URL Structure
| Method |
Resource URL |
| GET |
/qa/drug/list/ |
| Name |
Description |
Required |
Default |
| Authorization |
Token 48cebaf1955b6f45ee76515dbed221a1f229dd69 |
Yes |
|
* Authorization的值为登录成功后返回值
cURL Example
curl -X POST -H 'Authorization: Token 48cebaf1955b6f45ee76515dbed221a1f229dd69' http://127.0.0.1:8000/qa/drug/list/
JSON Response
{ "count": 4, "next": null, "previous": null, "results": [ { "pk": 6, "owner": "doctor1", "name": "头孢", "standard": "0.25*20s", "total_dosage": "125mg*10盒(瓶)", "each_dosage": "0.5g", "day_times": "3次/天" }, { "pk": 5, "owner": "doctor1", "name": "头孢", "standard": "0.25*20s", "total_dosage": "125mg*10盒(瓶)", "each_dosage": "0.5g", "day_times": "3次/天" }, { "pk": 4, "owner": "doctor1", "name": "头孢", "standard": "0.25*20s", "total_dosage": "125mg*10盒(瓶)", "each_dosage": "0.5g", "day_times": "3次/天" }, { "pk": 3, "owner": "doctor1", "name": "头孢", "standard": "0.25*20s", "total_dosage": "125mg*10盒(瓶)", "each_dosage": "0.5g", "day_times": "3次/天" } ]}
获取药详情
Description
获取药详情
Method and URL Structure
| Method |
Resource URL |
| GET |
/qa/drug/detail/${pk}/ |
| Name |
Description |
Required |
Default |
| Authorization |
Token 48cebaf1955b6f45ee76515dbed221a1f229dd69 |
Yes |
|
* Authorization的值为登录成功后返回值
cURL Example
curl -X POST -H 'Authorization: Token 48cebaf1955b6f45ee76515dbed221a1f229dd69' http://127.0.0.1:8000/qa/drug/detail/3/
JSON Response
{ "pk": 3, "owner": "doctor1", "name": "头孢", "standard": "0.25*20s", "total_dosage": "125mg*10盒(瓶)", "each_dosage": "0.5g", "day_times": "3次/天"}
修改药
Description
修改💊
Method and URL Structure
| Method |
Resource URL |
| PUT |
/qa/drug/update/${pk}/ |
Request Parameters
| Name |
Description |
Required |
Default |
| name |
药名称 |
NO |
|
| standard |
规格 |
NO |
|
| total_dosage |
总量 |
NO |
|
| each_dosage |
每次用量 |
NO |
|
| day_times |
一天多少次 |
NO |
|
Request
{ "name":"头孢", "standard":"0.25*20s", "total_dosage":"125mg*10盒(瓶)", "each_dosage":"0.5g", "day_times":"3次/天"}
| Name |
Description |
Required |
Default |
| Authorization |
Token 48cebaf1955b6f45ee76515dbed221a1f229dd69 |
Yes |
|
* Authorization的值为登录成功后返回值
cURL Example
curl -X POST -H 'Authorization: Token 48cebaf1955b6f45ee76515dbed221a1f229dd69' -d 'name=头孢&standard=0.25*20s&total_dosage=125mg*10盒(瓶)&each_dosage=0.5g&day_times=3次/天' http://127.0.0.1:8000/qa/drug/update/2/
JSON Response
{ "pk": 3, "owner": "doctor1", "name": "头孢", "standard": "0.25*20s", "total_dosage": "125mg*10盒(瓶)", "each_dosage": "0.5g", "day_times": "3次/天"}
删除药
Description
删除💊
Method and URL Structure
| Method |
Resource URL |
| DELETE |
/qa/drug/destroy/${pk}/ |
| Name |
Description |
Required |
Default |
| Authorization |
Token 48cebaf1955b6f45ee76515dbed221a1f229dd69 |
Yes |
|
* Authorization的值为登录成功后返回值
cURL Example
curl -X DELETE -H 'Authorization: Token 48cebaf1955b6f45ee76515dbed221a1f229dd69' http://127.0.0.1:8000/qa/drug/destroy/2/
JSON Response
| Name |
Description |
Default |
| detail |
失败原因 |
Not found |
| status |
成功 |
204 |
问题
创建问题
Description
患者提问题
Method and URL Structure
| Method |
Resource URL |
| POST |
/qa/question/create/ |
Request Parameters
| Name |
Description |
Required |
Default |
| order_number |
订单号 |
YES |
|
| allergy_history |
过敏史 |
YES |
|
| smoke_history |
吸烟史 |
YES |
|
| desc_files |
过往病历文件 |
YES |
|
| condition_description |
病情自述 |
YES |
|
Request
{ "order_number":"12257268238541425696240003", "allergy_history":"无过敏史", "smoke_history":"无吸烟史", "condition_description":"病情挺严重的", "desc_files":"http://123.jpg,http://123.jpg,http://123.jpg"}
| Name |
Description |
Required |
Default |
| Authorization |
Token 48cebaf1955b6f45ee76515dbed221a1f229dd69 |
Yes |
|
* Authorization的值为登录成功后返回值
cURL Example
curl -X POST -H 'Authorization: Token 48cebaf1955b6f45ee76515dbed221a1f229dd69' -d '' http://127.0.0.1:8000/qa/question/create/
JSON Response
{ "pk": 3, "owner": { "owner": "patient1", "invitation_code": "123", "name": "patient", "avatar": "http://123.jpg" }, "order": "12257268228937975696240003", "allergy_history": "无过敏史", "smoke_history": "无吸烟史", "condition_description": "无病", "file_list": [ "http://123.jpg", "http://123.jpg", "http://123.jpg" ], "desc_files": "http://123.jpg,http://123.jpg,http://123.jpg", "create_time": "2017-03-22T15:05:52.773782"}
获取问题列表
Description
获取问题列表
Method and URL Structure
| Method |
Resource URL |
| GET |
/qa/question/list/ |
| Name |
Description |
Required |
Default |
| Authorization |
Token 48cebaf1955b6f45ee76515dbed221a1f229dd69 |
Yes |
|
* Authorization的值为登录成功后返回值
cURL Example
curl -X POST -H 'Authorization: Token 48cebaf1955b6f45ee76515dbed221a1f229dd69' http://127.0.0.1:8000/qa/question/list/
JSON Response
{ "count": 1, "next": null, "previous": null, "results": [ { "pk": 3, "owner": { "owner": "patient1", "invitation_code": "123", "name": "patient", "avatar": "http://123.jpg" }, "order": "12257268228937975696240003", "allergy_history": "无过敏史", "smoke_history": "无吸烟史", "condition_description": "无病", "file_list": [ "http://123.jpg", "http://123.jpg", "http://123.jpg" ], "desc_files": "http://123.jpg,http://123.jpg,http://123.jpg", "create_time": "2017-03-22T15:05:52.773782" } ]}
获取问题详情
Description
获取问题详情
Method and URL Structure
| Method |
Resource URL |
| GET |
/qa/question/detail/${pk}/ |
| Name |
Description |
Required |
Default |
| Authorization |
Token 48cebaf1955b6f45ee76515dbed221a1f229dd69 |
Yes |
|
* Authorization的值为登录成功后返回值
cURL Example
curl -X GET -H 'Authorization: Token 48cebaf1955b6f45ee76515dbed221a1f229dd69' http://127.0.0.1:8000/qa/question/detail/3/
JSON Response
{ "pk": 3, "owner": { "owner": "patient1", "invitation_code": "123", "name": "patient", "avatar": "http://123.jpg" }, "order": "12257268228937975696240003", "allergy_history": "无过敏史", "smoke_history": "无吸烟史", "condition_description": "无病", "file_list": [ "http://123.jpg", "http://123.jpg", "http://123.jpg" ], "desc_files": "http://123.jpg,http://123.jpg,http://123.jpg", "create_time": "2017-03-22T15:05:52.773782"}
修改问题
Description
修改问题
Method and URL Structure
| Method |
Resource URL |
| PUT |
/qa/question/update/${pk}/ |
Request Parameters
| Name |
Description |
Required |
Default |
| allergy_history |
过敏史 |
NO |
|
| smoke_history |
吸烟史 |
NO |
|
| desc_files |
过往病历文件 |
NO |
|
| condition_description |
病情自述 |
NO |
|
Request
{ "allergy_history":"无过敏史", "smoke_history":"无吸烟史", "condition_description":"病情挺严重的", "desc_files":"http://123.jpg,http://123.jpg,http://123.jpg"}
| Name |
Description |
Required |
Default |
| Authorization |
Token 48cebaf1955b6f45ee76515dbed221a1f229dd69 |
Yes |
|
* Authorization的值为登录成功后返回值
cURL Example
curl -X POST -H 'Authorization: Token 48cebaf1955b6f45ee76515dbed221a1f229dd69' http://127.0.0.1:8000/qa/question/update/2/
JSON Response
{ "pk": 3, "owner": { "owner": "patient1", "invitation_code": "123", "name": "patient", "avatar": "http://123.jpg" }, "order": "12257268228937975696240003", "allergy_history": "无过敏史", "smoke_history": "无吸烟史", "condition_description": "无病", "file_list": [ "http://123.jpg", "http://123.jpg", "http://123.jpg" ], "desc_files": "http://123.jpg,http://123.jpg,http://123.jpg", "create_time": "2017-03-22T15:05:52.773782"}
删除问题
Description
删除问题
Method and URL Structure
| Method |
Resource URL |
| DELETE |
/qa/question/destroy/${pk}/ |
| Name |
Description |
Required |
Default |
| Authorization |
Token 48cebaf1955b6f45ee76515dbed221a1f229dd69 |
Yes |
|
* Authorization的值为登录成功后返回值
cURL Example
curl -X DELETE -H 'Authorization: Token 48cebaf1955b6f45ee76515dbed221a1f229dd69' http://127.0.0.1:8000/qa/question/destroy/2/
JSON Response
| Name |
Description |
Default |
| detail |
失败原因 |
Not found |
| status |
成功 |
204 |
答案
创建答案
Description
医生回答问题
Method and URL Structure
| Method |
Resource URL |
| POST |
/qa/answer/create/ |
Request Parameters
| Name |
Description |
Required |
Default |
| question |
问题的 pk/id |
YES |
|
| diagnosis_result |
诊断结果 |
YES |
|
| extra_suggestion |
其他建议 |
YES |
|
| tag |
诊断标签的 pk/id |
YES |
|
| drug |
常用药的 pk/id |
YES |
|
Request
{ "question":3, "diagnosis_result":"吃点头孢,吃一个疗程,就好了", "extra_suggestion":"平时多出蔬菜", "tag":"2,3", "drug":"1,3"}
| Name |
Description |
Required |
Default |
| Authorization |
Token 48cebaf1955b6f45ee76515dbed221a1f229dd69 |
Yes |
|
* Authorization的值为登录成功后返回值
cURL Example
curl -X POST -H 'Authorization: Token 48cebaf1955b6f45ee76515dbed221a1f229dd69' -d '' http://127.0.0.1:8000/qa/answer/create/
JSON Response
{ "pk": 9, "owner": { "owner": "doctor1", "invitation_code": "123456", "name": "doctor", "avatar": "" }, "question": { "pk": 3, "owner": { "owner": "patient1", "invitation_code": "123", "name": "patient", "avatar": "http://123.jpg" }, "order": "12257268228937975696240003", "allergy_history": "无过敏史", "smoke_history": "无吸烟史", "condition_description": "无病", "file_list": [ "http://123.jpg", "http://123.jpg", "http://123.jpg" ], "desc_files": "http://123.jpg,http://123.jpg,http://123.jpg", "create_time": "2017-03-22T15:05:52.773782" }, "diagnosis_tag": [ { "pk": 3, "owner": "doctor1", "name": "肺结核", "description": "这是一个肺结核" }, { "pk": 2, "owner": "doctor1", "name": "哮喘", "description": "这是一个挺严重的哮喘病" } ], "drug": [ { "pk": 3, "owner": "doctor1", "name": "头孢", "standard": "0.25*20s", "total_dosage": "125mg*10盒(瓶)", "each_dosage": "0.5g", "day_times": "3次/天" }, { "pk": 1, "owner": "patient1", "name": "头孢", "standard": "0.25*20s", "total_dosage": "125mg*10盒(瓶)", "each_dosage": "0.5g", "day_times": "3次/天" } ], "diagnosis_result": "吃点头孢,吃一个疗程,就好了", "extra_suggestion": "平时多出蔬菜", "create_time": "2017-03-22T16:41:09.317246"}
获取答案列表
Description
获取答案列表
Method and URL Structure
| Method |
Resource URL |
| GET |
/qa/answer/list/ |
| Name |
Description |
Required |
Default |
| Authorization |
Token 48cebaf1955b6f45ee76515dbed221a1f229dd69 |
Yes |
|
* Authorization的值为登录成功后返回值
cURL Example
curl -X POST -H 'Authorization: Token 48cebaf1955b6f45ee76515dbed221a1f229dd69' http://127.0.0.1:8000/qa/answer/list/
JSON Response
{ "count": 1, "next": null, "previous": null, "results": [ { "pk": 9, "owner": { "owner": "doctor1", "invitation_code": "123456", "name": "doctor", "avatar": "" }, "question": { "pk": 3, "owner": { "owner": "patient1", "invitation_code": "123", "name": "patient", "avatar": "http://123.jpg" }, "order": "12257268228937975696240003", "allergy_history": "无过敏史", "smoke_history": "无吸烟史", "condition_description": "无病", "file_list": [ "http://123.jpg", "http://123.jpg", "http://123.jpg" ], "desc_files": "http://123.jpg,http://123.jpg,http://123.jpg", "create_time": "2017-03-22T15:05:52.773782" }, "diagnosis_tag": [ { "pk": 3, "owner": "doctor1", "name": "肺结核", "description": "这是一个肺结核" }, { "pk": 2, "owner": "doctor1", "name": "哮喘", "description": "这是一个挺严重的哮喘病" } ], "drug": [ { "pk": 3, "owner": "doctor1", "name": "头孢", "standard": "0.25*20s", "total_dosage": "125mg*10盒(瓶)", "each_dosage": "0.5g", "day_times": "3次/天" }, { "pk": 1, "owner": "patient1", "name": "头孢", "standard": "0.25*20s", "total_dosage": "125mg*10盒(瓶)", "each_dosage": "0.5g", "day_times": "3次/天" } ], "diagnosis_result": "吃点头孢,吃一个疗程,就好了", "extra_suggestion": "平时多出蔬菜", "create_time": "2017-03-22T16:41:09.317246" } ]}
获取答案详情
Description
获取答案详情
Method and URL Structure
| Method |
Resource URL |
| GET |
/qa/answer/detail/${pk}/ |
| Name |
Description |
Required |
Default |
| Authorization |
Token 48cebaf1955b6f45ee76515dbed221a1f229dd69 |
Yes |
|
* Authorization的值为登录成功后返回值
cURL Example
curl -X GET -H 'Authorization: Token 48cebaf1955b6f45ee76515dbed221a1f229dd69' http://127.0.0.1:8000/qa/answer/detail/3/
JSON Response
{ "pk": 9, "owner": { "owner": "doctor1", "invitation_code": "123456", "name": "doctor", "avatar": "" }, "question": { "pk": 3, "owner": { "owner": "patient1", "invitation_code": "123", "name": "patient", "avatar": "http://123.jpg" }, "order": "12257268228937975696240003", "allergy_history": "无过敏史", "smoke_history": "无吸烟史", "condition_description": "无病", "file_list": [ "http://123.jpg", "http://123.jpg", "http://123.jpg" ], "desc_files": "http://123.jpg,http://123.jpg,http://123.jpg", "create_time": "2017-03-22T15:05:52.773782" }, "diagnosis_tag": [ { "pk": 3, "owner": "doctor1", "name": "肺结核", "description": "这是一个肺结核" }, { "pk": 2, "owner": "doctor1", "name": "哮喘", "description": "这是一个挺严重的哮喘病" } ], "drug": [ { "pk": 3, "owner": "doctor1", "name": "头孢", "standard": "0.25*20s", "total_dosage": "125mg*10盒(瓶)", "each_dosage": "0.5g", "day_times": "3次/天" }, { "pk": 1, "owner": "patient1", "name": "头孢", "standard": "0.25*20s", "total_dosage": "125mg*10盒(瓶)", "each_dosage": "0.5g", "day_times": "3次/天" } ], "diagnosis_result": "吃点头孢,吃一个疗程,就好了", "extra_suggestion": "平时多出蔬菜", "create_time": "2017-03-22T16:41:09.317246"}
修改答案
Description
修改答案
Method and URL Structure
| Method |
Resource URL |
| PUT |
/qa/answer/update/${pk}/ |
Request Parameters
| Name |
Description |
Required |
Default |
| question |
问题的 pk/id |
YES |
|
| diagnosis_result |
诊断结果 |
YES |
|
| extra_suggestion |
其他建议 |
YES |
|
| tag |
诊断标签的 pk/id |
YES |
|
| drug |
常用药的 pk/id |
YES |
|
Request
{ "question":3, "diagnosis_result":"吃点头孢,吃一个疗程,就好了", "extra_suggestion":"平时多出蔬菜", "tag":"2,3", "drug":"1,3"}
| Name |
Description |
Required |
Default |
| Authorization |
Token 48cebaf1955b6f45ee76515dbed221a1f229dd69 |
Yes |
|
* Authorization的值为登录成功后返回值
cURL Example
curl -X PUT -H 'Authorization: Token 48cebaf1955b6f45ee76515dbed221a1f229dd69' http://127.0.0.1:8000/qa/answer/update/2/
JSON Response
{ "pk": 9, "owner": { "owner": "doctor1", "invitation_code": "123456", "name": "doctor", "avatar": "" }, "question": { "pk": 3, "owner": { "owner": "patient1", "invitation_code": "123", "name": "patient", "avatar": "http://123.jpg" }, "order": "12257268228937975696240003", "allergy_history": "无过敏史", "smoke_history": "无吸烟史", "condition_description": "无病", "file_list": [ "http://123.jpg", "http://123.jpg", "http://123.jpg" ], "desc_files": "http://123.jpg,http://123.jpg,http://123.jpg", "create_time": "2017-03-22T15:05:52.773782" }, "diagnosis_tag": [ { "pk": 3, "owner": "doctor1", "name": "肺结核", "description": "这是一个肺结核" }, { "pk": 2, "owner": "doctor1", "name": "哮喘", "description": "这是一个挺严重的哮喘病" } ], "drug": [ { "pk": 3, "owner": "doctor1", "name": "头孢", "standard": "0.25*20s", "total_dosage": "125mg*10盒(瓶)", "each_dosage": "0.5g", "day_times": "3次/天" }, { "pk": 1, "owner": "patient1", "name": "头孢", "standard": "0.25*20s", "total_dosage": "125mg*10盒(瓶)", "each_dosage": "0.5g", "day_times": "3次/天" } ], "diagnosis_result": "吃点头孢,吃一个疗程,就好了", "extra_suggestion": "平时多出蔬菜", "create_time": "2017-03-22T16:41:09.317246"}
删除答案
Description
删除答案
Method and URL Structure
| Method |
Resource URL |
| DELETE |
/qa/answer/destroy/${pk}/ |
| Name |
Description |
Required |
Default |
| Authorization |
Token 48cebaf1955b6f45ee76515dbed221a1f229dd69 |
Yes |
|
* Authorization的值为登录成功后返回值
cURL Example
curl -X DELETE -H 'Authorization: Token 48cebaf1955b6f45ee76515dbed221a1f229dd69' http://127.0.0.1:8000/qa/answer/destroy/2/
JSON Response
| Name |
Description |
Default |
| detail |
失败原因 |
Not found |
| status |
成功 |
204 |