Create GET Search Data Method for Reservoir Simulation Rock Physics Model CONTENT SCHEMA
As an OSDU data definitions member, I want the GET Search Data method to be created to support the Reservoir Simulation Rock Physics Model Content Schema. The method must fetch the record and throw the corresponding messages,(Check AC section).
Dependencies before start the development :
| Task | Status (Y / N) |
|---|---|
| Proposal document revised | Y |
| Multi – company review | Y |
| OSDU Forum approval | Y |
Acceptance criteria:
| AC | Completed |
|---|---|
| The user can send a GET request to GET /{record_id}/data/{analysis_type}/{content_id} | |
| Path parameter validation: record_id must match regex. Content_id must match dataset or UUID regex. Invalid IDs return 422. | |
| Header Validation: Content-Type must be valid: application/json or application/parquet. Accept may include version; invalid schema version returns 400. | |
| Filters: columns_filter, rows_filter, columns_aggregation must be valid or 422. | |
| Data set: Returns 404 if dataset missing. Returns 422 if content missing.Returns filtered JSON or parquet. | |
| Content Schema Version: Mismatch returns 400. | |
| Caching: Identical requests must return identical responses inside TTL. |
End point:
/api/rafs-ddms/v2/reservoirsimulationrockphysicsmodel/search/data
SCHEMA and reference links
JSON example:
Source Data Sample:
Edited by Raul Isunza