Retrieve Pathways
get
/HSDataService-web/api/3.2.0/pathways
This endpoint supports the retrieval of Pathways. It returns Pathway information like Pathway Identifier, Name, Source, Pathway Version, Species, Member Count and other Pathway associated information.
Request
Supported Media Types
- application/json
- application/xml
Query Parameters
- limit
-
Type:
integer(int32)Number of rows to return- offset
Type:integer(int32)Row number to start from
Response
Supported Media Types
- application/json
- application/xml
200 Response
successful operation
Body
Model for paginated collections of data.
Root Schema : PageableCollection
Type:
objectModel for paginated collections of data.
- count
-
Type:
integer(int64)Number of objects in the 'items' collection. - hasMore
-
Type:
booleanDefault Value:falseA boolean indicating if more pages are available. - items
-
Type:
arrayitemsA collection of paged items. - links
-
Type:
arraylinksA collection of links containing hrefs to the current, next, and previous pages as applicable. - resourceType
-
Type:
stringIdentify the resource type
Nested Schema : items
Nested Schema : links
Nested Schema : Serializable
Type:
object400 Response
Invalid parameters supplied
404 Response
pathways(s) not found
Examples
The following example submits a GET request.
API URL
http://localhost:7001/HSDataService-web/api/3.2.0/pathways
Example of Response Body
The following example shows the contents of the response body in JSON format:
{
"resourceType": "Pathways",
"items": [
{
"identifier": {
"system": "ODB",
"value": "1"
},
"pathwayName": "The role of Nef in HIV-1 replication and disease pathogenesis",
"pathwaySource": "REACTOME",
"pathwayVersion": "GRCH37.75_PATHWAY",
"species": "homo sapiens",
"memberCount": 17,
"pathwayMember": {
"reference": "/HSDataService-web/api/3.2.0/pathways/1"
}
}],
"count": 1,
"hasMore": true,
"links": [
{
"rel": "self",
"href": "http://localhost:7001/HSDataService-web/api/3.2.0/pathways"
}
]
}