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

Why GET /ehr/{ehrId}/versioned_ehr_status returns only revision_history? #36

Open
ppazos opened this issue Aug 20, 2017 · 0 comments
Open
Labels
Milestone

Comments

@ppazos
Copy link
Contributor

ppazos commented Aug 20, 2017

Shouldn't be more RESTful to have a dimension per each method in VERSIONED_OBJECT? And leave GET /ehr/{ehrId}/versioned_ehr_status to return just uid, owner_id and time_created.

GET /ehr/{ehrId}/versioned_ehr_status/revision_history
GET /ehr/{ehrId}/versioned_ehr_status/all_versions
GET /ehr/{ehrId}/versioned_ehr_status/latest_trunk_version
GET /ehr/{ehrId}/versioned_ehr_status/version_at_time
etc.

This is similar to https://github.com/openEHR/specifications-ITS/issues/27 but focuses on the current Body of the 200 response from https://github.com/openEHR/specifications-ITS/blob/master/apiary.apib#L561-L611

@bostjanl bostjanl added this to the 1.1.0 milestone Nov 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants