Region v1.0.0
Get Regions
GET
https://my.sitebay.org/f/api/v1/region
Get details of all regions. SiteBot Enabled.
Authorizations
Response Samples
{
"city": null,
"cname": null,
"country": null,
"country_code": null,
"created_at": null,
"id": null,
"ip": null,
"name": null
}
Responses
Successful Response
city | string |
cname | string |
country | string |
country_code | string |
created_at | string<date-time> |
id | integer |
ip | string |
name | string |
Get a Region
GET
https://my.sitebay.org/f/api/v1/region/{region_id}
Get details of a region by its ID
Authorizations
Query Parameters
region_id |
|
Response Samples
{
"city": null,
"cname": null,
"country": null,
"country_code": null,
"created_at": null,
"id": null,
"ip": null,
"name": null
}
{
"detail": [
{
"loc": [
null
],
"msg": null,
"type": null
}
]
}
Responses
Successful Response
city Required | string |
cname Required | string |
country Required | string |
country_code Required | string |
created_at Required | string<date-time> |
id Required | integer |
ip Required | string |
name Required | string |
Validation Error
detail | array
of objects
|