GET
/api/v1/
API information
Service metadata: API version, dataset release, the limits in force and which endpoint groups are enabled. light rate limit
Details
Parameters
None - any query parameter is rejected with 422.
Example
curl "https://<your-gcitps-host>/api/v1/"
Response 200 - what this server answers now
{
"name": "GCITPs API",
"api_version": "v1",
"dataset_version": null,
"read_only": true,
"documentation": "/api/docs",
"openapi": "/api/openapi.json",
"limits": {
"default_page_size": 25,
"max_page_size": 100,
"max_reaction_variants_per_pair": 25,
"light_requests_per_minute": 60,
"graph_requests_per_minute": 10
},
"features": {
"compound_lookup": true,
"neighbors": true,
"reactions": true,
"graph_distance": false
}
}
Response fields
Response
| Field | Type | Meaning |
|---|---|---|
name |
string | |
api_version |
string | |
dataset_version |
string or null | Scientific dataset release identifier, or null if not configured. |
read_only |
boolean | |
documentation |
string | |
openapi |
string | |
limits |
ApiLimits | |
features |
ApiFeatures |
limits
| Field | Type | Meaning |
|---|---|---|
default_page_size |
integer | |
max_page_size |
integer | |
max_reaction_variants_per_pair |
integer | |
light_requests_per_minute |
integer | |
graph_requests_per_minute |
integer |
features
| Field | Type | Meaning |
|---|---|---|
compound_lookup |
boolean | |
neighbors |
boolean | |
reactions |
boolean | |
graph_distance |
boolean |
Notes
- Never touches the database, so it is the cheapest way to check the service.