-
Notifications
You must be signed in to change notification settings - Fork 3
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
API endpoint to get the latest finalised data model by data model label #363
Labels
enhancement
New feature or request
Comments
GBishop-PHSA
added a commit
to GBishop-PHSA/mdm-core
that referenced
this issue
Sep 15, 2022
GBishop-PHSA
added a commit
to GBishop-PHSA/mdm-core
that referenced
this issue
Sep 16, 2022
GBishop-PHSA
added a commit
to GBishop-PHSA/mdm-core
that referenced
this issue
Sep 28, 2022
Ready for review |
GBishop-PHSA
added a commit
to GBishop-PHSA/mdm-core
that referenced
this issue
Oct 12, 2022
GBishop-PHSA
added a commit
to GBishop-PHSA/mdm-core
that referenced
this issue
Oct 12, 2022
GBishop-PHSA
added a commit
to GBishop-PHSA/mdm-core
that referenced
this issue
Oct 12, 2022
GBishop-PHSA
added a commit
to GBishop-PHSA/mdm-core
that referenced
this issue
Oct 12, 2022
GBishop-PHSA
added a commit
to GBishop-PHSA/mdm-core
that referenced
this issue
Oct 12, 2022
GBishop-PHSA
added a commit
to GBishop-PHSA/mdm-core
that referenced
this issue
Oct 14, 2022
…d all overrides
GBishop-PHSA
added a commit
to GBishop-PHSA/mdm-core
that referenced
this issue
Oct 17, 2022
joe-crawford
added a commit
that referenced
this issue
Oct 18, 2022
gh-363 request param to select finalized models by label
Closing as completed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The API currently provides a Get request to return the latest data model using the data model path (label and optional version number). When the version number is excluded from the path, it returns draft models, if one exists for that label. An additional request parameter to limit results to the latest finalised data model would be helpful for sharing links to published data models through email or internal documents.
Additional context
Current API request to find latest data model by label:
http://localhost:4200/#/catalogue/dataModel/dm:PATH
New request parameter for API request to find latest finalised data model by label:
http://localhost:4200/#/catalogue/dataModel/dm:PATH?finalised=true
The text was updated successfully, but these errors were encountered: