Skip to content

Feature: Add the possibility to add a request id - #15

Merged
jvendetti merged 2 commits into
ncbo:masterfrom
agroportal:pr/feature/add-link-explorer-by-id
Jan 30, 2025
Merged

jvendetti merged 2 commits into
ncbo:masterfrom
agroportal:pr/feature/add-link-explorer-by-id

Conversation

@syphax-bouazzouni

@syphax-bouazzouni syphax-bouazzouni commented Nov 16, 2022 •

Copy link
Copy Markdown

With this PR, you can do now something like this (for example I will take FMA ontology)

ontology.explore.submission(1) # will call https://data.bioontology.org/ontologies/FMA/submissions/1

or

ontology.explore.classes("http://purl.org/sig/ont/fma/fma65139") # will call https://data.bioontology.org/ontologies/FMA/classes/http%3A%2F%2Fpurl.org%2Fsig%2Font%2Ffma%2Ffma65139

(deprecating the single_class: "https://data.bioontology.org/ontologies/FMA/classes/{class_id}" link)

It may sound simple, but was not possible before (as far as I know)

@syphax-bouazzouni syphax-bouazzouni changed the title Add the possibility to add a request id Feature: Add the possibility to add a request id Nov 16, 2022
@alexskr

alexskr commented Jul 25, 2024

Copy link
Copy Markdown
Member

@syphax-bouazzouni, is this PR up to date and is it safe to merge?

@syphax-bouazzouni

Copy link
Copy Markdown
Author

@syphax-bouazzouni, is this PR up to date and is it safe to merge?

Yes, it is up to date and safe, as it has been in production at Agroportal for 1,5 years.

@alexskr
alexskr requested a review from jvendetti July 25, 2024 17:04
@jvendetti jvendetti self-assigned this Jul 25, 2024
@jvendetti
jvendetti merged commit 0ea672f into ncbo:master Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants