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.
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