sites
Get Site
Get site information and settings.
get/sites/{id}
Request
- Base URLhttps://my.pressable.com/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Response
Successful Response
Example response
{
"message": "Success",
"data": {
"id": 1,
"created": "2022-01-31T20:05:30.000Z",
"accountId": 2,
"createdBy": {
"name": "John Doe",
"email": "johndoe@example.com"
},
"clonedFromId": null,
"datacenterCode": "DFW",
"datacenterName": "Dallas, TX, USA",
"displayName": "pressable.com",
"ecommerce": false,
"edgeCache": "disabled",
"edgeCacheDefensiveMode": false,
"edgeCacheDefensiveModeUntil": null,
"favorite": false,
"ipAddress": "199.16.172.38",
"ipAddressOne": "199.16.172.38",
"ipAddressTwo": "199.16.173.236",
"name": "my-presssable-net",
"pageViews": {
"allTime": {
"people": 0,
"views": 0
},
"lastTwoYearsIsAllTime": {
"people": 0,
"views": 0
},
"currentMonth": {
"people": 0,
"views": 0
},
"lastMonth": {
"views": 0,
"people": 0
},
"today": {
"people": 0,
"views": 0
},
"twoMonthsAgo": {
"views": 0,
"people": 0
},
"yesterday": {
"people": 0,
"views": 0
}
},
"phpVersion": "8.2",
"wordpressVersion": "Current Stable Release (6.2)",
"sftpDomain": "sftp.pressable.com",
"state": "live",
"url": "pressable.com",
"wordpressLoginUrl": "pressable.com/wp-admin",
"staging": false,
"sandbox": false,
"duplikit": false,
"tags": [
{
"id": 1357,
"name": "Halo 3: ODST"
}
],
"wpEnvironmentType": "development",
"collaborators": [
{
"id": 1,
"created": "2022-01-31T20:05:39.000Z",
"email": "janedoe@example.com",
"gravatar": "https://www.gravatar.com/avatar/eabc66b353b56eba0b94ff5695fbcfbf?d=mp",
"name": "Jane Doe",
"wpUsername": "jane",
"username": "46e652f73b2afc"
},
{
"id": 2,
"created": "2022-01-31T20:05:39.000Z",
"email": "tomdoe@example.com",
"gravatar": "https://www.gravatar.com/avatar/127a526b67c878d70961db95ae87fa56?d=mp",
"name": "Tom Doe",
"wpUsername": "tom",
"username": "6f4c70e32926e2"
},
{
"id": 1203,
"created": "2022-01-31T20:05:39.000Z",
"email": "clairedoe@example.com",
"gravatar": "https://www.gravatar.com/avatar/595f525cba4a637978bc1ab2899f1d52?d=mp",
"name": "Claire Doe",
"wpUsername": "johndoe",
"username": null
}
],
"jetpack": null
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.