Skip to content

Commit

Permalink
Create predicates.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yakaboskic authored Nov 3, 2020
1 parent 3fe6ec6 commit c1e508e
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions predicates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Predicates

Used to retrieve all CHP supported edge predicate.

**URL** : `/predicates/`

**Method** : `GET`

**Auth required** : NO

## Success Response

**Code** : `200 OK`

**Content example**

```json
{
"gene": {
"disease": [
"gene_to_disease_association"
]
},
"chemical_substance": {
"disease": [
"chemical_to_disease_or_phenotypic_feature_association"
]
},
"disease": {
"phenotypic_feature": [
"disease_to_phenotypic_feature_association"
]
}
}
```

0 comments on commit c1e508e

Please sign in to comment.