Create GET DATA Method for Saturation Function Set CONTENT SCHEMA
As an OSDU data definitions member, I want the GET DATA method to be created to support the Saturation Function Set 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/saturationfunctionset/{record_id}/data/{content_id}
SCHEMA and reference links
Source data sample:
Edited by Raul Isunza