UNM DOIM

This page describes the Target Central REST API which provides programatic access to the Target Central Resource Database (TCRD).

Methods

Only GET requests are currently supported

Content-Types

The following content types are supported:

Resources

Info

http://juniper.health.unm.edu/tcrd/api/_info will return a brief description of the API some info on the version of the database being accessed.

At a *NIX command prompt, type:

$ curl -X GET http://juniper.health.unm.edu/tcrd/api/_info

which will return something similar to:

TCRD REST API

API:
	/tcrd/api/_info
	/tcrd/api/target?q={"id":17}
	/tcrd/api/target?q={"id":17}&expand=TRUE
	/tcrd/api/target?q={"genesymb":"GPER1"}
	/tcrd/api/target?q={"genesymb":"GPER1"}&expand=TRUE&raw=TRUE
	/tcrd/api/target?q={"geneid":3105}
	/tcrd/api/target?q={"uniprot":"Q9UP38"}
	/tcrd/api/target?q={"uniprot":"P30450"}&idgonly=TRUE
	/tcrd/api/target?q={"idgfam":"GPCR"}
	/tcrd/api/target?q={"tdl":"Tchem"}
	/tcrd/api/target?q={"idgfam":"GPCR","tdl":"Tchem"}

IDGFAMs:
	GPCR
	Kinase
	IC
	NR

TDLs:
	Tdark
	Tbio
	Tchem
	Tclin

{
  "schema_ver": "1.4.1", 
  "data_ver": "3.0.7", 
  "owner": "smathias", 
  "is_copy": 0, 
  "dbname": "tcrd", 
  "dump_file": null
}