Site Live v1.0.0
Get your sites
Get details about all of your live sites. SiteBot Enabled.
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
team_id |
|
page |
Page number |
size |
Page size |
Response Samples
{
"count": null,
"limit": null,
"next": null,
"offset": null,
"previous": null,
"results": [
{
"active": null,
"busy": null,
"code_server_enabled": null,
"code_server_password": null,
"created_at": null,
"created_by": {
"created_at": null,
"email": null,
"first_name": null,
"full_name": null,
"id": null,
"is_active": null,
"is_payment_verified": null,
"is_superuser": null,
"is_verified": null,
"last_name": null,
"posthog_user_id": null
},
"current_cycle_visits": null,
"current_storage": null,
"db_prefix": null,
"dkim_key": null,
"domain_option": null,
"external_paths": [
{
"created_at": null,
"external_name": null,
"id": null,
"path": null
}
],
"favicon_url": null,
"fqdn": null,
"git_last_sync_hash": null,
"git_url": null,
"http_auth_enabled": null,
"http_auth_password": null,
"id": null,
"is_free": null,
"is_ns_root": null,
"is_sleeping": null,
"is_testing": null,
"max_restore_point": null,
"min_restore_point": null,
"properties": null,
"region_id": null,
"site_stage": null,
"team": {
"additional_sites": null,
"cancel_at": null,
"cancel_at_period_end": null,
"created_at": null,
"currency": null,
"current_cycle_bandwidth": null,
"current_cycle_visits": null,
"cycle_end": null,
"cycle_start": null,
"grafana_org_id": null,
"id": null,
"interval": null,
"is_active": null,
"is_default": null,
"is_expired": null,
"name": null,
"plan_type": null,
"plan_type_name": null,
"posthog_team_id": null,
"should_allow_shopify_payment": null,
"storage_usage": null,
"storage_usage_percentage": null,
"sub_id": null,
"tenant_id": null,
"timezone": null,
"trial_ends_on": null,
"user": {
"created_at": null,
"email": null,
"first_name": null,
"full_name": null,
"id": null,
"is_active": null,
"is_payment_verified": null,
"is_superuser": null,
"is_verified": null,
"last_name": null,
"posthog_user_id": null
},
"user_id": null,
"visits_usage_percentage": null
},
"team_id": null,
"tenant_id": null,
"tracked_tables": [
null
],
"untracked_tables": [
null
],
"user_id": null
}
]
}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
count Required | integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
limit Required | integer
>=
1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
next Required |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
offset Required | integer
>=
0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
previous Required |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
results Required | array
of objects
|
detail | array
of objects
|
Create a site
Create a new site by providing your domain and your site’s WordPress details. If you don’t include a region_name, your default region will be used. SiteBot Enabled.
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Request Body Schema
fqdn Required | string |
git_url |
|
is_free |
Default:
false |
region_name |
|
team_id Required | string<uuid4> |
template_name |
|
wordpress_blog_name Required | string |
wordpress_email Required | string |
wordpress_first_name Required | string |
wordpress_last_name Required | string |
wordpress_password Required | string |
wordpress_username Required | string |
Response Samples
{
"active": null,
"busy": null,
"code_server_enabled": null,
"code_server_password": null,
"created_at": null,
"created_by": {
"created_at": null,
"email": null,
"first_name": null,
"full_name": null,
"id": null,
"is_active": null,
"is_payment_verified": null,
"is_superuser": null,
"is_verified": null,
"last_name": null,
"posthog_user_id": null
},
"current_cycle_visits": null,
"current_storage": null,
"db_prefix": null,
"dkim_key": null,
"domain_option": null,
"external_paths": [
{
"created_at": null,
"external_name": null,
"id": null,
"path": null
}
],
"favicon_url": null,
"fqdn": null,
"git_last_sync_hash": null,
"git_url": null,
"http_auth_enabled": null,
"http_auth_password": null,
"id": null,
"is_free": null,
"is_ns_root": null,
"is_sleeping": null,
"is_testing": null,
"max_restore_point": null,
"min_restore_point": null,
"properties": null,
"region_id": null,
"site_stage": null,
"team": {
"additional_sites": null,
"cancel_at": null,
"cancel_at_period_end": null,
"created_at": null,
"currency": null,
"current_cycle_bandwidth": null,
"current_cycle_visits": null,
"cycle_end": null,
"cycle_start": null,
"grafana_org_id": null,
"id": null,
"interval": null,
"is_active": null,
"is_default": null,
"is_expired": null,
"name": null,
"plan_type": null,
"plan_type_name": null,
"posthog_team_id": null,
"should_allow_shopify_payment": null,
"storage_usage": null,
"storage_usage_percentage": null,
"sub_id": null,
"tenant_id": null,
"timezone": null,
"trial_ends_on": null,
"user": {
"created_at": null,
"email": null,
"first_name": null,
"full_name": null,
"id": null,
"is_active": null,
"is_payment_verified": null,
"is_superuser": null,
"is_verified": null,
"last_name": null,
"posthog_user_id": null
},
"user_id": null,
"visits_usage_percentage": null
},
"team_id": null,
"tenant_id": null,
"tracked_tables": [
null
],
"untracked_tables": [
null
],
"user_id": null
}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
active Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
busy |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
code_server_enabled Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
code_server_password Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
created_at Required | string<date-time> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
created_by Required | object
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
current_cycle_visits Required | integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
current_storage Required | integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
db_prefix Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
dkim_key |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
domain_option Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
external_paths Required | array
of objects
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
favicon_url Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
fqdn Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
git_last_sync_hash |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
git_url |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
http_auth_enabled Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
http_auth_password Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
id Required | string<uuid4> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
is_free Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
is_ns_root Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
is_sleeping Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
is_testing Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
max_restore_point Required | string<date-time> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
min_restore_point Required | string<date-time> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
properties Required | object | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
region_id Required | integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
site_stage |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
team Required | object
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
team_id Required | string<uuid4> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tenant_id Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tracked_tables Required | array
of strings | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
untracked_tables Required | array
of strings | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
user_id Required | string<uuid4> |
detail | array
of objects
|
Delete your live site
This permanently deletes your site, and its stage site if one exists. SiteBot Enabled.
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
fqdn |
|
Response Samples
{}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
detail | array
of objects
|
Get your live site
Get details about your live site. SiteBot Enabled.
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
fqdn |
|
Response Samples
{
"active": null,
"busy": null,
"code_server_enabled": null,
"code_server_password": null,
"created_at": null,
"created_by": {
"created_at": null,
"email": null,
"first_name": null,
"full_name": null,
"id": null,
"is_active": null,
"is_payment_verified": null,
"is_superuser": null,
"is_verified": null,
"last_name": null,
"posthog_user_id": null
},
"current_cycle_visits": null,
"current_storage": null,
"db_prefix": null,
"dkim_key": null,
"domain_option": null,
"external_paths": [
{
"created_at": null,
"external_name": null,
"id": null,
"path": null
}
],
"favicon_url": null,
"fqdn": null,
"git_last_sync_hash": null,
"git_url": null,
"http_auth_enabled": null,
"http_auth_password": null,
"id": null,
"is_free": null,
"is_ns_root": null,
"is_sleeping": null,
"is_testing": null,
"max_restore_point": null,
"min_restore_point": null,
"properties": null,
"region_id": null,
"site_stage": null,
"team": {
"additional_sites": null,
"cancel_at": null,
"cancel_at_period_end": null,
"created_at": null,
"currency": null,
"current_cycle_bandwidth": null,
"current_cycle_visits": null,
"cycle_end": null,
"cycle_start": null,
"grafana_org_id": null,
"id": null,
"interval": null,
"is_active": null,
"is_default": null,
"is_expired": null,
"name": null,
"plan_type": null,
"plan_type_name": null,
"posthog_team_id": null,
"should_allow_shopify_payment": null,
"storage_usage": null,
"storage_usage_percentage": null,
"sub_id": null,
"tenant_id": null,
"timezone": null,
"trial_ends_on": null,
"user": {
"created_at": null,
"email": null,
"first_name": null,
"full_name": null,
"id": null,
"is_active": null,
"is_payment_verified": null,
"is_superuser": null,
"is_verified": null,
"last_name": null,
"posthog_user_id": null
},
"user_id": null,
"visits_usage_percentage": null
},
"team_id": null,
"tenant_id": null,
"tracked_tables": [
null
],
"untracked_tables": [
null
],
"user_id": null
}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
active Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
busy |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
code_server_enabled Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
code_server_password Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
created_at Required | string<date-time> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
created_by Required | object
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
current_cycle_visits Required | integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
current_storage Required | integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
db_prefix Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
dkim_key |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
domain_option Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
external_paths Required | array
of objects
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
favicon_url Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
fqdn Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
git_last_sync_hash |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
git_url |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
http_auth_enabled Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
http_auth_password Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
id Required | string<uuid4> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
is_free Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
is_ns_root Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
is_sleeping Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
is_testing Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
max_restore_point Required | string<date-time> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
min_restore_point Required | string<date-time> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
properties Required | object | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
region_id Required | integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
site_stage |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
team Required | object
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
team_id Required | string<uuid4> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tenant_id Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tracked_tables Required | array
of strings | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
untracked_tables Required | array
of strings | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
user_id Required | string<uuid4> |
detail | array
of objects
|
Update a site
Update a site’s details. SiteBot Enabled.
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
fqdn |
|
Request Body Schema
cf_dev_mode_enabled |
|
cf_firewall_allowed_ips |
|
cf_firewall_enabled |
|
git_url |
|
http_auth_enabled |
|
is_free |
|
new_fqdn |
|
team_id |
|
Response Samples
{
"active": null,
"busy": null,
"code_server_enabled": null,
"code_server_password": null,
"created_at": null,
"created_by": {
"created_at": null,
"email": null,
"first_name": null,
"full_name": null,
"id": null,
"is_active": null,
"is_payment_verified": null,
"is_superuser": null,
"is_verified": null,
"last_name": null,
"posthog_user_id": null
},
"current_cycle_visits": null,
"current_storage": null,
"db_prefix": null,
"dkim_key": null,
"domain_option": null,
"external_paths": [
{
"created_at": null,
"external_name": null,
"id": null,
"path": null
}
],
"favicon_url": null,
"fqdn": null,
"git_last_sync_hash": null,
"git_url": null,
"http_auth_enabled": null,
"http_auth_password": null,
"id": null,
"is_free": null,
"is_ns_root": null,
"is_sleeping": null,
"is_testing": null,
"max_restore_point": null,
"min_restore_point": null,
"properties": null,
"region_id": null,
"site_stage": null,
"team": {
"additional_sites": null,
"cancel_at": null,
"cancel_at_period_end": null,
"created_at": null,
"currency": null,
"current_cycle_bandwidth": null,
"current_cycle_visits": null,
"cycle_end": null,
"cycle_start": null,
"grafana_org_id": null,
"id": null,
"interval": null,
"is_active": null,
"is_default": null,
"is_expired": null,
"name": null,
"plan_type": null,
"plan_type_name": null,
"posthog_team_id": null,
"should_allow_shopify_payment": null,
"storage_usage": null,
"storage_usage_percentage": null,
"sub_id": null,
"tenant_id": null,
"timezone": null,
"trial_ends_on": null,
"user": {
"created_at": null,
"email": null,
"first_name": null,
"full_name": null,
"id": null,
"is_active": null,
"is_payment_verified": null,
"is_superuser": null,
"is_verified": null,
"last_name": null,
"posthog_user_id": null
},
"user_id": null,
"visits_usage_percentage": null
},
"team_id": null,
"tenant_id": null,
"tracked_tables": [
null
],
"untracked_tables": [
null
],
"user_id": null
}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
active Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
busy |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
code_server_enabled Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
code_server_password Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
created_at Required | string<date-time> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
created_by Required | object
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
current_cycle_visits Required | integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
current_storage Required | integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
db_prefix Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
dkim_key |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
domain_option Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
external_paths Required | array
of objects
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
favicon_url Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
fqdn Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
git_last_sync_hash |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
git_url |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
http_auth_enabled Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
http_auth_password Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
id Required | string<uuid4> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
is_free Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
is_ns_root Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
is_sleeping Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
is_testing Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
max_restore_point Required | string<date-time> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
min_restore_point Required | string<date-time> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
properties Required | object | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
region_id Required | integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
site_stage |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
team Required | object
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
team_id Required | string<uuid4> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tenant_id Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tracked_tables Required | array
of strings | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
untracked_tables Required | array
of strings | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
user_id Required | string<uuid4> |
detail | array
of objects
|
Execute shell command
Send a bash shell command to your site, such as a WP-CLI command. SiteBot Enabled.
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
fqdn |
|
cmd |
|
cwd |
|
auto_track_dir |
|
stage |
|
Response Samples
{}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
detail | array
of objects
|
Get Site Events
Get events, such as restores, updates, stage creations, etc. SiteBot Enabled.
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
fqdn |
|
after_datetime |
|
page |
Page number |
size |
Page size |
Response Samples
{
"count": null,
"limit": null,
"next": null,
"offset": null,
"previous": null,
"results": [
{
"activity": null,
"created_at": null,
"description": null,
"detail": null,
"event_type": null,
"finished_at": null,
"fqdn": null,
"id": null,
"item_id": null,
"scope": null,
"site_live_id": null,
"unread": null,
"user": null,
"user_id": null
}
]
}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
count Required | integer | ||||||||||||||||||||||||||||
limit Required | integer
>=
1 | ||||||||||||||||||||||||||||
next Required |
| ||||||||||||||||||||||||||||
offset Required | integer
>=
0 | ||||||||||||||||||||||||||||
previous Required |
| ||||||||||||||||||||||||||||
results Required | array
of objects
|
detail | array
of objects
|
Get External Paths
Get details about your site’s external path configs. SiteBot Enabled.
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
fqdn |
|
page |
Page number |
size |
Page size |
Response Samples
{
"count": null,
"limit": null,
"next": null,
"offset": null,
"previous": null,
"results": [
{
"created_at": null,
"external_name": null,
"id": null,
"path": null
}
]
}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
count Required | integer | ||||||||
limit Required | integer
>=
1 | ||||||||
next Required |
| ||||||||
offset Required | integer
>=
0 | ||||||||
previous Required |
| ||||||||
results Required | array
of objects
|
detail | array
of objects
|
Create External Path
Connect an external URL to your site on a subpath. SiteBot Enabled.
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
fqdn |
|
Request Body Schema
external_name Required | string |
path Required | string |
Response Samples
{
"created_at": null,
"external_name": null,
"id": null,
"path": null
}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
created_at Required | string<date-time> |
external_name Required | string |
id Required | string<uuid4> |
path Required | string |
detail | array
of objects
|
Delete External Path
Delete the link between an external URL and your site. SiteBot Enabled.
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
external_path_id |
|
fqdn |
|
Response Samples
{}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
detail | array
of objects
|
Get External Path
Get an external path for your site
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
external_path_id |
|
fqdn |
|
Response Samples
{
"created_at": null,
"external_name": null,
"id": null,
"path": null
}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
created_at Required | string<date-time> |
external_name Required | string |
id Required | string<uuid4> |
path Required | string |
detail | array
of objects
|
Update External Path
Update your site’s external path configs. SiteBot Enabled.
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
external_path_id |
|
fqdn |
|
Request Body Schema
external_name Required | string |
path Required | string |
Response Samples
{
"created_at": null,
"external_name": null,
"id": null,
"path": null
}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
created_at Required | string<date-time> |
external_name Required | string |
id Required | string<uuid4> |
path Required | string |
detail | array
of objects
|
Get Blob Urls
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
fqdn |
|
at_date |
|
Request Body Schema
keys Required | array
of strings |
version_ids | array |
Response Samples
{}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
detail | array
of objects
|
Get PIT Restores
Get all the results of a site’s restores to a previous point in time. SiteBot Enabled.
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
fqdn |
|
page |
Page number |
size |
Page size |
Response Samples
{
"count": null,
"limit": null,
"next": null,
"offset": null,
"previous": null,
"results": [
{
"backup_point": null,
"created_at": null,
"delete_extra_files": null,
"failed_reason": null,
"finished_at": null,
"git_restore_hash": null,
"id": null,
"num_files_added": null,
"num_files_deleted": null,
"num_files_restored": null,
"num_folders_added": null,
"num_tables_deleted": null,
"num_tables_failed": null,
"num_tables_restored": null,
"num_tables_skipped": null,
"passed_dry_run": null,
"restore_db": null,
"restore_point": null,
"restore_wp_content": null,
"site_live_id": null
}
]
}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
count Required | integer | ||||||||||||||||||||||||||||||||||||||||
limit Required | integer
>=
1 | ||||||||||||||||||||||||||||||||||||||||
next Required |
| ||||||||||||||||||||||||||||||||||||||||
offset Required | integer
>=
0 | ||||||||||||||||||||||||||||||||||||||||
previous Required |
| ||||||||||||||||||||||||||||||||||||||||
results Required | array
of objects
|
detail | array
of objects
|
Create PIT Restore
Restore your site to a previous point in time, down to the minute. SiteBot Enabled.
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
fqdn |
|
Request Body Schema
delete_extra_files | boolean Default:
false |
dolt_restore_hash |
|
for_stage_site | boolean Default:
false |
is_dry_run | boolean Default:
false |
restore_db | boolean Default:
true |
restore_point |
|
restore_wp_content | boolean Default:
true |
Response Samples
{
"backup_point": null,
"created_at": null,
"delete_extra_files": null,
"failed_reason": null,
"finished_at": null,
"git_restore_hash": null,
"id": null,
"num_files_added": null,
"num_files_deleted": null,
"num_files_restored": null,
"num_folders_added": null,
"num_tables_deleted": null,
"num_tables_failed": null,
"num_tables_restored": null,
"num_tables_skipped": null,
"passed_dry_run": null,
"restore_db": null,
"restore_point": null,
"restore_wp_content": null,
"site_live_id": null
}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
backup_point |
|
created_at Required | string<date-time> |
delete_extra_files Required | boolean |
failed_reason |
|
finished_at |
|
git_restore_hash |
|
id Required | string<uuid4> |
num_files_added |
|
num_files_deleted |
|
num_files_restored |
|
num_folders_added |
|
num_tables_deleted |
|
num_tables_failed |
|
num_tables_restored |
|
num_tables_skipped |
|
passed_dry_run |
|
restore_db Required | boolean |
restore_point Required | string<date-time> |
restore_wp_content Required | boolean |
site_live_id Required | string<uuid4> |
detail | array
of objects
|
Get backups to create PIT Restore
Give a restore point to get your closest minutely backup details. SiteBot Enabled.
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
fqdn |
|
number_to_fetch |
|
Response Samples
{
"commit_hash": null,
"created_at": null,
"finished_at": null,
"id": null,
"tables_saved": [
null
],
"tables_skipped": [
null
]
}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
commit_hash |
|
created_at | string<date-time> |
finished_at |
|
id | string<uuid4> |
tables_saved | array
of strings |
tables_skipped | array
of strings |
detail | array
of objects
|
PIT Files
Get a list of wp-content files at a point in time
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
fqdn |
|
restore_point |
|
Response Samples
{}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
detail | array
of objects
|
Preview PIT Restore
Restore your site to a previous point in time, down to the minute
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
fqdn |
|
Request Body Schema
delete_extra_files | boolean Default:
false |
dolt_restore_hash |
|
for_stage_site | boolean Default:
false |
is_dry_run | boolean Default:
false |
restore_db | boolean Default:
true |
restore_point |
|
restore_wp_content | boolean Default:
true |
Response Samples
{
"backup_point": null,
"created_at": null,
"delete_extra_files": null,
"failed_reason": null,
"finished_at": null,
"git_restore_hash": null,
"id": null,
"num_files_added": null,
"num_files_deleted": null,
"num_files_restored": null,
"num_folders_added": null,
"num_tables_deleted": null,
"num_tables_failed": null,
"num_tables_restored": null,
"num_tables_skipped": null,
"passed_dry_run": null,
"restore_db": null,
"restore_point": null,
"restore_wp_content": null,
"site_live_id": null
}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
backup_point |
|
created_at Required | string<date-time> |
delete_extra_files Required | boolean |
failed_reason |
|
finished_at |
|
git_restore_hash |
|
id Required | string<uuid4> |
num_files_added |
|
num_files_deleted |
|
num_files_restored |
|
num_folders_added |
|
num_tables_deleted |
|
num_tables_failed |
|
num_tables_restored |
|
num_tables_skipped |
|
passed_dry_run |
|
restore_db Required | boolean |
restore_point Required | string<date-time> |
restore_wp_content Required | boolean |
site_live_id Required | string<uuid4> |
detail | array
of objects
|
Get PIT Restore
Get the results of a site’s restore to a previous point in time. SiteBot Enabled.
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
pit_restore_id |
|
fqdn |
|
format |
|
Response Samples
{}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
detail | array
of objects
|
Get Shell Html
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
fqdn |
|
for_stage |
|
Response Samples
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
detail | array
of objects
|
Sleep
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
fqdn |
|
for_code_server |
|
Response Samples
{}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
detail | array
of objects
|
Delete Stage Site
Delete your staging site. SiteBot Enabled.
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
fqdn |
|
Response Samples
{}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
detail | array
of objects
|
Create a Staging site
Create a staging site on which you can test changes. SiteBot Enabled.
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
fqdn |
|
Request Body Schema
git_staging_branch |
|
restore_point |
|
subdomain Required | string |
Response Samples
{
"created_at": null,
"fqdn": null,
"git_branch": null,
"id": null
}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
created_at Required | string<date-time> |
fqdn Required | string |
git_branch Required |
|
id Required | string<uuid4> |
detail | array
of objects
|
Commit Stage Site
Sync the wp-content and database from your staging site to your live site. SiteBot Enabled.
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
fqdn |
|
Response Samples
{
"created_at": null,
"fqdn": null,
"git_branch": null,
"id": null
}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
created_at Required | string<date-time> |
fqdn Required | string |
git_branch Required |
|
id Required | string<uuid4> |
detail | array
of objects
|
Get Cloudflare info
Get details about your live site’s tools on Cloudflare
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
fqdn |
|
Response Samples
{
"active": null,
"busy": null,
"code_server_enabled": null,
"code_server_password": null,
"created_at": null,
"created_by": {
"created_at": null,
"email": null,
"first_name": null,
"full_name": null,
"id": null,
"is_active": null,
"is_payment_verified": null,
"is_superuser": null,
"is_verified": null,
"last_name": null,
"posthog_user_id": null
},
"current_cycle_visits": null,
"current_storage": null,
"db_prefix": null,
"dkim_key": null,
"domain_option": null,
"external_paths": [
{
"created_at": null,
"external_name": null,
"id": null,
"path": null
}
],
"favicon_url": null,
"fqdn": null,
"git_last_sync_hash": null,
"git_url": null,
"http_auth_enabled": null,
"http_auth_password": null,
"id": null,
"is_free": null,
"is_ns_root": null,
"is_sleeping": null,
"is_testing": null,
"max_restore_point": null,
"min_restore_point": null,
"properties": null,
"region_id": null,
"site_stage": null,
"team": {
"additional_sites": null,
"cancel_at": null,
"cancel_at_period_end": null,
"created_at": null,
"currency": null,
"current_cycle_bandwidth": null,
"current_cycle_visits": null,
"cycle_end": null,
"cycle_start": null,
"grafana_org_id": null,
"id": null,
"interval": null,
"is_active": null,
"is_default": null,
"is_expired": null,
"name": null,
"plan_type": null,
"plan_type_name": null,
"posthog_team_id": null,
"should_allow_shopify_payment": null,
"storage_usage": null,
"storage_usage_percentage": null,
"sub_id": null,
"tenant_id": null,
"timezone": null,
"trial_ends_on": null,
"user": {
"created_at": null,
"email": null,
"first_name": null,
"full_name": null,
"id": null,
"is_active": null,
"is_payment_verified": null,
"is_superuser": null,
"is_verified": null,
"last_name": null,
"posthog_user_id": null
},
"user_id": null,
"visits_usage_percentage": null
},
"team_id": null,
"tenant_id": null,
"tracked_tables": [
null
],
"untracked_tables": [
null
],
"user_id": null
}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
active Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
busy |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
code_server_enabled Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
code_server_password Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
created_at Required | string<date-time> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
created_by Required | object
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
current_cycle_visits Required | integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
current_storage Required | integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
db_prefix Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
dkim_key |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
domain_option Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
external_paths Required | array
of objects
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
favicon_url Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
fqdn Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
git_last_sync_hash |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
git_url |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
http_auth_enabled Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
http_auth_password Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
id Required | string<uuid4> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
is_free Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
is_ns_root Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
is_sleeping Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
is_testing Required | boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
max_restore_point Required | string<date-time> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
min_restore_point Required | string<date-time> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
properties Required | object | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
region_id Required | integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
site_stage |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
team Required | object
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
team_id Required | string<uuid4> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tenant_id Required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tracked_tables Required | array
of strings | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
untracked_tables Required | array
of strings | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
user_id Required | string<uuid4> |
detail | array
of objects
|
Get Site Team Usage
Get your visits and storage for a site at a given interval
Authorizations
OAuth2PasswordBearer | |
APIKeyCookie |
Query Parameters
fqdn |
|
start |
|
end |
|
Response Samples
{}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
detail | array
of objects
|