Show a consumer's assistant grant
const url = 'http://localhost:11044/api/v1/channels/consumers/example/example/assistant';const options = {method: 'GET', 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 GET \ --url http://localhost:11044/api/v1/channels/consumers/example/example/assistant \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Whether the realm declared it, whether the owner granted it, and the paired sender threads.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Name of the captured realm installed in the signed-in owner’s world; non-blank, at most 256 UTF-8 bytes, no control characters and not all * (400 otherwise). 404 when it has no live installation
Name of a consumer the realm declares; same text rules as the realm name. 404 when the installation declares none by that name
Responses
Section titled “Responses”OK
Whether a captured realm consumer may answer through the owner’s assistant, and which sender threads it answers; returned by the /channels/consumers/{realmName}/{consumerName}/assistant routes
object
Name of the consumer, as the realm declares it
Whether the realm declared the consumer with assistant: true; only such a consumer can be granted
Whether the owner has granted the consumer leave to answer through the assistant
The live installation of that realm this was read from; send it back as installationId on a change
The sender threads paired with the consumer, which it answers, sorted; empty when none, or when not granted
Name of the realm the consumer belongs to
That installation’s revision; send it back as expectedRevision on a change. Pairing and unpairing do not move it

