library online
Online.net API library
jowy/online
Online.net API library
- Monday, July 13, 2015
- by Atriedes
- Repository
- 3 Watchers
- 2 Stars
- 91 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 3 Versions
- 2 % Grown
Online.Net API for PHP 5.3+
, (*1)
Online API wrapper for PHP 5.3+, (*2)
### Installation
This library can installed through compose, (*3)
$ php composer.phar require jowy/online:@stable
### Usage
<?php
use Online\Online;
$online = new Online('your-api-token-here');
$abuse = $online->abuse();
$network = $online->network();
$server = $online->server();
$storage = $online->storage();
$user = $online->user();
// Get user info
$user->getUserInfo();
// Get all server id
$server->getAllServerId();
// Get abuse list
$abuse->getAbuseList();
// Get ddos alert
$network->getDdosAlert();
// Get Rpnsync backup
$storage->getRpnSyncBackup();
### List All Function
#### Abuse
getAbuseList($count = 10, $minId = 0, $maxId = 10)
getAbuseDetail($abuseId)
replyAbuse($abuseId, $answer, $solution)
### Network
getDdosAlert($targetIp, $count = 10, $midId = 0, $maxId = 10)
getDdosAlertDetail($alertId)
### Storage
getRpnRsyncBackup()
editRpnRsyncBackup($name, $password = 'default')
getRpnSan()
addServerToRpnSan($iqnSuffix, $serverId)
removeServerInRpnSan($iqnSuffix, $serverId)
### User
### Server
getAllServerId()
getServerDetail($serverId)
editServerHostname($serverId, $hostname = 'default')
createBmcSession($serverId, $authorizationIP)
deleteBmcSession($sessionId)
getBmcSessionDetail($sessionId)
bootServerNormal($serverId)
bootServerRescue($serverId)
bootServerTest($serverId)
rebootServer($serverId)
enableHardwareWatch($serverId)
disableHardwareWatch($serverId)
getRescueImages($serverId)
getBackupServer($serverId)
editBackupServer($serverId, $password = 'default', $autoLogin = true, $acl = false)
getFailoverIp()
deleteFailoverMac($failoverIp)
editFailoverIp($failoverIp, $destination)
generateMac($failoverIp, $type)
editIp($ip, $reverse, $destination = null)
dev-master
9999999-dev
Online.net API library
Sources
Download
MIT
The Requires
by
Prasetyo Wicaksono
v1.0
1.0.0.0
Online.net API library
Sources
Download
MIT
The Requires
by
Prasetyo Wicaksono
dev-scrutinizer-patch-1
dev-scrutinizer-patch-1
Online.net API library
Sources
Download
MIT
The Requires
by
Prasetyo Wicaksono