Skip to content

API reference

amr4 edited this page Dec 5, 2016 · 7 revisions

WikiAPI reference

API root

Root URL for all FNTM API calls is http://fntm-api.princeton.edu.

Endpoints

Basic resources

Functional networks

Functional predictions


# GET /organisms

Returns the list of organisms covered by the API. Because FNTM is specific to mouse, response of this endpoint is constant.

Example

$ curl http://fntm-api.princeton.edu/organisms
[
    "Mus musculus"
]

# GET /genes

Returns the list of genes covered by the API.

Example

$ curl http://fntm-api.princeton.edu/genes
[
    "0610007P14Rik",
    "0610008J02Rik",
    "0610009B22Rik",
    "0610009F21Rik",
    "0610009K14Rik",
    ...
]

# GET /contexts

Returns the list of contexts (i.e. tissues) covered by the API.

Example

$ curl http://fntm-api.princeton.edu/contexts
[
    "adipose tissue",
    "adrenal gland",
    "amygdala",
    "anterior olfactory nucleus",
    "appendage girdle complex",
    ...
]
Clone this wiki locally