-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Issue/Enhancement- Make the expand option in the REST interface consistent with other options #659
Comments
Hi @colin-e-nhsd, Yes, this is something we would like to enhance in the future to make the expansion API easier to use and accept array of values as well, not just a single String value.
Regarding the function-like behaviour. This is actually by design and some of the parameters that are accepted by the expand query parameter are actually allow arguments to be defined.
This is similar to GraphQL APIs, where you can create a nested query. A great example would be to fetch all information for a concept in a single request:
This returns a Concept JSON object with all necessary information expanded (description with types/modules/etc, relationships with types/destinations/etc, concept pt/fsn) to display a detail page for it. It even supports Locale based display label expansion by using the Regards, |
Update documentation to use `array<string>` collection format. Update all uses of expand parameter by extracting it into a ResourceSelectors class. Fixes #659.
Hi @colin-e-nhsd, This feature is available in the latest 8.0.0 release. Feel free to check it out. Cheers, |
SnowOwl: 7.8.4
Endpoint: /snomed-ct/v3/{path}/concepts
Describe the bug
The concepts endpoint has an expand option. This option accepts a parameter defining multiple choices selected from any combination of the values: fsn(); pt(); and descriptions()
Issues:
Expected / Preferred behavior
Version
The text was updated successfully, but these errors were encountered: