API referenceSections

SitePending

SitePending Site & object
  • tls object required
    • state string required
      Allowed values: "none" "issuing" "renewing" "active" "failed"
    • not_after string (date-time) | null required
    • error_code string required
  • force_https boolean required
  • staging_of string optional
  • preview_of string optional

    The live site this one is a Git preview of (ADR 0160)

  • node object | null optional

    The application the site runs as a service, Node.js or .NET

    • runtime string required
      Allowed values: "node" "dotnet" "python" "java" "go"
    • major string required
    • entry string required
  • php_version string required
  • aspnet boolean required

    ASP.NET 4.x runs in the site's own pool (ADR 0019)

  • classic_asp boolean required

    Classic ASP runs in the site's own pool (ADR 0020)

  • blocked_ips array<string> required

    Refused with 403 by the site's own rule (ADR 0024)

  • stopped boolean required

    Stopped because its account is suspended (ADR 0030)

  • perf SitePerf required
  • web SiteWeb required

    A site's IIS settings (ADR 0061). Lists replace what was there.

  • php_settings SitePHPSettings required

    php.ini directives from a fixed list, extensions and FastCGI limits (ADR 0062). Any other field is refused.

  • pool SitePool required

    The site's own application pool (ADR 0062). Its identity is not a setting.

  • aspnet_settings SiteASPNETSettings required

    A site's ASP.NET settings (ADR 0090), written at the server's level for the site; an application's own web.config may override them.

  • webdeploy boolean required

    The site's IIS Manager user can publish with Web Deploy (ADR 0089)

  • app object | null required
    • name string required
      Allowed values: "wordpress" "node" "dotnet" "python" "java" "go" "container"
    • state string required
      Allowed values: "installing" "active" "failed"
    • error_code string required
    • admin_user string required
  • verify_name string required
  • verify_value string required
  • verified_at string (date-time) | null required
  • verified_via string required
    Allowed values: "" "dns" "override"
  • id string required
  • tenant_id string required
  • server_id string required
  • hostname string required
  • job_id string required
  • error_code string required
  • created_at string (date-time) required
  • status string required
    Allowed values: "provisioning" "active" "failed" "deleting" "delete_failed"
  • pending_job PendingJob required

    A job the panel accepted a change with and has not finished (ADR 0128).

Used by

PUT/api/v1/tenants/{tid}/sites/{id}/force-https 202Redirect plain HTTP to HTTPS; needs an active certificate and URL Rewrite
PUT/api/v1/tenants/{tid}/sites/{id}/classic-asp 202Turn Classic ASP on or off for the site
PUT/api/v1/tenants/{tid}/sites/{id}/aspnet 202Turn ASP.NET 4.x on or off for the site
PUT/api/v1/tenants/{tid}/sites/{id}/aspnet-settings 202Apply the site's ASP.NET settings (ADR 0090)
PUT/api/v1/tenants/{tid}/sites/{id}/blocked-ips 202Replace the addresses the site refuses with 403 (ADR 0024)
PUT/api/v1/tenants/{tid}/sites/{id}/performance 202Apply the site's speed settings (ADR 0032)
PUT/api/v1/tenants/{tid}/sites/{id}/limits 202Cap the CPU share and memory of the site's pool (ADR 0036)
PUT/api/v1/tenants/{tid}/sites/{id}/web 202Apply the site's IIS settings (ADR 0061)
PUT/api/v1/tenants/{tid}/sites/{id}/php-settings 202Apply the site's php.ini directives, extensions and FastCGI limits (ADR 0062)
PUT/api/v1/tenants/{tid}/sites/{id}/pool 202Apply the settings of the site's application pool (ADR 0062)
PUT/api/v1/tenants/{tid}/sites/{id}/php 202Choose the site's PHP branch; an empty version turns PHP off