php - Correct api access url in codeigniter
I am writting apis for mobile app in codeigniter but i don't know how can i access those apis through chrome rest console or as a url for mobile apps.
My structure is like following
-application
- config
- controllers
- v1 (in v1 folder bellow structure contains appapi.php file)
- appapi.php (My api file which contains functions to be called with url i.e v1\getrecord)
- models
- other folders
-database
-other folders
I am not able to access those functions in my appapi.php through url url will be something like myproject/v1/appapi/function_name
Any one can please tell me about the correct url?