Totara Talent Experience Platform Open Discussions

Totara 17 GraphQL External API

 
Linh Nguyen
Totara 17 GraphQL External API
by Linh Nguyen - Tuesday, 13 December 2022, 1:42 AM
Group PartnersGroup TXP Site Administrator

Hello Totara-Team,


we are currently working on a React Frontend for Totara 17. In this documentation we found out about the new External API:

screenshot

First we thought this API could be used for users to communicate with the Totara Application, but it seems like this API was made for other applications to communicate with Totara.

To use this API you need to create a client in the site administration, but to make it useable for users you need to create a client for EACH user.

Is there a way to create a client which is valid for all users? Or will this feature be in the upcoming versions?

Right now we still have to use the Mobile API.


We're grateful for any help or advice!


Cheers and Merry Christmas,

Linh

Chris Snyder
Re: Totara 17 GraphQL External API
by Chris Snyder - Thursday, 15 December 2022, 4:38 PM
Group Totara
Hi Linh,

That is correct. We consider our "AJAX" GraphQL API to be per-user communication. It does, however, assume that the user has an active session cookie for Totara, and that the cookie is being supplied with the request.

It is also considered to be an internal API, so not very well-documented and subject to change.

I'm sure our product team would be interested in knowing what you were hoping to implement.

Many thanks!