Data seen in mariaDB but can not access in endPoint API

Thanks for your valuable time @TurkerTunali , @Antony_Praveenkumar , i appreciate your efforts.
it’s finally resolved and now i can get the data by creating a file called abc.py in my app’s config folder and wrote this code

def get_data():
return [{
“label”: _(“Masters”),
“items”: [
{
{
“type”: “doctype”,
“name”: “Item”,
},
}
]
}]

this is for the ref : Custom app calling doctypes from different modules - #2 by Ben_Cornwell_Mott

but once again thanks a lot