From b499bb084b4c0c2f6dac4b6d6ef64250b5a8193e Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Thu, 22 Aug 2024 11:17:13 +0300 Subject: Update issues. Signed-off-by: Munyoki Kilyungi --- issues/edit-rif-metadata.gmi | 66 +++++++++++++++++--------------------------- 1 file changed, 25 insertions(+), 41 deletions(-) diff --git a/issues/edit-rif-metadata.gmi b/issues/edit-rif-metadata.gmi index 6410753..e261f40 100644 --- a/issues/edit-rif-metadata.gmi +++ b/issues/edit-rif-metadata.gmi @@ -11,23 +11,20 @@ * [ ] Update GeneRIF metadata to contain the VersionId. * [ ] Update GeneRIF metadata to add a dct:identifier for each comment (for the GeneRIF table this is the table id since this is the only way to group comments historically). * [ ] Update GeneRIF metadata to add a "initial" for each comment. - * [ ] Get wiki-entry: Get's the latest wiki entry from RDF: -,---- -| GET /wiki/ -`---- + +> GET /wiki/ ``` { "symbol": "XXXX", "reason": "XXXX", "species": "XXXX", - "pmid": ["XXXX", "XXXX"], // Optional - "web-url": "XXXX" // Optional - "wiki-entry": "XXXX", - "e-mail": "XXXX", - "user-code": "XXXX", // Optional - "category": ["XXXX", "XXXX"], // Enumeration + "pubmed_ids": ["XXXX", "XXXX"], // Optional + "web_url": "XXXX" // Optional + "comments": "XXXX", + "email": "XXXX", + "categories": ["XXXX", "XXXX"], // Enumeration "version": "XXXX", "initial": "XXXX", // Optional user or project code or your initials. } @@ -35,21 +32,18 @@ * [ ] Get wiki-entry history: Get's the previous versions of the comment from RDF: -,---- -| GET /wiki//history -`---- +> GET /wiki//history ``` [{ "symbol": "XXXX", "reason": "XXXX", "species": "XXXX", - "pmid": ["XXXX", "XXXX"], // Optional - "web-url": "XXXX" // Optional - "wiki-entry": "XXXX", - "e-mail": "XXXX", - "user-code": "XXXX", // Optional - "category": ["XXXX", "XXXX"], // Enumeration + "pubmed_ids": ["XXXX", "XXXX"], // Optional + "web_url": "XXXX" // Optional + "comment": "XXXX", + "email": "XXXX", + "categories": ["XXXX", "XXXX"], // Enumeration "version": "XXXX", "initial": "XXXX", // Optional user or project code or your initials. }] @@ -57,45 +51,35 @@ * [ ] Editing data: An edit will insert a new comment (SQL+RDF) that has the same comment identifier. -,---- -| POST /wiki//edit -`---- - +> POST /wiki//edit ``` { "symbol": "XXXX", "reason": "XXXX", "species": "XXXX", - "pmid": ["XXXX", "XXXX"], // Optional - "web-url": "XXXX" // Optional - "wiki-entry": "XXXX", - "e-mail": "XXXX", - "user-code": "XXXX", // Optional - "category": ["XXXX", "XXXX"], // Enumeration - "version": "XXXX", + "pub_ids": ["XXXX", "XXXX"], // Optional + "web_url": "XXXX" // Optional + "comment": "XXXX", + "email": "XXXX", + "categories": ["XXXX", "XXXX"], // Enumeration "initial": "XXXX", // Optional user or project code or your initials. } ``` * [ ] Add new comment -- Inserts (RDF+SQL) a new gene-entry for the symbol. -,---- -| POST /wiki/add -`---- - +> POST /wiki/add ``` { "symbol": "XXXX", "species": "XXXX", - "pmid": ["XXXX", "XXXX"], // Optional - "web-url": "XXXX" // Optional - "wiki-entry": "XXXX", - "e-mail": "XXXX", - "user-code": "XXXX", // Optional - "category": ["XXXX", "XXXX"], // Enumeration - "version": "XXXX", + "pubmed_ids": ["XXXX", "XXXX"], // Optional + "web_url": "XXXX" // Optional + "comment": "XXXX", + "email": "XXXX", + "categories": ["XXXX", "XXXX"], // Enumeration "initial": "XXXX", // Optional user or project code or your initials. } ``` -- cgit v1.2.3