Search…
Get
get
https://api.releasehub.com
/api/apps/:app_id/environments/:id
Get Ephemeral Environment Hostnames
{% swagger-response status="404" description="If an App cannot be found with the given app_id, a Not Found will be returned. {"error": "Could not find app with id 0"}If a User cannot be found to authenticate either from the committer email or from the App's owner, a Not Found will be returned. {"error": "No user found"}" %}
{"error": "message"}
The following is an example response payload
{
"hostnames":[
{
"target":"frontend",
"hostname":"frontend-react-express-mongodb-teddccc.releaseapp.io",
"protocol":"https",
"path":"/"
},
{
"target":"backend",
"hostname":"backend-react-express-mongodb-teddccc.releaseapp.io",
"protocol":"https",
"path":"/"
}
]
}
Last modified 7d ago
Copy link