Repository navigation
v0.15.0
PidginHost PHP SDK v0.15.0
Install from Packagist:
composer require pidginhost/sdk:0.15.0
Added
- Account dashboard and session.
AccountDashboardRetrievereturns
DashboardandAccountSessionRetrievereturnsAccountSessionResponse. - Domain availability and TLD catalog.
DomainDomainCheckAvailabilityRetrieve
checks a name with a GET, andDomainTldCatalogRetrievereturnsTLDCatalog.
TLDgainedmin_yearsandyear_step. - Hosting usage and upgrades.
HostingHostingUsageRetrievereturns
HostingUsageandHostingHostingUpgradeOptionsRetrievereturns
HostingUpgradeOptions. - Servers, volumes, buckets, private networks, dedicated servers, hosting and
services gainedbilling(ResourceBilling): the price and billing cycle,
or null. DedicatedServer.hardware(DedicatedHardware) describes the machine.InvoiceListandInvoiceDetailgainedinvoice_type,
can_pay_with_fundsandlocal_amounts(InvoiceLocalAmounts).Volume.statussays whether a volume is active or busy. Volume updates
answer 409 withVolumeBusywhile a resize or move is still running.- Kubernetes pool and node deletes take a body,
ResourcePoolDeleteRequest
andNodeOperationDeleteRequest, to accept local data loss.
Changed
- The domain availability check returns
DomainAvailability(available,
supported), which is what the API sends.CheckAvailabilityis gone. DNSRecordfields that belong to one record type, such asaddressor
txtdata, are optional. Reading a zone with mixed record types no longer
fails.ClusterDetailRequestandPatchedClusterDetailRequestno longer have
price_per_month, which the API never let you change.