-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Since we have tables which are static such as country, state, district, village etc. Those table are generally used as drop down in our applications. So having APIs for such model will help.
For example,
Suppose we call /states API, in response, we will get state data along with some related data( for states we can get district data unnecessarily ). Which makes API lengthy and we don't even use fields other than id and name.
For such APIs we can have separate API which will return array of below object:
{ id: <some-id>, name: <some-name> }
This API will be good to have because we don't need to modify/override original API.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request