文档
测试

获取指定药物的ClassyFire分类

POST
/show/medicine_main_drug/getClassyInfo

接口描述

获取指定药物的ClassyFire分类

请求参数

参数名
类型
描述
必填
id
string
药物ID
必填

响应参数

参数名
类型
描述
必填
result
bool
是否成功
必填
msg
string
描述
必填
data
array
返回数组,各个值均有可能为null
必填
domain_json
array
领域JSON,形如{"href":链接,"text":展示文本}
必填
href
string
外链地址
必填
text
string
展示文本
必填
class_json
array
分类JSON,形如{"href":链接,"text":展示文本}
必填
href
string
外链地址
必填
text
string
展示文本
必填
parent_json
array
父级JSON,形如{"href":链接,"text":展示文本}
必填
href
string
外链地址
必填
text
string
展示文本
必填
child_json
array
子集JSON,形如{"href":链接,"text":展示文本}
必填
href
string
外链地址
必填
text
string
展示文本
必填
direct_parent
array
直接父级JSON,形如{"href":链接,"text":展示文本}
必填
href
string
外链地址
必填
text
string
展示文本
必填
alter_parent
array
替代父级JSON,形如[{"href":地址1,"text":文本1},{"href":地址2,"text":文本2},.....]
必填
href
string
外链地址
必填
text
string
展示文本
必填
base_json
array
取代基JSON,形如["取代基1","取代基2",....]
必填
molecular_framework
string
分子框架
必填
classy_descriptors
array
外部描述符JSON,[{"href":链接1,"text":文本1},{"href":链接2,"text":文本2},....],链接有可能为空,为空时前端不作为超链接显示,仅作为单纯文本
必填
href
string
外链地址
必填
text
string
展示文本
必填

说明 / 示例

{ "result": true, "msg": "ok", "data": { "classy_id": 1, "drug_id": "drug_awfjiic72k5dc373b03b0d3", "domain_json": { "href": "http://classyfire.wishartlab.com/tax_nodes/C0000000", "text": "Organic compounds" }, "class_json": { "href": "http://classyfire.wishartlab.com/tax_nodes/C0000264", "text": "Organic acids and derivatives" }, "parent_json": { "href": "http://classyfire.wishartlab.com/tax_nodes/C0000265", "text": "Carboxylic acids and derivatives" }, "child_json": { "href": "http://classyfire.wishartlab.com/tax_nodes/C0000013", "text": "Amino acids, peptides, and analogues" }, "direct_parent": { "href": "http://classyfire.wishartlab.com/tax_nodes/C0004323", "text": "Glutamic acid and derivatives" }, "alter_parent": [ { "href": "http://classyfire.wishartlab.com/tax_nodes/C0002402", "text": "N-acyl-alpha amino acids" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0001318", "text": "Hippuric acids" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0001917", "text": "Aminobenzamides" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0004416", "text": "Furo[2,3-d]pyrimidines" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0000284", "text": "Aniline and substituted anilines" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0000321", "text": "Benzoyl derivatives" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0003901", "text": "Dialkylarylamines" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0001262", "text": "Aminopyrimidines and derivatives" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0003899", "text": "Aralkylamines" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0003886", "text": "Imidolactams" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0000346", "text": "Dicarboxylic acids and derivatives" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0004144", "text": "Heteroaromatic compounds" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0000076", "text": "Furans" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0004176", "text": "Amino acids" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0001663", "text": "Secondary carboxylic acid amides" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0001205", "text": "Carboxylic acids" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0004139", "text": "Azacyclic compounds" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0004140", "text": "Oxacyclic compounds" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0004150", "text": "Hydrocarbon derivatives" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0001831", "text": "Carbonyl compounds" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0003940", "text": "Organic oxides" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0004557", "text": "Organopnictogen compounds" }, { "href": "http://classyfire.wishartlab.com/tax_nodes/C0002450", "text": "Primary amines" } ], "base_json": [ "Glutamic acid or derivatives", "N-acyl-alpha amino acid or derivatives", "N-acyl-alpha-amino acid", "Hippuric acid", "Hippuric acid or derivatives", "Aminobenzamide", "Aminobenzoic acid or derivatives", "Furo[2,3-d]pyrimidine", "Benzamide", "Benzoic acid or derivatives", "Tertiary aliphatic/aromatic amine", "Benzoyl", "Dialkylarylamine", "Aniline or substituted anilines", "Aminopyrimidine", "Aralkylamine", "Imidolactam", "Benzenoid", "Monocyclic benzene moiety", "Pyrimidine", "Dicarboxylic acid or derivatives", "Furan", "Heteroaromatic compound", "Amino acid", "Carboxamide group", "Tertiary amine", "Secondary carboxylic acid amide", "Organoheterocyclic compound", "Azacycle", "Carboxylic acid", "Oxacycle", "Organic oxygen compound", "Organic nitrogen compound", "Carbonyl group", "Hydrocarbon derivative", "Amine", "Organic oxide", "Organopnictogen compound", "Primary amine", "Organooxygen compound", "Organonitrogen compound", "Aromatic heteropolycyclic compound" ], "molecular_framework": "Aromatic heteropolycyclic compounds", "classy_descriptors": [ { "href": "http://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI:44035", "text": "furopyrimidine, N-acyl-L-glutamic acid" } ], "create_time": "2019-11-11 10:55:57" } }