Get
Get Ephemeral Environment Hostnames
GET
https://api.releasehub.com/api/apps/:app_id/environments/:id
Get hostnames for a Release Ephemeral environment. By passing in the app and environment, you can retrieve the host names associated with a Release environment. This is useful when you need the URLs to perform tasks such as integration of end-to-end testing.
Path Parameters
Name | Type | Description |
---|---|---|
app_id* | integer | Release App ID |
id* | integer | Release Environment ID |
Headers
Name | Type | Description |
---|---|---|
X-Account-ID* | integer | Account ID |
X-Account-Token* | string | Authentication token |
{% 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"}" %}
The following is an example response payload
Last updated