openapi: 3.0.1
info:
title: Pathway Analysis Service database diseases API
description: Provides an API for pathway over-representation and expression analysis as well as species comparison tool.
termsOfService: /license
contact:
name: Reactome
url: https://reactome.org
email: help@reactome.org
license:
name: Creative Commons Attribution 3.0 Unsupported License
url: https://creativecommons.org/licenses/by/3.0/legalcode
version: '2.0'
servers:
- url: /AnalysisService
tags:
- name: diseases
description: 'Reactome Data: Disease related queries'
paths:
/data/diseases:
get:
tags:
- diseases
summary: The list of disease objects
description: It retrieves the list of diseases annotated in Reactome
operationId: getDiseases
parameters:
- name: view
in: query
description: Global parameter - Customise the view to be more concise and/or aggregate relationships
required: false
schema:
type: string
default: flatten
enum:
- flatten
- nested
- nested-aggregated
example: null
- name: includeRef
in: query
description: Global parameter - If true, replace element ref to dbId by standard JSOG object {@ref}
required: false
schema:
type: boolean
default: false
example: null
responses:
'406':
description: Not acceptable according to the accept headers sent in the request
content:
application/json:
schema:
type: array
items:
type: object
'500':
description: Internal Server Error
content:
application/json:
schema:
type: array
items:
type: object
/data/diseases/doid:
get:
tags:
- diseases
summary: The list of diseases DOID
description: It retrieves the list of disease DOIDs annotated in Reactome
operationId: getDiseasesSummary
parameters:
- name: view
in: query
description: Global parameter - Customise the view to be more concise and/or aggregate relationships
required: false
schema:
type: string
default: flatten
enum:
- flatten
- nested
- nested-aggregated
example: null
- name: includeRef
in: query
description: Global parameter - If true, replace element ref to dbId by standard JSOG object {@ref}
required: false
schema:
type: boolean
default: false
example: null
responses:
'406':
description: Not acceptable according to the accept headers sent in the request
content:
text/plain:
schema:
type: string
'500':
description: Internal Server Error
content:
text/plain:
schema:
type: string