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
[ ] Add property to ALL models that returns the models lookup url (ViewSet-list)
[ ] Add property to ALL models that returns an individual models url (ViewSet-detail)
[x] Add cancel/return url with key name of return_url
366 blocking as the model url will be used.
Requirements
[ ] #394
[ ] No data returned is from an org the user has no access to
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
[ ] Add property to ALL models that returns the models lookup url (ViewSet-list
)[ ] Add property to ALL models that returns an individual models url (ViewSet-detail
)return_url
366 blocking as the model url will be used.
Requirements
Links