Wait for a popup
GET
/api/panes/{pane_id}/popup/{id}
Code sample: Shell / cURL
curl --request GET \ --url http://127.0.0.1:8004/api/panes/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/popup/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”pane_id
required
string format: uuid
Pane ID
id
required
string format: uuid
Popup ID
Responses
Section titled “Responses”The program exited
Media typeapplication/json
object
status
The program’s exit status, if known.
integer | null format: int32
Example generated
{ "status": 1}A malformed ID
Media typetext/plain
string
Missing or wrong access token
Media typetext/plain
string
The request’s Host or Origin isn’t allowed, or the caller can’t use this route (a guest token, or btmux connect)
No such popup
No client showed the popup
Media typetext/plain
string
The server stopped waiting; ask again
The program failed to start
Media typetext/plain
string