List hosted environments
curl --request GET \
--url http://127.0.0.1:4100/api/projects/{id}/hosted-envs \
--header 'x-alibi-api-key: <api-key>'import requests
url = "http://127.0.0.1:4100/api/projects/{id}/hosted-envs"
headers = {"x-alibi-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-alibi-api-key': '<api-key>'}};
fetch('http://127.0.0.1:4100/api/projects/{id}/hosted-envs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"id": "<string>",
"projectId": "<string>",
"name": "<string>",
"status": "pending",
"provider": "compose",
"region": "<string>",
"isolationMode": "schema_prefix",
"endpoints": {},
"config": {},
"lastError": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]{
"error": "<string>"
}Hosted environments
List hosted environments
GET
/
projects
/
{id}
/
hosted-envs
List hosted environments
curl --request GET \
--url http://127.0.0.1:4100/api/projects/{id}/hosted-envs \
--header 'x-alibi-api-key: <api-key>'import requests
url = "http://127.0.0.1:4100/api/projects/{id}/hosted-envs"
headers = {"x-alibi-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-alibi-api-key': '<api-key>'}};
fetch('http://127.0.0.1:4100/api/projects/{id}/hosted-envs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"id": "<string>",
"projectId": "<string>",
"name": "<string>",
"status": "pending",
"provider": "compose",
"region": "<string>",
"isolationMode": "schema_prefix",
"endpoints": {},
"config": {},
"lastError": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]{
"error": "<string>"
}Authorizations
ApiKeyAuthBearerAuth
Response
Environments