Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Add endpoint for available languages #42

Open
cmutel opened this issue May 19, 2024 · 6 comments
Open

Add endpoint for available languages #42

cmutel opened this issue May 19, 2024 · 6 comments
Milestone

Comments

@cmutel
Copy link
Contributor

cmutel commented May 19, 2024

No description provided.

@sami-m-g
Copy link
Contributor

@cmutel should this be a separate endpoint get_languages given an iri or do you think we could return this in the perspective endpoints for ConceptScheme. Collection and Concept along with the other data?

@jsvgoncalves
Copy link
Member

Probably much easier to implement at a global level. Not sure going to the individual resource group level adds much user value, @cmutel

@sami-m-g
Copy link
Contributor

@jsvgoncalves it needs to be on iri level since every entity (ConceptSchem, Concept, ...etc.) have different available languages. Actually, maybe even the prefLabel and the altLabel of the same Concept can have different available languages.

@sami-m-g sami-m-g self-assigned this May 21, 2024
@sami-m-g sami-m-g added this to the v0.1.0 milestone May 21, 2024
@cmutel
Copy link
Contributor Author

cmutel commented May 21, 2024

I had in mind an endpoint for all languages present regardless of specific endpoint. I don't think we need more than that, we will always allow for users to request a language, and then fall back to en.

@sami-m-g
Copy link
Contributor

@cmutel given this:

every entity (ConceptScheme, Concept, ...etc.) have different available languages. Actually, maybe even the prefLabel and the altLabel of the same Concept can have different available languages.

It might be frustrating for users to find an available language returned by the endpoint that is not available for most labels. However, your call!

@jsvgoncalves jsvgoncalves moved this to Backlog in Glossary May 28, 2024
@sami-m-g sami-m-g removed their assignment May 28, 2024
@sami-m-g sami-m-g moved this from Backlog to In progress in Glossary May 28, 2024
@sami-m-g
Copy link
Contributor

@cmutel given this:

every entity (ConceptScheme, Concept, ...etc.) have different available languages. Actually, maybe even the prefLabel and the altLabel of the same Concept can have different available languages.

It might be frustrating for users to find an available language returned by the endpoint that is not available for most labels. However, your call!

@cmutel @jsvgoncalves I still suggest avoiding user frustration but kindly confirm your decision on a single endpoint so I can start working on this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: In progress
Development

No branches or pull requests

3 participants