Create POST Method for Saturation Function Set CONTENT SCHEMA
As an OSDU data definitions member, I want the POST 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 POST request to POST /{record_id}/data/{content_schema_type} | |
| Path parameter validation: record_id must match regex or 422. Headers: Content-Type required.Supported: application/json, application/parquet.Unsupported → 400. | |
| Payload Validation: JSON: Must match model structure and be convertible to dataframe. Validation errors return 422. | |
| Parquet Validation: Must be readable parquet bytes. Conversion or validation errors → 422. |
End point:
/api/rafs-ddms/v2/saturationfunctionset/{record_id}/data/
SCHEMA and reference links
Source data sample:
Reference list(s):
| Reference Data Name | Schema | Reference Value List |
|---|---|---|
Edited by Raul Isunza