Invoke an approved captured handler through an owner-bound browser session
POST
/api/v1/realm-browser/sessions/{session}/invoke
const url = 'http://localhost:11044/api/v1/realm-browser/sessions/example/invoke';const options = {method: 'POST', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:11044/api/v1/realm-browser/sessions/example/invoke \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”session
required
string
Id of an open browser session, the UUID a realm app page is given when it opens, belonging to the signed-in user; a session lasts 15 minutes from opening and allows at most 256 calls. An unknown, expired, foreign or no-longer-approved session answers 403, as does a handler the app does not declare
Responses
Section titled “Responses”OK
Media type*/*

