-
|
Hi there, i am currently trying to create a static side generator based on data I have in planka (v1). Any hints how to programmatically download attachments? Cheers ---- Some more info
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hey! That's a good question. From what I can see in the code, authentication for non-API endpoints is handled via cookies, and the In the upcoming final v2 release, there will be per-user API key management, so you'll be able to create an API key and pass it to the attachment URL using the |
Beta Was this translation helpful? Give feedback.
Hey! That's a good question. From what I can see in the code, authentication for non-API endpoints is handled via cookies, and the
Authorizationheader is skipped (though ideally it shouldn't be).In the upcoming final v2 release, there will be per-user API key management, so you'll be able to create an API key and pass it to the attachment URL using the
X-Api-Keyheader. But for now, you can pass an access token via theaccessTokencookie.