Auf dieser Seite findest du die API Dokumentation von Prepaid-Host.com
This PHP package is automatically generated by the Swagger Codegen project:
- API version: 1.2.0
- Build package: io.swagger.codegen.v3.generators.php.PhpClientCodegen
PHP 5.5 and later
To install the bindings via Composer, add the following to composer.json
:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
}
],
"require": {
"GIT_USER_ID/GIT_REPO_ID": "*@dev"
}
}
Then run composer install
Download the files and include autoload.php
:
require_once('/path/to/SwaggerClient-php/vendor/autoload.php');
To run the unit tests:
composer install
./vendor/bin/phpunit
Please follow the installation procedure and then run the following:
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\AccountApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$api_token = "api_token_example"; // string | API Token
try {
$result = $apiInstance->accountGet($api_token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AccountApi->accountGet: ', $e->getMessage(), PHP_EOL;
}
?>
All URIs are relative to https://prepaid-host.com/api
Class | Method | HTTP request | Description |
---|---|---|---|
AccountApi | accountGet | GET /account | Gibt alle Account Informationen aus |
DomainApi | domainIdAddPost | POST /domain/{id}/add | Fügt ein DNS Eintag zu der Domain hinzu |
DomainApi | domainIdDNSGet | GET /domain/{id}/DNS | Gibt eine Liste der aktuellen DNS Einträge der Domain zurück |
DomainApi | domainIdDeleteDelete | DELETE /domain/{id}/delete | Löscht ein DNS Eintag zu der Domain hinzu |
DomainApi | domainIdGet | GET /domain/{id} | Gibt Infos zu einer Domain aus |
DomainApi | domainListGet | GET /domain/list | Gibt eine Liste der aktuellen Domains zurück |
PaymentApi | paymentGet | GET /payment | Gibt zu einer Transaktion ein Status aus |
PaymentApi | paymentPost | POST /payment | Erstellt eine Zahlung |
RootserverApi | rootserverIdAddressesGet | GET /rootserver/{id}/addresses | Gibt die IP Adressen des Rootservers aus |
RootserverApi | rootserverIdRestartPost | POST /rootserver/{id}/restart | Startet den gewünschten Rootserver neu |
RootserverApi | rootserverIdStartPost | POST /rootserver/{id}/start | Startet den gewünschten Rootserver |
RootserverApi | rootserverIdStatsGet | GET /rootserver/{id}/stats | Gibt den aktuellen Status der Rootserver durch |
RootserverApi | rootserverIdStopPost | POST /rootserver/{id}/stop | Stoppt den gewünschten Rootserver |
RootserverApi | rootserverListGet | GET /rootserver/list | Gibt eine Liste der aktuellen Rootserver zurück |
TeamspeakApi | teamspeakIdGet | GET /teamspeak/{id} | Gibt Details eines TeamSpeak Servers aus |
TeamspeakApi | teamspeakIdStartPost | POST /teamspeak/{id}/start | Startet den gewünschten Teamspeak Server |
TeamspeakApi | teamspeakIdStopPost | POST /teamspeak/{id}/stop | Stoppt den gewünschten Teamspeak Server |
TeamspeakApi | teamspeakListGet | GET /teamspeak/list | Gibt eine Liste der aktuellen TeamSpeak Server zurück |
WebhostingApi | webhostingIdGet | GET /webhosting/{id} | Gibt das aktuelle Webhosting aus |
WebhostingApi | webhostingListGet | GET /webhosting/list | Gibt eine Liste der aktuellen Webhosting(s) zurück |
- DomainDnsAdd
- DomainDnsDelete
- InlineResponse200
- InlineResponse2001
- InlineResponse20010
- InlineResponse20011
- InlineResponse20012
- InlineResponse2002
- InlineResponse2003
- InlineResponse2004
- InlineResponse2005
- InlineResponse2006
- InlineResponse2007
- InlineResponse2008
- InlineResponse2009
- PaymentCreate
- PaymentStatus
All endpoints do not require authorization.