Been looking at admitting lobby participants using your library today (great job btw), found an issue with the Lobby object. Your class expects the participants to come out as a property, but it doesn't come back like that from the UCWA API, the object looks like this;
The participants actually come back as an array of links inside the _links property which don't get so with the Lobby object as it is the Participants property throws a null ref exception. To do see the participants you need to then pull those down using the links from the API and then you get the functionality to Admit.
I can have a look at fixing, but didn't want to spend time implementing something that doesn't quite fit.
Been looking at admitting lobby participants using your library today (great job btw), found an issue with the Lobby object. Your class expects the participants to come out as a property, but it doesn't come back like that from the UCWA API, the object looks like this;
{ "_links": { "self": { "href": "/ucwa/oauth/v1/applications/*******/communication/conversations/*******/participants?filter=lobby" }, "participant": [ { "href": "/ucwa/oauth/v1/applications/*******/communication/conversations/*******/participants/user@domain.com", "title": "user" } ] }, "rel": "participants" }
The participants actually come back as an array of links inside the _links property which don't get so with the Lobby object as it is the Participants property throws a null ref exception. To do see the participants you need to then pull those down using the links from the API and then you get the functionality to Admit.
I can have a look at fixing, but didn't want to spend time implementing something that doesn't quite fit.
Let me know if you need any more information.