Re: [Specifications] Another take on non-RDF payloads (aka file upload) (#199)

Just as a quick note - I think the approach taken in #186 is less revolutionary, but I can see both approaches has some similarities (`RequestSpecification` vs `MediaTypedResource` used to provide custom description of the payload).

As for multiple files upload - bare in mind that there are several possibilities:
- server may provide multiple expected classes - it may be understood that one of those classes can be provided, provided resource is of all of those classes or there can be several resources matching those criteria
- it is both possible and doable to provide all resources in RDF (i.e. Base-64 payloads being a values of some kind of predicate) - it would be an alternative to multipart/form-data approach; in both cases client needs to do some serious processing in order to rig up a payload
- cardinality should be provided in some more unified way - indeed hydra does not tackle this matter in any way.

I'll provide more feedback later

-- 
GitHub Notification of comment by alien-mcl
Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/199#issuecomment-512163915 using your GitHub account

Received on Wednesday, 17 July 2019 08:49:53 UTC