List sites

Returns a full list of sites.

GET
https://portal.onyx.io/api/v2/sites

If successful, this endpoint will return a 200 OK status.

Returned Object

When the request is successful, you can expect an object matching the specification below to be returned.

{
    sites: [ Site {
        id: Integer
        name: String
        subdomain: String
        parent_id: Integer?
        created_at: Unix Timestamp
        ssh_enabled: Boolean
        cdn_enabled: Boolean
        cdn_active_domain: String?
        onyx_domain: String
        version: String?
        php_version: SitePHPVersionEnum
        debug_mode: Boolean
        provision_status: SiteProvisioningStatusEnum
    } ]
}