sites

Site List

Get a list of sites belonging to your account. Sites can be filtered by tag name or limited to favorites only. Favorited sites are pinned to the top of the list by default. Site listing is a full list of sites attached to your account, unless pagination is requested.

get/sites

Request

Query parameters

paginateboolean
per_pageinteger
pageinteger

Response

Successful Response

messagestring
dataobject[]
pageobject

Example response

{
  "message": "Success",
  "data": [
    {
      "id": 1,
      "created": "2022-01-31T20:05:30.000Z",
      "accountId": 2,
      "clonedFromId": null,
      "collaboratorsCount": 3,
      "datacenterCode": "DFW",
      "datacenterName": "Dallas, TX, USA",
      "displayName": "pressable.com",
      "domainsCount": 1,
      "ecommerce": false,
      "edgeCache": "enabled",
      "edgeCacheDefensiveMode": false,
      "edgeCacheDefensiveModeUntil": null,
      "favorite": false,
      "fileSystemUsageBytes": 10737418240,
      "databaseUsageBytes": 2147483648,
      "maxFileSystemUsageBytes": null,
      "warningHeadroomFileSystemUsageBytes": null,
      "maxDatabaseUsageBytes": null,
      "warningHeadroomDatabaseUsageBytes": null,
      "ipAddress": "199.16.172.38",
      "ipAddressOne": "199.16.172.38",
      "ipAddressTwo": "199.16.173.236",
      "name": "my-presssable-net",
      "state": "live",
      "url": "pressable.com",
      "staging": false,
      "sandbox": false,
      "duplikit": false,
      "sftpDomain": "sftp.pressable.com",
      "phpVersion": "8.2",
      "wordpressVersion": "Latest Release (Beta)",
      "tags": [
        {
          "id": 1357,
          "name": "Halo 3: ODST"
        }
      ],
      "wpEnvironmentType": "production",
      "lightWeight404": true,
      "multisiteSupport": false
    },
    {
      "id": 3,
      "created": "2022-01-31T20:05:30.000Z",
      "accountId": 2,
      "clonedFromId": null,
      "collaboratorsCount": 0,
      "datacenterCode": "DCA",
      "datacenterName": "Washington, DC, USA",
      "displayName": "zippykidnetworks-net",
      "domainsCount": 0,
      "ecommerce": false,
      "edgeCache": "enabled",
      "edgeCacheDefensiveMode": false,
      "edgeCacheDefensiveModeUntil": null,
      "favorite": false,
      "ipAddress": "199.16.172.107",
      "ipAddressOne": "199.16.172.107",
      "ipAddressTwo": "199.16.173.153",
      "name": "zippykidnetworks-net",
      "state": "deploying",
      "url": "zippykidnetworks-net.mystagingwebsite.com",
      "staging": false,
      "sandbox": false,
      "duplikit": false,
      "sftpDomain": "sftp.pressable.com",
      "phpVersion": "8,2",
      "wordpressVersion": "Current Stable Release (6.2)",
      "tags": [],
      "wpEnvironmentType": "production",
      "lightWeight404": false,
      "multisiteSupport": false
    },
    {
      "id": 4,
      "created": "2022-01-31T20:05:30.000Z",
      "accountId": 2,
      "clonedFromId": null,
      "collaboratorsCount": 1,
      "datacenterCode": "N/A",
      "datacenterName": "N/A",
      "displayName": "four",
      "domainsCount": 0,
      "ecommerce": false,
      "edgeCache": "disabled",
      "edgeCacheDefensiveMode": false,
      "edgeCacheDefensiveModeUntil": null,
      "favorite": false,
      "ipAddress": "199.16.172.123",
      "ipAddressOne": "199.16.172.123",
      "ipAddressTwo": "199.16.173.175",
      "name": "four",
      "state": "live",
      "url": "four.mystagingwebsite.com",
      "staging": true,
      "sandbox": false,
      "duplikit": false,
      "sftpDomain": "sftp.pressable.com",
      "phpVersion": "8,2",
      "wordpressVersion": "Current Stable Release (6.2)",
      "tags": [
        {
          "id": 744,
          "name": "Super Mario Bros. 3"
        }
      ],
      "wpEnvironmentType": "staging",
      "lightWeight404": false,
      "multisiteSupport": false
    }
  ],
  "page": {
    "currentPage": 1,
    "nextPage": 2,
    "lastPage": 66,
    "perPage": 20,
    "totalItems": 1309
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.