From 43264b1de9fd525f2aa2b624ded01041175088cb Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Wed, 2 Aug 2023 09:01:46 +0200 Subject: GN REST API v2 conventions added - JSON tags for markdown --- api/GN-REST-API-v2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api') diff --git a/api/GN-REST-API-v2.md b/api/GN-REST-API-v2.md index da0bc06..b856de8 100644 --- a/api/GN-REST-API-v2.md +++ b/api/GN-REST-API-v2.md @@ -39,7 +39,7 @@ We may forward `api:mouse` and `api:species/Mus_musculus` (no extension) to `doc Standard JSON data (the .json postfix) will return a minimal structure that requires the minimum amount of work to parse. Example `api:mouse.json` can result in a dictionary of: -```js +```json { "id": "Mouse", "wikidata": "Q83310", @@ -62,7 +62,7 @@ Standard JSON data (the .json postfix) will return a minimal structure that requ Metadata contains further information on a JSON record, but typically not the data that is already served by above JSON record. Example for `api:mouse.meta.json` -``` +```json { "api": "api:mouse.json", "doc": "doc:mouse.html", -- cgit v1.2.3