Read from the Porto SAP Documentation (#Routes).
API Route files MUST be named according to their API's versions, exposure and functionality. Example
Web Route files are pretty similar to API web files, but they can be named anything.
Example: Endpoint to display a Hello View in the browser
In all the Web
Routes files the
$router variable is an instance of the default Laravel Router
Example: User Login API Endpoint
Example: Protected List All Users API Endpoint, for an API Routes file
Checkout the Authorization Page.
apiato has 2 types of endpoints, Public (External) mainly for third parties clients, and Private (Internal) for your own Apps. This will help to generate separate documentations for each and keep your internal API private.