This doc will help you to configure basic set of CRUD APIs for a particular entity. The APIs which would be exposed by this process would be as follows:-
This doc will help you to configure basic set of CRUD APIs for a particular entity. A reference Merge request is also provided at the end for ready reference. The APIs which would be exposed by this process would be as follows:-
* Read record using ID - `/ddms/v3/{entityName}/{recordID}`
* Create or update record- `/ddms/v3/{entityName}`
...
...
@@ -17,7 +17,7 @@ Implement a function to perform record-level consistency validation. This functi
## **Record ID Constraint**
<spandir="">In </span><spandir="">`osdu_record_id.py`</span><spandir=""> add a entity specific recordID constraint. This constraint validates the input</span>`id`<spandir="">against a predefined regex pattern configured for the API. It ensures only records with valid IDs are accepted, helping to filter out malformed or non-compliant entries.</span>
<spandir="">In `osdu_record_id.py` add a entity specific recordID constraint. This constraint validates the input</span>`id`<spandir="">against a predefined regex pattern configured for the API. It ensures only records with valid IDs are accepted, helping to filter out malformed or non-compliant entries.</span>