Closed ctkc closed 5 years ago
Hi!
The bulk extension, plus any other extensions, are not supported. As per the docs:
JSON:API previously offered experimental support for a different extension negotiation system than the one now in the specification, and it provided a number of extensions for use with that old negotiation system. However, this system was always experimental and has now been deprecated. New APIs should not use the old system or any extensions designed for it.
There's a plan to add Operations to the JSON:API spec which will cover bulk changes in the future, but this package cannot support it until it as actually added to the spec... because the purpose of the package is to follow the spec.
The supported-ext
config setting will be removed in 2.0 as it doesn't really do anything on the 1.0
series.
If you do want to support the bulk extension, you'll have to implement it within your own app.
Hello, I'm trying to perform a bulk edit of records but I can't enable the bulk extension. In the laravel-json-api config file I'm replacing "supported-ext" from "null" to ''bulk' and I'm doing a PATCH request to my resource endpoint with "supported-ext=bulk" in the Content-Type but I'm still getting the error 405 Method Not Allowed.
Could you help me with this please?
Thank you!