Separate path for Element API plugin Is it possible to have a dev version path for the Element API plugin so we can keep live and dev API separated?
Craft config files usually allow to return environment-specific arrays. So you could just configure different endpoints like so:

return [
    '*' =&gt; [],
    '.com' =&gt; [
        'endpoints' =&gt; [
            'api/example&lt;ext:(.json)?&gt;' =&gt; function() {
                // example API config for live environment
            },
        ],
    ],
    '.dev' =&gt; [
        'endpoints' =&gt; [
            'api/example&lt;ext:(.json)?&gt;' =&gt; function() {
                // example API config for dev environment
            },
        ],
    ],
];