diff options
author | Munyoki Kilyungi | 2024-08-22 11:17:13 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2024-08-22 11:17:13 +0300 |
commit | b499bb084b4c0c2f6dac4b6d6ef64250b5a8193e (patch) | |
tree | 02b6163ff3a9d8ce451c57e19e972a29a2d96028 | |
parent | 7ec5c8e9cab40ff4746a923dbf42420756aae58d (diff) | |
download | gn-gemtext-b499bb084b4c0c2f6dac4b6d6ef64250b5a8193e.tar.gz |
Update issues.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r-- | issues/edit-rif-metadata.gmi | 66 |
1 files 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/<comment-id> -`---- + +> GET /wiki/<comment-id> ``` { "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/<comment-id>/history -`---- +> GET /wiki/<comment-id>/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/<comment-id>/edit -`---- - +> POST /wiki/<comment-id>/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. } ``` |