Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extend json endpoint to other entity types #106

Open
giraygi opened this issue Jan 10, 2025 · 1 comment
Open

extend json endpoint to other entity types #106

giraygi opened this issue Jan 10, 2025 · 1 comment
Assignees

Comments

@giraygi
Copy link
Collaborator

giraygi commented Jan 10, 2025

json endpoint is only implemented for terms. It will be compared to v2 endpoints and if it is necessary, it will be implemented for ontologies, individuals and properties.

@giraygi giraygi self-assigned this Jan 10, 2025
@giraygi
Copy link
Collaborator Author

giraygi commented Jan 17, 2025

It seems there is no need for this. Even the initial term based endpoint was not necessary. I compared https://api.terminology.tib.eu/api/v2/ontologies/aco/entities/https%253A%252F%252Fw3id.org%252Fac-ontology%252Faco%2523AudioExpression?lang=en and https://api.terminology.tib.eu/api/ontologies/aco/terms/https%253A%252F%252Fw3id.org%252Fac-ontology%252Faco%2523AudioExpression/json using https://jsondiff.com/

jsondiff.comjsondiff.com
JSON Diff - The semantic JSON compare tool
Validate, format, and compare two JSON documents. See the differences between the objects instead of just the new lines and mixed up properties.
3:19
There are some unimportant type differences and two fields called directAncestor and hierarchicalAncestor are missing in the 1st call
3:19
But those fields are empty in the second call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant