I want to use download (https://download.calponia.com/) and upload (https://upload.calponia.com/files/) functionality of the API but I can’t find the access token.
The following part from the documentation doesn’t lead to the desired result:
const parts = document.cookie.split('; ')
// parse application cookie
const appCookie = JSON.parse(window.decodeURIComponent(parts.filter(part => part.startsWith('calponia=')).pop().slice(9)))
If I only look at the “parts” result there is no access token in the array.
"calponia-user=%7B%22id%22%3A%2249200502-afc6-11ea-9633-ebadf710659f%22%2C%22email%22%3A%22c.thaemlitz%40rst-rostock.de%22%2C%22firstName%22%3Anull%2C%22lastName%22%3Anull%7D", "calponia-instance=%7B%22id%22%3A%2255a77e58eb21c1614fdd85d43f455a1a%22%2C%22projectId%22%3A%22dab4dd80-b9da-11ea-8e44-5b0bb3880e01%22%2C%22appId%22%3A%22d9bdd1b0-b9db-11ea-84cf-ab6069dbbd3b%22%2C%22versionId%22%3A%22c93d5880-4ea2-4215-995e-6d9e18c6ef39%22%7D", "_xsrf=2|00c3e511|cafbd56e5e842753915bd9fb7d0edff9|1593426059"
What can I do to get the access token?