DigitalOcean-public.v2-new_Apps
Retrieve Exec URL
Returns a websocket URL that allows sending/receiving console input and output to a component of the active deployment if one exists.
get/v2/apps/{app_id}/components/{component_name}/exec
Path parameters
app_idstring required
The app ID
component_namestring required
An optional component name. If set, logs will be limited to this component only.
Query parameters
instance_namestring
The name of the actively running ephemeral compute instance
Response
A JSON object with a websocket URL that allows sending/receiving console input and output.
Example response
{
"url": "wss://exec/?token=xxx"
}