-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement JMAP route to get content of the public asset #1045
Comments
No. Else lookup the publiczAsset repository and read the blob into the blobStore. |
We can not infer Is it ok to expose the username in the URI e.g. |
I think this is ok:
|
Good point... Or what about more simple, just assetId is enough? |
Hmm, our repository API is relying on username though. Query only by |
If that, we need one more api for query by one PublicAssetId parameter |
You are right. Ok witht he username then |
Why
Epic: #1027
When a client (e.g., web browser, mobile app) requests the content of a public asset, the Tmail JMAP server needs to serve that content.
How
PublicAssetRoutes
class with the following implementation:Note that this is a public endpoint, so authentication is not required.
PublicAssetRoutes
toJMAPRoutes
usingGuice
:Dod
Ref:
LinagoraServicesDiscoveryRoutes
DownloadRoutes
The text was updated successfully, but these errors were encountered: