Skip to content
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

Metadata endpoint #32

Open
RaasAhsan opened this issue Jan 21, 2019 · 0 comments
Open

Metadata endpoint #32

RaasAhsan opened this issue Jan 21, 2019 · 0 comments

Comments

@RaasAhsan
Copy link

For the browser application, it would be beneficial if there was an endpoint we could hit to only fetch metadata. The reason is that we want to fetch the metadata for an object first before actually fetching the content, so we can determine how we want to render it.

If the object is text/plain or something similar, we'll make a GET request for the object ID and render the content. If the object is an image, we'll actually just want to put the URL in a <img src /> element without actually issuing a GET from JavaScript.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant