API Deprecation Guidance - July 2025
The majority of the https://api.healthdatagateway.org/api/v1/* APIs for collections, datasets, data uses, publications and tools will be deprecated in July 2025 and removed in January 2026, to be replaced with https://api.healthdatagateway.org/api/v2/*. The guidance below outlines how the V2 APIs supersede their V1 equivalents.
Operation | V1 | V2 | Comments |
|---|---|---|---|
index (GET) |
|
| The V2 version no longer offers filtering by |
count (GET) |
|
| The V2 version no longer offers filtering by user_id or team_id. Instead use |
show (GET) |
|
| Also available in v2 are |
store (POST) |
|
| Datasets can only be created under a team, other entities can be created under a user or a team |
update (PUT) |
|
|
|
edit (PATCH) |
|
| To archive an entity, edit its |
destroy (DELETE) |
|
| Entities can only be deleted under the user or team that created them |
New in V2 only
Operation | Endpoints | Comments |
|---|---|---|
indexStatus (GET) |
| Return all entities of the given status under that team or user. The entities can be filtered by title/name etc. using query parameters. |
-