Hi Chris, I'm a senior developer at Frog. Graham asked me to take a look at your questions.
The core of Frog Learn uses a MySQL database behind a custom API; we keep this locked up to internal development to ensure security and integrity of the data, so it's not available for use in Frog Code development.
We have a datastore API available to widget developers that allows you to store and work with server side data specific to your widgets, you can see the documentation for this at the following address on your Frog Learn instance: https://frog.broadway-academy.co.uk/app/docs/. This document is currently missing documentation for the the "create" endpoint, which I've outlined below:
POST to frog.broadway-academy.co.uk/api/fdp/2/datastore/create
Provide the following parameters; note these are similar to the "update" params.
target_uuid
String
The uuid against which you wish to associate the data (e.g. for a widget this.options.content_uuid)
data
String
The data you want to store
user_uuid
String
The uuid of the user that this data is associated with (defaults to current user if this param is not passed)
alias
String
The alias for this data, this can be anything you want, and is to help you differentiate the data. For example: 'student.locker_number, student.random_data' max (255 chars)