API documentation Web hosting accessible to everyone Visit LWS

Schema

HostingGet

  • domain any

    Name of the domain

    Example: example.com

  • date_purchase any

    Purchase date of the hosting

    Example: 2023-01-01

  • date_expiration any

    Expiration date of the hosting

    Example: 2024-01-01

  • ns1 any

    First nameserver

    Example: ns1.lwsdns.com

  • ns2 any

    Second nameserver

    Example: ns2.lwsdns.com

  • ns3 any

    Third nameserver

    Example: ns3.lwsdns.com

  • ns4 any

    Fourth nameserver

    Example: ns4.lwsdns.com

  • owner any

    Owner of the hosting

    Example: 547645

  • package any

    Hosting package type

    Example: LWS Perso

  • lws_domain any

    Whether the domain has been bought at LWS.fr or not

    Example: true

  • autorenew object

    Informations about the auto renewal of the domain

  • payment string

    Example: aucun

  • account string

    Example:

Example
{
  "domain": "example.com",
  "date_purchase": "2023-01-01",
  "date_expiration": "2024-01-01",
  "ns1": "ns1.lwsdns.com",
  "ns2": "ns2.lwsdns.com",
  "ns3": "ns3.lwsdns.com",
  "ns4": "ns4.lwsdns.com",
  "owner": 547645,
  "package": "LWS Perso",
  "lws_domain": true,
  "autorenew": {
    "payment": "aucun",
    "account": ""
  }
}