Request a temporary and unique user access token.
POST https://sub-domain.cloudtables.io/api/1/access
curl \
-d 'key={apiKey}' \
https://sub-domain.cloudtables.io/api/1/access
Get an access token that can be used to securely embed a CloudTable into an HTML page. Please see the embedding documentation for details on how to make use of the retrieved token to embed the CloudTable into a page.
clientId
will be an integer or UUID which mean you'd need to look up the user to understand who made what changes. Note that while the clientId
should be unique per client and not change - the clientName
can change and will be updated to reflect the latest value given (e.g. if a user modifies their name in your own system).key
).role
but allows multiple roles to be specified.The JSON result from the server will contain a token
property which holds the value of the access token that should be used to securely embed the data set into a page.
{
"token": string // Access token
}
The following is an example of a successful request for an access token:
{
"token": "fBy2y7Bwuc4huKV81vMhcRB4XrLkpzQU".
"success": true
}