nofusscomputing / centurion_erp

An ERP with a focus on ITSM and Automation
MIT License
0 stars 0 forks source link

As part of the metadata page provide the urls for the relationship fields #388

Open jon-nfc opened 2 weeks ago

jon-nfc commented 2 weeks ago

the metadata (HTTP/OPTIONS) returns the field meta for creating the fields. However for model relationships there is no information.

Details

Add to the metadata a urls section that is the query point for the related model.

Implementation should be added to the model wherein it has a property that returns the url for lookup and the url for self.

Update: as part of the meta fields, the values already exist in the field object. these have been added to the meta field as choices.

As part of an items metadata, add the return URL. this url will be used within the interface for when a user clicks cancel or as the success url for PATCH/POST request the user will be taken to

Tasks

Requirements

Links