Tutorial: interop.getAllClientsInContextGroup

interop.getAllClientsInContextGroup

This is primarily used for platform windows. Views within a platform should not have to use this API.

Returns the Interop-Broker-defined context groups available for an entity to join.

response

[
    {
        uuid: 'testuuid1',
        name: 'testname1',
        endpointId: 'paoejfioa-32jfioaf-afoijao2'
    },
    {
        uuid: 'testuuid2',
        name: 'testname2',
        endpointId: 'faoij23id-0k09jbd-a09j382j'
    }
]

Example

fin.me.interop.getAllClientsInContextGroup('red')
    .then(clientsInContextGroup => {
        console.log(clientsInContextGroup)
    })