Sindre Røkenes Myren

Results 196 comments of Sindre Røkenes Myren

I have seen the OPTIONS response used for a similar purpose in this framework: - http://www.django-rest-framework.org/api-guide/metadata/ They list the "schema" under "POST", and they use a custom format rather than...

@mishak87 as for formschema do you know how it is common to make the schema available to set-up to generate these forms? I.e. which of `swagger.yml ` or `OPTIONS` requests...

Specifically for your request, I believe @rs have stated earlier that he believes REST APIs are most useful for metadata. @rs sorry if I am paraphrasing this. Please note that...

@omani, thanks for the info. Just for better understanding this, how would a GridFS resources integrate with the schema package? Or would you register a resource with a nill schema?

> We could let a storer implement a extra interface to store/retrieve files so the resource would "unlock" this blob endpoint when implemented. This _does_ make some sense for GridFS...

What about a new type of resource? resource.FileResource / resource.MediaResource?

When initialize such a resource, maybe you could even pass it two storage backends... one for metadata and one for file/media storage that could _optionally_ support resumable upload. Depending on...

File... or Media... is just alternative names. Sorry, should had made that more clear. BlobStorer is just as good. I will use that from now on... > I am not...

I guess my fear when you uploaded your proposal, was that I didn't want to end up in a situation where e.g. a local file based storage engine _forced_ me...