Utils v1.0.0
Buy a team through stripe checkout
POST
https://my.sitebay.org/f/api/v1/create_checkout_session
Generate a stripe checkout URL. SiteBot Enabled.
Authorizations
| OAuth2PasswordBearer | |
| APIKeyCookie |
Request Body Schema
for_team_id | Your existing Team ID on the free plan for which the plan is being upgraded |
interval | stringEnum:
month
year |
new_team_name | Name of the new team. Must be specified if for_team_id is null. |
plan_name | stringEnum:
free
micro
starter
business |
Response Samples
{}{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}Responses
Successful Response
Validation Error
detail | array
of objects
|
Customer Portal
POST
https://my.sitebay.org/f/api/v1/create_portal_session
Authorizations
| OAuth2PasswordBearer | |
| APIKeyCookie |
Response Samples
{}Responses
Successful Response
Render React
GET
https://my.sitebay.org/f/api/v1/fastapi
Authorizations
Response Samples
Responses
Successful Response
Verify Git Sync Directories
GET
https://my.sitebay.org/f/api/v1/get_git_sync_repos
Returns your account’s linked Git Repos
Authorizations
| OAuth2PasswordBearer | |
| APIKeyCookie |
Response Samples
{}Responses
Successful Response
Get Current User Api
GET
https://my.sitebay.org/f/api/v1/grafana-api
Authorizations
| OAuth2PasswordBearer |
Response Samples
{}Responses
Successful Response
Authorize
GET
https://my.sitebay.org/f/api/v1/grafana-auth
Authorizations
| OAuth2PasswordBearer | |
| APIKeyCookie |
Query Parameters
| response_type |
|
| client_id |
|
| redirect_uri |
|
| scope |
|
| state |
|
Response Samples
{}{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}Responses
Successful Response
Validation Error
detail | array
of objects
|
Grafana Token
POST
https://my.sitebay.org/f/api/v1/grafana-token
Authorizations
Response Samples
{}{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}Responses
Successful Response
Validation Error
detail | array
of objects
|
Logout
POST
https://my.sitebay.org/f/api/v1/logout
Authorizations
Response Samples
{}Responses
Successful Response
Proxy To Posthog
POST
https://my.sitebay.org/f/api/v1/posthog-proxy
Proxies POST requests to our PostHog API. SiteBot Enabled.
Authorizations
| OAuth2PasswordBearer | |
| APIKeyCookie |
Request Body Schema
method | stringEnum:
get
post
put
delete
patch
options
head |
path Required | string |
query_params_json | string |
Response Samples
{}{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}Responses
Successful Response
Validation Error
detail | array
of objects
|
Proxy To Shopify Site
POST
https://my.sitebay.org/f/api/v1/shopify-proxy
Proxies requests to a myshopify admin API. SiteBot Enabled.
Authorizations
| OAuth2PasswordBearer | |
| APIKeyCookie |
Request Body Schema
method | stringEnum:
get
post
put
delete
patch
options
head |
path | stringDefault:
/admin/api/2024-04 |
query_params_json | string |
shop_name Required | string |
Response Samples
{}{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}Responses
Successful Response
Validation Error
detail | array
of objects
|
Domain check
GET
https://my.sitebay.org/f/api/v1/verify_domain
Returns success if a given FQDN’s DNS records are correctly set up
Authorizations
| OAuth2PasswordBearer | |
| APIKeyCookie |
Query Parameters
| fqdn |
|
Response Samples
{}{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}Responses
Successful Response
Validation Error
detail | array
of objects
|
Verify Git Sync Directories
GET
https://my.sitebay.org/f/api/v1/verify_git_sync_directories
Returns success Git Repo’s root folder is correctly set up
Authorizations
| OAuth2PasswordBearer | |
| APIKeyCookie |
Query Parameters
| git_url |
|
| git_branch |
|
Response Samples
{}{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}Responses
Successful Response
Validation Error
detail | array
of objects
|
Proxy To Wp Site
POST
https://my.sitebay.org/f/api/v1/wp-proxy
Proxies requests to a WordPress JSON API. SiteBot Enabled.
Authorizations
| OAuth2PasswordBearer | |
| APIKeyCookie |
Request Body Schema
fqdn Required | string |
method | stringEnum:
get
post
put
delete
patch
options
head |
path | stringDefault:
/wp-json/wp/v2/ |
query_params_json | string |
Response Samples
{}{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}Responses
Successful Response
Validation Error
detail | array
of objects
|
Proxy Xmlrpc
POST
https://my.sitebay.org/f/api/v1/xmlrpc/{fqdn}
Proxies requests to a WordPress xmlrpc endpoint
Authorizations
| OAuth2PasswordBearer | |
| APIKeyCookie |
Query Parameters
| fqdn |
|
Response Samples
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}Responses
Successful Response
Validation Error
detail | array
of objects
|
