Node Configuration Controller (Nodes/NodeConfigurationController.php)

panel · app/Http/Controllers/Api/Application/Nodes/NodeConfigurationController.php · php · MIT
infra, integration, fw:node, tag:configuration

Returns node configuration for automated deployments.

// Source: https://github.com/pterodactyl/panel | License: MIT | Copyright Dane Everitt <dane@daneeveritt.com> and contributors
// Provided via justclaw.it.com; keep this notice with the code.
<?php

namespace Pterodactyl\Http\Controllers\Api\Application\Nodes;

use Pterodactyl\Models\Node;
use Illuminate\Http\JsonResponse;
use Pterodactyl\Http\Controllers\Api\Application\ApplicationApiController;
use Pterodactyl\Http\Requests\Api\Application\Nodes\GetNodeConfigurationRequest;

class NodeConfigurationController extends ApplicationApiController
{
    /**
     * Returns the configuration information for a node. This allows for automated deployments
     * to remote machines so long as an API key is provided to the machine to make the request
     * with, and the node is known.
     */
    pu

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key