Skip to content

Commit e169e96

Browse files
author
Renato Juaçaba Neto
committed
Adjust API page
1 parent 4f2b609 commit e169e96

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

pages/api.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ Refer to the example for more details.
5959
- **Request body example:**
6060
```json
6161
{
62-
"apiVersion":"1.0",
62+
"apiVersion": "1.0",
6363
"payload": {
64-
"url":"https://www.ebi.ac.uk/intact/interaction/EBI-2307691",
64+
"url": "https://www.ebi.ac.uk/intact/interaction/EBI-2307691",
6565
"accession": "EBI-2307691"
6666
}
6767
}
@@ -95,9 +95,9 @@ Refer to the example for more details.
9595
- **Request body example:**
9696
```json
9797
{
98-
"apiVersion":"1.0",
98+
"apiVersion": "1.0",
9999
"payload": {
100-
"url":"https://www.ebi.ac.uk/intact/interaction/EBI-2307691",
100+
"url": "https://www.ebi.ac.uk/intact/interaction/EBI-2307691",
101101
"accession": "EBI-2307691"
102102
}
103103
}
@@ -107,20 +107,20 @@ Refer to the example for more details.
107107
- **Response body example:**
108108
```json
109109
{
110-
"apiVersion":"1.0",
110+
"apiVersion": "1.0",
111111
"errorMessage": null,
112112
"payload": [{
113-
"prefix":"intact",
114-
"possible_idorg_url":"http://identifiers.org/intact:EBI-2307691",
115-
"possible_idorg_curie":"intact:EBI-2307691",
116-
"lui_pattern_match":true,
117-
"similarity_score":100.0
113+
"prefix": "intact",
114+
"possible_idorg_url": "http://identifiers.org/intact:EBI-2307691",
115+
"possible_idorg_curie": "intact:EBI-2307691",
116+
"lui_pattern_match": true,
117+
"similarity_score": 100.0
118118
},{
119-
"prefix":"intact.molecule",
120-
"possible_idorg_url":"http://identifiers.org/intact.molecule:EBI-2307691",
121-
"possible_idorg_curie":"intact.molecule:EBI-2307691",
122-
"lui_pattern_match":true,
123-
"similarity_score":77.5
119+
"prefix": "intact.molecule",
120+
"possible_idorg_url": "http://identifiers.org/intact.molecule:EBI-2307691",
121+
"possible_idorg_curie": "intact.molecule:EBI-2307691",
122+
"lui_pattern_match": true,
123+
"similarity_score": 77.5
124124
},{
125125
...
126126
}]

0 commit comments

Comments
 (0)